]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info *swig_types[166];
2632 static swig_module_info swig_module = {swig_types, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2635
2636 /* -------- TYPES TABLE (END) -------- */
2637
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2641 # endif
2642 #endif
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2645 #endif
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2648 #endif
2649 #ifndef METH_O
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2651 #endif
2652
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2657
2658 #define SWIG_name "_windows_"
2659
2660 #define SWIGVERSION 0x010329
2661
2662
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2665
2666
2667 #include <stdexcept>
2668
2669
2670 namespace swig {
2671 class PyObject_ptr {
2672 protected:
2673 PyObject *_obj;
2674
2675 public:
2676 PyObject_ptr() :_obj(0)
2677 {
2678 }
2679
2680 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2681 {
2682 Py_XINCREF(_obj);
2683 }
2684
2685 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2686 {
2687 if (initial_ref) Py_XINCREF(_obj);
2688 }
2689
2690 PyObject_ptr & operator=(const PyObject_ptr& item)
2691 {
2692 Py_XINCREF(item._obj);
2693 Py_XDECREF(_obj);
2694 _obj = item._obj;
2695 return *this;
2696 }
2697
2698 ~PyObject_ptr()
2699 {
2700 Py_XDECREF(_obj);
2701 }
2702
2703 operator PyObject *() const
2704 {
2705 return _obj;
2706 }
2707
2708 PyObject *operator->() const
2709 {
2710 return _obj;
2711 }
2712 };
2713 }
2714
2715
2716 namespace swig {
2717 struct PyObject_var : PyObject_ptr {
2718 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2719
2720 PyObject_var & operator = (PyObject* obj)
2721 {
2722 Py_XDECREF(_obj);
2723 _obj = obj;
2724 return *this;
2725 }
2726 };
2727 }
2728
2729
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2732
2733
2734 static const wxString wxPyEmptyString(wxEmptyString);
2735 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2736
2737
2738
2739 #include <limits.h>
2740 #ifndef LLONG_MIN
2741 # define LLONG_MIN LONG_LONG_MIN
2742 #endif
2743 #ifndef LLONG_MAX
2744 # define LLONG_MAX LONG_LONG_MAX
2745 #endif
2746 #ifndef ULLONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2748 #endif
2749
2750
2751 SWIGINTERN int
2752 SWIG_AsVal_long (PyObject* obj, long* val)
2753 {
2754 if (PyNumber_Check(obj)) {
2755 if (val) *val = PyInt_AsLong(obj);
2756 return SWIG_OK;
2757 }
2758 return SWIG_TypeError;
2759 }
2760
2761
2762 SWIGINTERN int
2763 SWIG_AsVal_int (PyObject * obj, int *val)
2764 {
2765 long v;
2766 int res = SWIG_AsVal_long (obj, &v);
2767 if (SWIG_IsOK(res)) {
2768 if ((v < INT_MIN || v > INT_MAX)) {
2769 return SWIG_OverflowError;
2770 } else {
2771 if (val) *val = static_cast< int >(v);
2772 }
2773 }
2774 return res;
2775 }
2776
2777
2778 SWIGINTERN int
2779 SWIG_AsVal_bool (PyObject *obj, bool *val)
2780 {
2781 if (obj == Py_True) {
2782 if (val) *val = true;
2783 return SWIG_OK;
2784 } else if (obj == Py_False) {
2785 if (val) *val = false;
2786 return SWIG_OK;
2787 } else {
2788 long v = 0;
2789 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2790 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2791 return res;
2792 }
2793 }
2794
2795
2796 #define SWIG_From_long PyInt_FromLong
2797
2798
2799 SWIGINTERNINLINE PyObject *
2800 SWIG_From_int (int value)
2801 {
2802 return SWIG_From_long (value);
2803 }
2804
2805
2806 SWIGINTERN int
2807 SWIG_AsVal_double (PyObject *obj, double* val)
2808 {
2809 if (PyNumber_Check(obj)) {
2810 if (val) *val = PyFloat_AsDouble(obj);
2811 return SWIG_OK;
2812 }
2813 return SWIG_TypeError;
2814 }
2815
2816
2817 #define SWIG_From_double PyFloat_FromDouble
2818
2819 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2820 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2821 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2822 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2823 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2824 int style = self->GetExtraStyle();
2825 if ( on )
2826 style |= wxFRAME_EX_METAL;
2827 else
2828 style &= ~wxFRAME_EX_METAL;
2829 self->SetExtraStyle(style);
2830 }
2831 SWIGINTERN bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow *self,bool enable=true){ return false; }
2832
2833
2834 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2835 wxRect r;
2836 self->GetFieldRect(i, r);
2837 return r;
2838 }
2839 static const wxString wxPySplitterNameStr(wxT("splitter"));
2840 static const wxString wxPySashNameStr(wxT("sashWindow"));
2841 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2842
2843 #include <wx/popupwin.h>
2844
2845
2846 class wxPopupWindow : public wxWindow {
2847 public:
2848 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2849 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2850 };
2851
2852 class wxPyPopupTransientWindow : public wxPopupWindow
2853 {
2854 public:
2855 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2856 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2857 };
2858
2859
2860 #include <wx/tipwin.h>
2861
2862 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2863 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2864 }
2865
2866 #include <wx/tipwin.h>
2867
2868
2869 #include <wx/vscroll.h>
2870
2871
2872 class wxPyVScrolledWindow : public wxVScrolledWindow
2873 {
2874 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2875 public:
2876 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2877
2878 wxPyVScrolledWindow(wxWindow *parent,
2879 wxWindowID id = wxID_ANY,
2880 const wxPoint& pos = wxDefaultPosition,
2881 const wxSize& size = wxDefaultSize,
2882 long style = 0,
2883 const wxString& name = wxPyPanelNameStr)
2884 : wxVScrolledWindow(parent, id, pos, size, style, name)
2885 {}
2886
2887 // Overridable virtuals
2888
2889 // this function must be overridden in the derived class and it should
2890 // return the height of the given line in pixels
2891 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2892
2893
2894 // this function doesn't have to be overridden but it may be useful to do
2895 // it if calculating the lines heights is a relatively expensive operation
2896 // as it gives the user code a possibility to calculate several of them at
2897 // once
2898 //
2899 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2900 // shouldn't rely on the latter being called for all lines in the interval
2901 // specified here. It is also possible that OnGetLineHeight() will be
2902 // called for the lines outside of this interval, so this is really just a
2903 // hint, not a promise.
2904 //
2905 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2906 // usual
2907 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2908
2909
2910 // when the number of lines changes, we try to estimate the total height
2911 // of all lines which is a rather expensive operation in terms of lines
2912 // access, so if the user code may estimate the average height
2913 // better/faster than we do, it should override this function to implement
2914 // its own logic
2915 //
2916 // this function should return the best guess for the total height it may
2917 // make
2918 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2919
2920
2921 // Also expose some other interesting protected methods
2922
2923
2924 // find the index of the line we need to show at the top of the window such
2925 // that the last (fully or partially) visible line is the given one
2926 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2927 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2928
2929 // get the total height of the lines between lineMin (inclusive) and
2930 // lineMax (exclusive)
2931 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2932 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2933
2934 // update the thumb size shown by the scrollbar
2935 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2936
2937 // remove the scrollbar completely because we don't need it
2938 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2939
2940 PYPRIVATE;
2941 };
2942
2943 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2944
2945 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2946 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2947 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2948
2949
2950 SWIGINTERN int
2951 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2952 {
2953 long v = 0;
2954 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2955 return SWIG_TypeError;
2956 }
2957 else if (val)
2958 *val = (unsigned long)v;
2959 return SWIG_OK;
2960 }
2961
2962
2963 SWIGINTERNINLINE int
2964 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2965 {
2966 unsigned long v;
2967 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2968 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2969 return res;
2970 }
2971
2972
2973 SWIGINTERNINLINE PyObject*
2974 SWIG_From_unsigned_SS_long (unsigned long value)
2975 {
2976 return (value > LONG_MAX) ?
2977 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2978 }
2979
2980
2981 SWIGINTERNINLINE PyObject *
2982 SWIG_From_size_t (size_t value)
2983 {
2984 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2985 }
2986
2987
2988 #include <wx/vlbox.h>
2989
2990 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2991
2992 class wxPyVListBox : public wxVListBox
2993 {
2994 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2995 public:
2996 wxPyVListBox() : wxVListBox() {}
2997
2998 wxPyVListBox(wxWindow *parent,
2999 wxWindowID id = wxID_ANY,
3000 const wxPoint& pos = wxDefaultPosition,
3001 const wxSize& size = wxDefaultSize,
3002 long style = 0,
3003 const wxString& name = wxPyVListBoxNameStr)
3004 : wxVListBox(parent, id, pos, size, style, name)
3005 {}
3006
3007 // Overridable virtuals
3008
3009 // the derived class must implement this function to actually draw the item
3010 // with the given index on the provided DC
3011 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3012 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3013
3014
3015 // the derived class must implement this method to return the height of the
3016 // specified item
3017 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3018 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3019
3020
3021 // this method may be used to draw separators between the lines; note that
3022 // the rectangle may be modified, typically to deflate it a bit before
3023 // passing to OnDrawItem()
3024 //
3025 // the base class version doesn't do anything
3026 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3027 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3028
3029
3030 // this method is used to draw the items background and, maybe, a border
3031 // around it
3032 //
3033 // the base class version implements a reasonable default behaviour which
3034 // consists in drawing the selected item with the standard background
3035 // colour and drawing a border around the item if it is either selected or
3036 // current
3037 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3038 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3039
3040
3041 PYPRIVATE;
3042 };
3043
3044 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3045
3046 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3047 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3048 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3049 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3050
3051
3052 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3053 unsigned long cookie = 0;
3054 int selected = self->GetFirstSelected(cookie);
3055 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3056 PyObject* tup = PyTuple_New(2);
3057 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3058 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3059 wxPyEndBlockThreads(blocked);
3060 return tup;
3061 }
3062 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3063 int selected = self->GetNextSelected(cookie);
3064 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3065 PyObject* tup = PyTuple_New(2);
3066 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3067 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3068 wxPyEndBlockThreads(blocked);
3069 return tup;
3070 }
3071
3072 #include <wx/htmllbox.h>
3073
3074
3075 class wxPyHtmlListBox : public wxHtmlListBox
3076 {
3077 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3078 public:
3079 wxPyHtmlListBox() : wxHtmlListBox() {}
3080
3081 wxPyHtmlListBox(wxWindow *parent,
3082 wxWindowID id = wxID_ANY,
3083 const wxPoint& pos = wxDefaultPosition,
3084 const wxSize& size = wxDefaultSize,
3085 long style = 0,
3086 const wxString& name = wxPyVListBoxNameStr)
3087 : wxHtmlListBox(parent, id, pos, size, style, name)
3088 {}
3089
3090 // Overridable virtuals
3091
3092 // this method must be implemented in the derived class and should return
3093 // the body (i.e. without <html>) of the HTML for the given item
3094 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3095
3096 // this function may be overridden to decorate HTML returned by OnGetItem()
3097 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3098
3099 // These are from wxVListBox
3100 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3101 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3102
3103 // TODO:
3104 // // this method allows to customize the selection appearance: it may be used
3105 // // to specify the colour of the text which normally has the given colour
3106 // // colFg when it is inside the selection
3107 // //
3108 // // by default, the original colour is not used at all and all text has the
3109 // // same (default for this system) colour inside selection
3110 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3111
3112 // // this is the same as GetSelectedTextColour() but allows to customize the
3113 // // background colour -- this is even more rarely used as you can change it
3114 // // globally using SetSelectionBackground()
3115 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3116
3117
3118 // This method may be overriden to handle clicking on a link in
3119 // the listbox. By default, clicking links is ignored.
3120 virtual void OnLinkClicked(size_t n,
3121 const wxHtmlLinkInfo& link);
3122
3123 PYPRIVATE;
3124 };
3125
3126
3127 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3128
3129 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3130 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3131 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3132 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3133
3134
3135 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3136 const wxHtmlLinkInfo& link) {
3137 bool found;
3138 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3139 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3140 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3141 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3142 Py_DECREF(obj);
3143 }
3144 wxPyEndBlockThreads(blocked);
3145 if (! found)
3146 wxPyHtmlListBox::OnLinkClicked(n, link);
3147 }
3148
3149
3150
3151
3152
3153 #ifndef wxHAS_TASK_BAR_ICON
3154 // implement dummy classes for platforms that don't have it
3155
3156 class wxTaskBarIcon : public wxEvtHandler
3157 {
3158 public:
3159 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3160 };
3161
3162
3163 class wxTaskBarIconEvent : public wxEvent
3164 {
3165 public:
3166 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3167 { wxPyRaiseNotImplemented(); }
3168 virtual wxEvent* Clone() const { return NULL; }
3169 bool IsOk() const { return false; }
3170 bool IsIconInstalled() const { return false; }
3171 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3172 bool RemoveIcon() { return false; }
3173 bool PopupMenu(wxMenu *menu) { return false; }
3174 };
3175
3176 enum {
3177 wxEVT_TASKBAR_MOVE = 0,
3178 wxEVT_TASKBAR_LEFT_DOWN = 0,
3179 wxEVT_TASKBAR_LEFT_UP = 0,
3180 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3181 wxEVT_TASKBAR_RIGHT_UP = 0,
3182 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3183 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3184 };
3185
3186
3187 #else
3188 // Otherwise make a class that can virtualize CreatePopupMenu
3189 class wxPyTaskBarIcon : public wxTaskBarIcon
3190 {
3191 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3192 public:
3193 wxPyTaskBarIcon() : wxTaskBarIcon()
3194 {}
3195
3196 wxMenu* CreatePopupMenu() {
3197 wxMenu *rval = NULL;
3198 bool found;
3199 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3200 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3201 PyObject* ro;
3202 wxMenu* ptr;
3203 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3204 if (ro) {
3205 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3206 rval = ptr;
3207 Py_DECREF(ro);
3208 }
3209 }
3210 wxPyEndBlockThreads(blocked);
3211 if (! found)
3212 rval = wxTaskBarIcon::CreatePopupMenu();
3213 return rval;
3214 }
3215
3216 PYPRIVATE;
3217 };
3218
3219 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3220
3221 #endif
3222
3223 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3224 self->RemoveIcon();
3225 delete self;
3226 }
3227 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3228 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3229 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3230 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3231 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3232 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3233
3234 // for compatibility only
3235 #define wxHIDE_READONLY 0
3236
3237 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3238 wxArrayString arr;
3239 self->GetFilenames(arr);
3240 return wxArrayString2PyList_helper(arr);
3241 }
3242 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3243 wxArrayString arr;
3244 self->GetPaths(arr);
3245 return wxArrayString2PyList_helper(arr);
3246 }
3247 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3248 return wxArrayInt2PyList_helper(self->GetSelections());
3249 }
3250 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){
3251 return new wxSingleChoiceDialog(parent, message, caption,
3252 choices, choices_array, NULL, style, pos);
3253 }
3254 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3255
3256 SWIGINTERNINLINE PyObject*
3257 SWIG_From_bool (bool value)
3258 {
3259 return PyBool_FromLong(value ? 1 : 0);
3260 }
3261
3262
3263 #include <wx/mdi.h>
3264
3265 // C++ version of Python aware wxWindow
3266 class wxPyWindow : public wxWindow
3267 {
3268 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3269 public:
3270 wxPyWindow() : wxWindow() {}
3271 wxPyWindow(wxWindow* parent, const wxWindowID id,
3272 const wxPoint& pos = wxDefaultPosition,
3273 const wxSize& size = wxDefaultSize,
3274 long style = 0,
3275 const wxString& name = wxPyPanelNameStr)
3276 : wxWindow(parent, id, pos, size, style, name) {}
3277
3278 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3279
3280 bool DoEraseBackground(wxDC* dc) {
3281 #ifdef __WXMSW__
3282 return wxWindow::DoEraseBackground(dc->GetHDC());
3283 #else
3284 dc->SetBackground(wxBrush(GetBackgroundColour()));
3285 dc->Clear();
3286 return true;
3287 #endif
3288 }
3289
3290 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3291 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3293 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3294
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3297 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3298
3299 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3300 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3301
3302 DEC_PYCALLBACK__(InitDialog);
3303 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3304 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3305 DEC_PYCALLBACK_BOOL_(Validate);
3306
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3308 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3309 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3310
3311 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3312 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3313
3314 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3315 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3316
3317 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3318
3319 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3320
3321 PYPRIVATE;
3322 };
3323
3324 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3325
3326 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3327 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3329 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3330
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3333 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3334
3335 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3336 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3337
3338 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3342
3343 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3344 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3345 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3346
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3348 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3349
3350 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3351 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3352
3353 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3354
3355 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3356
3357 // C++ version of Python aware wxPanel
3358 class wxPyPanel : public wxPanel
3359 {
3360 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3361 public:
3362 wxPyPanel() : wxPanel() {}
3363 wxPyPanel(wxWindow* parent, const wxWindowID id,
3364 const wxPoint& pos = wxDefaultPosition,
3365 const wxSize& size = wxDefaultSize,
3366 long style = 0,
3367 const wxString& name = wxPyPanelNameStr)
3368 : wxPanel(parent, id, pos, size, style, name) {}
3369
3370 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3371 bool DoEraseBackground(wxDC* dc) {
3372 #ifdef __WXMSW__
3373 return wxWindow::DoEraseBackground(dc->GetHDC());
3374 #else
3375 dc->SetBackground(wxBrush(GetBackgroundColour()));
3376 dc->Clear();
3377 return true;
3378 #endif
3379 }
3380
3381
3382 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3383 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3385 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3386
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3389 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3390
3391 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3392 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3393
3394 DEC_PYCALLBACK__(InitDialog);
3395 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3396 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3397 DEC_PYCALLBACK_BOOL_(Validate);
3398
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3400 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3401 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3402
3403 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3404 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3405
3406 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3407 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3408
3409 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3410
3411 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3412
3413 PYPRIVATE;
3414 };
3415
3416 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3417
3418 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3419 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3420 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3421 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3422
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3424 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3425 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3426
3427 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3428 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3429
3430 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3434
3435 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3436 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3437 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3438
3439 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3440 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3441
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3443 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3444
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3446
3447 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3448
3449 // C++ version of Python aware wxScrolledWindow
3450 class wxPyScrolledWindow : public wxScrolledWindow
3451 {
3452 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3453 public:
3454 wxPyScrolledWindow() : wxScrolledWindow() {}
3455 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3456 const wxPoint& pos = wxDefaultPosition,
3457 const wxSize& size = wxDefaultSize,
3458 long style = 0,
3459 const wxString& name = wxPyPanelNameStr)
3460 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3461
3462 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3463 bool DoEraseBackground(wxDC* dc) {
3464 #ifdef __WXMSW__
3465 return wxWindow::DoEraseBackground(dc->GetHDC());
3466 #else
3467 dc->SetBackground(wxBrush(GetBackgroundColour()));
3468 dc->Clear();
3469 return true;
3470 #endif
3471 }
3472
3473 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3474 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3476 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3477
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3480 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3481
3482 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3483 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3484
3485 DEC_PYCALLBACK__(InitDialog);
3486 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3487 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3488 DEC_PYCALLBACK_BOOL_(Validate);
3489
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3491 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3492 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3493
3494 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3495 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3496
3497 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3498 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3499
3500 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3501
3502 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3503
3504 PYPRIVATE;
3505 };
3506
3507 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3508
3509 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3510 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3512 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3513
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3516 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3517
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3519 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3520
3521 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3524 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3525
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3527 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3528 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3529
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3531 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3532
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3534 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3535
3536 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3537
3538 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3539
3540
3541 #include "wx/wxPython/printfw.h"
3542
3543
3544 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3545 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3546 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3547 PyObject* data;
3548 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3549 data = PyString_FromStringAndSize(self->GetPrivData(),
3550 self->GetPrivDataLen());
3551 wxPyEndBlockThreads(blocked);
3552 return data;
3553 }
3554 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3555 if (! PyString_Check(data)) {
3556 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3557 "Expected string object"));
3558 return /* NULL */ ;
3559 }
3560
3561 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3562 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3563 wxPyEndBlockThreads(blocked);
3564 }
3565
3566
3567 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3568
3569 // Since this one would be tough and ugly to do with the Macros...
3570 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3571 bool hadErr = false;
3572 bool found;
3573
3574 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3575 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3576 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3577 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3578 PyObject* val;
3579
3580 val = PyTuple_GetItem(result, 0);
3581 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3582 else hadErr = true;
3583
3584 val = PyTuple_GetItem(result, 1);
3585 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3586 else hadErr = true;
3587
3588 val = PyTuple_GetItem(result, 2);
3589 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3590 else hadErr = true;
3591
3592 val = PyTuple_GetItem(result, 3);
3593 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3594 else hadErr = true;
3595 }
3596 else
3597 hadErr = true;
3598
3599 if (hadErr) {
3600 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3601 PyErr_Print();
3602 }
3603 Py_DECREF(result);
3604 }
3605 wxPyEndBlockThreads(blocked);
3606 if (! found)
3607 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3608 }
3609
3610
3611
3612 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3613 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3614 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3615 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3616 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3617 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3618 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3619
3620
3621
3622
3623
3624 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3625 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3626
3627
3628 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3629 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3630 bool rval=false; \
3631 bool found; \
3632 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3633 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3634 PyObject* win = wxPyMake_wxObject(a,false); \
3635 PyObject* dc = wxPyMake_wxObject(&b,false); \
3636 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3637 Py_DECREF(win); \
3638 Py_DECREF(dc); \
3639 } \
3640 wxPyEndBlockThreads(blocked); \
3641 if (! found) \
3642 rval = PCLASS::CBNAME(a, b); \
3643 return rval; \
3644 }
3645
3646
3647
3648
3649 class wxPyPrintPreview : public wxPrintPreview
3650 {
3651 DECLARE_CLASS(wxPyPrintPreview)
3652 public:
3653 wxPyPrintPreview(wxPyPrintout* printout,
3654 wxPyPrintout* printoutForPrinting,
3655 wxPrintDialogData* data=NULL)
3656 : wxPrintPreview(printout, printoutForPrinting, data)
3657 {}
3658 wxPyPrintPreview(wxPyPrintout* printout,
3659 wxPyPrintout* printoutForPrinting,
3660 wxPrintData* data)
3661 : wxPrintPreview(printout, printoutForPrinting, data)
3662 {}
3663
3664 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3666 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3667 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3668 DEC_PYCALLBACK_VOID_INT(SetZoom);
3669 DEC_PYCALLBACK_BOOL_BOOL(Print);
3670 DEC_PYCALLBACK_VOID_(DetermineScaling);
3671
3672 PYPRIVATE;
3673 };
3674
3675 // Stupid renamed classes... Fix this in 2.5...
3676 #if defined(__WXMSW__)
3677 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3678 #elif defined(__WXMAC__)
3679 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3680 #else
3681 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3682 #endif
3683
3684 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3686 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3687 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3688 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3689 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3690 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3691
3692
3693 class wxPyPreviewFrame : public wxPreviewFrame
3694 {
3695 DECLARE_CLASS(wxPyPreviewFrame)
3696 public:
3697 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3698 const wxString& title,
3699 const wxPoint& pos = wxDefaultPosition,
3700 const wxSize& size = wxDefaultSize,
3701 long style = wxDEFAULT_FRAME_STYLE,
3702 const wxString& name = wxPyFrameNameStr)
3703 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3704 {}
3705
3706 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3707 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3708
3709 DEC_PYCALLBACK_VOID_(Initialize);
3710 DEC_PYCALLBACK_VOID_(CreateCanvas);
3711 DEC_PYCALLBACK_VOID_(CreateControlBar);
3712
3713 PYPRIVATE;
3714 };
3715
3716 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3717
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3720 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3721
3722
3723 class wxPyPreviewControlBar : public wxPreviewControlBar
3724 {
3725 DECLARE_CLASS(wxPyPreviewControlBar)
3726 public:
3727 wxPyPreviewControlBar(wxPrintPreview *preview,
3728 long buttons,
3729 wxWindow *parent,
3730 const wxPoint& pos = wxDefaultPosition,
3731 const wxSize& size = wxDefaultSize,
3732 long style = 0,
3733 const wxString& name = wxPyPanelNameStr)
3734 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3735 {}
3736
3737 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3738
3739 DEC_PYCALLBACK_VOID_(CreateButtons);
3740 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3741
3742 PYPRIVATE;
3743 };
3744
3745 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3746 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3747 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3748
3749 #ifdef __cplusplus
3750 extern "C" {
3751 #endif
3752 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3753 PyObject *resultobj = 0;
3754 wxWindow *arg1 = (wxWindow *) 0 ;
3755 int arg2 = (int) (int)-1 ;
3756 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3757 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3758 wxSize const &arg4_defvalue = wxDefaultSize ;
3759 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3760 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3761 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3762 wxString *arg6 = (wxString *) &arg6_defvalue ;
3763 wxPanel *result = 0 ;
3764 void *argp1 = 0 ;
3765 int res1 = 0 ;
3766 int val2 ;
3767 int ecode2 = 0 ;
3768 wxPoint temp3 ;
3769 wxSize temp4 ;
3770 long val5 ;
3771 int ecode5 = 0 ;
3772 bool temp6 = false ;
3773 PyObject * obj0 = 0 ;
3774 PyObject * obj1 = 0 ;
3775 PyObject * obj2 = 0 ;
3776 PyObject * obj3 = 0 ;
3777 PyObject * obj4 = 0 ;
3778 PyObject * obj5 = 0 ;
3779 char * kwnames[] = {
3780 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3781 };
3782
3783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3785 if (!SWIG_IsOK(res1)) {
3786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3787 }
3788 arg1 = reinterpret_cast< wxWindow * >(argp1);
3789 if (obj1) {
3790 ecode2 = SWIG_AsVal_int(obj1, &val2);
3791 if (!SWIG_IsOK(ecode2)) {
3792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3793 }
3794 arg2 = static_cast< int >(val2);
3795 }
3796 if (obj2) {
3797 {
3798 arg3 = &temp3;
3799 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3800 }
3801 }
3802 if (obj3) {
3803 {
3804 arg4 = &temp4;
3805 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3806 }
3807 }
3808 if (obj4) {
3809 ecode5 = SWIG_AsVal_long(obj4, &val5);
3810 if (!SWIG_IsOK(ecode5)) {
3811 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3812 }
3813 arg5 = static_cast< long >(val5);
3814 }
3815 if (obj5) {
3816 {
3817 arg6 = wxString_in_helper(obj5);
3818 if (arg6 == NULL) SWIG_fail;
3819 temp6 = true;
3820 }
3821 }
3822 {
3823 if (!wxPyCheckForApp()) SWIG_fail;
3824 PyThreadState* __tstate = wxPyBeginAllowThreads();
3825 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3826 wxPyEndAllowThreads(__tstate);
3827 if (PyErr_Occurred()) SWIG_fail;
3828 }
3829 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3830 {
3831 if (temp6)
3832 delete arg6;
3833 }
3834 return resultobj;
3835 fail:
3836 {
3837 if (temp6)
3838 delete arg6;
3839 }
3840 return NULL;
3841 }
3842
3843
3844 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3845 PyObject *resultobj = 0;
3846 wxPanel *result = 0 ;
3847
3848 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3849 {
3850 if (!wxPyCheckForApp()) SWIG_fail;
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 result = (wxPanel *)new wxPanel();
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3857 return resultobj;
3858 fail:
3859 return NULL;
3860 }
3861
3862
3863 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3864 PyObject *resultobj = 0;
3865 wxPanel *arg1 = (wxPanel *) 0 ;
3866 wxWindow *arg2 = (wxWindow *) 0 ;
3867 int arg3 = (int) (int)-1 ;
3868 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3869 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3870 wxSize const &arg5_defvalue = wxDefaultSize ;
3871 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3872 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3873 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3874 wxString *arg7 = (wxString *) &arg7_defvalue ;
3875 bool result;
3876 void *argp1 = 0 ;
3877 int res1 = 0 ;
3878 void *argp2 = 0 ;
3879 int res2 = 0 ;
3880 int val3 ;
3881 int ecode3 = 0 ;
3882 wxPoint temp4 ;
3883 wxSize temp5 ;
3884 long val6 ;
3885 int ecode6 = 0 ;
3886 bool temp7 = false ;
3887 PyObject * obj0 = 0 ;
3888 PyObject * obj1 = 0 ;
3889 PyObject * obj2 = 0 ;
3890 PyObject * obj3 = 0 ;
3891 PyObject * obj4 = 0 ;
3892 PyObject * obj5 = 0 ;
3893 PyObject * obj6 = 0 ;
3894 char * kwnames[] = {
3895 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3896 };
3897
3898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3900 if (!SWIG_IsOK(res1)) {
3901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3902 }
3903 arg1 = reinterpret_cast< wxPanel * >(argp1);
3904 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3905 if (!SWIG_IsOK(res2)) {
3906 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3907 }
3908 arg2 = reinterpret_cast< wxWindow * >(argp2);
3909 if (obj2) {
3910 ecode3 = SWIG_AsVal_int(obj2, &val3);
3911 if (!SWIG_IsOK(ecode3)) {
3912 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3913 }
3914 arg3 = static_cast< int >(val3);
3915 }
3916 if (obj3) {
3917 {
3918 arg4 = &temp4;
3919 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3920 }
3921 }
3922 if (obj4) {
3923 {
3924 arg5 = &temp5;
3925 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3926 }
3927 }
3928 if (obj5) {
3929 ecode6 = SWIG_AsVal_long(obj5, &val6);
3930 if (!SWIG_IsOK(ecode6)) {
3931 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3932 }
3933 arg6 = static_cast< long >(val6);
3934 }
3935 if (obj6) {
3936 {
3937 arg7 = wxString_in_helper(obj6);
3938 if (arg7 == NULL) SWIG_fail;
3939 temp7 = true;
3940 }
3941 }
3942 {
3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
3944 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 {
3949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3950 }
3951 {
3952 if (temp7)
3953 delete arg7;
3954 }
3955 return resultobj;
3956 fail:
3957 {
3958 if (temp7)
3959 delete arg7;
3960 }
3961 return NULL;
3962 }
3963
3964
3965 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3966 PyObject *resultobj = 0;
3967 wxPanel *arg1 = (wxPanel *) 0 ;
3968 void *argp1 = 0 ;
3969 int res1 = 0 ;
3970 PyObject *swig_obj[1] ;
3971
3972 if (!args) SWIG_fail;
3973 swig_obj[0] = args;
3974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3975 if (!SWIG_IsOK(res1)) {
3976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3977 }
3978 arg1 = reinterpret_cast< wxPanel * >(argp1);
3979 {
3980 PyThreadState* __tstate = wxPyBeginAllowThreads();
3981 (arg1)->SetFocusIgnoringChildren();
3982 wxPyEndAllowThreads(__tstate);
3983 if (PyErr_Occurred()) SWIG_fail;
3984 }
3985 resultobj = SWIG_Py_Void();
3986 return resultobj;
3987 fail:
3988 return NULL;
3989 }
3990
3991
3992 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj = 0;
3994 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3995 SwigValueWrapper<wxVisualAttributes > result;
3996 int val1 ;
3997 int ecode1 = 0 ;
3998 PyObject * obj0 = 0 ;
3999 char * kwnames[] = {
4000 (char *) "variant", NULL
4001 };
4002
4003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4004 if (obj0) {
4005 ecode1 = SWIG_AsVal_int(obj0, &val1);
4006 if (!SWIG_IsOK(ecode1)) {
4007 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4008 }
4009 arg1 = static_cast< wxWindowVariant >(val1);
4010 }
4011 {
4012 if (!wxPyCheckForApp()) SWIG_fail;
4013 PyThreadState* __tstate = wxPyBeginAllowThreads();
4014 result = wxPanel::GetClassDefaultAttributes(arg1);
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4019 return resultobj;
4020 fail:
4021 return NULL;
4022 }
4023
4024
4025 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4026 PyObject *obj;
4027 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4028 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4029 return SWIG_Py_Void();
4030 }
4031
4032 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4033 return SWIG_Python_InitShadowInstance(args);
4034 }
4035
4036 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4037 PyObject *resultobj = 0;
4038 wxWindow *arg1 = (wxWindow *) 0 ;
4039 int arg2 = (int) (int)-1 ;
4040 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4041 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4042 wxSize const &arg4_defvalue = wxDefaultSize ;
4043 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4044 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4045 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4046 wxString *arg6 = (wxString *) &arg6_defvalue ;
4047 wxScrolledWindow *result = 0 ;
4048 void *argp1 = 0 ;
4049 int res1 = 0 ;
4050 int val2 ;
4051 int ecode2 = 0 ;
4052 wxPoint temp3 ;
4053 wxSize temp4 ;
4054 long val5 ;
4055 int ecode5 = 0 ;
4056 bool temp6 = false ;
4057 PyObject * obj0 = 0 ;
4058 PyObject * obj1 = 0 ;
4059 PyObject * obj2 = 0 ;
4060 PyObject * obj3 = 0 ;
4061 PyObject * obj4 = 0 ;
4062 PyObject * obj5 = 0 ;
4063 char * kwnames[] = {
4064 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4065 };
4066
4067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4069 if (!SWIG_IsOK(res1)) {
4070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4071 }
4072 arg1 = reinterpret_cast< wxWindow * >(argp1);
4073 if (obj1) {
4074 ecode2 = SWIG_AsVal_int(obj1, &val2);
4075 if (!SWIG_IsOK(ecode2)) {
4076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4077 }
4078 arg2 = static_cast< int >(val2);
4079 }
4080 if (obj2) {
4081 {
4082 arg3 = &temp3;
4083 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4084 }
4085 }
4086 if (obj3) {
4087 {
4088 arg4 = &temp4;
4089 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4090 }
4091 }
4092 if (obj4) {
4093 ecode5 = SWIG_AsVal_long(obj4, &val5);
4094 if (!SWIG_IsOK(ecode5)) {
4095 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4096 }
4097 arg5 = static_cast< long >(val5);
4098 }
4099 if (obj5) {
4100 {
4101 arg6 = wxString_in_helper(obj5);
4102 if (arg6 == NULL) SWIG_fail;
4103 temp6 = true;
4104 }
4105 }
4106 {
4107 if (!wxPyCheckForApp()) SWIG_fail;
4108 PyThreadState* __tstate = wxPyBeginAllowThreads();
4109 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4110 wxPyEndAllowThreads(__tstate);
4111 if (PyErr_Occurred()) SWIG_fail;
4112 }
4113 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4114 {
4115 if (temp6)
4116 delete arg6;
4117 }
4118 return resultobj;
4119 fail:
4120 {
4121 if (temp6)
4122 delete arg6;
4123 }
4124 return NULL;
4125 }
4126
4127
4128 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4129 PyObject *resultobj = 0;
4130 wxScrolledWindow *result = 0 ;
4131
4132 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4133 {
4134 if (!wxPyCheckForApp()) SWIG_fail;
4135 PyThreadState* __tstate = wxPyBeginAllowThreads();
4136 result = (wxScrolledWindow *)new wxScrolledWindow();
4137 wxPyEndAllowThreads(__tstate);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4141 return resultobj;
4142 fail:
4143 return NULL;
4144 }
4145
4146
4147 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4148 PyObject *resultobj = 0;
4149 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4150 wxWindow *arg2 = (wxWindow *) 0 ;
4151 int arg3 = (int) (int)-1 ;
4152 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4153 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4154 wxSize const &arg5_defvalue = wxDefaultSize ;
4155 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4156 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4157 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4158 wxString *arg7 = (wxString *) &arg7_defvalue ;
4159 bool result;
4160 void *argp1 = 0 ;
4161 int res1 = 0 ;
4162 void *argp2 = 0 ;
4163 int res2 = 0 ;
4164 int val3 ;
4165 int ecode3 = 0 ;
4166 wxPoint temp4 ;
4167 wxSize temp5 ;
4168 long val6 ;
4169 int ecode6 = 0 ;
4170 bool temp7 = false ;
4171 PyObject * obj0 = 0 ;
4172 PyObject * obj1 = 0 ;
4173 PyObject * obj2 = 0 ;
4174 PyObject * obj3 = 0 ;
4175 PyObject * obj4 = 0 ;
4176 PyObject * obj5 = 0 ;
4177 PyObject * obj6 = 0 ;
4178 char * kwnames[] = {
4179 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4180 };
4181
4182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4184 if (!SWIG_IsOK(res1)) {
4185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4186 }
4187 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4188 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4189 if (!SWIG_IsOK(res2)) {
4190 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4191 }
4192 arg2 = reinterpret_cast< wxWindow * >(argp2);
4193 if (obj2) {
4194 ecode3 = SWIG_AsVal_int(obj2, &val3);
4195 if (!SWIG_IsOK(ecode3)) {
4196 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4197 }
4198 arg3 = static_cast< int >(val3);
4199 }
4200 if (obj3) {
4201 {
4202 arg4 = &temp4;
4203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4204 }
4205 }
4206 if (obj4) {
4207 {
4208 arg5 = &temp5;
4209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4210 }
4211 }
4212 if (obj5) {
4213 ecode6 = SWIG_AsVal_long(obj5, &val6);
4214 if (!SWIG_IsOK(ecode6)) {
4215 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4216 }
4217 arg6 = static_cast< long >(val6);
4218 }
4219 if (obj6) {
4220 {
4221 arg7 = wxString_in_helper(obj6);
4222 if (arg7 == NULL) SWIG_fail;
4223 temp7 = true;
4224 }
4225 }
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4229 wxPyEndAllowThreads(__tstate);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
4232 {
4233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4234 }
4235 {
4236 if (temp7)
4237 delete arg7;
4238 }
4239 return resultobj;
4240 fail:
4241 {
4242 if (temp7)
4243 delete arg7;
4244 }
4245 return NULL;
4246 }
4247
4248
4249 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4250 PyObject *resultobj = 0;
4251 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4252 int arg2 ;
4253 int arg3 ;
4254 int arg4 ;
4255 int arg5 ;
4256 int arg6 = (int) 0 ;
4257 int arg7 = (int) 0 ;
4258 bool arg8 = (bool) false ;
4259 void *argp1 = 0 ;
4260 int res1 = 0 ;
4261 int val2 ;
4262 int ecode2 = 0 ;
4263 int val3 ;
4264 int ecode3 = 0 ;
4265 int val4 ;
4266 int ecode4 = 0 ;
4267 int val5 ;
4268 int ecode5 = 0 ;
4269 int val6 ;
4270 int ecode6 = 0 ;
4271 int val7 ;
4272 int ecode7 = 0 ;
4273 bool val8 ;
4274 int ecode8 = 0 ;
4275 PyObject * obj0 = 0 ;
4276 PyObject * obj1 = 0 ;
4277 PyObject * obj2 = 0 ;
4278 PyObject * obj3 = 0 ;
4279 PyObject * obj4 = 0 ;
4280 PyObject * obj5 = 0 ;
4281 PyObject * obj6 = 0 ;
4282 PyObject * obj7 = 0 ;
4283 char * kwnames[] = {
4284 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4285 };
4286
4287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4289 if (!SWIG_IsOK(res1)) {
4290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4291 }
4292 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4293 ecode2 = SWIG_AsVal_int(obj1, &val2);
4294 if (!SWIG_IsOK(ecode2)) {
4295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4296 }
4297 arg2 = static_cast< int >(val2);
4298 ecode3 = SWIG_AsVal_int(obj2, &val3);
4299 if (!SWIG_IsOK(ecode3)) {
4300 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4301 }
4302 arg3 = static_cast< int >(val3);
4303 ecode4 = SWIG_AsVal_int(obj3, &val4);
4304 if (!SWIG_IsOK(ecode4)) {
4305 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4306 }
4307 arg4 = static_cast< int >(val4);
4308 ecode5 = SWIG_AsVal_int(obj4, &val5);
4309 if (!SWIG_IsOK(ecode5)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4311 }
4312 arg5 = static_cast< int >(val5);
4313 if (obj5) {
4314 ecode6 = SWIG_AsVal_int(obj5, &val6);
4315 if (!SWIG_IsOK(ecode6)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4317 }
4318 arg6 = static_cast< int >(val6);
4319 }
4320 if (obj6) {
4321 ecode7 = SWIG_AsVal_int(obj6, &val7);
4322 if (!SWIG_IsOK(ecode7)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4324 }
4325 arg7 = static_cast< int >(val7);
4326 }
4327 if (obj7) {
4328 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4329 if (!SWIG_IsOK(ecode8)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4331 }
4332 arg8 = static_cast< bool >(val8);
4333 }
4334 {
4335 PyThreadState* __tstate = wxPyBeginAllowThreads();
4336 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4337 wxPyEndAllowThreads(__tstate);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 resultobj = SWIG_Py_Void();
4341 return resultobj;
4342 fail:
4343 return NULL;
4344 }
4345
4346
4347 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4348 PyObject *resultobj = 0;
4349 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4350 int arg2 ;
4351 int arg3 ;
4352 void *argp1 = 0 ;
4353 int res1 = 0 ;
4354 int val2 ;
4355 int ecode2 = 0 ;
4356 int val3 ;
4357 int ecode3 = 0 ;
4358 PyObject * obj0 = 0 ;
4359 PyObject * obj1 = 0 ;
4360 PyObject * obj2 = 0 ;
4361 char * kwnames[] = {
4362 (char *) "self",(char *) "x",(char *) "y", NULL
4363 };
4364
4365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4367 if (!SWIG_IsOK(res1)) {
4368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4369 }
4370 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4371 ecode2 = SWIG_AsVal_int(obj1, &val2);
4372 if (!SWIG_IsOK(ecode2)) {
4373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4374 }
4375 arg2 = static_cast< int >(val2);
4376 ecode3 = SWIG_AsVal_int(obj2, &val3);
4377 if (!SWIG_IsOK(ecode3)) {
4378 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4379 }
4380 arg3 = static_cast< int >(val3);
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 (arg1)->Scroll(arg2,arg3);
4384 wxPyEndAllowThreads(__tstate);
4385 if (PyErr_Occurred()) SWIG_fail;
4386 }
4387 resultobj = SWIG_Py_Void();
4388 return resultobj;
4389 fail:
4390 return NULL;
4391 }
4392
4393
4394 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj = 0;
4396 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4397 int arg2 ;
4398 int result;
4399 void *argp1 = 0 ;
4400 int res1 = 0 ;
4401 int val2 ;
4402 int ecode2 = 0 ;
4403 PyObject * obj0 = 0 ;
4404 PyObject * obj1 = 0 ;
4405 char * kwnames[] = {
4406 (char *) "self",(char *) "orient", NULL
4407 };
4408
4409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4411 if (!SWIG_IsOK(res1)) {
4412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4413 }
4414 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4415 ecode2 = SWIG_AsVal_int(obj1, &val2);
4416 if (!SWIG_IsOK(ecode2)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4418 }
4419 arg2 = static_cast< int >(val2);
4420 {
4421 PyThreadState* __tstate = wxPyBeginAllowThreads();
4422 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 resultobj = SWIG_From_int(static_cast< int >(result));
4427 return resultobj;
4428 fail:
4429 return NULL;
4430 }
4431
4432
4433 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj = 0;
4435 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4436 int arg2 ;
4437 int arg3 ;
4438 void *argp1 = 0 ;
4439 int res1 = 0 ;
4440 int val2 ;
4441 int ecode2 = 0 ;
4442 int val3 ;
4443 int ecode3 = 0 ;
4444 PyObject * obj0 = 0 ;
4445 PyObject * obj1 = 0 ;
4446 PyObject * obj2 = 0 ;
4447 char * kwnames[] = {
4448 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4449 };
4450
4451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4453 if (!SWIG_IsOK(res1)) {
4454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4455 }
4456 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4457 ecode2 = SWIG_AsVal_int(obj1, &val2);
4458 if (!SWIG_IsOK(ecode2)) {
4459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4460 }
4461 arg2 = static_cast< int >(val2);
4462 ecode3 = SWIG_AsVal_int(obj2, &val3);
4463 if (!SWIG_IsOK(ecode3)) {
4464 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4465 }
4466 arg3 = static_cast< int >(val3);
4467 {
4468 PyThreadState* __tstate = wxPyBeginAllowThreads();
4469 (arg1)->SetScrollPageSize(arg2,arg3);
4470 wxPyEndAllowThreads(__tstate);
4471 if (PyErr_Occurred()) SWIG_fail;
4472 }
4473 resultobj = SWIG_Py_Void();
4474 return resultobj;
4475 fail:
4476 return NULL;
4477 }
4478
4479
4480 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4481 PyObject *resultobj = 0;
4482 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4483 int arg2 ;
4484 int arg3 ;
4485 void *argp1 = 0 ;
4486 int res1 = 0 ;
4487 int val2 ;
4488 int ecode2 = 0 ;
4489 int val3 ;
4490 int ecode3 = 0 ;
4491 PyObject * obj0 = 0 ;
4492 PyObject * obj1 = 0 ;
4493 PyObject * obj2 = 0 ;
4494 char * kwnames[] = {
4495 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4496 };
4497
4498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4500 if (!SWIG_IsOK(res1)) {
4501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4502 }
4503 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4504 ecode2 = SWIG_AsVal_int(obj1, &val2);
4505 if (!SWIG_IsOK(ecode2)) {
4506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4507 }
4508 arg2 = static_cast< int >(val2);
4509 ecode3 = SWIG_AsVal_int(obj2, &val3);
4510 if (!SWIG_IsOK(ecode3)) {
4511 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4512 }
4513 arg3 = static_cast< int >(val3);
4514 {
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 (arg1)->SetScrollRate(arg2,arg3);
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 resultobj = SWIG_Py_Void();
4521 return resultobj;
4522 fail:
4523 return NULL;
4524 }
4525
4526
4527 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4528 PyObject *resultobj = 0;
4529 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4530 int *arg2 = (int *) 0 ;
4531 int *arg3 = (int *) 0 ;
4532 void *argp1 = 0 ;
4533 int res1 = 0 ;
4534 int temp2 ;
4535 int res2 = SWIG_TMPOBJ ;
4536 int temp3 ;
4537 int res3 = SWIG_TMPOBJ ;
4538 PyObject *swig_obj[1] ;
4539
4540 arg2 = &temp2;
4541 arg3 = &temp3;
4542 if (!args) SWIG_fail;
4543 swig_obj[0] = args;
4544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4545 if (!SWIG_IsOK(res1)) {
4546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4547 }
4548 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
4555 resultobj = SWIG_Py_Void();
4556 if (SWIG_IsTmpObj(res2)) {
4557 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4558 } else {
4559 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4560 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4561 }
4562 if (SWIG_IsTmpObj(res3)) {
4563 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4564 } else {
4565 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4566 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4567 }
4568 return resultobj;
4569 fail:
4570 return NULL;
4571 }
4572
4573
4574 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4575 PyObject *resultobj = 0;
4576 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4577 bool arg2 ;
4578 bool arg3 ;
4579 void *argp1 = 0 ;
4580 int res1 = 0 ;
4581 bool val2 ;
4582 int ecode2 = 0 ;
4583 bool val3 ;
4584 int ecode3 = 0 ;
4585 PyObject * obj0 = 0 ;
4586 PyObject * obj1 = 0 ;
4587 PyObject * obj2 = 0 ;
4588 char * kwnames[] = {
4589 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4590 };
4591
4592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4594 if (!SWIG_IsOK(res1)) {
4595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4596 }
4597 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4598 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4599 if (!SWIG_IsOK(ecode2)) {
4600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4601 }
4602 arg2 = static_cast< bool >(val2);
4603 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4604 if (!SWIG_IsOK(ecode3)) {
4605 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4606 }
4607 arg3 = static_cast< bool >(val3);
4608 {
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 (arg1)->EnableScrolling(arg2,arg3);
4611 wxPyEndAllowThreads(__tstate);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 }
4614 resultobj = SWIG_Py_Void();
4615 return resultobj;
4616 fail:
4617 return NULL;
4618 }
4619
4620
4621 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4622 PyObject *resultobj = 0;
4623 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4624 int *arg2 = (int *) 0 ;
4625 int *arg3 = (int *) 0 ;
4626 void *argp1 = 0 ;
4627 int res1 = 0 ;
4628 int temp2 ;
4629 int res2 = SWIG_TMPOBJ ;
4630 int temp3 ;
4631 int res3 = SWIG_TMPOBJ ;
4632 PyObject *swig_obj[1] ;
4633
4634 arg2 = &temp2;
4635 arg3 = &temp3;
4636 if (!args) SWIG_fail;
4637 swig_obj[0] = args;
4638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4639 if (!SWIG_IsOK(res1)) {
4640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4641 }
4642 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4643 {
4644 PyThreadState* __tstate = wxPyBeginAllowThreads();
4645 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4646 wxPyEndAllowThreads(__tstate);
4647 if (PyErr_Occurred()) SWIG_fail;
4648 }
4649 resultobj = SWIG_Py_Void();
4650 if (SWIG_IsTmpObj(res2)) {
4651 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4652 } else {
4653 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4654 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4655 }
4656 if (SWIG_IsTmpObj(res3)) {
4657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4658 } else {
4659 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4660 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4661 }
4662 return resultobj;
4663 fail:
4664 return NULL;
4665 }
4666
4667
4668 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4669 PyObject *resultobj = 0;
4670 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4671 double arg2 ;
4672 double arg3 ;
4673 void *argp1 = 0 ;
4674 int res1 = 0 ;
4675 double val2 ;
4676 int ecode2 = 0 ;
4677 double val3 ;
4678 int ecode3 = 0 ;
4679 PyObject * obj0 = 0 ;
4680 PyObject * obj1 = 0 ;
4681 PyObject * obj2 = 0 ;
4682 char * kwnames[] = {
4683 (char *) "self",(char *) "xs",(char *) "ys", NULL
4684 };
4685
4686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4688 if (!SWIG_IsOK(res1)) {
4689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4690 }
4691 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4692 ecode2 = SWIG_AsVal_double(obj1, &val2);
4693 if (!SWIG_IsOK(ecode2)) {
4694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4695 }
4696 arg2 = static_cast< double >(val2);
4697 ecode3 = SWIG_AsVal_double(obj2, &val3);
4698 if (!SWIG_IsOK(ecode3)) {
4699 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4700 }
4701 arg3 = static_cast< double >(val3);
4702 {
4703 PyThreadState* __tstate = wxPyBeginAllowThreads();
4704 (arg1)->SetScale(arg2,arg3);
4705 wxPyEndAllowThreads(__tstate);
4706 if (PyErr_Occurred()) SWIG_fail;
4707 }
4708 resultobj = SWIG_Py_Void();
4709 return resultobj;
4710 fail:
4711 return NULL;
4712 }
4713
4714
4715 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4716 PyObject *resultobj = 0;
4717 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4718 double result;
4719 void *argp1 = 0 ;
4720 int res1 = 0 ;
4721 PyObject *swig_obj[1] ;
4722
4723 if (!args) SWIG_fail;
4724 swig_obj[0] = args;
4725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4726 if (!SWIG_IsOK(res1)) {
4727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4728 }
4729 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4733 wxPyEndAllowThreads(__tstate);
4734 if (PyErr_Occurred()) SWIG_fail;
4735 }
4736 resultobj = SWIG_From_double(static_cast< double >(result));
4737 return resultobj;
4738 fail:
4739 return NULL;
4740 }
4741
4742
4743 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4744 PyObject *resultobj = 0;
4745 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4746 double result;
4747 void *argp1 = 0 ;
4748 int res1 = 0 ;
4749 PyObject *swig_obj[1] ;
4750
4751 if (!args) SWIG_fail;
4752 swig_obj[0] = args;
4753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4754 if (!SWIG_IsOK(res1)) {
4755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4756 }
4757 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4758 {
4759 PyThreadState* __tstate = wxPyBeginAllowThreads();
4760 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4761 wxPyEndAllowThreads(__tstate);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 resultobj = SWIG_From_double(static_cast< double >(result));
4765 return resultobj;
4766 fail:
4767 return NULL;
4768 }
4769
4770
4771 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4772 PyObject *resultobj = 0;
4773 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4774 wxPoint *arg2 = 0 ;
4775 wxPoint result;
4776 void *argp1 = 0 ;
4777 int res1 = 0 ;
4778 wxPoint temp2 ;
4779
4780 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4782 if (!SWIG_IsOK(res1)) {
4783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4784 }
4785 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4786 {
4787 arg2 = &temp2;
4788 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4789 }
4790 {
4791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4792 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4793 wxPyEndAllowThreads(__tstate);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4797 return resultobj;
4798 fail:
4799 return NULL;
4800 }
4801
4802
4803 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4804 PyObject *resultobj = 0;
4805 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4806 int arg2 ;
4807 int arg3 ;
4808 int *arg4 = (int *) 0 ;
4809 int *arg5 = (int *) 0 ;
4810 void *argp1 = 0 ;
4811 int res1 = 0 ;
4812 int val2 ;
4813 int ecode2 = 0 ;
4814 int val3 ;
4815 int ecode3 = 0 ;
4816 int temp4 ;
4817 int res4 = SWIG_TMPOBJ ;
4818 int temp5 ;
4819 int res5 = SWIG_TMPOBJ ;
4820
4821 arg4 = &temp4;
4822 arg5 = &temp5;
4823 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4825 if (!SWIG_IsOK(res1)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4827 }
4828 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4829 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4830 if (!SWIG_IsOK(ecode2)) {
4831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4832 }
4833 arg2 = static_cast< int >(val2);
4834 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4835 if (!SWIG_IsOK(ecode3)) {
4836 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4837 }
4838 arg3 = static_cast< int >(val3);
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 resultobj = SWIG_Py_Void();
4846 if (SWIG_IsTmpObj(res4)) {
4847 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4848 } else {
4849 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4850 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4851 }
4852 if (SWIG_IsTmpObj(res5)) {
4853 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4854 } else {
4855 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4856 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4857 }
4858 return resultobj;
4859 fail:
4860 return NULL;
4861 }
4862
4863
4864 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4865 int argc;
4866 PyObject *argv[4];
4867
4868 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4869 --argc;
4870 if (argc == 2) {
4871 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4872 }
4873 if (argc == 3) {
4874 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4875 }
4876
4877 fail:
4878 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4879 return NULL;
4880 }
4881
4882
4883 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4884 PyObject *resultobj = 0;
4885 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4886 wxPoint *arg2 = 0 ;
4887 wxPoint result;
4888 void *argp1 = 0 ;
4889 int res1 = 0 ;
4890 wxPoint temp2 ;
4891
4892 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4894 if (!SWIG_IsOK(res1)) {
4895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4896 }
4897 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4898 {
4899 arg2 = &temp2;
4900 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4901 }
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4905 wxPyEndAllowThreads(__tstate);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
4908 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4909 return resultobj;
4910 fail:
4911 return NULL;
4912 }
4913
4914
4915 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4916 PyObject *resultobj = 0;
4917 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4918 int arg2 ;
4919 int arg3 ;
4920 int *arg4 = (int *) 0 ;
4921 int *arg5 = (int *) 0 ;
4922 void *argp1 = 0 ;
4923 int res1 = 0 ;
4924 int val2 ;
4925 int ecode2 = 0 ;
4926 int val3 ;
4927 int ecode3 = 0 ;
4928 int temp4 ;
4929 int res4 = SWIG_TMPOBJ ;
4930 int temp5 ;
4931 int res5 = SWIG_TMPOBJ ;
4932
4933 arg4 = &temp4;
4934 arg5 = &temp5;
4935 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4937 if (!SWIG_IsOK(res1)) {
4938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4939 }
4940 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4941 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4942 if (!SWIG_IsOK(ecode2)) {
4943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4944 }
4945 arg2 = static_cast< int >(val2);
4946 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4947 if (!SWIG_IsOK(ecode3)) {
4948 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4949 }
4950 arg3 = static_cast< int >(val3);
4951 {
4952 PyThreadState* __tstate = wxPyBeginAllowThreads();
4953 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 resultobj = SWIG_Py_Void();
4958 if (SWIG_IsTmpObj(res4)) {
4959 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4960 } else {
4961 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4962 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4963 }
4964 if (SWIG_IsTmpObj(res5)) {
4965 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4966 } else {
4967 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4968 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4969 }
4970 return resultobj;
4971 fail:
4972 return NULL;
4973 }
4974
4975
4976 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4977 int argc;
4978 PyObject *argv[4];
4979
4980 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4981 --argc;
4982 if (argc == 2) {
4983 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4984 }
4985 if (argc == 3) {
4986 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4987 }
4988
4989 fail:
4990 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4991 return NULL;
4992 }
4993
4994
4995 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4996 PyObject *resultobj = 0;
4997 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4998 void *argp1 = 0 ;
4999 int res1 = 0 ;
5000 PyObject *swig_obj[1] ;
5001
5002 if (!args) SWIG_fail;
5003 swig_obj[0] = args;
5004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5005 if (!SWIG_IsOK(res1)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5007 }
5008 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5009 {
5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
5011 (arg1)->AdjustScrollbars();
5012 wxPyEndAllowThreads(__tstate);
5013 if (PyErr_Occurred()) SWIG_fail;
5014 }
5015 resultobj = SWIG_Py_Void();
5016 return resultobj;
5017 fail:
5018 return NULL;
5019 }
5020
5021
5022 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5023 PyObject *resultobj = 0;
5024 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5025 wxScrollWinEvent *arg2 = 0 ;
5026 int result;
5027 void *argp1 = 0 ;
5028 int res1 = 0 ;
5029 void *argp2 = 0 ;
5030 int res2 = 0 ;
5031 PyObject * obj0 = 0 ;
5032 PyObject * obj1 = 0 ;
5033 char * kwnames[] = {
5034 (char *) "self",(char *) "event", NULL
5035 };
5036
5037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5039 if (!SWIG_IsOK(res1)) {
5040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5041 }
5042 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5043 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5044 if (!SWIG_IsOK(res2)) {
5045 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 }
5047 if (!argp2) {
5048 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5049 }
5050 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5051 {
5052 PyThreadState* __tstate = wxPyBeginAllowThreads();
5053 result = (int)(arg1)->CalcScrollInc(*arg2);
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 resultobj = SWIG_From_int(static_cast< int >(result));
5058 return resultobj;
5059 fail:
5060 return NULL;
5061 }
5062
5063
5064 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5065 PyObject *resultobj = 0;
5066 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5067 wxWindow *arg2 = (wxWindow *) 0 ;
5068 void *argp1 = 0 ;
5069 int res1 = 0 ;
5070 void *argp2 = 0 ;
5071 int res2 = 0 ;
5072 PyObject * obj0 = 0 ;
5073 PyObject * obj1 = 0 ;
5074 char * kwnames[] = {
5075 (char *) "self",(char *) "target", NULL
5076 };
5077
5078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5080 if (!SWIG_IsOK(res1)) {
5081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5082 }
5083 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5084 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5085 if (!SWIG_IsOK(res2)) {
5086 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5087 }
5088 arg2 = reinterpret_cast< wxWindow * >(argp2);
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 (arg1)->SetTargetWindow(arg2);
5092 wxPyEndAllowThreads(__tstate);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 resultobj = SWIG_Py_Void();
5096 return resultobj;
5097 fail:
5098 return NULL;
5099 }
5100
5101
5102 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5103 PyObject *resultobj = 0;
5104 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5105 wxWindow *result = 0 ;
5106 void *argp1 = 0 ;
5107 int res1 = 0 ;
5108 PyObject *swig_obj[1] ;
5109
5110 if (!args) SWIG_fail;
5111 swig_obj[0] = args;
5112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5113 if (!SWIG_IsOK(res1)) {
5114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5115 }
5116 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5117 {
5118 PyThreadState* __tstate = wxPyBeginAllowThreads();
5119 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5120 wxPyEndAllowThreads(__tstate);
5121 if (PyErr_Occurred()) SWIG_fail;
5122 }
5123 {
5124 resultobj = wxPyMake_wxObject(result, 0);
5125 }
5126 return resultobj;
5127 fail:
5128 return NULL;
5129 }
5130
5131
5132 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj = 0;
5134 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5135 wxRect *arg2 = 0 ;
5136 void *argp1 = 0 ;
5137 int res1 = 0 ;
5138 wxRect temp2 ;
5139 PyObject * obj0 = 0 ;
5140 PyObject * obj1 = 0 ;
5141 char * kwnames[] = {
5142 (char *) "self",(char *) "rect", NULL
5143 };
5144
5145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5147 if (!SWIG_IsOK(res1)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5149 }
5150 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5151 {
5152 arg2 = &temp2;
5153 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5154 }
5155 {
5156 PyThreadState* __tstate = wxPyBeginAllowThreads();
5157 (arg1)->SetTargetRect((wxRect const &)*arg2);
5158 wxPyEndAllowThreads(__tstate);
5159 if (PyErr_Occurred()) SWIG_fail;
5160 }
5161 resultobj = SWIG_Py_Void();
5162 return resultobj;
5163 fail:
5164 return NULL;
5165 }
5166
5167
5168 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5169 PyObject *resultobj = 0;
5170 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5171 wxRect result;
5172 void *argp1 = 0 ;
5173 int res1 = 0 ;
5174 PyObject *swig_obj[1] ;
5175
5176 if (!args) SWIG_fail;
5177 swig_obj[0] = args;
5178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5179 if (!SWIG_IsOK(res1)) {
5180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5181 }
5182 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5183 {
5184 PyThreadState* __tstate = wxPyBeginAllowThreads();
5185 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5186 wxPyEndAllowThreads(__tstate);
5187 if (PyErr_Occurred()) SWIG_fail;
5188 }
5189 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5190 return resultobj;
5191 fail:
5192 return NULL;
5193 }
5194
5195
5196 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5197 PyObject *resultobj = 0;
5198 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5199 wxDC *arg2 = 0 ;
5200 void *argp1 = 0 ;
5201 int res1 = 0 ;
5202 void *argp2 = 0 ;
5203 int res2 = 0 ;
5204 PyObject * obj0 = 0 ;
5205 PyObject * obj1 = 0 ;
5206 char * kwnames[] = {
5207 (char *) "self",(char *) "dc", NULL
5208 };
5209
5210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5212 if (!SWIG_IsOK(res1)) {
5213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5214 }
5215 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5216 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5217 if (!SWIG_IsOK(res2)) {
5218 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5219 }
5220 if (!argp2) {
5221 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5222 }
5223 arg2 = reinterpret_cast< wxDC * >(argp2);
5224 {
5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
5226 (arg1)->DoPrepareDC(*arg2);
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 resultobj = SWIG_Py_Void();
5231 return resultobj;
5232 fail:
5233 return NULL;
5234 }
5235
5236
5237 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj = 0;
5239 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5240 SwigValueWrapper<wxVisualAttributes > result;
5241 int val1 ;
5242 int ecode1 = 0 ;
5243 PyObject * obj0 = 0 ;
5244 char * kwnames[] = {
5245 (char *) "variant", NULL
5246 };
5247
5248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5249 if (obj0) {
5250 ecode1 = SWIG_AsVal_int(obj0, &val1);
5251 if (!SWIG_IsOK(ecode1)) {
5252 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5253 }
5254 arg1 = static_cast< wxWindowVariant >(val1);
5255 }
5256 {
5257 if (!wxPyCheckForApp()) SWIG_fail;
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5260 wxPyEndAllowThreads(__tstate);
5261 if (PyErr_Occurred()) SWIG_fail;
5262 }
5263 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5264 return resultobj;
5265 fail:
5266 return NULL;
5267 }
5268
5269
5270 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5271 PyObject *obj;
5272 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5273 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5274 return SWIG_Py_Void();
5275 }
5276
5277 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5278 return SWIG_Python_InitShadowInstance(args);
5279 }
5280
5281 SWIGINTERN int FrameNameStr_set(PyObject *) {
5282 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5283 return 1;
5284 }
5285
5286
5287 SWIGINTERN PyObject *FrameNameStr_get(void) {
5288 PyObject *pyobj = 0;
5289
5290 {
5291 #if wxUSE_UNICODE
5292 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5293 #else
5294 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5295 #endif
5296 }
5297 return pyobj;
5298 }
5299
5300
5301 SWIGINTERN int DialogNameStr_set(PyObject *) {
5302 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5303 return 1;
5304 }
5305
5306
5307 SWIGINTERN PyObject *DialogNameStr_get(void) {
5308 PyObject *pyobj = 0;
5309
5310 {
5311 #if wxUSE_UNICODE
5312 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5313 #else
5314 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5315 #endif
5316 }
5317 return pyobj;
5318 }
5319
5320
5321 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5322 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5323 return 1;
5324 }
5325
5326
5327 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5328 PyObject *pyobj = 0;
5329
5330 {
5331 #if wxUSE_UNICODE
5332 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5333 #else
5334 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5335 #endif
5336 }
5337 return pyobj;
5338 }
5339
5340
5341 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5342 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5343 return 1;
5344 }
5345
5346
5347 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5348 PyObject *pyobj = 0;
5349
5350 {
5351 #if wxUSE_UNICODE
5352 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5353 #else
5354 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5355 #endif
5356 }
5357 return pyobj;
5358 }
5359
5360
5361 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5362 PyObject *resultobj = 0;
5363 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5364 bool arg2 = (bool) true ;
5365 void *argp1 = 0 ;
5366 int res1 = 0 ;
5367 bool val2 ;
5368 int ecode2 = 0 ;
5369 PyObject * obj0 = 0 ;
5370 PyObject * obj1 = 0 ;
5371 char * kwnames[] = {
5372 (char *) "self",(char *) "maximize", NULL
5373 };
5374
5375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5377 if (!SWIG_IsOK(res1)) {
5378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5379 }
5380 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5381 if (obj1) {
5382 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5383 if (!SWIG_IsOK(ecode2)) {
5384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5385 }
5386 arg2 = static_cast< bool >(val2);
5387 }
5388 {
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 (arg1)->Maximize(arg2);
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 resultobj = SWIG_Py_Void();
5395 return resultobj;
5396 fail:
5397 return NULL;
5398 }
5399
5400
5401 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5402 PyObject *resultobj = 0;
5403 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5404 void *argp1 = 0 ;
5405 int res1 = 0 ;
5406 PyObject *swig_obj[1] ;
5407
5408 if (!args) SWIG_fail;
5409 swig_obj[0] = args;
5410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5411 if (!SWIG_IsOK(res1)) {
5412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5413 }
5414 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 (arg1)->Restore();
5418 wxPyEndAllowThreads(__tstate);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 resultobj = SWIG_Py_Void();
5422 return resultobj;
5423 fail:
5424 return NULL;
5425 }
5426
5427
5428 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5429 PyObject *resultobj = 0;
5430 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5431 bool arg2 = (bool) true ;
5432 void *argp1 = 0 ;
5433 int res1 = 0 ;
5434 bool val2 ;
5435 int ecode2 = 0 ;
5436 PyObject * obj0 = 0 ;
5437 PyObject * obj1 = 0 ;
5438 char * kwnames[] = {
5439 (char *) "self",(char *) "iconize", NULL
5440 };
5441
5442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5444 if (!SWIG_IsOK(res1)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5446 }
5447 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5448 if (obj1) {
5449 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5450 if (!SWIG_IsOK(ecode2)) {
5451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5452 }
5453 arg2 = static_cast< bool >(val2);
5454 }
5455 {
5456 PyThreadState* __tstate = wxPyBeginAllowThreads();
5457 (arg1)->Iconize(arg2);
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 resultobj = SWIG_Py_Void();
5462 return resultobj;
5463 fail:
5464 return NULL;
5465 }
5466
5467
5468 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5469 PyObject *resultobj = 0;
5470 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5471 bool result;
5472 void *argp1 = 0 ;
5473 int res1 = 0 ;
5474 PyObject *swig_obj[1] ;
5475
5476 if (!args) SWIG_fail;
5477 swig_obj[0] = args;
5478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5479 if (!SWIG_IsOK(res1)) {
5480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5481 }
5482 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5483 {
5484 PyThreadState* __tstate = wxPyBeginAllowThreads();
5485 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5486 wxPyEndAllowThreads(__tstate);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 }
5489 {
5490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5491 }
5492 return resultobj;
5493 fail:
5494 return NULL;
5495 }
5496
5497
5498 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5499 PyObject *resultobj = 0;
5500 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5501 bool result;
5502 void *argp1 = 0 ;
5503 int res1 = 0 ;
5504 PyObject *swig_obj[1] ;
5505
5506 if (!args) SWIG_fail;
5507 swig_obj[0] = args;
5508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5509 if (!SWIG_IsOK(res1)) {
5510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5511 }
5512 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5516 wxPyEndAllowThreads(__tstate);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 {
5520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5521 }
5522 return resultobj;
5523 fail:
5524 return NULL;
5525 }
5526
5527
5528 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5529 PyObject *resultobj = 0;
5530 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5531 bool result;
5532 void *argp1 = 0 ;
5533 int res1 = 0 ;
5534 PyObject *swig_obj[1] ;
5535
5536 if (!args) SWIG_fail;
5537 swig_obj[0] = args;
5538 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5539 if (!SWIG_IsOK(res1)) {
5540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5541 }
5542 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5543 {
5544 PyThreadState* __tstate = wxPyBeginAllowThreads();
5545 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 {
5550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5551 }
5552 return resultobj;
5553 fail:
5554 return NULL;
5555 }
5556
5557
5558 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5559 PyObject *resultobj = 0;
5560 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5561 wxIcon result;
5562 void *argp1 = 0 ;
5563 int res1 = 0 ;
5564 PyObject *swig_obj[1] ;
5565
5566 if (!args) SWIG_fail;
5567 swig_obj[0] = args;
5568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5569 if (!SWIG_IsOK(res1)) {
5570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5571 }
5572 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5573 {
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
5575 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
5579 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5580 return resultobj;
5581 fail:
5582 return NULL;
5583 }
5584
5585
5586 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5587 PyObject *resultobj = 0;
5588 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5589 wxIcon *arg2 = 0 ;
5590 void *argp1 = 0 ;
5591 int res1 = 0 ;
5592 void *argp2 = 0 ;
5593 int res2 = 0 ;
5594 PyObject * obj0 = 0 ;
5595 PyObject * obj1 = 0 ;
5596 char * kwnames[] = {
5597 (char *) "self",(char *) "icon", NULL
5598 };
5599
5600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5602 if (!SWIG_IsOK(res1)) {
5603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5604 }
5605 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5606 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5607 if (!SWIG_IsOK(res2)) {
5608 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5609 }
5610 if (!argp2) {
5611 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5612 }
5613 arg2 = reinterpret_cast< wxIcon * >(argp2);
5614 {
5615 PyThreadState* __tstate = wxPyBeginAllowThreads();
5616 (arg1)->SetIcon((wxIcon const &)*arg2);
5617 wxPyEndAllowThreads(__tstate);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
5620 resultobj = SWIG_Py_Void();
5621 return resultobj;
5622 fail:
5623 return NULL;
5624 }
5625
5626
5627 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj = 0;
5629 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5630 wxIconBundle *arg2 = 0 ;
5631 void *argp1 = 0 ;
5632 int res1 = 0 ;
5633 void *argp2 = 0 ;
5634 int res2 = 0 ;
5635 PyObject * obj0 = 0 ;
5636 PyObject * obj1 = 0 ;
5637 char * kwnames[] = {
5638 (char *) "self",(char *) "icons", NULL
5639 };
5640
5641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5643 if (!SWIG_IsOK(res1)) {
5644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5645 }
5646 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5647 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5648 if (!SWIG_IsOK(res2)) {
5649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5650 }
5651 if (!argp2) {
5652 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5653 }
5654 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5655 {
5656 PyThreadState* __tstate = wxPyBeginAllowThreads();
5657 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5658 wxPyEndAllowThreads(__tstate);
5659 if (PyErr_Occurred()) SWIG_fail;
5660 }
5661 resultobj = SWIG_Py_Void();
5662 return resultobj;
5663 fail:
5664 return NULL;
5665 }
5666
5667
5668 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5669 PyObject *resultobj = 0;
5670 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5671 bool arg2 ;
5672 long arg3 = (long) wxFULLSCREEN_ALL ;
5673 bool result;
5674 void *argp1 = 0 ;
5675 int res1 = 0 ;
5676 bool val2 ;
5677 int ecode2 = 0 ;
5678 long val3 ;
5679 int ecode3 = 0 ;
5680 PyObject * obj0 = 0 ;
5681 PyObject * obj1 = 0 ;
5682 PyObject * obj2 = 0 ;
5683 char * kwnames[] = {
5684 (char *) "self",(char *) "show",(char *) "style", NULL
5685 };
5686
5687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5689 if (!SWIG_IsOK(res1)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5691 }
5692 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5693 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5694 if (!SWIG_IsOK(ecode2)) {
5695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5696 }
5697 arg2 = static_cast< bool >(val2);
5698 if (obj2) {
5699 ecode3 = SWIG_AsVal_long(obj2, &val3);
5700 if (!SWIG_IsOK(ecode3)) {
5701 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5702 }
5703 arg3 = static_cast< long >(val3);
5704 }
5705 {
5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
5707 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 }
5711 {
5712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5713 }
5714 return resultobj;
5715 fail:
5716 return NULL;
5717 }
5718
5719
5720 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5721 PyObject *resultobj = 0;
5722 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5723 bool result;
5724 void *argp1 = 0 ;
5725 int res1 = 0 ;
5726 PyObject *swig_obj[1] ;
5727
5728 if (!args) SWIG_fail;
5729 swig_obj[0] = args;
5730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5731 if (!SWIG_IsOK(res1)) {
5732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5733 }
5734 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5735 {
5736 PyThreadState* __tstate = wxPyBeginAllowThreads();
5737 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 }
5741 {
5742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5743 }
5744 return resultobj;
5745 fail:
5746 return NULL;
5747 }
5748
5749
5750 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5751 PyObject *resultobj = 0;
5752 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5753 wxString *arg2 = 0 ;
5754 void *argp1 = 0 ;
5755 int res1 = 0 ;
5756 bool temp2 = false ;
5757 PyObject * obj0 = 0 ;
5758 PyObject * obj1 = 0 ;
5759 char * kwnames[] = {
5760 (char *) "self",(char *) "title", NULL
5761 };
5762
5763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5765 if (!SWIG_IsOK(res1)) {
5766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5767 }
5768 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5769 {
5770 arg2 = wxString_in_helper(obj1);
5771 if (arg2 == NULL) SWIG_fail;
5772 temp2 = true;
5773 }
5774 {
5775 PyThreadState* __tstate = wxPyBeginAllowThreads();
5776 (arg1)->SetTitle((wxString const &)*arg2);
5777 wxPyEndAllowThreads(__tstate);
5778 if (PyErr_Occurred()) SWIG_fail;
5779 }
5780 resultobj = SWIG_Py_Void();
5781 {
5782 if (temp2)
5783 delete arg2;
5784 }
5785 return resultobj;
5786 fail:
5787 {
5788 if (temp2)
5789 delete arg2;
5790 }
5791 return NULL;
5792 }
5793
5794
5795 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5796 PyObject *resultobj = 0;
5797 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5798 wxString result;
5799 void *argp1 = 0 ;
5800 int res1 = 0 ;
5801 PyObject *swig_obj[1] ;
5802
5803 if (!args) SWIG_fail;
5804 swig_obj[0] = args;
5805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5806 if (!SWIG_IsOK(res1)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5808 }
5809 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5810 {
5811 PyThreadState* __tstate = wxPyBeginAllowThreads();
5812 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5813 wxPyEndAllowThreads(__tstate);
5814 if (PyErr_Occurred()) SWIG_fail;
5815 }
5816 {
5817 #if wxUSE_UNICODE
5818 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5819 #else
5820 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5821 #endif
5822 }
5823 return resultobj;
5824 fail:
5825 return NULL;
5826 }
5827
5828
5829 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5830 PyObject *resultobj = 0;
5831 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5832 wxRegion *arg2 = 0 ;
5833 bool result;
5834 void *argp1 = 0 ;
5835 int res1 = 0 ;
5836 void *argp2 = 0 ;
5837 int res2 = 0 ;
5838 PyObject * obj0 = 0 ;
5839 PyObject * obj1 = 0 ;
5840 char * kwnames[] = {
5841 (char *) "self",(char *) "region", NULL
5842 };
5843
5844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5846 if (!SWIG_IsOK(res1)) {
5847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5848 }
5849 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5850 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5851 if (!SWIG_IsOK(res2)) {
5852 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5853 }
5854 if (!argp2) {
5855 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5856 }
5857 arg2 = reinterpret_cast< wxRegion * >(argp2);
5858 {
5859 PyThreadState* __tstate = wxPyBeginAllowThreads();
5860 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 {
5865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5866 }
5867 return resultobj;
5868 fail:
5869 return NULL;
5870 }
5871
5872
5873 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5874 PyObject *resultobj = 0;
5875 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5876 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5877 void *argp1 = 0 ;
5878 int res1 = 0 ;
5879 int val2 ;
5880 int ecode2 = 0 ;
5881 PyObject * obj0 = 0 ;
5882 PyObject * obj1 = 0 ;
5883 char * kwnames[] = {
5884 (char *) "self",(char *) "flags", NULL
5885 };
5886
5887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5889 if (!SWIG_IsOK(res1)) {
5890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5891 }
5892 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5893 if (obj1) {
5894 ecode2 = SWIG_AsVal_int(obj1, &val2);
5895 if (!SWIG_IsOK(ecode2)) {
5896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5897 }
5898 arg2 = static_cast< int >(val2);
5899 }
5900 {
5901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5902 (arg1)->RequestUserAttention(arg2);
5903 wxPyEndAllowThreads(__tstate);
5904 if (PyErr_Occurred()) SWIG_fail;
5905 }
5906 resultobj = SWIG_Py_Void();
5907 return resultobj;
5908 fail:
5909 return NULL;
5910 }
5911
5912
5913 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5914 PyObject *resultobj = 0;
5915 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5916 bool result;
5917 void *argp1 = 0 ;
5918 int res1 = 0 ;
5919 PyObject *swig_obj[1] ;
5920
5921 if (!args) SWIG_fail;
5922 swig_obj[0] = args;
5923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5924 if (!SWIG_IsOK(res1)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5926 }
5927 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5928 {
5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
5930 result = (bool)(arg1)->IsActive();
5931 wxPyEndAllowThreads(__tstate);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
5934 {
5935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5936 }
5937 return resultobj;
5938 fail:
5939 return NULL;
5940 }
5941
5942
5943 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5944 PyObject *resultobj = 0;
5945 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5946 bool arg2 ;
5947 void *argp1 = 0 ;
5948 int res1 = 0 ;
5949 bool val2 ;
5950 int ecode2 = 0 ;
5951 PyObject * obj0 = 0 ;
5952 PyObject * obj1 = 0 ;
5953 char * kwnames[] = {
5954 (char *) "self",(char *) "on", NULL
5955 };
5956
5957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5959 if (!SWIG_IsOK(res1)) {
5960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5961 }
5962 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5963 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5964 if (!SWIG_IsOK(ecode2)) {
5965 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5966 }
5967 arg2 = static_cast< bool >(val2);
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 resultobj = SWIG_Py_Void();
5975 return resultobj;
5976 fail:
5977 return NULL;
5978 }
5979
5980
5981 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5982 PyObject *resultobj = 0;
5983 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5984 bool result;
5985 void *argp1 = 0 ;
5986 int res1 = 0 ;
5987 PyObject *swig_obj[1] ;
5988
5989 if (!args) SWIG_fail;
5990 swig_obj[0] = args;
5991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5992 if (!SWIG_IsOK(res1)) {
5993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5994 }
5995 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
6002 {
6003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6004 }
6005 return resultobj;
6006 fail:
6007 return NULL;
6008 }
6009
6010
6011 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6012 PyObject *resultobj = 0;
6013 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6014 int arg2 = (int) wxBOTH ;
6015 void *argp1 = 0 ;
6016 int res1 = 0 ;
6017 int val2 ;
6018 int ecode2 = 0 ;
6019 PyObject * obj0 = 0 ;
6020 PyObject * obj1 = 0 ;
6021 char * kwnames[] = {
6022 (char *) "self",(char *) "dir", NULL
6023 };
6024
6025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6027 if (!SWIG_IsOK(res1)) {
6028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6029 }
6030 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6031 if (obj1) {
6032 ecode2 = SWIG_AsVal_int(obj1, &val2);
6033 if (!SWIG_IsOK(ecode2)) {
6034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6035 }
6036 arg2 = static_cast< int >(val2);
6037 }
6038 {
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 (arg1)->CenterOnScreen(arg2);
6041 wxPyEndAllowThreads(__tstate);
6042 if (PyErr_Occurred()) SWIG_fail;
6043 }
6044 resultobj = SWIG_Py_Void();
6045 return resultobj;
6046 fail:
6047 return NULL;
6048 }
6049
6050
6051 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6052 PyObject *resultobj = 0;
6053 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6054 bool arg2 = (bool) true ;
6055 bool result;
6056 void *argp1 = 0 ;
6057 int res1 = 0 ;
6058 bool val2 ;
6059 int ecode2 = 0 ;
6060 PyObject * obj0 = 0 ;
6061 PyObject * obj1 = 0 ;
6062 char * kwnames[] = {
6063 (char *) "self",(char *) "enable", NULL
6064 };
6065
6066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
6067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6068 if (!SWIG_IsOK(res1)) {
6069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6070 }
6071 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6072 if (obj1) {
6073 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6074 if (!SWIG_IsOK(ecode2)) {
6075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6076 }
6077 arg2 = static_cast< bool >(val2);
6078 }
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 result = (bool)wxTopLevelWindow_EnableCloseButton(arg1,arg2);
6082 wxPyEndAllowThreads(__tstate);
6083 if (PyErr_Occurred()) SWIG_fail;
6084 }
6085 {
6086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6087 }
6088 return resultobj;
6089 fail:
6090 return NULL;
6091 }
6092
6093
6094 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6095 PyObject *resultobj = 0;
6096 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6097 wxWindow *result = 0 ;
6098 void *argp1 = 0 ;
6099 int res1 = 0 ;
6100 PyObject *swig_obj[1] ;
6101
6102 if (!args) SWIG_fail;
6103 swig_obj[0] = args;
6104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6105 if (!SWIG_IsOK(res1)) {
6106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6107 }
6108 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6109 {
6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
6111 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6112 wxPyEndAllowThreads(__tstate);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 {
6116 resultobj = wxPyMake_wxObject(result, 0);
6117 }
6118 return resultobj;
6119 fail:
6120 return NULL;
6121 }
6122
6123
6124 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6125 PyObject *resultobj = 0;
6126 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6127 wxWindow *arg2 = (wxWindow *) 0 ;
6128 wxWindow *result = 0 ;
6129 void *argp1 = 0 ;
6130 int res1 = 0 ;
6131 void *argp2 = 0 ;
6132 int res2 = 0 ;
6133 PyObject * obj0 = 0 ;
6134 PyObject * obj1 = 0 ;
6135 char * kwnames[] = {
6136 (char *) "self",(char *) "child", NULL
6137 };
6138
6139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6141 if (!SWIG_IsOK(res1)) {
6142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6143 }
6144 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6145 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6146 if (!SWIG_IsOK(res2)) {
6147 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6148 }
6149 arg2 = reinterpret_cast< wxWindow * >(argp2);
6150 {
6151 PyThreadState* __tstate = wxPyBeginAllowThreads();
6152 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6153 wxPyEndAllowThreads(__tstate);
6154 if (PyErr_Occurred()) SWIG_fail;
6155 }
6156 {
6157 resultobj = wxPyMake_wxObject(result, 0);
6158 }
6159 return resultobj;
6160 fail:
6161 return NULL;
6162 }
6163
6164
6165 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6166 PyObject *resultobj = 0;
6167 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6168 wxWindow *arg2 = (wxWindow *) 0 ;
6169 void *argp1 = 0 ;
6170 int res1 = 0 ;
6171 void *argp2 = 0 ;
6172 int res2 = 0 ;
6173 PyObject * obj0 = 0 ;
6174 PyObject * obj1 = 0 ;
6175 char * kwnames[] = {
6176 (char *) "self",(char *) "win", NULL
6177 };
6178
6179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6181 if (!SWIG_IsOK(res1)) {
6182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6183 }
6184 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6186 if (!SWIG_IsOK(res2)) {
6187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6188 }
6189 arg2 = reinterpret_cast< wxWindow * >(argp2);
6190 {
6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
6192 (arg1)->SetTmpDefaultItem(arg2);
6193 wxPyEndAllowThreads(__tstate);
6194 if (PyErr_Occurred()) SWIG_fail;
6195 }
6196 resultobj = SWIG_Py_Void();
6197 return resultobj;
6198 fail:
6199 return NULL;
6200 }
6201
6202
6203 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6204 PyObject *resultobj = 0;
6205 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6206 wxWindow *result = 0 ;
6207 void *argp1 = 0 ;
6208 int res1 = 0 ;
6209 PyObject *swig_obj[1] ;
6210
6211 if (!args) SWIG_fail;
6212 swig_obj[0] = args;
6213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6214 if (!SWIG_IsOK(res1)) {
6215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6216 }
6217 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 {
6225 resultobj = wxPyMake_wxObject(result, 0);
6226 }
6227 return resultobj;
6228 fail:
6229 return NULL;
6230 }
6231
6232
6233 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6234 PyObject *obj;
6235 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6236 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6237 return SWIG_Py_Void();
6238 }
6239
6240 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6241 PyObject *resultobj = 0;
6242 wxWindow *arg1 = (wxWindow *) 0 ;
6243 int arg2 = (int) (int)-1 ;
6244 wxString const &arg3_defvalue = wxPyEmptyString ;
6245 wxString *arg3 = (wxString *) &arg3_defvalue ;
6246 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6247 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6248 wxSize const &arg5_defvalue = wxDefaultSize ;
6249 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6250 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6251 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6252 wxString *arg7 = (wxString *) &arg7_defvalue ;
6253 wxFrame *result = 0 ;
6254 void *argp1 = 0 ;
6255 int res1 = 0 ;
6256 int val2 ;
6257 int ecode2 = 0 ;
6258 bool temp3 = false ;
6259 wxPoint temp4 ;
6260 wxSize temp5 ;
6261 long val6 ;
6262 int ecode6 = 0 ;
6263 bool temp7 = false ;
6264 PyObject * obj0 = 0 ;
6265 PyObject * obj1 = 0 ;
6266 PyObject * obj2 = 0 ;
6267 PyObject * obj3 = 0 ;
6268 PyObject * obj4 = 0 ;
6269 PyObject * obj5 = 0 ;
6270 PyObject * obj6 = 0 ;
6271 char * kwnames[] = {
6272 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6273 };
6274
6275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6277 if (!SWIG_IsOK(res1)) {
6278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6279 }
6280 arg1 = reinterpret_cast< wxWindow * >(argp1);
6281 if (obj1) {
6282 ecode2 = SWIG_AsVal_int(obj1, &val2);
6283 if (!SWIG_IsOK(ecode2)) {
6284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6285 }
6286 arg2 = static_cast< int >(val2);
6287 }
6288 if (obj2) {
6289 {
6290 arg3 = wxString_in_helper(obj2);
6291 if (arg3 == NULL) SWIG_fail;
6292 temp3 = true;
6293 }
6294 }
6295 if (obj3) {
6296 {
6297 arg4 = &temp4;
6298 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6299 }
6300 }
6301 if (obj4) {
6302 {
6303 arg5 = &temp5;
6304 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6305 }
6306 }
6307 if (obj5) {
6308 ecode6 = SWIG_AsVal_long(obj5, &val6);
6309 if (!SWIG_IsOK(ecode6)) {
6310 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6311 }
6312 arg6 = static_cast< long >(val6);
6313 }
6314 if (obj6) {
6315 {
6316 arg7 = wxString_in_helper(obj6);
6317 if (arg7 == NULL) SWIG_fail;
6318 temp7 = true;
6319 }
6320 }
6321 {
6322 if (!wxPyCheckForApp()) SWIG_fail;
6323 PyThreadState* __tstate = wxPyBeginAllowThreads();
6324 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6325 wxPyEndAllowThreads(__tstate);
6326 if (PyErr_Occurred()) SWIG_fail;
6327 }
6328 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6329 {
6330 if (temp3)
6331 delete arg3;
6332 }
6333 {
6334 if (temp7)
6335 delete arg7;
6336 }
6337 return resultobj;
6338 fail:
6339 {
6340 if (temp3)
6341 delete arg3;
6342 }
6343 {
6344 if (temp7)
6345 delete arg7;
6346 }
6347 return NULL;
6348 }
6349
6350
6351 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6352 PyObject *resultobj = 0;
6353 wxFrame *result = 0 ;
6354
6355 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6356 {
6357 if (!wxPyCheckForApp()) SWIG_fail;
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 result = (wxFrame *)new wxFrame();
6360 wxPyEndAllowThreads(__tstate);
6361 if (PyErr_Occurred()) SWIG_fail;
6362 }
6363 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6364 return resultobj;
6365 fail:
6366 return NULL;
6367 }
6368
6369
6370 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6371 PyObject *resultobj = 0;
6372 wxFrame *arg1 = (wxFrame *) 0 ;
6373 wxWindow *arg2 = (wxWindow *) 0 ;
6374 int arg3 = (int) (int)-1 ;
6375 wxString const &arg4_defvalue = wxPyEmptyString ;
6376 wxString *arg4 = (wxString *) &arg4_defvalue ;
6377 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6378 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6379 wxSize const &arg6_defvalue = wxDefaultSize ;
6380 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6381 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6382 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6383 wxString *arg8 = (wxString *) &arg8_defvalue ;
6384 bool result;
6385 void *argp1 = 0 ;
6386 int res1 = 0 ;
6387 void *argp2 = 0 ;
6388 int res2 = 0 ;
6389 int val3 ;
6390 int ecode3 = 0 ;
6391 bool temp4 = false ;
6392 wxPoint temp5 ;
6393 wxSize temp6 ;
6394 long val7 ;
6395 int ecode7 = 0 ;
6396 bool temp8 = false ;
6397 PyObject * obj0 = 0 ;
6398 PyObject * obj1 = 0 ;
6399 PyObject * obj2 = 0 ;
6400 PyObject * obj3 = 0 ;
6401 PyObject * obj4 = 0 ;
6402 PyObject * obj5 = 0 ;
6403 PyObject * obj6 = 0 ;
6404 PyObject * obj7 = 0 ;
6405 char * kwnames[] = {
6406 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6407 };
6408
6409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6411 if (!SWIG_IsOK(res1)) {
6412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6413 }
6414 arg1 = reinterpret_cast< wxFrame * >(argp1);
6415 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6416 if (!SWIG_IsOK(res2)) {
6417 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6418 }
6419 arg2 = reinterpret_cast< wxWindow * >(argp2);
6420 if (obj2) {
6421 ecode3 = SWIG_AsVal_int(obj2, &val3);
6422 if (!SWIG_IsOK(ecode3)) {
6423 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6424 }
6425 arg3 = static_cast< int >(val3);
6426 }
6427 if (obj3) {
6428 {
6429 arg4 = wxString_in_helper(obj3);
6430 if (arg4 == NULL) SWIG_fail;
6431 temp4 = true;
6432 }
6433 }
6434 if (obj4) {
6435 {
6436 arg5 = &temp5;
6437 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6438 }
6439 }
6440 if (obj5) {
6441 {
6442 arg6 = &temp6;
6443 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6444 }
6445 }
6446 if (obj6) {
6447 ecode7 = SWIG_AsVal_long(obj6, &val7);
6448 if (!SWIG_IsOK(ecode7)) {
6449 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6450 }
6451 arg7 = static_cast< long >(val7);
6452 }
6453 if (obj7) {
6454 {
6455 arg8 = wxString_in_helper(obj7);
6456 if (arg8 == NULL) SWIG_fail;
6457 temp8 = true;
6458 }
6459 }
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 {
6467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6468 }
6469 {
6470 if (temp4)
6471 delete arg4;
6472 }
6473 {
6474 if (temp8)
6475 delete arg8;
6476 }
6477 return resultobj;
6478 fail:
6479 {
6480 if (temp4)
6481 delete arg4;
6482 }
6483 {
6484 if (temp8)
6485 delete arg8;
6486 }
6487 return NULL;
6488 }
6489
6490
6491 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6492 PyObject *resultobj = 0;
6493 wxFrame *arg1 = (wxFrame *) 0 ;
6494 void *argp1 = 0 ;
6495 int res1 = 0 ;
6496 PyObject *swig_obj[1] ;
6497
6498 if (!args) SWIG_fail;
6499 swig_obj[0] = args;
6500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6501 if (!SWIG_IsOK(res1)) {
6502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6503 }
6504 arg1 = reinterpret_cast< wxFrame * >(argp1);
6505 {
6506 PyThreadState* __tstate = wxPyBeginAllowThreads();
6507 (arg1)->SendSizeEvent();
6508 wxPyEndAllowThreads(__tstate);
6509 if (PyErr_Occurred()) SWIG_fail;
6510 }
6511 resultobj = SWIG_Py_Void();
6512 return resultobj;
6513 fail:
6514 return NULL;
6515 }
6516
6517
6518 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6519 PyObject *resultobj = 0;
6520 wxFrame *arg1 = (wxFrame *) 0 ;
6521 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6522 void *argp1 = 0 ;
6523 int res1 = 0 ;
6524 void *argp2 = 0 ;
6525 int res2 = 0 ;
6526 PyObject * obj0 = 0 ;
6527 PyObject * obj1 = 0 ;
6528 char * kwnames[] = {
6529 (char *) "self",(char *) "menubar", NULL
6530 };
6531
6532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) 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_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6536 }
6537 arg1 = reinterpret_cast< wxFrame * >(argp1);
6538 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6539 if (!SWIG_IsOK(res2)) {
6540 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6541 }
6542 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6543 {
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 (arg1)->SetMenuBar(arg2);
6546 wxPyEndAllowThreads(__tstate);
6547 if (PyErr_Occurred()) SWIG_fail;
6548 }
6549 resultobj = SWIG_Py_Void();
6550 return resultobj;
6551 fail:
6552 return NULL;
6553 }
6554
6555
6556 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6557 PyObject *resultobj = 0;
6558 wxFrame *arg1 = (wxFrame *) 0 ;
6559 wxMenuBar *result = 0 ;
6560 void *argp1 = 0 ;
6561 int res1 = 0 ;
6562 PyObject *swig_obj[1] ;
6563
6564 if (!args) SWIG_fail;
6565 swig_obj[0] = args;
6566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6567 if (!SWIG_IsOK(res1)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6569 }
6570 arg1 = reinterpret_cast< wxFrame * >(argp1);
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 {
6578 resultobj = wxPyMake_wxObject(result, 0);
6579 }
6580 return resultobj;
6581 fail:
6582 return NULL;
6583 }
6584
6585
6586 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6587 PyObject *resultobj = 0;
6588 wxFrame *arg1 = (wxFrame *) 0 ;
6589 int arg2 ;
6590 bool result;
6591 void *argp1 = 0 ;
6592 int res1 = 0 ;
6593 int val2 ;
6594 int ecode2 = 0 ;
6595 PyObject * obj0 = 0 ;
6596 PyObject * obj1 = 0 ;
6597 char * kwnames[] = {
6598 (char *) "self",(char *) "winid", NULL
6599 };
6600
6601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6603 if (!SWIG_IsOK(res1)) {
6604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6605 }
6606 arg1 = reinterpret_cast< wxFrame * >(argp1);
6607 ecode2 = SWIG_AsVal_int(obj1, &val2);
6608 if (!SWIG_IsOK(ecode2)) {
6609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6610 }
6611 arg2 = static_cast< int >(val2);
6612 {
6613 PyThreadState* __tstate = wxPyBeginAllowThreads();
6614 result = (bool)(arg1)->ProcessCommand(arg2);
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 {
6619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6620 }
6621 return resultobj;
6622 fail:
6623 return NULL;
6624 }
6625
6626
6627 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6628 PyObject *resultobj = 0;
6629 wxFrame *arg1 = (wxFrame *) 0 ;
6630 int arg2 = (int) 1 ;
6631 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6632 int arg4 = (int) 0 ;
6633 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6634 wxString *arg5 = (wxString *) &arg5_defvalue ;
6635 wxStatusBar *result = 0 ;
6636 void *argp1 = 0 ;
6637 int res1 = 0 ;
6638 int val2 ;
6639 int ecode2 = 0 ;
6640 long val3 ;
6641 int ecode3 = 0 ;
6642 int val4 ;
6643 int ecode4 = 0 ;
6644 bool temp5 = false ;
6645 PyObject * obj0 = 0 ;
6646 PyObject * obj1 = 0 ;
6647 PyObject * obj2 = 0 ;
6648 PyObject * obj3 = 0 ;
6649 PyObject * obj4 = 0 ;
6650 char * kwnames[] = {
6651 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6652 };
6653
6654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6656 if (!SWIG_IsOK(res1)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6658 }
6659 arg1 = reinterpret_cast< wxFrame * >(argp1);
6660 if (obj1) {
6661 ecode2 = SWIG_AsVal_int(obj1, &val2);
6662 if (!SWIG_IsOK(ecode2)) {
6663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6664 }
6665 arg2 = static_cast< int >(val2);
6666 }
6667 if (obj2) {
6668 ecode3 = SWIG_AsVal_long(obj2, &val3);
6669 if (!SWIG_IsOK(ecode3)) {
6670 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6671 }
6672 arg3 = static_cast< long >(val3);
6673 }
6674 if (obj3) {
6675 ecode4 = SWIG_AsVal_int(obj3, &val4);
6676 if (!SWIG_IsOK(ecode4)) {
6677 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6678 }
6679 arg4 = static_cast< int >(val4);
6680 }
6681 if (obj4) {
6682 {
6683 arg5 = wxString_in_helper(obj4);
6684 if (arg5 == NULL) SWIG_fail;
6685 temp5 = true;
6686 }
6687 }
6688 {
6689 PyThreadState* __tstate = wxPyBeginAllowThreads();
6690 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 {
6695 resultobj = wxPyMake_wxObject(result, (bool)0);
6696 }
6697 {
6698 if (temp5)
6699 delete arg5;
6700 }
6701 return resultobj;
6702 fail:
6703 {
6704 if (temp5)
6705 delete arg5;
6706 }
6707 return NULL;
6708 }
6709
6710
6711 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6712 PyObject *resultobj = 0;
6713 wxFrame *arg1 = (wxFrame *) 0 ;
6714 wxStatusBar *result = 0 ;
6715 void *argp1 = 0 ;
6716 int res1 = 0 ;
6717 PyObject *swig_obj[1] ;
6718
6719 if (!args) SWIG_fail;
6720 swig_obj[0] = args;
6721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6722 if (!SWIG_IsOK(res1)) {
6723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6724 }
6725 arg1 = reinterpret_cast< wxFrame * >(argp1);
6726 {
6727 PyThreadState* __tstate = wxPyBeginAllowThreads();
6728 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
6732 {
6733 resultobj = wxPyMake_wxObject(result, (bool)0);
6734 }
6735 return resultobj;
6736 fail:
6737 return NULL;
6738 }
6739
6740
6741 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6742 PyObject *resultobj = 0;
6743 wxFrame *arg1 = (wxFrame *) 0 ;
6744 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6745 void *argp1 = 0 ;
6746 int res1 = 0 ;
6747 void *argp2 = 0 ;
6748 int res2 = 0 ;
6749 PyObject * obj0 = 0 ;
6750 PyObject * obj1 = 0 ;
6751 char * kwnames[] = {
6752 (char *) "self",(char *) "statBar", NULL
6753 };
6754
6755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6757 if (!SWIG_IsOK(res1)) {
6758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6759 }
6760 arg1 = reinterpret_cast< wxFrame * >(argp1);
6761 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6762 if (!SWIG_IsOK(res2)) {
6763 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6764 }
6765 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6766 {
6767 PyThreadState* __tstate = wxPyBeginAllowThreads();
6768 (arg1)->SetStatusBar(arg2);
6769 wxPyEndAllowThreads(__tstate);
6770 if (PyErr_Occurred()) SWIG_fail;
6771 }
6772 resultobj = SWIG_Py_Void();
6773 return resultobj;
6774 fail:
6775 return NULL;
6776 }
6777
6778
6779 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6780 PyObject *resultobj = 0;
6781 wxFrame *arg1 = (wxFrame *) 0 ;
6782 wxString *arg2 = 0 ;
6783 int arg3 = (int) 0 ;
6784 void *argp1 = 0 ;
6785 int res1 = 0 ;
6786 bool temp2 = false ;
6787 int val3 ;
6788 int ecode3 = 0 ;
6789 PyObject * obj0 = 0 ;
6790 PyObject * obj1 = 0 ;
6791 PyObject * obj2 = 0 ;
6792 char * kwnames[] = {
6793 (char *) "self",(char *) "text",(char *) "number", NULL
6794 };
6795
6796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6798 if (!SWIG_IsOK(res1)) {
6799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6800 }
6801 arg1 = reinterpret_cast< wxFrame * >(argp1);
6802 {
6803 arg2 = wxString_in_helper(obj1);
6804 if (arg2 == NULL) SWIG_fail;
6805 temp2 = true;
6806 }
6807 if (obj2) {
6808 ecode3 = SWIG_AsVal_int(obj2, &val3);
6809 if (!SWIG_IsOK(ecode3)) {
6810 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6811 }
6812 arg3 = static_cast< int >(val3);
6813 }
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 resultobj = SWIG_Py_Void();
6821 {
6822 if (temp2)
6823 delete arg2;
6824 }
6825 return resultobj;
6826 fail:
6827 {
6828 if (temp2)
6829 delete arg2;
6830 }
6831 return NULL;
6832 }
6833
6834
6835 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6836 PyObject *resultobj = 0;
6837 wxFrame *arg1 = (wxFrame *) 0 ;
6838 int arg2 ;
6839 int *arg3 = (int *) 0 ;
6840 void *argp1 = 0 ;
6841 int res1 = 0 ;
6842 PyObject * obj0 = 0 ;
6843 PyObject * obj1 = 0 ;
6844 char * kwnames[] = {
6845 (char *) "self",(char *) "widths", NULL
6846 };
6847
6848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6850 if (!SWIG_IsOK(res1)) {
6851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6852 }
6853 arg1 = reinterpret_cast< wxFrame * >(argp1);
6854 {
6855 arg2 = PyList_Size(obj1);
6856 arg3 = int_LIST_helper(obj1);
6857 if (arg3 == NULL) SWIG_fail;
6858 }
6859 {
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6862 wxPyEndAllowThreads(__tstate);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
6865 resultobj = SWIG_Py_Void();
6866 {
6867 if (arg3) delete [] arg3;
6868 }
6869 return resultobj;
6870 fail:
6871 {
6872 if (arg3) delete [] arg3;
6873 }
6874 return NULL;
6875 }
6876
6877
6878 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj = 0;
6880 wxFrame *arg1 = (wxFrame *) 0 ;
6881 wxString *arg2 = 0 ;
6882 int arg3 = (int) 0 ;
6883 void *argp1 = 0 ;
6884 int res1 = 0 ;
6885 bool temp2 = false ;
6886 int val3 ;
6887 int ecode3 = 0 ;
6888 PyObject * obj0 = 0 ;
6889 PyObject * obj1 = 0 ;
6890 PyObject * obj2 = 0 ;
6891 char * kwnames[] = {
6892 (char *) "self",(char *) "text",(char *) "number", NULL
6893 };
6894
6895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6897 if (!SWIG_IsOK(res1)) {
6898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6899 }
6900 arg1 = reinterpret_cast< wxFrame * >(argp1);
6901 {
6902 arg2 = wxString_in_helper(obj1);
6903 if (arg2 == NULL) SWIG_fail;
6904 temp2 = true;
6905 }
6906 if (obj2) {
6907 ecode3 = SWIG_AsVal_int(obj2, &val3);
6908 if (!SWIG_IsOK(ecode3)) {
6909 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6910 }
6911 arg3 = static_cast< int >(val3);
6912 }
6913 {
6914 PyThreadState* __tstate = wxPyBeginAllowThreads();
6915 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
6919 resultobj = SWIG_Py_Void();
6920 {
6921 if (temp2)
6922 delete arg2;
6923 }
6924 return resultobj;
6925 fail:
6926 {
6927 if (temp2)
6928 delete arg2;
6929 }
6930 return NULL;
6931 }
6932
6933
6934 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6935 PyObject *resultobj = 0;
6936 wxFrame *arg1 = (wxFrame *) 0 ;
6937 int arg2 = (int) 0 ;
6938 void *argp1 = 0 ;
6939 int res1 = 0 ;
6940 int val2 ;
6941 int ecode2 = 0 ;
6942 PyObject * obj0 = 0 ;
6943 PyObject * obj1 = 0 ;
6944 char * kwnames[] = {
6945 (char *) "self",(char *) "number", NULL
6946 };
6947
6948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6950 if (!SWIG_IsOK(res1)) {
6951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6952 }
6953 arg1 = reinterpret_cast< wxFrame * >(argp1);
6954 if (obj1) {
6955 ecode2 = SWIG_AsVal_int(obj1, &val2);
6956 if (!SWIG_IsOK(ecode2)) {
6957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6958 }
6959 arg2 = static_cast< int >(val2);
6960 }
6961 {
6962 PyThreadState* __tstate = wxPyBeginAllowThreads();
6963 (arg1)->PopStatusText(arg2);
6964 wxPyEndAllowThreads(__tstate);
6965 if (PyErr_Occurred()) SWIG_fail;
6966 }
6967 resultobj = SWIG_Py_Void();
6968 return resultobj;
6969 fail:
6970 return NULL;
6971 }
6972
6973
6974 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6975 PyObject *resultobj = 0;
6976 wxFrame *arg1 = (wxFrame *) 0 ;
6977 int arg2 ;
6978 void *argp1 = 0 ;
6979 int res1 = 0 ;
6980 int val2 ;
6981 int ecode2 = 0 ;
6982 PyObject * obj0 = 0 ;
6983 PyObject * obj1 = 0 ;
6984 char * kwnames[] = {
6985 (char *) "self",(char *) "n", NULL
6986 };
6987
6988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6990 if (!SWIG_IsOK(res1)) {
6991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6992 }
6993 arg1 = reinterpret_cast< wxFrame * >(argp1);
6994 ecode2 = SWIG_AsVal_int(obj1, &val2);
6995 if (!SWIG_IsOK(ecode2)) {
6996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6997 }
6998 arg2 = static_cast< int >(val2);
6999 {
7000 PyThreadState* __tstate = wxPyBeginAllowThreads();
7001 (arg1)->SetStatusBarPane(arg2);
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
7005 resultobj = SWIG_Py_Void();
7006 return resultobj;
7007 fail:
7008 return NULL;
7009 }
7010
7011
7012 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7013 PyObject *resultobj = 0;
7014 wxFrame *arg1 = (wxFrame *) 0 ;
7015 int result;
7016 void *argp1 = 0 ;
7017 int res1 = 0 ;
7018 PyObject *swig_obj[1] ;
7019
7020 if (!args) SWIG_fail;
7021 swig_obj[0] = args;
7022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7023 if (!SWIG_IsOK(res1)) {
7024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7025 }
7026 arg1 = reinterpret_cast< wxFrame * >(argp1);
7027 {
7028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7029 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7030 wxPyEndAllowThreads(__tstate);
7031 if (PyErr_Occurred()) SWIG_fail;
7032 }
7033 resultobj = SWIG_From_int(static_cast< int >(result));
7034 return resultobj;
7035 fail:
7036 return NULL;
7037 }
7038
7039
7040 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7041 PyObject *resultobj = 0;
7042 wxFrame *arg1 = (wxFrame *) 0 ;
7043 long arg2 = (long) -1 ;
7044 int arg3 = (int) -1 ;
7045 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7046 wxString *arg4 = (wxString *) &arg4_defvalue ;
7047 wxToolBar *result = 0 ;
7048 void *argp1 = 0 ;
7049 int res1 = 0 ;
7050 long val2 ;
7051 int ecode2 = 0 ;
7052 int val3 ;
7053 int ecode3 = 0 ;
7054 bool temp4 = false ;
7055 PyObject * obj0 = 0 ;
7056 PyObject * obj1 = 0 ;
7057 PyObject * obj2 = 0 ;
7058 PyObject * obj3 = 0 ;
7059 char * kwnames[] = {
7060 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7061 };
7062
7063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7065 if (!SWIG_IsOK(res1)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7067 }
7068 arg1 = reinterpret_cast< wxFrame * >(argp1);
7069 if (obj1) {
7070 ecode2 = SWIG_AsVal_long(obj1, &val2);
7071 if (!SWIG_IsOK(ecode2)) {
7072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7073 }
7074 arg2 = static_cast< long >(val2);
7075 }
7076 if (obj2) {
7077 ecode3 = SWIG_AsVal_int(obj2, &val3);
7078 if (!SWIG_IsOK(ecode3)) {
7079 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7080 }
7081 arg3 = static_cast< int >(val3);
7082 }
7083 if (obj3) {
7084 {
7085 arg4 = wxString_in_helper(obj3);
7086 if (arg4 == NULL) SWIG_fail;
7087 temp4 = true;
7088 }
7089 }
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 {
7097 resultobj = wxPyMake_wxObject(result, (bool)0);
7098 }
7099 {
7100 if (temp4)
7101 delete arg4;
7102 }
7103 return resultobj;
7104 fail:
7105 {
7106 if (temp4)
7107 delete arg4;
7108 }
7109 return NULL;
7110 }
7111
7112
7113 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7114 PyObject *resultobj = 0;
7115 wxFrame *arg1 = (wxFrame *) 0 ;
7116 wxToolBar *result = 0 ;
7117 void *argp1 = 0 ;
7118 int res1 = 0 ;
7119 PyObject *swig_obj[1] ;
7120
7121 if (!args) SWIG_fail;
7122 swig_obj[0] = args;
7123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7124 if (!SWIG_IsOK(res1)) {
7125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7126 }
7127 arg1 = reinterpret_cast< wxFrame * >(argp1);
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7131 wxPyEndAllowThreads(__tstate);
7132 if (PyErr_Occurred()) SWIG_fail;
7133 }
7134 {
7135 resultobj = wxPyMake_wxObject(result, (bool)0);
7136 }
7137 return resultobj;
7138 fail:
7139 return NULL;
7140 }
7141
7142
7143 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7144 PyObject *resultobj = 0;
7145 wxFrame *arg1 = (wxFrame *) 0 ;
7146 wxToolBar *arg2 = (wxToolBar *) 0 ;
7147 void *argp1 = 0 ;
7148 int res1 = 0 ;
7149 void *argp2 = 0 ;
7150 int res2 = 0 ;
7151 PyObject * obj0 = 0 ;
7152 PyObject * obj1 = 0 ;
7153 char * kwnames[] = {
7154 (char *) "self",(char *) "toolbar", NULL
7155 };
7156
7157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7159 if (!SWIG_IsOK(res1)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7161 }
7162 arg1 = reinterpret_cast< wxFrame * >(argp1);
7163 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7164 if (!SWIG_IsOK(res2)) {
7165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7166 }
7167 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 (arg1)->SetToolBar(arg2);
7171 wxPyEndAllowThreads(__tstate);
7172 if (PyErr_Occurred()) SWIG_fail;
7173 }
7174 resultobj = SWIG_Py_Void();
7175 return resultobj;
7176 fail:
7177 return NULL;
7178 }
7179
7180
7181 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7182 PyObject *resultobj = 0;
7183 wxFrame *arg1 = (wxFrame *) 0 ;
7184 wxString *arg2 = 0 ;
7185 bool arg3 ;
7186 void *argp1 = 0 ;
7187 int res1 = 0 ;
7188 bool temp2 = false ;
7189 bool val3 ;
7190 int ecode3 = 0 ;
7191 PyObject * obj0 = 0 ;
7192 PyObject * obj1 = 0 ;
7193 PyObject * obj2 = 0 ;
7194 char * kwnames[] = {
7195 (char *) "self",(char *) "text",(char *) "show", NULL
7196 };
7197
7198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7200 if (!SWIG_IsOK(res1)) {
7201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7202 }
7203 arg1 = reinterpret_cast< wxFrame * >(argp1);
7204 {
7205 arg2 = wxString_in_helper(obj1);
7206 if (arg2 == NULL) SWIG_fail;
7207 temp2 = true;
7208 }
7209 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7210 if (!SWIG_IsOK(ecode3)) {
7211 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7212 }
7213 arg3 = static_cast< bool >(val3);
7214 {
7215 PyThreadState* __tstate = wxPyBeginAllowThreads();
7216 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7217 wxPyEndAllowThreads(__tstate);
7218 if (PyErr_Occurred()) SWIG_fail;
7219 }
7220 resultobj = SWIG_Py_Void();
7221 {
7222 if (temp2)
7223 delete arg2;
7224 }
7225 return resultobj;
7226 fail:
7227 {
7228 if (temp2)
7229 delete arg2;
7230 }
7231 return NULL;
7232 }
7233
7234
7235 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7236 PyObject *resultobj = 0;
7237 wxFrame *arg1 = (wxFrame *) 0 ;
7238 wxMenu *arg2 = (wxMenu *) NULL ;
7239 void *argp1 = 0 ;
7240 int res1 = 0 ;
7241 void *argp2 = 0 ;
7242 int res2 = 0 ;
7243 PyObject * obj0 = 0 ;
7244 PyObject * obj1 = 0 ;
7245 char * kwnames[] = {
7246 (char *) "self",(char *) "menu", NULL
7247 };
7248
7249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7251 if (!SWIG_IsOK(res1)) {
7252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7253 }
7254 arg1 = reinterpret_cast< wxFrame * >(argp1);
7255 if (obj1) {
7256 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7257 if (!SWIG_IsOK(res2)) {
7258 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7259 }
7260 arg2 = reinterpret_cast< wxMenu * >(argp2);
7261 }
7262 {
7263 PyThreadState* __tstate = wxPyBeginAllowThreads();
7264 (arg1)->DoMenuUpdates(arg2);
7265 wxPyEndAllowThreads(__tstate);
7266 if (PyErr_Occurred()) SWIG_fail;
7267 }
7268 resultobj = SWIG_Py_Void();
7269 return resultobj;
7270 fail:
7271 return NULL;
7272 }
7273
7274
7275 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7276 PyObject *resultobj = 0;
7277 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7278 SwigValueWrapper<wxVisualAttributes > result;
7279 int val1 ;
7280 int ecode1 = 0 ;
7281 PyObject * obj0 = 0 ;
7282 char * kwnames[] = {
7283 (char *) "variant", NULL
7284 };
7285
7286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7287 if (obj0) {
7288 ecode1 = SWIG_AsVal_int(obj0, &val1);
7289 if (!SWIG_IsOK(ecode1)) {
7290 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7291 }
7292 arg1 = static_cast< wxWindowVariant >(val1);
7293 }
7294 {
7295 if (!wxPyCheckForApp()) SWIG_fail;
7296 PyThreadState* __tstate = wxPyBeginAllowThreads();
7297 result = wxFrame::GetClassDefaultAttributes(arg1);
7298 wxPyEndAllowThreads(__tstate);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 }
7301 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7302 return resultobj;
7303 fail:
7304 return NULL;
7305 }
7306
7307
7308 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7309 PyObject *obj;
7310 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7311 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7312 return SWIG_Py_Void();
7313 }
7314
7315 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7316 return SWIG_Python_InitShadowInstance(args);
7317 }
7318
7319 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7320 PyObject *resultobj = 0;
7321 wxWindow *arg1 = (wxWindow *) 0 ;
7322 int arg2 = (int) (int)-1 ;
7323 wxString const &arg3_defvalue = wxPyEmptyString ;
7324 wxString *arg3 = (wxString *) &arg3_defvalue ;
7325 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7326 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7327 wxSize const &arg5_defvalue = wxDefaultSize ;
7328 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7329 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7330 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7331 wxString *arg7 = (wxString *) &arg7_defvalue ;
7332 wxDialog *result = 0 ;
7333 void *argp1 = 0 ;
7334 int res1 = 0 ;
7335 int val2 ;
7336 int ecode2 = 0 ;
7337 bool temp3 = false ;
7338 wxPoint temp4 ;
7339 wxSize temp5 ;
7340 long val6 ;
7341 int ecode6 = 0 ;
7342 bool temp7 = false ;
7343 PyObject * obj0 = 0 ;
7344 PyObject * obj1 = 0 ;
7345 PyObject * obj2 = 0 ;
7346 PyObject * obj3 = 0 ;
7347 PyObject * obj4 = 0 ;
7348 PyObject * obj5 = 0 ;
7349 PyObject * obj6 = 0 ;
7350 char * kwnames[] = {
7351 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7352 };
7353
7354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7356 if (!SWIG_IsOK(res1)) {
7357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7358 }
7359 arg1 = reinterpret_cast< wxWindow * >(argp1);
7360 if (obj1) {
7361 ecode2 = SWIG_AsVal_int(obj1, &val2);
7362 if (!SWIG_IsOK(ecode2)) {
7363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7364 }
7365 arg2 = static_cast< int >(val2);
7366 }
7367 if (obj2) {
7368 {
7369 arg3 = wxString_in_helper(obj2);
7370 if (arg3 == NULL) SWIG_fail;
7371 temp3 = true;
7372 }
7373 }
7374 if (obj3) {
7375 {
7376 arg4 = &temp4;
7377 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7378 }
7379 }
7380 if (obj4) {
7381 {
7382 arg5 = &temp5;
7383 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7384 }
7385 }
7386 if (obj5) {
7387 ecode6 = SWIG_AsVal_long(obj5, &val6);
7388 if (!SWIG_IsOK(ecode6)) {
7389 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7390 }
7391 arg6 = static_cast< long >(val6);
7392 }
7393 if (obj6) {
7394 {
7395 arg7 = wxString_in_helper(obj6);
7396 if (arg7 == NULL) SWIG_fail;
7397 temp7 = true;
7398 }
7399 }
7400 {
7401 if (!wxPyCheckForApp()) SWIG_fail;
7402 PyThreadState* __tstate = wxPyBeginAllowThreads();
7403 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7404 wxPyEndAllowThreads(__tstate);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 }
7407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7408 {
7409 if (temp3)
7410 delete arg3;
7411 }
7412 {
7413 if (temp7)
7414 delete arg7;
7415 }
7416 return resultobj;
7417 fail:
7418 {
7419 if (temp3)
7420 delete arg3;
7421 }
7422 {
7423 if (temp7)
7424 delete arg7;
7425 }
7426 return NULL;
7427 }
7428
7429
7430 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7431 PyObject *resultobj = 0;
7432 wxDialog *result = 0 ;
7433
7434 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7435 {
7436 if (!wxPyCheckForApp()) SWIG_fail;
7437 PyThreadState* __tstate = wxPyBeginAllowThreads();
7438 result = (wxDialog *)new wxDialog();
7439 wxPyEndAllowThreads(__tstate);
7440 if (PyErr_Occurred()) SWIG_fail;
7441 }
7442 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7443 return resultobj;
7444 fail:
7445 return NULL;
7446 }
7447
7448
7449 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7450 PyObject *resultobj = 0;
7451 wxDialog *arg1 = (wxDialog *) 0 ;
7452 wxWindow *arg2 = (wxWindow *) 0 ;
7453 int arg3 = (int) (int)-1 ;
7454 wxString const &arg4_defvalue = wxPyEmptyString ;
7455 wxString *arg4 = (wxString *) &arg4_defvalue ;
7456 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7457 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7458 wxSize const &arg6_defvalue = wxDefaultSize ;
7459 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7460 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7461 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7462 wxString *arg8 = (wxString *) &arg8_defvalue ;
7463 bool result;
7464 void *argp1 = 0 ;
7465 int res1 = 0 ;
7466 void *argp2 = 0 ;
7467 int res2 = 0 ;
7468 int val3 ;
7469 int ecode3 = 0 ;
7470 bool temp4 = false ;
7471 wxPoint temp5 ;
7472 wxSize temp6 ;
7473 long val7 ;
7474 int ecode7 = 0 ;
7475 bool temp8 = false ;
7476 PyObject * obj0 = 0 ;
7477 PyObject * obj1 = 0 ;
7478 PyObject * obj2 = 0 ;
7479 PyObject * obj3 = 0 ;
7480 PyObject * obj4 = 0 ;
7481 PyObject * obj5 = 0 ;
7482 PyObject * obj6 = 0 ;
7483 PyObject * obj7 = 0 ;
7484 char * kwnames[] = {
7485 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7486 };
7487
7488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7490 if (!SWIG_IsOK(res1)) {
7491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7492 }
7493 arg1 = reinterpret_cast< wxDialog * >(argp1);
7494 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7495 if (!SWIG_IsOK(res2)) {
7496 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7497 }
7498 arg2 = reinterpret_cast< wxWindow * >(argp2);
7499 if (obj2) {
7500 ecode3 = SWIG_AsVal_int(obj2, &val3);
7501 if (!SWIG_IsOK(ecode3)) {
7502 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7503 }
7504 arg3 = static_cast< int >(val3);
7505 }
7506 if (obj3) {
7507 {
7508 arg4 = wxString_in_helper(obj3);
7509 if (arg4 == NULL) SWIG_fail;
7510 temp4 = true;
7511 }
7512 }
7513 if (obj4) {
7514 {
7515 arg5 = &temp5;
7516 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7517 }
7518 }
7519 if (obj5) {
7520 {
7521 arg6 = &temp6;
7522 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7523 }
7524 }
7525 if (obj6) {
7526 ecode7 = SWIG_AsVal_long(obj6, &val7);
7527 if (!SWIG_IsOK(ecode7)) {
7528 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7529 }
7530 arg7 = static_cast< long >(val7);
7531 }
7532 if (obj7) {
7533 {
7534 arg8 = wxString_in_helper(obj7);
7535 if (arg8 == NULL) SWIG_fail;
7536 temp8 = true;
7537 }
7538 }
7539 {
7540 PyThreadState* __tstate = wxPyBeginAllowThreads();
7541 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 {
7546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7547 }
7548 {
7549 if (temp4)
7550 delete arg4;
7551 }
7552 {
7553 if (temp8)
7554 delete arg8;
7555 }
7556 return resultobj;
7557 fail:
7558 {
7559 if (temp4)
7560 delete arg4;
7561 }
7562 {
7563 if (temp8)
7564 delete arg8;
7565 }
7566 return NULL;
7567 }
7568
7569
7570 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7571 PyObject *resultobj = 0;
7572 wxDialog *arg1 = (wxDialog *) 0 ;
7573 int arg2 ;
7574 void *argp1 = 0 ;
7575 int res1 = 0 ;
7576 int val2 ;
7577 int ecode2 = 0 ;
7578 PyObject * obj0 = 0 ;
7579 PyObject * obj1 = 0 ;
7580 char * kwnames[] = {
7581 (char *) "self",(char *) "returnCode", NULL
7582 };
7583
7584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7586 if (!SWIG_IsOK(res1)) {
7587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7588 }
7589 arg1 = reinterpret_cast< wxDialog * >(argp1);
7590 ecode2 = SWIG_AsVal_int(obj1, &val2);
7591 if (!SWIG_IsOK(ecode2)) {
7592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7593 }
7594 arg2 = static_cast< int >(val2);
7595 {
7596 PyThreadState* __tstate = wxPyBeginAllowThreads();
7597 (arg1)->SetReturnCode(arg2);
7598 wxPyEndAllowThreads(__tstate);
7599 if (PyErr_Occurred()) SWIG_fail;
7600 }
7601 resultobj = SWIG_Py_Void();
7602 return resultobj;
7603 fail:
7604 return NULL;
7605 }
7606
7607
7608 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7609 PyObject *resultobj = 0;
7610 wxDialog *arg1 = (wxDialog *) 0 ;
7611 int result;
7612 void *argp1 = 0 ;
7613 int res1 = 0 ;
7614 PyObject *swig_obj[1] ;
7615
7616 if (!args) SWIG_fail;
7617 swig_obj[0] = args;
7618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7619 if (!SWIG_IsOK(res1)) {
7620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7621 }
7622 arg1 = reinterpret_cast< wxDialog * >(argp1);
7623 {
7624 PyThreadState* __tstate = wxPyBeginAllowThreads();
7625 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 resultobj = SWIG_From_int(static_cast< int >(result));
7630 return resultobj;
7631 fail:
7632 return NULL;
7633 }
7634
7635
7636 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7637 PyObject *resultobj = 0;
7638 wxDialog *arg1 = (wxDialog *) 0 ;
7639 int arg2 ;
7640 void *argp1 = 0 ;
7641 int res1 = 0 ;
7642 int val2 ;
7643 int ecode2 = 0 ;
7644 PyObject * obj0 = 0 ;
7645 PyObject * obj1 = 0 ;
7646 char * kwnames[] = {
7647 (char *) "self",(char *) "affirmativeId", NULL
7648 };
7649
7650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7652 if (!SWIG_IsOK(res1)) {
7653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7654 }
7655 arg1 = reinterpret_cast< wxDialog * >(argp1);
7656 ecode2 = SWIG_AsVal_int(obj1, &val2);
7657 if (!SWIG_IsOK(ecode2)) {
7658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7659 }
7660 arg2 = static_cast< int >(val2);
7661 {
7662 PyThreadState* __tstate = wxPyBeginAllowThreads();
7663 (arg1)->SetAffirmativeId(arg2);
7664 wxPyEndAllowThreads(__tstate);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 resultobj = SWIG_Py_Void();
7668 return resultobj;
7669 fail:
7670 return NULL;
7671 }
7672
7673
7674 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7675 PyObject *resultobj = 0;
7676 wxDialog *arg1 = (wxDialog *) 0 ;
7677 int result;
7678 void *argp1 = 0 ;
7679 int res1 = 0 ;
7680 PyObject *swig_obj[1] ;
7681
7682 if (!args) SWIG_fail;
7683 swig_obj[0] = args;
7684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7685 if (!SWIG_IsOK(res1)) {
7686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7687 }
7688 arg1 = reinterpret_cast< wxDialog * >(argp1);
7689 {
7690 PyThreadState* __tstate = wxPyBeginAllowThreads();
7691 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7692 wxPyEndAllowThreads(__tstate);
7693 if (PyErr_Occurred()) SWIG_fail;
7694 }
7695 resultobj = SWIG_From_int(static_cast< int >(result));
7696 return resultobj;
7697 fail:
7698 return NULL;
7699 }
7700
7701
7702 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7703 PyObject *resultobj = 0;
7704 wxDialog *arg1 = (wxDialog *) 0 ;
7705 int arg2 ;
7706 void *argp1 = 0 ;
7707 int res1 = 0 ;
7708 int val2 ;
7709 int ecode2 = 0 ;
7710 PyObject * obj0 = 0 ;
7711 PyObject * obj1 = 0 ;
7712 char * kwnames[] = {
7713 (char *) "self",(char *) "escapeId", NULL
7714 };
7715
7716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7718 if (!SWIG_IsOK(res1)) {
7719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7720 }
7721 arg1 = reinterpret_cast< wxDialog * >(argp1);
7722 ecode2 = SWIG_AsVal_int(obj1, &val2);
7723 if (!SWIG_IsOK(ecode2)) {
7724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7725 }
7726 arg2 = static_cast< int >(val2);
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 (arg1)->SetEscapeId(arg2);
7730 wxPyEndAllowThreads(__tstate);
7731 if (PyErr_Occurred()) SWIG_fail;
7732 }
7733 resultobj = SWIG_Py_Void();
7734 return resultobj;
7735 fail:
7736 return NULL;
7737 }
7738
7739
7740 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7741 PyObject *resultobj = 0;
7742 wxDialog *arg1 = (wxDialog *) 0 ;
7743 int result;
7744 void *argp1 = 0 ;
7745 int res1 = 0 ;
7746 PyObject *swig_obj[1] ;
7747
7748 if (!args) SWIG_fail;
7749 swig_obj[0] = args;
7750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7751 if (!SWIG_IsOK(res1)) {
7752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7753 }
7754 arg1 = reinterpret_cast< wxDialog * >(argp1);
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7758 wxPyEndAllowThreads(__tstate);
7759 if (PyErr_Occurred()) SWIG_fail;
7760 }
7761 resultobj = SWIG_From_int(static_cast< int >(result));
7762 return resultobj;
7763 fail:
7764 return NULL;
7765 }
7766
7767
7768 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7769 PyObject *resultobj = 0;
7770 wxDialog *arg1 = (wxDialog *) 0 ;
7771 wxString *arg2 = 0 ;
7772 wxSizer *result = 0 ;
7773 void *argp1 = 0 ;
7774 int res1 = 0 ;
7775 bool temp2 = false ;
7776 PyObject * obj0 = 0 ;
7777 PyObject * obj1 = 0 ;
7778 char * kwnames[] = {
7779 (char *) "self",(char *) "message", NULL
7780 };
7781
7782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7784 if (!SWIG_IsOK(res1)) {
7785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7786 }
7787 arg1 = reinterpret_cast< wxDialog * >(argp1);
7788 {
7789 arg2 = wxString_in_helper(obj1);
7790 if (arg2 == NULL) SWIG_fail;
7791 temp2 = true;
7792 }
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 {
7800 resultobj = wxPyMake_wxObject(result, (bool)0);
7801 }
7802 {
7803 if (temp2)
7804 delete arg2;
7805 }
7806 return resultobj;
7807 fail:
7808 {
7809 if (temp2)
7810 delete arg2;
7811 }
7812 return NULL;
7813 }
7814
7815
7816 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7817 PyObject *resultobj = 0;
7818 wxDialog *arg1 = (wxDialog *) 0 ;
7819 long arg2 ;
7820 bool arg3 = (bool) false ;
7821 int arg4 = (int) 0 ;
7822 wxSizer *result = 0 ;
7823 void *argp1 = 0 ;
7824 int res1 = 0 ;
7825 long val2 ;
7826 int ecode2 = 0 ;
7827 bool val3 ;
7828 int ecode3 = 0 ;
7829 int val4 ;
7830 int ecode4 = 0 ;
7831 PyObject * obj0 = 0 ;
7832 PyObject * obj1 = 0 ;
7833 PyObject * obj2 = 0 ;
7834 PyObject * obj3 = 0 ;
7835 char * kwnames[] = {
7836 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7837 };
7838
7839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7841 if (!SWIG_IsOK(res1)) {
7842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7843 }
7844 arg1 = reinterpret_cast< wxDialog * >(argp1);
7845 ecode2 = SWIG_AsVal_long(obj1, &val2);
7846 if (!SWIG_IsOK(ecode2)) {
7847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7848 }
7849 arg2 = static_cast< long >(val2);
7850 if (obj2) {
7851 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7852 if (!SWIG_IsOK(ecode3)) {
7853 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7854 }
7855 arg3 = static_cast< bool >(val3);
7856 }
7857 if (obj3) {
7858 ecode4 = SWIG_AsVal_int(obj3, &val4);
7859 if (!SWIG_IsOK(ecode4)) {
7860 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7861 }
7862 arg4 = static_cast< int >(val4);
7863 }
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7867 wxPyEndAllowThreads(__tstate);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 {
7871 resultobj = wxPyMake_wxObject(result, (bool)0);
7872 }
7873 return resultobj;
7874 fail:
7875 return NULL;
7876 }
7877
7878
7879 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7880 PyObject *resultobj = 0;
7881 wxDialog *arg1 = (wxDialog *) 0 ;
7882 long arg2 ;
7883 wxStdDialogButtonSizer *result = 0 ;
7884 void *argp1 = 0 ;
7885 int res1 = 0 ;
7886 long val2 ;
7887 int ecode2 = 0 ;
7888 PyObject * obj0 = 0 ;
7889 PyObject * obj1 = 0 ;
7890 char * kwnames[] = {
7891 (char *) "self",(char *) "flags", NULL
7892 };
7893
7894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7896 if (!SWIG_IsOK(res1)) {
7897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7898 }
7899 arg1 = reinterpret_cast< wxDialog * >(argp1);
7900 ecode2 = SWIG_AsVal_long(obj1, &val2);
7901 if (!SWIG_IsOK(ecode2)) {
7902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7903 }
7904 arg2 = static_cast< long >(val2);
7905 {
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7908 wxPyEndAllowThreads(__tstate);
7909 if (PyErr_Occurred()) SWIG_fail;
7910 }
7911 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7912 return resultobj;
7913 fail:
7914 return NULL;
7915 }
7916
7917
7918 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7919 PyObject *resultobj = 0;
7920 wxDialog *arg1 = (wxDialog *) 0 ;
7921 bool result;
7922 void *argp1 = 0 ;
7923 int res1 = 0 ;
7924 PyObject *swig_obj[1] ;
7925
7926 if (!args) SWIG_fail;
7927 swig_obj[0] = args;
7928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7929 if (!SWIG_IsOK(res1)) {
7930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7931 }
7932 arg1 = reinterpret_cast< wxDialog * >(argp1);
7933 {
7934 PyThreadState* __tstate = wxPyBeginAllowThreads();
7935 result = (bool)((wxDialog const *)arg1)->IsModal();
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
7939 {
7940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7941 }
7942 return resultobj;
7943 fail:
7944 return NULL;
7945 }
7946
7947
7948 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7949 PyObject *resultobj = 0;
7950 wxDialog *arg1 = (wxDialog *) 0 ;
7951 int result;
7952 void *argp1 = 0 ;
7953 int res1 = 0 ;
7954 PyObject *swig_obj[1] ;
7955
7956 if (!args) SWIG_fail;
7957 swig_obj[0] = args;
7958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7959 if (!SWIG_IsOK(res1)) {
7960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7961 }
7962 arg1 = reinterpret_cast< wxDialog * >(argp1);
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 result = (int)(arg1)->ShowModal();
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 resultobj = SWIG_From_int(static_cast< int >(result));
7970 return resultobj;
7971 fail:
7972 return NULL;
7973 }
7974
7975
7976 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7977 PyObject *resultobj = 0;
7978 wxDialog *arg1 = (wxDialog *) 0 ;
7979 int arg2 ;
7980 void *argp1 = 0 ;
7981 int res1 = 0 ;
7982 int val2 ;
7983 int ecode2 = 0 ;
7984 PyObject * obj0 = 0 ;
7985 PyObject * obj1 = 0 ;
7986 char * kwnames[] = {
7987 (char *) "self",(char *) "retCode", NULL
7988 };
7989
7990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7992 if (!SWIG_IsOK(res1)) {
7993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7994 }
7995 arg1 = reinterpret_cast< wxDialog * >(argp1);
7996 ecode2 = SWIG_AsVal_int(obj1, &val2);
7997 if (!SWIG_IsOK(ecode2)) {
7998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7999 }
8000 arg2 = static_cast< int >(val2);
8001 {
8002 PyThreadState* __tstate = wxPyBeginAllowThreads();
8003 (arg1)->EndModal(arg2);
8004 wxPyEndAllowThreads(__tstate);
8005 if (PyErr_Occurred()) SWIG_fail;
8006 }
8007 resultobj = SWIG_Py_Void();
8008 return resultobj;
8009 fail:
8010 return NULL;
8011 }
8012
8013
8014 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8015 PyObject *resultobj = 0;
8016 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8017 SwigValueWrapper<wxVisualAttributes > result;
8018 int val1 ;
8019 int ecode1 = 0 ;
8020 PyObject * obj0 = 0 ;
8021 char * kwnames[] = {
8022 (char *) "variant", NULL
8023 };
8024
8025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8026 if (obj0) {
8027 ecode1 = SWIG_AsVal_int(obj0, &val1);
8028 if (!SWIG_IsOK(ecode1)) {
8029 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8030 }
8031 arg1 = static_cast< wxWindowVariant >(val1);
8032 }
8033 {
8034 if (!wxPyCheckForApp()) SWIG_fail;
8035 PyThreadState* __tstate = wxPyBeginAllowThreads();
8036 result = wxDialog::GetClassDefaultAttributes(arg1);
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8041 return resultobj;
8042 fail:
8043 return NULL;
8044 }
8045
8046
8047 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8048 PyObject *obj;
8049 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8050 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8051 return SWIG_Py_Void();
8052 }
8053
8054 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8055 return SWIG_Python_InitShadowInstance(args);
8056 }
8057
8058 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8059 PyObject *resultobj = 0;
8060 wxWindow *arg1 = (wxWindow *) 0 ;
8061 int arg2 = (int) (int)-1 ;
8062 wxString const &arg3_defvalue = wxPyEmptyString ;
8063 wxString *arg3 = (wxString *) &arg3_defvalue ;
8064 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8065 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8066 wxSize const &arg5_defvalue = wxDefaultSize ;
8067 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8068 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8069 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8070 wxString *arg7 = (wxString *) &arg7_defvalue ;
8071 wxMiniFrame *result = 0 ;
8072 void *argp1 = 0 ;
8073 int res1 = 0 ;
8074 int val2 ;
8075 int ecode2 = 0 ;
8076 bool temp3 = false ;
8077 wxPoint temp4 ;
8078 wxSize temp5 ;
8079 long val6 ;
8080 int ecode6 = 0 ;
8081 bool temp7 = false ;
8082 PyObject * obj0 = 0 ;
8083 PyObject * obj1 = 0 ;
8084 PyObject * obj2 = 0 ;
8085 PyObject * obj3 = 0 ;
8086 PyObject * obj4 = 0 ;
8087 PyObject * obj5 = 0 ;
8088 PyObject * obj6 = 0 ;
8089 char * kwnames[] = {
8090 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8091 };
8092
8093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8095 if (!SWIG_IsOK(res1)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8097 }
8098 arg1 = reinterpret_cast< wxWindow * >(argp1);
8099 if (obj1) {
8100 ecode2 = SWIG_AsVal_int(obj1, &val2);
8101 if (!SWIG_IsOK(ecode2)) {
8102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8103 }
8104 arg2 = static_cast< int >(val2);
8105 }
8106 if (obj2) {
8107 {
8108 arg3 = wxString_in_helper(obj2);
8109 if (arg3 == NULL) SWIG_fail;
8110 temp3 = true;
8111 }
8112 }
8113 if (obj3) {
8114 {
8115 arg4 = &temp4;
8116 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8117 }
8118 }
8119 if (obj4) {
8120 {
8121 arg5 = &temp5;
8122 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8123 }
8124 }
8125 if (obj5) {
8126 ecode6 = SWIG_AsVal_long(obj5, &val6);
8127 if (!SWIG_IsOK(ecode6)) {
8128 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8129 }
8130 arg6 = static_cast< long >(val6);
8131 }
8132 if (obj6) {
8133 {
8134 arg7 = wxString_in_helper(obj6);
8135 if (arg7 == NULL) SWIG_fail;
8136 temp7 = true;
8137 }
8138 }
8139 {
8140 if (!wxPyCheckForApp()) SWIG_fail;
8141 PyThreadState* __tstate = wxPyBeginAllowThreads();
8142 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8143 wxPyEndAllowThreads(__tstate);
8144 if (PyErr_Occurred()) SWIG_fail;
8145 }
8146 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8147 {
8148 if (temp3)
8149 delete arg3;
8150 }
8151 {
8152 if (temp7)
8153 delete arg7;
8154 }
8155 return resultobj;
8156 fail:
8157 {
8158 if (temp3)
8159 delete arg3;
8160 }
8161 {
8162 if (temp7)
8163 delete arg7;
8164 }
8165 return NULL;
8166 }
8167
8168
8169 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8170 PyObject *resultobj = 0;
8171 wxMiniFrame *result = 0 ;
8172
8173 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8174 {
8175 if (!wxPyCheckForApp()) SWIG_fail;
8176 PyThreadState* __tstate = wxPyBeginAllowThreads();
8177 result = (wxMiniFrame *)new wxMiniFrame();
8178 wxPyEndAllowThreads(__tstate);
8179 if (PyErr_Occurred()) SWIG_fail;
8180 }
8181 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8182 return resultobj;
8183 fail:
8184 return NULL;
8185 }
8186
8187
8188 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8189 PyObject *resultobj = 0;
8190 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8191 wxWindow *arg2 = (wxWindow *) 0 ;
8192 int arg3 = (int) (int)-1 ;
8193 wxString const &arg4_defvalue = wxPyEmptyString ;
8194 wxString *arg4 = (wxString *) &arg4_defvalue ;
8195 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8196 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8197 wxSize const &arg6_defvalue = wxDefaultSize ;
8198 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8199 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8200 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8201 wxString *arg8 = (wxString *) &arg8_defvalue ;
8202 bool result;
8203 void *argp1 = 0 ;
8204 int res1 = 0 ;
8205 void *argp2 = 0 ;
8206 int res2 = 0 ;
8207 int val3 ;
8208 int ecode3 = 0 ;
8209 bool temp4 = false ;
8210 wxPoint temp5 ;
8211 wxSize temp6 ;
8212 long val7 ;
8213 int ecode7 = 0 ;
8214 bool temp8 = false ;
8215 PyObject * obj0 = 0 ;
8216 PyObject * obj1 = 0 ;
8217 PyObject * obj2 = 0 ;
8218 PyObject * obj3 = 0 ;
8219 PyObject * obj4 = 0 ;
8220 PyObject * obj5 = 0 ;
8221 PyObject * obj6 = 0 ;
8222 PyObject * obj7 = 0 ;
8223 char * kwnames[] = {
8224 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8225 };
8226
8227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8229 if (!SWIG_IsOK(res1)) {
8230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8231 }
8232 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8233 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8234 if (!SWIG_IsOK(res2)) {
8235 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8236 }
8237 arg2 = reinterpret_cast< wxWindow * >(argp2);
8238 if (obj2) {
8239 ecode3 = SWIG_AsVal_int(obj2, &val3);
8240 if (!SWIG_IsOK(ecode3)) {
8241 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8242 }
8243 arg3 = static_cast< int >(val3);
8244 }
8245 if (obj3) {
8246 {
8247 arg4 = wxString_in_helper(obj3);
8248 if (arg4 == NULL) SWIG_fail;
8249 temp4 = true;
8250 }
8251 }
8252 if (obj4) {
8253 {
8254 arg5 = &temp5;
8255 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8256 }
8257 }
8258 if (obj5) {
8259 {
8260 arg6 = &temp6;
8261 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8262 }
8263 }
8264 if (obj6) {
8265 ecode7 = SWIG_AsVal_long(obj6, &val7);
8266 if (!SWIG_IsOK(ecode7)) {
8267 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8268 }
8269 arg7 = static_cast< long >(val7);
8270 }
8271 if (obj7) {
8272 {
8273 arg8 = wxString_in_helper(obj7);
8274 if (arg8 == NULL) SWIG_fail;
8275 temp8 = true;
8276 }
8277 }
8278 {
8279 PyThreadState* __tstate = wxPyBeginAllowThreads();
8280 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
8284 {
8285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8286 }
8287 {
8288 if (temp4)
8289 delete arg4;
8290 }
8291 {
8292 if (temp8)
8293 delete arg8;
8294 }
8295 return resultobj;
8296 fail:
8297 {
8298 if (temp4)
8299 delete arg4;
8300 }
8301 {
8302 if (temp8)
8303 delete arg8;
8304 }
8305 return NULL;
8306 }
8307
8308
8309 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8310 PyObject *obj;
8311 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8312 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8313 return SWIG_Py_Void();
8314 }
8315
8316 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8317 return SWIG_Python_InitShadowInstance(args);
8318 }
8319
8320 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8321 PyObject *resultobj = 0;
8322 wxBitmap *arg1 = 0 ;
8323 wxWindow *arg2 = (wxWindow *) 0 ;
8324 int arg3 ;
8325 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8326 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8327 wxSize const &arg5_defvalue = wxDefaultSize ;
8328 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8329 long arg6 = (long) wxNO_BORDER ;
8330 wxSplashScreenWindow *result = 0 ;
8331 void *argp1 = 0 ;
8332 int res1 = 0 ;
8333 void *argp2 = 0 ;
8334 int res2 = 0 ;
8335 int val3 ;
8336 int ecode3 = 0 ;
8337 wxPoint temp4 ;
8338 wxSize temp5 ;
8339 long val6 ;
8340 int ecode6 = 0 ;
8341 PyObject * obj0 = 0 ;
8342 PyObject * obj1 = 0 ;
8343 PyObject * obj2 = 0 ;
8344 PyObject * obj3 = 0 ;
8345 PyObject * obj4 = 0 ;
8346 PyObject * obj5 = 0 ;
8347 char * kwnames[] = {
8348 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8349 };
8350
8351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8352 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8353 if (!SWIG_IsOK(res1)) {
8354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8355 }
8356 if (!argp1) {
8357 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8358 }
8359 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8360 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8361 if (!SWIG_IsOK(res2)) {
8362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8363 }
8364 arg2 = reinterpret_cast< wxWindow * >(argp2);
8365 ecode3 = SWIG_AsVal_int(obj2, &val3);
8366 if (!SWIG_IsOK(ecode3)) {
8367 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8368 }
8369 arg3 = static_cast< int >(val3);
8370 if (obj3) {
8371 {
8372 arg4 = &temp4;
8373 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8374 }
8375 }
8376 if (obj4) {
8377 {
8378 arg5 = &temp5;
8379 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8380 }
8381 }
8382 if (obj5) {
8383 ecode6 = SWIG_AsVal_long(obj5, &val6);
8384 if (!SWIG_IsOK(ecode6)) {
8385 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8386 }
8387 arg6 = static_cast< long >(val6);
8388 }
8389 {
8390 if (!wxPyCheckForApp()) SWIG_fail;
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8393 wxPyEndAllowThreads(__tstate);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
8396 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8397 return resultobj;
8398 fail:
8399 return NULL;
8400 }
8401
8402
8403 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8404 PyObject *resultobj = 0;
8405 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8406 wxBitmap *arg2 = 0 ;
8407 void *argp1 = 0 ;
8408 int res1 = 0 ;
8409 void *argp2 = 0 ;
8410 int res2 = 0 ;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 char * kwnames[] = {
8414 (char *) "self",(char *) "bitmap", NULL
8415 };
8416
8417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8419 if (!SWIG_IsOK(res1)) {
8420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8421 }
8422 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8423 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8424 if (!SWIG_IsOK(res2)) {
8425 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8426 }
8427 if (!argp2) {
8428 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8429 }
8430 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8431 {
8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8433 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8434 wxPyEndAllowThreads(__tstate);
8435 if (PyErr_Occurred()) SWIG_fail;
8436 }
8437 resultobj = SWIG_Py_Void();
8438 return resultobj;
8439 fail:
8440 return NULL;
8441 }
8442
8443
8444 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8445 PyObject *resultobj = 0;
8446 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8447 wxBitmap *result = 0 ;
8448 void *argp1 = 0 ;
8449 int res1 = 0 ;
8450 PyObject *swig_obj[1] ;
8451
8452 if (!args) SWIG_fail;
8453 swig_obj[0] = args;
8454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8455 if (!SWIG_IsOK(res1)) {
8456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8457 }
8458 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8459 {
8460 PyThreadState* __tstate = wxPyBeginAllowThreads();
8461 {
8462 wxBitmap &_result_ref = (arg1)->GetBitmap();
8463 result = (wxBitmap *) &_result_ref;
8464 }
8465 wxPyEndAllowThreads(__tstate);
8466 if (PyErr_Occurred()) SWIG_fail;
8467 }
8468 {
8469 wxBitmap* resultptr = new wxBitmap(*result);
8470 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8471 }
8472 return resultobj;
8473 fail:
8474 return NULL;
8475 }
8476
8477
8478 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8479 PyObject *obj;
8480 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8481 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8482 return SWIG_Py_Void();
8483 }
8484
8485 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8486 return SWIG_Python_InitShadowInstance(args);
8487 }
8488
8489 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8490 PyObject *resultobj = 0;
8491 wxBitmap *arg1 = 0 ;
8492 long arg2 ;
8493 int arg3 ;
8494 wxWindow *arg4 = (wxWindow *) 0 ;
8495 int arg5 = (int) -1 ;
8496 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8497 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8498 wxSize const &arg7_defvalue = wxDefaultSize ;
8499 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8500 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8501 wxSplashScreen *result = 0 ;
8502 void *argp1 = 0 ;
8503 int res1 = 0 ;
8504 long val2 ;
8505 int ecode2 = 0 ;
8506 int val3 ;
8507 int ecode3 = 0 ;
8508 void *argp4 = 0 ;
8509 int res4 = 0 ;
8510 int val5 ;
8511 int ecode5 = 0 ;
8512 wxPoint temp6 ;
8513 wxSize temp7 ;
8514 long val8 ;
8515 int ecode8 = 0 ;
8516 PyObject * obj0 = 0 ;
8517 PyObject * obj1 = 0 ;
8518 PyObject * obj2 = 0 ;
8519 PyObject * obj3 = 0 ;
8520 PyObject * obj4 = 0 ;
8521 PyObject * obj5 = 0 ;
8522 PyObject * obj6 = 0 ;
8523 PyObject * obj7 = 0 ;
8524 char * kwnames[] = {
8525 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8526 };
8527
8528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8529 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8530 if (!SWIG_IsOK(res1)) {
8531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8532 }
8533 if (!argp1) {
8534 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8535 }
8536 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8537 ecode2 = SWIG_AsVal_long(obj1, &val2);
8538 if (!SWIG_IsOK(ecode2)) {
8539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8540 }
8541 arg2 = static_cast< long >(val2);
8542 ecode3 = SWIG_AsVal_int(obj2, &val3);
8543 if (!SWIG_IsOK(ecode3)) {
8544 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8545 }
8546 arg3 = static_cast< int >(val3);
8547 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8548 if (!SWIG_IsOK(res4)) {
8549 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8550 }
8551 arg4 = reinterpret_cast< wxWindow * >(argp4);
8552 if (obj4) {
8553 ecode5 = SWIG_AsVal_int(obj4, &val5);
8554 if (!SWIG_IsOK(ecode5)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8556 }
8557 arg5 = static_cast< int >(val5);
8558 }
8559 if (obj5) {
8560 {
8561 arg6 = &temp6;
8562 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8563 }
8564 }
8565 if (obj6) {
8566 {
8567 arg7 = &temp7;
8568 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8569 }
8570 }
8571 if (obj7) {
8572 ecode8 = SWIG_AsVal_long(obj7, &val8);
8573 if (!SWIG_IsOK(ecode8)) {
8574 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8575 }
8576 arg8 = static_cast< long >(val8);
8577 }
8578 {
8579 if (!wxPyCheckForApp()) SWIG_fail;
8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
8581 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8582 wxPyEndAllowThreads(__tstate);
8583 if (PyErr_Occurred()) SWIG_fail;
8584 }
8585 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8586 return resultobj;
8587 fail:
8588 return NULL;
8589 }
8590
8591
8592 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8593 PyObject *resultobj = 0;
8594 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8595 long result;
8596 void *argp1 = 0 ;
8597 int res1 = 0 ;
8598 PyObject *swig_obj[1] ;
8599
8600 if (!args) SWIG_fail;
8601 swig_obj[0] = args;
8602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8603 if (!SWIG_IsOK(res1)) {
8604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8605 }
8606 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8607 {
8608 PyThreadState* __tstate = wxPyBeginAllowThreads();
8609 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 resultobj = SWIG_From_long(static_cast< long >(result));
8614 return resultobj;
8615 fail:
8616 return NULL;
8617 }
8618
8619
8620 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8621 PyObject *resultobj = 0;
8622 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8623 wxSplashScreenWindow *result = 0 ;
8624 void *argp1 = 0 ;
8625 int res1 = 0 ;
8626 PyObject *swig_obj[1] ;
8627
8628 if (!args) SWIG_fail;
8629 swig_obj[0] = args;
8630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8631 if (!SWIG_IsOK(res1)) {
8632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8633 }
8634 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8635 {
8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
8637 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8638 wxPyEndAllowThreads(__tstate);
8639 if (PyErr_Occurred()) SWIG_fail;
8640 }
8641 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8642 return resultobj;
8643 fail:
8644 return NULL;
8645 }
8646
8647
8648 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8649 PyObject *resultobj = 0;
8650 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8651 int result;
8652 void *argp1 = 0 ;
8653 int res1 = 0 ;
8654 PyObject *swig_obj[1] ;
8655
8656 if (!args) SWIG_fail;
8657 swig_obj[0] = args;
8658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8659 if (!SWIG_IsOK(res1)) {
8660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8661 }
8662 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8663 {
8664 PyThreadState* __tstate = wxPyBeginAllowThreads();
8665 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8666 wxPyEndAllowThreads(__tstate);
8667 if (PyErr_Occurred()) SWIG_fail;
8668 }
8669 resultobj = SWIG_From_int(static_cast< int >(result));
8670 return resultobj;
8671 fail:
8672 return NULL;
8673 }
8674
8675
8676 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8677 PyObject *obj;
8678 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8679 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8680 return SWIG_Py_Void();
8681 }
8682
8683 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8684 return SWIG_Python_InitShadowInstance(args);
8685 }
8686
8687 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8688 PyObject *resultobj = 0;
8689 wxWindow *arg1 = (wxWindow *) 0 ;
8690 int arg2 = (int) -1 ;
8691 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8692 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8693 wxString *arg4 = (wxString *) &arg4_defvalue ;
8694 wxStatusBar *result = 0 ;
8695 void *argp1 = 0 ;
8696 int res1 = 0 ;
8697 int val2 ;
8698 int ecode2 = 0 ;
8699 long val3 ;
8700 int ecode3 = 0 ;
8701 bool temp4 = false ;
8702 PyObject * obj0 = 0 ;
8703 PyObject * obj1 = 0 ;
8704 PyObject * obj2 = 0 ;
8705 PyObject * obj3 = 0 ;
8706 char * kwnames[] = {
8707 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8708 };
8709
8710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8712 if (!SWIG_IsOK(res1)) {
8713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8714 }
8715 arg1 = reinterpret_cast< wxWindow * >(argp1);
8716 if (obj1) {
8717 ecode2 = SWIG_AsVal_int(obj1, &val2);
8718 if (!SWIG_IsOK(ecode2)) {
8719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8720 }
8721 arg2 = static_cast< int >(val2);
8722 }
8723 if (obj2) {
8724 ecode3 = SWIG_AsVal_long(obj2, &val3);
8725 if (!SWIG_IsOK(ecode3)) {
8726 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8727 }
8728 arg3 = static_cast< long >(val3);
8729 }
8730 if (obj3) {
8731 {
8732 arg4 = wxString_in_helper(obj3);
8733 if (arg4 == NULL) SWIG_fail;
8734 temp4 = true;
8735 }
8736 }
8737 {
8738 if (!wxPyCheckForApp()) SWIG_fail;
8739 PyThreadState* __tstate = wxPyBeginAllowThreads();
8740 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8745 {
8746 if (temp4)
8747 delete arg4;
8748 }
8749 return resultobj;
8750 fail:
8751 {
8752 if (temp4)
8753 delete arg4;
8754 }
8755 return NULL;
8756 }
8757
8758
8759 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8760 PyObject *resultobj = 0;
8761 wxStatusBar *result = 0 ;
8762
8763 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8764 {
8765 if (!wxPyCheckForApp()) SWIG_fail;
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 result = (wxStatusBar *)new wxStatusBar();
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8772 return resultobj;
8773 fail:
8774 return NULL;
8775 }
8776
8777
8778 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8779 PyObject *resultobj = 0;
8780 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8781 wxWindow *arg2 = (wxWindow *) 0 ;
8782 int arg3 = (int) -1 ;
8783 long arg4 = (long) wxST_SIZEGRIP ;
8784 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8785 wxString *arg5 = (wxString *) &arg5_defvalue ;
8786 bool result;
8787 void *argp1 = 0 ;
8788 int res1 = 0 ;
8789 void *argp2 = 0 ;
8790 int res2 = 0 ;
8791 int val3 ;
8792 int ecode3 = 0 ;
8793 long val4 ;
8794 int ecode4 = 0 ;
8795 bool temp5 = false ;
8796 PyObject * obj0 = 0 ;
8797 PyObject * obj1 = 0 ;
8798 PyObject * obj2 = 0 ;
8799 PyObject * obj3 = 0 ;
8800 PyObject * obj4 = 0 ;
8801 char * kwnames[] = {
8802 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8803 };
8804
8805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8807 if (!SWIG_IsOK(res1)) {
8808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8809 }
8810 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8811 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8812 if (!SWIG_IsOK(res2)) {
8813 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8814 }
8815 arg2 = reinterpret_cast< wxWindow * >(argp2);
8816 if (obj2) {
8817 ecode3 = SWIG_AsVal_int(obj2, &val3);
8818 if (!SWIG_IsOK(ecode3)) {
8819 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8820 }
8821 arg3 = static_cast< int >(val3);
8822 }
8823 if (obj3) {
8824 ecode4 = SWIG_AsVal_long(obj3, &val4);
8825 if (!SWIG_IsOK(ecode4)) {
8826 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8827 }
8828 arg4 = static_cast< long >(val4);
8829 }
8830 if (obj4) {
8831 {
8832 arg5 = wxString_in_helper(obj4);
8833 if (arg5 == NULL) SWIG_fail;
8834 temp5 = true;
8835 }
8836 }
8837 {
8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
8839 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8840 wxPyEndAllowThreads(__tstate);
8841 if (PyErr_Occurred()) SWIG_fail;
8842 }
8843 {
8844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8845 }
8846 {
8847 if (temp5)
8848 delete arg5;
8849 }
8850 return resultobj;
8851 fail:
8852 {
8853 if (temp5)
8854 delete arg5;
8855 }
8856 return NULL;
8857 }
8858
8859
8860 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8861 PyObject *resultobj = 0;
8862 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8863 int arg2 = (int) 1 ;
8864 void *argp1 = 0 ;
8865 int res1 = 0 ;
8866 int val2 ;
8867 int ecode2 = 0 ;
8868 PyObject * obj0 = 0 ;
8869 PyObject * obj1 = 0 ;
8870 char * kwnames[] = {
8871 (char *) "self",(char *) "number", NULL
8872 };
8873
8874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8876 if (!SWIG_IsOK(res1)) {
8877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8878 }
8879 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8880 if (obj1) {
8881 ecode2 = SWIG_AsVal_int(obj1, &val2);
8882 if (!SWIG_IsOK(ecode2)) {
8883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8884 }
8885 arg2 = static_cast< int >(val2);
8886 }
8887 {
8888 PyThreadState* __tstate = wxPyBeginAllowThreads();
8889 (arg1)->SetFieldsCount(arg2);
8890 wxPyEndAllowThreads(__tstate);
8891 if (PyErr_Occurred()) SWIG_fail;
8892 }
8893 resultobj = SWIG_Py_Void();
8894 return resultobj;
8895 fail:
8896 return NULL;
8897 }
8898
8899
8900 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8901 PyObject *resultobj = 0;
8902 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8903 int result;
8904 void *argp1 = 0 ;
8905 int res1 = 0 ;
8906 PyObject *swig_obj[1] ;
8907
8908 if (!args) SWIG_fail;
8909 swig_obj[0] = args;
8910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8911 if (!SWIG_IsOK(res1)) {
8912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8913 }
8914 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8918 wxPyEndAllowThreads(__tstate);
8919 if (PyErr_Occurred()) SWIG_fail;
8920 }
8921 resultobj = SWIG_From_int(static_cast< int >(result));
8922 return resultobj;
8923 fail:
8924 return NULL;
8925 }
8926
8927
8928 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8929 PyObject *resultobj = 0;
8930 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8931 wxString *arg2 = 0 ;
8932 int arg3 = (int) 0 ;
8933 void *argp1 = 0 ;
8934 int res1 = 0 ;
8935 bool temp2 = false ;
8936 int val3 ;
8937 int ecode3 = 0 ;
8938 PyObject * obj0 = 0 ;
8939 PyObject * obj1 = 0 ;
8940 PyObject * obj2 = 0 ;
8941 char * kwnames[] = {
8942 (char *) "self",(char *) "text",(char *) "number", NULL
8943 };
8944
8945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8947 if (!SWIG_IsOK(res1)) {
8948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8949 }
8950 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8951 {
8952 arg2 = wxString_in_helper(obj1);
8953 if (arg2 == NULL) SWIG_fail;
8954 temp2 = true;
8955 }
8956 if (obj2) {
8957 ecode3 = SWIG_AsVal_int(obj2, &val3);
8958 if (!SWIG_IsOK(ecode3)) {
8959 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8960 }
8961 arg3 = static_cast< int >(val3);
8962 }
8963 {
8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
8965 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 resultobj = SWIG_Py_Void();
8970 {
8971 if (temp2)
8972 delete arg2;
8973 }
8974 return resultobj;
8975 fail:
8976 {
8977 if (temp2)
8978 delete arg2;
8979 }
8980 return NULL;
8981 }
8982
8983
8984 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj = 0;
8986 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8987 int arg2 = (int) 0 ;
8988 wxString result;
8989 void *argp1 = 0 ;
8990 int res1 = 0 ;
8991 int val2 ;
8992 int ecode2 = 0 ;
8993 PyObject * obj0 = 0 ;
8994 PyObject * obj1 = 0 ;
8995 char * kwnames[] = {
8996 (char *) "self",(char *) "number", NULL
8997 };
8998
8999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9001 if (!SWIG_IsOK(res1)) {
9002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9003 }
9004 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9005 if (obj1) {
9006 ecode2 = SWIG_AsVal_int(obj1, &val2);
9007 if (!SWIG_IsOK(ecode2)) {
9008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9009 }
9010 arg2 = static_cast< int >(val2);
9011 }
9012 {
9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
9014 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9015 wxPyEndAllowThreads(__tstate);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 }
9018 {
9019 #if wxUSE_UNICODE
9020 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9021 #else
9022 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9023 #endif
9024 }
9025 return resultobj;
9026 fail:
9027 return NULL;
9028 }
9029
9030
9031 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9032 PyObject *resultobj = 0;
9033 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9034 wxString *arg2 = 0 ;
9035 int arg3 = (int) 0 ;
9036 void *argp1 = 0 ;
9037 int res1 = 0 ;
9038 bool temp2 = false ;
9039 int val3 ;
9040 int ecode3 = 0 ;
9041 PyObject * obj0 = 0 ;
9042 PyObject * obj1 = 0 ;
9043 PyObject * obj2 = 0 ;
9044 char * kwnames[] = {
9045 (char *) "self",(char *) "text",(char *) "number", NULL
9046 };
9047
9048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9050 if (!SWIG_IsOK(res1)) {
9051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9052 }
9053 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9054 {
9055 arg2 = wxString_in_helper(obj1);
9056 if (arg2 == NULL) SWIG_fail;
9057 temp2 = true;
9058 }
9059 if (obj2) {
9060 ecode3 = SWIG_AsVal_int(obj2, &val3);
9061 if (!SWIG_IsOK(ecode3)) {
9062 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9063 }
9064 arg3 = static_cast< int >(val3);
9065 }
9066 {
9067 PyThreadState* __tstate = wxPyBeginAllowThreads();
9068 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 resultobj = SWIG_Py_Void();
9073 {
9074 if (temp2)
9075 delete arg2;
9076 }
9077 return resultobj;
9078 fail:
9079 {
9080 if (temp2)
9081 delete arg2;
9082 }
9083 return NULL;
9084 }
9085
9086
9087 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9088 PyObject *resultobj = 0;
9089 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9090 int arg2 = (int) 0 ;
9091 void *argp1 = 0 ;
9092 int res1 = 0 ;
9093 int val2 ;
9094 int ecode2 = 0 ;
9095 PyObject * obj0 = 0 ;
9096 PyObject * obj1 = 0 ;
9097 char * kwnames[] = {
9098 (char *) "self",(char *) "number", NULL
9099 };
9100
9101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9103 if (!SWIG_IsOK(res1)) {
9104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9105 }
9106 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9107 if (obj1) {
9108 ecode2 = SWIG_AsVal_int(obj1, &val2);
9109 if (!SWIG_IsOK(ecode2)) {
9110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9111 }
9112 arg2 = static_cast< int >(val2);
9113 }
9114 {
9115 PyThreadState* __tstate = wxPyBeginAllowThreads();
9116 (arg1)->PopStatusText(arg2);
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 resultobj = SWIG_Py_Void();
9121 return resultobj;
9122 fail:
9123 return NULL;
9124 }
9125
9126
9127 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9128 PyObject *resultobj = 0;
9129 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9130 int arg2 ;
9131 int *arg3 = (int *) 0 ;
9132 void *argp1 = 0 ;
9133 int res1 = 0 ;
9134 PyObject * obj0 = 0 ;
9135 PyObject * obj1 = 0 ;
9136 char * kwnames[] = {
9137 (char *) "self",(char *) "widths", NULL
9138 };
9139
9140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9142 if (!SWIG_IsOK(res1)) {
9143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9144 }
9145 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9146 {
9147 arg2 = PyList_Size(obj1);
9148 arg3 = int_LIST_helper(obj1);
9149 if (arg3 == NULL) SWIG_fail;
9150 }
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 resultobj = SWIG_Py_Void();
9158 {
9159 if (arg3) delete [] arg3;
9160 }
9161 return resultobj;
9162 fail:
9163 {
9164 if (arg3) delete [] arg3;
9165 }
9166 return NULL;
9167 }
9168
9169
9170 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9171 PyObject *resultobj = 0;
9172 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9173 int arg2 ;
9174 int *arg3 = (int *) 0 ;
9175 void *argp1 = 0 ;
9176 int res1 = 0 ;
9177 PyObject * obj0 = 0 ;
9178 PyObject * obj1 = 0 ;
9179 char * kwnames[] = {
9180 (char *) "self",(char *) "styles", NULL
9181 };
9182
9183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9185 if (!SWIG_IsOK(res1)) {
9186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9187 }
9188 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9189 {
9190 arg2 = PyList_Size(obj1);
9191 arg3 = int_LIST_helper(obj1);
9192 if (arg3 == NULL) SWIG_fail;
9193 }
9194 {
9195 PyThreadState* __tstate = wxPyBeginAllowThreads();
9196 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9197 wxPyEndAllowThreads(__tstate);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 }
9200 resultobj = SWIG_Py_Void();
9201 {
9202 if (arg3) delete [] arg3;
9203 }
9204 return resultobj;
9205 fail:
9206 {
9207 if (arg3) delete [] arg3;
9208 }
9209 return NULL;
9210 }
9211
9212
9213 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj = 0;
9215 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9216 int arg2 ;
9217 wxRect result;
9218 void *argp1 = 0 ;
9219 int res1 = 0 ;
9220 int val2 ;
9221 int ecode2 = 0 ;
9222 PyObject * obj0 = 0 ;
9223 PyObject * obj1 = 0 ;
9224 char * kwnames[] = {
9225 (char *) "self",(char *) "i", NULL
9226 };
9227
9228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9230 if (!SWIG_IsOK(res1)) {
9231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9232 }
9233 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9234 ecode2 = SWIG_AsVal_int(obj1, &val2);
9235 if (!SWIG_IsOK(ecode2)) {
9236 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9237 }
9238 arg2 = static_cast< int >(val2);
9239 {
9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
9241 result = wxStatusBar_GetFieldRect(arg1,arg2);
9242 wxPyEndAllowThreads(__tstate);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 }
9245 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9246 return resultobj;
9247 fail:
9248 return NULL;
9249 }
9250
9251
9252 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9253 PyObject *resultobj = 0;
9254 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9255 int arg2 ;
9256 void *argp1 = 0 ;
9257 int res1 = 0 ;
9258 int val2 ;
9259 int ecode2 = 0 ;
9260 PyObject * obj0 = 0 ;
9261 PyObject * obj1 = 0 ;
9262 char * kwnames[] = {
9263 (char *) "self",(char *) "height", NULL
9264 };
9265
9266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9268 if (!SWIG_IsOK(res1)) {
9269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9270 }
9271 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9272 ecode2 = SWIG_AsVal_int(obj1, &val2);
9273 if (!SWIG_IsOK(ecode2)) {
9274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9275 }
9276 arg2 = static_cast< int >(val2);
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 (arg1)->SetMinHeight(arg2);
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 resultobj = SWIG_Py_Void();
9284 return resultobj;
9285 fail:
9286 return NULL;
9287 }
9288
9289
9290 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9291 PyObject *resultobj = 0;
9292 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9293 int result;
9294 void *argp1 = 0 ;
9295 int res1 = 0 ;
9296 PyObject *swig_obj[1] ;
9297
9298 if (!args) SWIG_fail;
9299 swig_obj[0] = args;
9300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9301 if (!SWIG_IsOK(res1)) {
9302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9303 }
9304 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9305 {
9306 PyThreadState* __tstate = wxPyBeginAllowThreads();
9307 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9308 wxPyEndAllowThreads(__tstate);
9309 if (PyErr_Occurred()) SWIG_fail;
9310 }
9311 resultobj = SWIG_From_int(static_cast< int >(result));
9312 return resultobj;
9313 fail:
9314 return NULL;
9315 }
9316
9317
9318 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9319 PyObject *resultobj = 0;
9320 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9321 int result;
9322 void *argp1 = 0 ;
9323 int res1 = 0 ;
9324 PyObject *swig_obj[1] ;
9325
9326 if (!args) SWIG_fail;
9327 swig_obj[0] = args;
9328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9329 if (!SWIG_IsOK(res1)) {
9330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9331 }
9332 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9333 {
9334 PyThreadState* __tstate = wxPyBeginAllowThreads();
9335 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 }
9339 resultobj = SWIG_From_int(static_cast< int >(result));
9340 return resultobj;
9341 fail:
9342 return NULL;
9343 }
9344
9345
9346 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9347 PyObject *resultobj = 0;
9348 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9349 SwigValueWrapper<wxVisualAttributes > result;
9350 int val1 ;
9351 int ecode1 = 0 ;
9352 PyObject * obj0 = 0 ;
9353 char * kwnames[] = {
9354 (char *) "variant", NULL
9355 };
9356
9357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9358 if (obj0) {
9359 ecode1 = SWIG_AsVal_int(obj0, &val1);
9360 if (!SWIG_IsOK(ecode1)) {
9361 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9362 }
9363 arg1 = static_cast< wxWindowVariant >(val1);
9364 }
9365 {
9366 if (!wxPyCheckForApp()) SWIG_fail;
9367 PyThreadState* __tstate = wxPyBeginAllowThreads();
9368 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9369 wxPyEndAllowThreads(__tstate);
9370 if (PyErr_Occurred()) SWIG_fail;
9371 }
9372 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9373 return resultobj;
9374 fail:
9375 return NULL;
9376 }
9377
9378
9379 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9380 PyObject *obj;
9381 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9382 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9383 return SWIG_Py_Void();
9384 }
9385
9386 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9387 return SWIG_Python_InitShadowInstance(args);
9388 }
9389
9390 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9391 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9392 return 1;
9393 }
9394
9395
9396 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9397 PyObject *pyobj = 0;
9398
9399 {
9400 #if wxUSE_UNICODE
9401 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9402 #else
9403 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9404 #endif
9405 }
9406 return pyobj;
9407 }
9408
9409
9410 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9411 PyObject *resultobj = 0;
9412 wxWindow *arg1 = (wxWindow *) 0 ;
9413 int arg2 = (int) -1 ;
9414 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9415 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9416 wxSize const &arg4_defvalue = wxDefaultSize ;
9417 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9418 long arg5 = (long) wxSP_3D ;
9419 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9420 wxString *arg6 = (wxString *) &arg6_defvalue ;
9421 wxSplitterWindow *result = 0 ;
9422 void *argp1 = 0 ;
9423 int res1 = 0 ;
9424 int val2 ;
9425 int ecode2 = 0 ;
9426 wxPoint temp3 ;
9427 wxSize temp4 ;
9428 long val5 ;
9429 int ecode5 = 0 ;
9430 bool temp6 = false ;
9431 PyObject * obj0 = 0 ;
9432 PyObject * obj1 = 0 ;
9433 PyObject * obj2 = 0 ;
9434 PyObject * obj3 = 0 ;
9435 PyObject * obj4 = 0 ;
9436 PyObject * obj5 = 0 ;
9437 char * kwnames[] = {
9438 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9439 };
9440
9441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9443 if (!SWIG_IsOK(res1)) {
9444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9445 }
9446 arg1 = reinterpret_cast< wxWindow * >(argp1);
9447 if (obj1) {
9448 ecode2 = SWIG_AsVal_int(obj1, &val2);
9449 if (!SWIG_IsOK(ecode2)) {
9450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9451 }
9452 arg2 = static_cast< int >(val2);
9453 }
9454 if (obj2) {
9455 {
9456 arg3 = &temp3;
9457 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9458 }
9459 }
9460 if (obj3) {
9461 {
9462 arg4 = &temp4;
9463 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9464 }
9465 }
9466 if (obj4) {
9467 ecode5 = SWIG_AsVal_long(obj4, &val5);
9468 if (!SWIG_IsOK(ecode5)) {
9469 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9470 }
9471 arg5 = static_cast< long >(val5);
9472 }
9473 if (obj5) {
9474 {
9475 arg6 = wxString_in_helper(obj5);
9476 if (arg6 == NULL) SWIG_fail;
9477 temp6 = true;
9478 }
9479 }
9480 {
9481 if (!wxPyCheckForApp()) SWIG_fail;
9482 PyThreadState* __tstate = wxPyBeginAllowThreads();
9483 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9488 {
9489 if (temp6)
9490 delete arg6;
9491 }
9492 return resultobj;
9493 fail:
9494 {
9495 if (temp6)
9496 delete arg6;
9497 }
9498 return NULL;
9499 }
9500
9501
9502 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9503 PyObject *resultobj = 0;
9504 wxSplitterWindow *result = 0 ;
9505
9506 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9507 {
9508 if (!wxPyCheckForApp()) SWIG_fail;
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 result = (wxSplitterWindow *)new wxSplitterWindow();
9511 wxPyEndAllowThreads(__tstate);
9512 if (PyErr_Occurred()) SWIG_fail;
9513 }
9514 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9515 return resultobj;
9516 fail:
9517 return NULL;
9518 }
9519
9520
9521 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9522 PyObject *resultobj = 0;
9523 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9524 wxWindow *arg2 = (wxWindow *) 0 ;
9525 int arg3 = (int) -1 ;
9526 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9527 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9528 wxSize const &arg5_defvalue = wxDefaultSize ;
9529 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9530 long arg6 = (long) wxSP_3D ;
9531 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9532 wxString *arg7 = (wxString *) &arg7_defvalue ;
9533 bool result;
9534 void *argp1 = 0 ;
9535 int res1 = 0 ;
9536 void *argp2 = 0 ;
9537 int res2 = 0 ;
9538 int val3 ;
9539 int ecode3 = 0 ;
9540 wxPoint temp4 ;
9541 wxSize temp5 ;
9542 long val6 ;
9543 int ecode6 = 0 ;
9544 bool temp7 = false ;
9545 PyObject * obj0 = 0 ;
9546 PyObject * obj1 = 0 ;
9547 PyObject * obj2 = 0 ;
9548 PyObject * obj3 = 0 ;
9549 PyObject * obj4 = 0 ;
9550 PyObject * obj5 = 0 ;
9551 PyObject * obj6 = 0 ;
9552 char * kwnames[] = {
9553 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9554 };
9555
9556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9558 if (!SWIG_IsOK(res1)) {
9559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9560 }
9561 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9562 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9563 if (!SWIG_IsOK(res2)) {
9564 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9565 }
9566 arg2 = reinterpret_cast< wxWindow * >(argp2);
9567 if (obj2) {
9568 ecode3 = SWIG_AsVal_int(obj2, &val3);
9569 if (!SWIG_IsOK(ecode3)) {
9570 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9571 }
9572 arg3 = static_cast< int >(val3);
9573 }
9574 if (obj3) {
9575 {
9576 arg4 = &temp4;
9577 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9578 }
9579 }
9580 if (obj4) {
9581 {
9582 arg5 = &temp5;
9583 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9584 }
9585 }
9586 if (obj5) {
9587 ecode6 = SWIG_AsVal_long(obj5, &val6);
9588 if (!SWIG_IsOK(ecode6)) {
9589 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9590 }
9591 arg6 = static_cast< long >(val6);
9592 }
9593 if (obj6) {
9594 {
9595 arg7 = wxString_in_helper(obj6);
9596 if (arg7 == NULL) SWIG_fail;
9597 temp7 = true;
9598 }
9599 }
9600 {
9601 PyThreadState* __tstate = wxPyBeginAllowThreads();
9602 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
9606 {
9607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9608 }
9609 {
9610 if (temp7)
9611 delete arg7;
9612 }
9613 return resultobj;
9614 fail:
9615 {
9616 if (temp7)
9617 delete arg7;
9618 }
9619 return NULL;
9620 }
9621
9622
9623 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9624 PyObject *resultobj = 0;
9625 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9626 wxWindow *result = 0 ;
9627 void *argp1 = 0 ;
9628 int res1 = 0 ;
9629 PyObject *swig_obj[1] ;
9630
9631 if (!args) SWIG_fail;
9632 swig_obj[0] = args;
9633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9634 if (!SWIG_IsOK(res1)) {
9635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9636 }
9637 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9638 {
9639 PyThreadState* __tstate = wxPyBeginAllowThreads();
9640 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9641 wxPyEndAllowThreads(__tstate);
9642 if (PyErr_Occurred()) SWIG_fail;
9643 }
9644 {
9645 resultobj = wxPyMake_wxObject(result, 0);
9646 }
9647 return resultobj;
9648 fail:
9649 return NULL;
9650 }
9651
9652
9653 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9654 PyObject *resultobj = 0;
9655 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9656 wxWindow *result = 0 ;
9657 void *argp1 = 0 ;
9658 int res1 = 0 ;
9659 PyObject *swig_obj[1] ;
9660
9661 if (!args) SWIG_fail;
9662 swig_obj[0] = args;
9663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9664 if (!SWIG_IsOK(res1)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9666 }
9667 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9668 {
9669 PyThreadState* __tstate = wxPyBeginAllowThreads();
9670 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9671 wxPyEndAllowThreads(__tstate);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 }
9674 {
9675 resultobj = wxPyMake_wxObject(result, 0);
9676 }
9677 return resultobj;
9678 fail:
9679 return NULL;
9680 }
9681
9682
9683 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9684 PyObject *resultobj = 0;
9685 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9686 int arg2 ;
9687 void *argp1 = 0 ;
9688 int res1 = 0 ;
9689 int val2 ;
9690 int ecode2 = 0 ;
9691 PyObject * obj0 = 0 ;
9692 PyObject * obj1 = 0 ;
9693 char * kwnames[] = {
9694 (char *) "self",(char *) "mode", NULL
9695 };
9696
9697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9699 if (!SWIG_IsOK(res1)) {
9700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9701 }
9702 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9703 ecode2 = SWIG_AsVal_int(obj1, &val2);
9704 if (!SWIG_IsOK(ecode2)) {
9705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9706 }
9707 arg2 = static_cast< int >(val2);
9708 {
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 (arg1)->SetSplitMode(arg2);
9711 wxPyEndAllowThreads(__tstate);
9712 if (PyErr_Occurred()) SWIG_fail;
9713 }
9714 resultobj = SWIG_Py_Void();
9715 return resultobj;
9716 fail:
9717 return NULL;
9718 }
9719
9720
9721 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9722 PyObject *resultobj = 0;
9723 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9724 wxSplitMode result;
9725 void *argp1 = 0 ;
9726 int res1 = 0 ;
9727 PyObject *swig_obj[1] ;
9728
9729 if (!args) SWIG_fail;
9730 swig_obj[0] = args;
9731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9732 if (!SWIG_IsOK(res1)) {
9733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9734 }
9735 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9736 {
9737 PyThreadState* __tstate = wxPyBeginAllowThreads();
9738 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9739 wxPyEndAllowThreads(__tstate);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 }
9742 resultobj = SWIG_From_int(static_cast< int >(result));
9743 return resultobj;
9744 fail:
9745 return NULL;
9746 }
9747
9748
9749 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9750 PyObject *resultobj = 0;
9751 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9752 wxWindow *arg2 = (wxWindow *) 0 ;
9753 void *argp1 = 0 ;
9754 int res1 = 0 ;
9755 void *argp2 = 0 ;
9756 int res2 = 0 ;
9757 PyObject * obj0 = 0 ;
9758 PyObject * obj1 = 0 ;
9759 char * kwnames[] = {
9760 (char *) "self",(char *) "window", NULL
9761 };
9762
9763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9765 if (!SWIG_IsOK(res1)) {
9766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9767 }
9768 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9769 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9770 if (!SWIG_IsOK(res2)) {
9771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9772 }
9773 arg2 = reinterpret_cast< wxWindow * >(argp2);
9774 {
9775 PyThreadState* __tstate = wxPyBeginAllowThreads();
9776 (arg1)->Initialize(arg2);
9777 wxPyEndAllowThreads(__tstate);
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 resultobj = SWIG_Py_Void();
9781 return resultobj;
9782 fail:
9783 return NULL;
9784 }
9785
9786
9787 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9788 PyObject *resultobj = 0;
9789 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9790 wxWindow *arg2 = (wxWindow *) 0 ;
9791 wxWindow *arg3 = (wxWindow *) 0 ;
9792 int arg4 = (int) 0 ;
9793 bool result;
9794 void *argp1 = 0 ;
9795 int res1 = 0 ;
9796 void *argp2 = 0 ;
9797 int res2 = 0 ;
9798 void *argp3 = 0 ;
9799 int res3 = 0 ;
9800 int val4 ;
9801 int ecode4 = 0 ;
9802 PyObject * obj0 = 0 ;
9803 PyObject * obj1 = 0 ;
9804 PyObject * obj2 = 0 ;
9805 PyObject * obj3 = 0 ;
9806 char * kwnames[] = {
9807 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9808 };
9809
9810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9812 if (!SWIG_IsOK(res1)) {
9813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9814 }
9815 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9816 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9817 if (!SWIG_IsOK(res2)) {
9818 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9819 }
9820 arg2 = reinterpret_cast< wxWindow * >(argp2);
9821 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9822 if (!SWIG_IsOK(res3)) {
9823 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9824 }
9825 arg3 = reinterpret_cast< wxWindow * >(argp3);
9826 if (obj3) {
9827 ecode4 = SWIG_AsVal_int(obj3, &val4);
9828 if (!SWIG_IsOK(ecode4)) {
9829 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9830 }
9831 arg4 = static_cast< int >(val4);
9832 }
9833 {
9834 PyThreadState* __tstate = wxPyBeginAllowThreads();
9835 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9836 wxPyEndAllowThreads(__tstate);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
9839 {
9840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9841 }
9842 return resultobj;
9843 fail:
9844 return NULL;
9845 }
9846
9847
9848 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9849 PyObject *resultobj = 0;
9850 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9851 wxWindow *arg2 = (wxWindow *) 0 ;
9852 wxWindow *arg3 = (wxWindow *) 0 ;
9853 int arg4 = (int) 0 ;
9854 bool result;
9855 void *argp1 = 0 ;
9856 int res1 = 0 ;
9857 void *argp2 = 0 ;
9858 int res2 = 0 ;
9859 void *argp3 = 0 ;
9860 int res3 = 0 ;
9861 int val4 ;
9862 int ecode4 = 0 ;
9863 PyObject * obj0 = 0 ;
9864 PyObject * obj1 = 0 ;
9865 PyObject * obj2 = 0 ;
9866 PyObject * obj3 = 0 ;
9867 char * kwnames[] = {
9868 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9869 };
9870
9871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9873 if (!SWIG_IsOK(res1)) {
9874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9875 }
9876 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9877 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9878 if (!SWIG_IsOK(res2)) {
9879 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9880 }
9881 arg2 = reinterpret_cast< wxWindow * >(argp2);
9882 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9883 if (!SWIG_IsOK(res3)) {
9884 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9885 }
9886 arg3 = reinterpret_cast< wxWindow * >(argp3);
9887 if (obj3) {
9888 ecode4 = SWIG_AsVal_int(obj3, &val4);
9889 if (!SWIG_IsOK(ecode4)) {
9890 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9891 }
9892 arg4 = static_cast< int >(val4);
9893 }
9894 {
9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
9896 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9897 wxPyEndAllowThreads(__tstate);
9898 if (PyErr_Occurred()) SWIG_fail;
9899 }
9900 {
9901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9902 }
9903 return resultobj;
9904 fail:
9905 return NULL;
9906 }
9907
9908
9909 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9910 PyObject *resultobj = 0;
9911 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9912 wxWindow *arg2 = (wxWindow *) NULL ;
9913 bool result;
9914 void *argp1 = 0 ;
9915 int res1 = 0 ;
9916 void *argp2 = 0 ;
9917 int res2 = 0 ;
9918 PyObject * obj0 = 0 ;
9919 PyObject * obj1 = 0 ;
9920 char * kwnames[] = {
9921 (char *) "self",(char *) "toRemove", NULL
9922 };
9923
9924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9926 if (!SWIG_IsOK(res1)) {
9927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9928 }
9929 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9930 if (obj1) {
9931 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9932 if (!SWIG_IsOK(res2)) {
9933 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9934 }
9935 arg2 = reinterpret_cast< wxWindow * >(argp2);
9936 }
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 result = (bool)(arg1)->Unsplit(arg2);
9940 wxPyEndAllowThreads(__tstate);
9941 if (PyErr_Occurred()) SWIG_fail;
9942 }
9943 {
9944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9945 }
9946 return resultobj;
9947 fail:
9948 return NULL;
9949 }
9950
9951
9952 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9953 PyObject *resultobj = 0;
9954 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9955 wxWindow *arg2 = (wxWindow *) 0 ;
9956 wxWindow *arg3 = (wxWindow *) 0 ;
9957 bool result;
9958 void *argp1 = 0 ;
9959 int res1 = 0 ;
9960 void *argp2 = 0 ;
9961 int res2 = 0 ;
9962 void *argp3 = 0 ;
9963 int res3 = 0 ;
9964 PyObject * obj0 = 0 ;
9965 PyObject * obj1 = 0 ;
9966 PyObject * obj2 = 0 ;
9967 char * kwnames[] = {
9968 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9969 };
9970
9971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9973 if (!SWIG_IsOK(res1)) {
9974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9975 }
9976 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9977 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9978 if (!SWIG_IsOK(res2)) {
9979 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9980 }
9981 arg2 = reinterpret_cast< wxWindow * >(argp2);
9982 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9983 if (!SWIG_IsOK(res3)) {
9984 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9985 }
9986 arg3 = reinterpret_cast< wxWindow * >(argp3);
9987 {
9988 PyThreadState* __tstate = wxPyBeginAllowThreads();
9989 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9990 wxPyEndAllowThreads(__tstate);
9991 if (PyErr_Occurred()) SWIG_fail;
9992 }
9993 {
9994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9995 }
9996 return resultobj;
9997 fail:
9998 return NULL;
9999 }
10000
10001
10002 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10003 PyObject *resultobj = 0;
10004 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10005 void *argp1 = 0 ;
10006 int res1 = 0 ;
10007 PyObject *swig_obj[1] ;
10008
10009 if (!args) SWIG_fail;
10010 swig_obj[0] = args;
10011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10012 if (!SWIG_IsOK(res1)) {
10013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10014 }
10015 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10016 {
10017 PyThreadState* __tstate = wxPyBeginAllowThreads();
10018 (arg1)->UpdateSize();
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 }
10022 resultobj = SWIG_Py_Void();
10023 return resultobj;
10024 fail:
10025 return NULL;
10026 }
10027
10028
10029 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10030 PyObject *resultobj = 0;
10031 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10032 bool result;
10033 void *argp1 = 0 ;
10034 int res1 = 0 ;
10035 PyObject *swig_obj[1] ;
10036
10037 if (!args) SWIG_fail;
10038 swig_obj[0] = args;
10039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10040 if (!SWIG_IsOK(res1)) {
10041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10042 }
10043 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10047 wxPyEndAllowThreads(__tstate);
10048 if (PyErr_Occurred()) SWIG_fail;
10049 }
10050 {
10051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10052 }
10053 return resultobj;
10054 fail:
10055 return NULL;
10056 }
10057
10058
10059 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10060 PyObject *resultobj = 0;
10061 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10062 int arg2 ;
10063 void *argp1 = 0 ;
10064 int res1 = 0 ;
10065 int val2 ;
10066 int ecode2 = 0 ;
10067 PyObject * obj0 = 0 ;
10068 PyObject * obj1 = 0 ;
10069 char * kwnames[] = {
10070 (char *) "self",(char *) "width", NULL
10071 };
10072
10073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10075 if (!SWIG_IsOK(res1)) {
10076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10077 }
10078 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10079 ecode2 = SWIG_AsVal_int(obj1, &val2);
10080 if (!SWIG_IsOK(ecode2)) {
10081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10082 }
10083 arg2 = static_cast< int >(val2);
10084 {
10085 PyThreadState* __tstate = wxPyBeginAllowThreads();
10086 (arg1)->SetSashSize(arg2);
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 resultobj = SWIG_Py_Void();
10091 return resultobj;
10092 fail:
10093 return NULL;
10094 }
10095
10096
10097 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10098 PyObject *resultobj = 0;
10099 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10100 int arg2 ;
10101 void *argp1 = 0 ;
10102 int res1 = 0 ;
10103 int val2 ;
10104 int ecode2 = 0 ;
10105 PyObject * obj0 = 0 ;
10106 PyObject * obj1 = 0 ;
10107 char * kwnames[] = {
10108 (char *) "self",(char *) "width", NULL
10109 };
10110
10111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10113 if (!SWIG_IsOK(res1)) {
10114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10115 }
10116 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10117 ecode2 = SWIG_AsVal_int(obj1, &val2);
10118 if (!SWIG_IsOK(ecode2)) {
10119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10120 }
10121 arg2 = static_cast< int >(val2);
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 (arg1)->SetBorderSize(arg2);
10125 wxPyEndAllowThreads(__tstate);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 }
10128 resultobj = SWIG_Py_Void();
10129 return resultobj;
10130 fail:
10131 return NULL;
10132 }
10133
10134
10135 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10136 PyObject *resultobj = 0;
10137 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10138 int result;
10139 void *argp1 = 0 ;
10140 int res1 = 0 ;
10141 PyObject *swig_obj[1] ;
10142
10143 if (!args) SWIG_fail;
10144 swig_obj[0] = args;
10145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10146 if (!SWIG_IsOK(res1)) {
10147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10148 }
10149 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10150 {
10151 PyThreadState* __tstate = wxPyBeginAllowThreads();
10152 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10153 wxPyEndAllowThreads(__tstate);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 }
10156 resultobj = SWIG_From_int(static_cast< int >(result));
10157 return resultobj;
10158 fail:
10159 return NULL;
10160 }
10161
10162
10163 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10164 PyObject *resultobj = 0;
10165 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10166 int result;
10167 void *argp1 = 0 ;
10168 int res1 = 0 ;
10169 PyObject *swig_obj[1] ;
10170
10171 if (!args) SWIG_fail;
10172 swig_obj[0] = args;
10173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10174 if (!SWIG_IsOK(res1)) {
10175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10176 }
10177 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10178 {
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 resultobj = SWIG_From_int(static_cast< int >(result));
10185 return resultobj;
10186 fail:
10187 return NULL;
10188 }
10189
10190
10191 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10192 PyObject *resultobj = 0;
10193 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10194 int arg2 ;
10195 bool arg3 = (bool) true ;
10196 void *argp1 = 0 ;
10197 int res1 = 0 ;
10198 int val2 ;
10199 int ecode2 = 0 ;
10200 bool val3 ;
10201 int ecode3 = 0 ;
10202 PyObject * obj0 = 0 ;
10203 PyObject * obj1 = 0 ;
10204 PyObject * obj2 = 0 ;
10205 char * kwnames[] = {
10206 (char *) "self",(char *) "position",(char *) "redraw", NULL
10207 };
10208
10209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10211 if (!SWIG_IsOK(res1)) {
10212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10213 }
10214 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10215 ecode2 = SWIG_AsVal_int(obj1, &val2);
10216 if (!SWIG_IsOK(ecode2)) {
10217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10218 }
10219 arg2 = static_cast< int >(val2);
10220 if (obj2) {
10221 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10222 if (!SWIG_IsOK(ecode3)) {
10223 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10224 }
10225 arg3 = static_cast< bool >(val3);
10226 }
10227 {
10228 PyThreadState* __tstate = wxPyBeginAllowThreads();
10229 (arg1)->SetSashPosition(arg2,arg3);
10230 wxPyEndAllowThreads(__tstate);
10231 if (PyErr_Occurred()) SWIG_fail;
10232 }
10233 resultobj = SWIG_Py_Void();
10234 return resultobj;
10235 fail:
10236 return NULL;
10237 }
10238
10239
10240 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10241 PyObject *resultobj = 0;
10242 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10243 int result;
10244 void *argp1 = 0 ;
10245 int res1 = 0 ;
10246 PyObject *swig_obj[1] ;
10247
10248 if (!args) SWIG_fail;
10249 swig_obj[0] = args;
10250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10251 if (!SWIG_IsOK(res1)) {
10252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10253 }
10254 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10258 wxPyEndAllowThreads(__tstate);
10259 if (PyErr_Occurred()) SWIG_fail;
10260 }
10261 resultobj = SWIG_From_int(static_cast< int >(result));
10262 return resultobj;
10263 fail:
10264 return NULL;
10265 }
10266
10267
10268 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10269 PyObject *resultobj = 0;
10270 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10271 double arg2 ;
10272 void *argp1 = 0 ;
10273 int res1 = 0 ;
10274 double val2 ;
10275 int ecode2 = 0 ;
10276 PyObject * obj0 = 0 ;
10277 PyObject * obj1 = 0 ;
10278 char * kwnames[] = {
10279 (char *) "self",(char *) "gravity", NULL
10280 };
10281
10282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10284 if (!SWIG_IsOK(res1)) {
10285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10286 }
10287 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10288 ecode2 = SWIG_AsVal_double(obj1, &val2);
10289 if (!SWIG_IsOK(ecode2)) {
10290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10291 }
10292 arg2 = static_cast< double >(val2);
10293 {
10294 PyThreadState* __tstate = wxPyBeginAllowThreads();
10295 (arg1)->SetSashGravity(arg2);
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
10299 resultobj = SWIG_Py_Void();
10300 return resultobj;
10301 fail:
10302 return NULL;
10303 }
10304
10305
10306 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10307 PyObject *resultobj = 0;
10308 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10309 double result;
10310 void *argp1 = 0 ;
10311 int res1 = 0 ;
10312 PyObject *swig_obj[1] ;
10313
10314 if (!args) SWIG_fail;
10315 swig_obj[0] = args;
10316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10317 if (!SWIG_IsOK(res1)) {
10318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10319 }
10320 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10321 {
10322 PyThreadState* __tstate = wxPyBeginAllowThreads();
10323 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10324 wxPyEndAllowThreads(__tstate);
10325 if (PyErr_Occurred()) SWIG_fail;
10326 }
10327 resultobj = SWIG_From_double(static_cast< double >(result));
10328 return resultobj;
10329 fail:
10330 return NULL;
10331 }
10332
10333
10334 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10335 PyObject *resultobj = 0;
10336 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10337 int arg2 ;
10338 void *argp1 = 0 ;
10339 int res1 = 0 ;
10340 int val2 ;
10341 int ecode2 = 0 ;
10342 PyObject * obj0 = 0 ;
10343 PyObject * obj1 = 0 ;
10344 char * kwnames[] = {
10345 (char *) "self",(char *) "min", NULL
10346 };
10347
10348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10350 if (!SWIG_IsOK(res1)) {
10351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10352 }
10353 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10354 ecode2 = SWIG_AsVal_int(obj1, &val2);
10355 if (!SWIG_IsOK(ecode2)) {
10356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10357 }
10358 arg2 = static_cast< int >(val2);
10359 {
10360 PyThreadState* __tstate = wxPyBeginAllowThreads();
10361 (arg1)->SetMinimumPaneSize(arg2);
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 resultobj = SWIG_Py_Void();
10366 return resultobj;
10367 fail:
10368 return NULL;
10369 }
10370
10371
10372 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10373 PyObject *resultobj = 0;
10374 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10375 int result;
10376 void *argp1 = 0 ;
10377 int res1 = 0 ;
10378 PyObject *swig_obj[1] ;
10379
10380 if (!args) SWIG_fail;
10381 swig_obj[0] = args;
10382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10383 if (!SWIG_IsOK(res1)) {
10384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10385 }
10386 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10387 {
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
10389 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 resultobj = SWIG_From_int(static_cast< int >(result));
10394 return resultobj;
10395 fail:
10396 return NULL;
10397 }
10398
10399
10400 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10401 PyObject *resultobj = 0;
10402 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10403 int arg2 ;
10404 int arg3 ;
10405 int arg4 = (int) 5 ;
10406 bool result;
10407 void *argp1 = 0 ;
10408 int res1 = 0 ;
10409 int val2 ;
10410 int ecode2 = 0 ;
10411 int val3 ;
10412 int ecode3 = 0 ;
10413 int val4 ;
10414 int ecode4 = 0 ;
10415 PyObject * obj0 = 0 ;
10416 PyObject * obj1 = 0 ;
10417 PyObject * obj2 = 0 ;
10418 PyObject * obj3 = 0 ;
10419 char * kwnames[] = {
10420 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10421 };
10422
10423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10425 if (!SWIG_IsOK(res1)) {
10426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10427 }
10428 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10429 ecode2 = SWIG_AsVal_int(obj1, &val2);
10430 if (!SWIG_IsOK(ecode2)) {
10431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10432 }
10433 arg2 = static_cast< int >(val2);
10434 ecode3 = SWIG_AsVal_int(obj2, &val3);
10435 if (!SWIG_IsOK(ecode3)) {
10436 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10437 }
10438 arg3 = static_cast< int >(val3);
10439 if (obj3) {
10440 ecode4 = SWIG_AsVal_int(obj3, &val4);
10441 if (!SWIG_IsOK(ecode4)) {
10442 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10443 }
10444 arg4 = static_cast< int >(val4);
10445 }
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10449 wxPyEndAllowThreads(__tstate);
10450 if (PyErr_Occurred()) SWIG_fail;
10451 }
10452 {
10453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10454 }
10455 return resultobj;
10456 fail:
10457 return NULL;
10458 }
10459
10460
10461 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10462 PyObject *resultobj = 0;
10463 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10464 void *argp1 = 0 ;
10465 int res1 = 0 ;
10466 PyObject *swig_obj[1] ;
10467
10468 if (!args) SWIG_fail;
10469 swig_obj[0] = args;
10470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10471 if (!SWIG_IsOK(res1)) {
10472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10473 }
10474 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10475 {
10476 PyThreadState* __tstate = wxPyBeginAllowThreads();
10477 (arg1)->SizeWindows();
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
10481 resultobj = SWIG_Py_Void();
10482 return resultobj;
10483 fail:
10484 return NULL;
10485 }
10486
10487
10488 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10489 PyObject *resultobj = 0;
10490 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10491 bool arg2 ;
10492 void *argp1 = 0 ;
10493 int res1 = 0 ;
10494 bool val2 ;
10495 int ecode2 = 0 ;
10496 PyObject * obj0 = 0 ;
10497 PyObject * obj1 = 0 ;
10498 char * kwnames[] = {
10499 (char *) "self",(char *) "needUpdating", NULL
10500 };
10501
10502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10504 if (!SWIG_IsOK(res1)) {
10505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10506 }
10507 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10508 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10509 if (!SWIG_IsOK(ecode2)) {
10510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10511 }
10512 arg2 = static_cast< bool >(val2);
10513 {
10514 PyThreadState* __tstate = wxPyBeginAllowThreads();
10515 (arg1)->SetNeedUpdating(arg2);
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 resultobj = SWIG_Py_Void();
10520 return resultobj;
10521 fail:
10522 return NULL;
10523 }
10524
10525
10526 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10527 PyObject *resultobj = 0;
10528 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10529 bool result;
10530 void *argp1 = 0 ;
10531 int res1 = 0 ;
10532 PyObject *swig_obj[1] ;
10533
10534 if (!args) SWIG_fail;
10535 swig_obj[0] = args;
10536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10537 if (!SWIG_IsOK(res1)) {
10538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10539 }
10540 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10541 {
10542 PyThreadState* __tstate = wxPyBeginAllowThreads();
10543 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10544 wxPyEndAllowThreads(__tstate);
10545 if (PyErr_Occurred()) SWIG_fail;
10546 }
10547 {
10548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10549 }
10550 return resultobj;
10551 fail:
10552 return NULL;
10553 }
10554
10555
10556 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10557 PyObject *resultobj = 0;
10558 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10559 SwigValueWrapper<wxVisualAttributes > result;
10560 int val1 ;
10561 int ecode1 = 0 ;
10562 PyObject * obj0 = 0 ;
10563 char * kwnames[] = {
10564 (char *) "variant", NULL
10565 };
10566
10567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10568 if (obj0) {
10569 ecode1 = SWIG_AsVal_int(obj0, &val1);
10570 if (!SWIG_IsOK(ecode1)) {
10571 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10572 }
10573 arg1 = static_cast< wxWindowVariant >(val1);
10574 }
10575 {
10576 if (!wxPyCheckForApp()) SWIG_fail;
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10579 wxPyEndAllowThreads(__tstate);
10580 if (PyErr_Occurred()) SWIG_fail;
10581 }
10582 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10583 return resultobj;
10584 fail:
10585 return NULL;
10586 }
10587
10588
10589 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10590 PyObject *obj;
10591 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10592 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10593 return SWIG_Py_Void();
10594 }
10595
10596 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10597 return SWIG_Python_InitShadowInstance(args);
10598 }
10599
10600 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10601 PyObject *resultobj = 0;
10602 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10603 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10604 wxSplitterEvent *result = 0 ;
10605 int val1 ;
10606 int ecode1 = 0 ;
10607 void *argp2 = 0 ;
10608 int res2 = 0 ;
10609 PyObject * obj0 = 0 ;
10610 PyObject * obj1 = 0 ;
10611 char * kwnames[] = {
10612 (char *) "type",(char *) "splitter", NULL
10613 };
10614
10615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10616 if (obj0) {
10617 ecode1 = SWIG_AsVal_int(obj0, &val1);
10618 if (!SWIG_IsOK(ecode1)) {
10619 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10620 }
10621 arg1 = static_cast< wxEventType >(val1);
10622 }
10623 if (obj1) {
10624 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10625 if (!SWIG_IsOK(res2)) {
10626 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10627 }
10628 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10629 }
10630 {
10631 PyThreadState* __tstate = wxPyBeginAllowThreads();
10632 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10633 wxPyEndAllowThreads(__tstate);
10634 if (PyErr_Occurred()) SWIG_fail;
10635 }
10636 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10637 return resultobj;
10638 fail:
10639 return NULL;
10640 }
10641
10642
10643 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10644 PyObject *resultobj = 0;
10645 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10646 int arg2 ;
10647 void *argp1 = 0 ;
10648 int res1 = 0 ;
10649 int val2 ;
10650 int ecode2 = 0 ;
10651 PyObject * obj0 = 0 ;
10652 PyObject * obj1 = 0 ;
10653 char * kwnames[] = {
10654 (char *) "self",(char *) "pos", NULL
10655 };
10656
10657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10659 if (!SWIG_IsOK(res1)) {
10660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10661 }
10662 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10663 ecode2 = SWIG_AsVal_int(obj1, &val2);
10664 if (!SWIG_IsOK(ecode2)) {
10665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10666 }
10667 arg2 = static_cast< int >(val2);
10668 {
10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
10670 (arg1)->SetSashPosition(arg2);
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 resultobj = SWIG_Py_Void();
10675 return resultobj;
10676 fail:
10677 return NULL;
10678 }
10679
10680
10681 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10682 PyObject *resultobj = 0;
10683 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10684 int result;
10685 void *argp1 = 0 ;
10686 int res1 = 0 ;
10687 PyObject *swig_obj[1] ;
10688
10689 if (!args) SWIG_fail;
10690 swig_obj[0] = args;
10691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10692 if (!SWIG_IsOK(res1)) {
10693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10694 }
10695 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10696 {
10697 PyThreadState* __tstate = wxPyBeginAllowThreads();
10698 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 resultobj = SWIG_From_int(static_cast< int >(result));
10703 return resultobj;
10704 fail:
10705 return NULL;
10706 }
10707
10708
10709 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10710 PyObject *resultobj = 0;
10711 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10712 wxWindow *result = 0 ;
10713 void *argp1 = 0 ;
10714 int res1 = 0 ;
10715 PyObject *swig_obj[1] ;
10716
10717 if (!args) SWIG_fail;
10718 swig_obj[0] = args;
10719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10720 if (!SWIG_IsOK(res1)) {
10721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10722 }
10723 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10724 {
10725 PyThreadState* __tstate = wxPyBeginAllowThreads();
10726 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 {
10731 resultobj = wxPyMake_wxObject(result, 0);
10732 }
10733 return resultobj;
10734 fail:
10735 return NULL;
10736 }
10737
10738
10739 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10740 PyObject *resultobj = 0;
10741 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10742 int result;
10743 void *argp1 = 0 ;
10744 int res1 = 0 ;
10745 PyObject *swig_obj[1] ;
10746
10747 if (!args) SWIG_fail;
10748 swig_obj[0] = args;
10749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10750 if (!SWIG_IsOK(res1)) {
10751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10752 }
10753 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10754 {
10755 PyThreadState* __tstate = wxPyBeginAllowThreads();
10756 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10757 wxPyEndAllowThreads(__tstate);
10758 if (PyErr_Occurred()) SWIG_fail;
10759 }
10760 resultobj = SWIG_From_int(static_cast< int >(result));
10761 return resultobj;
10762 fail:
10763 return NULL;
10764 }
10765
10766
10767 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10768 PyObject *resultobj = 0;
10769 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10770 int result;
10771 void *argp1 = 0 ;
10772 int res1 = 0 ;
10773 PyObject *swig_obj[1] ;
10774
10775 if (!args) SWIG_fail;
10776 swig_obj[0] = args;
10777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10778 if (!SWIG_IsOK(res1)) {
10779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10780 }
10781 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10782 {
10783 PyThreadState* __tstate = wxPyBeginAllowThreads();
10784 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10785 wxPyEndAllowThreads(__tstate);
10786 if (PyErr_Occurred()) SWIG_fail;
10787 }
10788 resultobj = SWIG_From_int(static_cast< int >(result));
10789 return resultobj;
10790 fail:
10791 return NULL;
10792 }
10793
10794
10795 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10796 PyObject *obj;
10797 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10798 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10799 return SWIG_Py_Void();
10800 }
10801
10802 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10803 return SWIG_Python_InitShadowInstance(args);
10804 }
10805
10806 SWIGINTERN int SashNameStr_set(PyObject *) {
10807 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10808 return 1;
10809 }
10810
10811
10812 SWIGINTERN PyObject *SashNameStr_get(void) {
10813 PyObject *pyobj = 0;
10814
10815 {
10816 #if wxUSE_UNICODE
10817 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10818 #else
10819 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10820 #endif
10821 }
10822 return pyobj;
10823 }
10824
10825
10826 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10827 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10828 return 1;
10829 }
10830
10831
10832 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10833 PyObject *pyobj = 0;
10834
10835 {
10836 #if wxUSE_UNICODE
10837 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10838 #else
10839 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10840 #endif
10841 }
10842 return pyobj;
10843 }
10844
10845
10846 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10847 PyObject *resultobj = 0;
10848 wxWindow *arg1 = (wxWindow *) 0 ;
10849 int arg2 = (int) -1 ;
10850 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10851 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10852 wxSize const &arg4_defvalue = wxDefaultSize ;
10853 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10854 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10855 wxString const &arg6_defvalue = wxPySashNameStr ;
10856 wxString *arg6 = (wxString *) &arg6_defvalue ;
10857 wxSashWindow *result = 0 ;
10858 void *argp1 = 0 ;
10859 int res1 = 0 ;
10860 int val2 ;
10861 int ecode2 = 0 ;
10862 wxPoint temp3 ;
10863 wxSize temp4 ;
10864 long val5 ;
10865 int ecode5 = 0 ;
10866 bool temp6 = false ;
10867 PyObject * obj0 = 0 ;
10868 PyObject * obj1 = 0 ;
10869 PyObject * obj2 = 0 ;
10870 PyObject * obj3 = 0 ;
10871 PyObject * obj4 = 0 ;
10872 PyObject * obj5 = 0 ;
10873 char * kwnames[] = {
10874 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10875 };
10876
10877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10879 if (!SWIG_IsOK(res1)) {
10880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10881 }
10882 arg1 = reinterpret_cast< wxWindow * >(argp1);
10883 if (obj1) {
10884 ecode2 = SWIG_AsVal_int(obj1, &val2);
10885 if (!SWIG_IsOK(ecode2)) {
10886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10887 }
10888 arg2 = static_cast< int >(val2);
10889 }
10890 if (obj2) {
10891 {
10892 arg3 = &temp3;
10893 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10894 }
10895 }
10896 if (obj3) {
10897 {
10898 arg4 = &temp4;
10899 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10900 }
10901 }
10902 if (obj4) {
10903 ecode5 = SWIG_AsVal_long(obj4, &val5);
10904 if (!SWIG_IsOK(ecode5)) {
10905 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10906 }
10907 arg5 = static_cast< long >(val5);
10908 }
10909 if (obj5) {
10910 {
10911 arg6 = wxString_in_helper(obj5);
10912 if (arg6 == NULL) SWIG_fail;
10913 temp6 = true;
10914 }
10915 }
10916 {
10917 if (!wxPyCheckForApp()) SWIG_fail;
10918 PyThreadState* __tstate = wxPyBeginAllowThreads();
10919 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10924 {
10925 if (temp6)
10926 delete arg6;
10927 }
10928 return resultobj;
10929 fail:
10930 {
10931 if (temp6)
10932 delete arg6;
10933 }
10934 return NULL;
10935 }
10936
10937
10938 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10939 PyObject *resultobj = 0;
10940 wxSashWindow *result = 0 ;
10941
10942 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10943 {
10944 if (!wxPyCheckForApp()) SWIG_fail;
10945 PyThreadState* __tstate = wxPyBeginAllowThreads();
10946 result = (wxSashWindow *)new wxSashWindow();
10947 wxPyEndAllowThreads(__tstate);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
10950 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10951 return resultobj;
10952 fail:
10953 return NULL;
10954 }
10955
10956
10957 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10958 PyObject *resultobj = 0;
10959 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10960 wxWindow *arg2 = (wxWindow *) 0 ;
10961 int arg3 = (int) -1 ;
10962 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10963 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10964 wxSize const &arg5_defvalue = wxDefaultSize ;
10965 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10966 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10967 wxString const &arg7_defvalue = wxPySashNameStr ;
10968 wxString *arg7 = (wxString *) &arg7_defvalue ;
10969 bool result;
10970 void *argp1 = 0 ;
10971 int res1 = 0 ;
10972 void *argp2 = 0 ;
10973 int res2 = 0 ;
10974 int val3 ;
10975 int ecode3 = 0 ;
10976 wxPoint temp4 ;
10977 wxSize temp5 ;
10978 long val6 ;
10979 int ecode6 = 0 ;
10980 bool temp7 = false ;
10981 PyObject * obj0 = 0 ;
10982 PyObject * obj1 = 0 ;
10983 PyObject * obj2 = 0 ;
10984 PyObject * obj3 = 0 ;
10985 PyObject * obj4 = 0 ;
10986 PyObject * obj5 = 0 ;
10987 PyObject * obj6 = 0 ;
10988 char * kwnames[] = {
10989 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10990 };
10991
10992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10994 if (!SWIG_IsOK(res1)) {
10995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10996 }
10997 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10998 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10999 if (!SWIG_IsOK(res2)) {
11000 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11001 }
11002 arg2 = reinterpret_cast< wxWindow * >(argp2);
11003 if (obj2) {
11004 ecode3 = SWIG_AsVal_int(obj2, &val3);
11005 if (!SWIG_IsOK(ecode3)) {
11006 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11007 }
11008 arg3 = static_cast< int >(val3);
11009 }
11010 if (obj3) {
11011 {
11012 arg4 = &temp4;
11013 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11014 }
11015 }
11016 if (obj4) {
11017 {
11018 arg5 = &temp5;
11019 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11020 }
11021 }
11022 if (obj5) {
11023 ecode6 = SWIG_AsVal_long(obj5, &val6);
11024 if (!SWIG_IsOK(ecode6)) {
11025 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11026 }
11027 arg6 = static_cast< long >(val6);
11028 }
11029 if (obj6) {
11030 {
11031 arg7 = wxString_in_helper(obj6);
11032 if (arg7 == NULL) SWIG_fail;
11033 temp7 = true;
11034 }
11035 }
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11039 wxPyEndAllowThreads(__tstate);
11040 if (PyErr_Occurred()) SWIG_fail;
11041 }
11042 {
11043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11044 }
11045 {
11046 if (temp7)
11047 delete arg7;
11048 }
11049 return resultobj;
11050 fail:
11051 {
11052 if (temp7)
11053 delete arg7;
11054 }
11055 return NULL;
11056 }
11057
11058
11059 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11060 PyObject *resultobj = 0;
11061 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11062 wxSashEdgePosition arg2 ;
11063 bool arg3 ;
11064 void *argp1 = 0 ;
11065 int res1 = 0 ;
11066 int val2 ;
11067 int ecode2 = 0 ;
11068 bool val3 ;
11069 int ecode3 = 0 ;
11070 PyObject * obj0 = 0 ;
11071 PyObject * obj1 = 0 ;
11072 PyObject * obj2 = 0 ;
11073 char * kwnames[] = {
11074 (char *) "self",(char *) "edge",(char *) "sash", NULL
11075 };
11076
11077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11079 if (!SWIG_IsOK(res1)) {
11080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11081 }
11082 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11083 ecode2 = SWIG_AsVal_int(obj1, &val2);
11084 if (!SWIG_IsOK(ecode2)) {
11085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11086 }
11087 arg2 = static_cast< wxSashEdgePosition >(val2);
11088 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11089 if (!SWIG_IsOK(ecode3)) {
11090 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11091 }
11092 arg3 = static_cast< bool >(val3);
11093 {
11094 PyThreadState* __tstate = wxPyBeginAllowThreads();
11095 (arg1)->SetSashVisible(arg2,arg3);
11096 wxPyEndAllowThreads(__tstate);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
11099 resultobj = SWIG_Py_Void();
11100 return resultobj;
11101 fail:
11102 return NULL;
11103 }
11104
11105
11106 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11107 PyObject *resultobj = 0;
11108 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11109 wxSashEdgePosition arg2 ;
11110 bool result;
11111 void *argp1 = 0 ;
11112 int res1 = 0 ;
11113 int val2 ;
11114 int ecode2 = 0 ;
11115 PyObject * obj0 = 0 ;
11116 PyObject * obj1 = 0 ;
11117 char * kwnames[] = {
11118 (char *) "self",(char *) "edge", NULL
11119 };
11120
11121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11123 if (!SWIG_IsOK(res1)) {
11124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11125 }
11126 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11127 ecode2 = SWIG_AsVal_int(obj1, &val2);
11128 if (!SWIG_IsOK(ecode2)) {
11129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11130 }
11131 arg2 = static_cast< wxSashEdgePosition >(val2);
11132 {
11133 PyThreadState* __tstate = wxPyBeginAllowThreads();
11134 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11135 wxPyEndAllowThreads(__tstate);
11136 if (PyErr_Occurred()) SWIG_fail;
11137 }
11138 {
11139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11140 }
11141 return resultobj;
11142 fail:
11143 return NULL;
11144 }
11145
11146
11147 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11148 PyObject *resultobj = 0;
11149 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11150 wxSashEdgePosition arg2 ;
11151 bool arg3 ;
11152 void *argp1 = 0 ;
11153 int res1 = 0 ;
11154 int val2 ;
11155 int ecode2 = 0 ;
11156 bool val3 ;
11157 int ecode3 = 0 ;
11158 PyObject * obj0 = 0 ;
11159 PyObject * obj1 = 0 ;
11160 PyObject * obj2 = 0 ;
11161 char * kwnames[] = {
11162 (char *) "self",(char *) "edge",(char *) "border", NULL
11163 };
11164
11165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11167 if (!SWIG_IsOK(res1)) {
11168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11169 }
11170 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11171 ecode2 = SWIG_AsVal_int(obj1, &val2);
11172 if (!SWIG_IsOK(ecode2)) {
11173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11174 }
11175 arg2 = static_cast< wxSashEdgePosition >(val2);
11176 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11177 if (!SWIG_IsOK(ecode3)) {
11178 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11179 }
11180 arg3 = static_cast< bool >(val3);
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 (arg1)->SetSashBorder(arg2,arg3);
11184 wxPyEndAllowThreads(__tstate);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 }
11187 resultobj = SWIG_Py_Void();
11188 return resultobj;
11189 fail:
11190 return NULL;
11191 }
11192
11193
11194 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11195 PyObject *resultobj = 0;
11196 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11197 wxSashEdgePosition arg2 ;
11198 bool result;
11199 void *argp1 = 0 ;
11200 int res1 = 0 ;
11201 int val2 ;
11202 int ecode2 = 0 ;
11203 PyObject * obj0 = 0 ;
11204 PyObject * obj1 = 0 ;
11205 char * kwnames[] = {
11206 (char *) "self",(char *) "edge", NULL
11207 };
11208
11209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11211 if (!SWIG_IsOK(res1)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11213 }
11214 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11215 ecode2 = SWIG_AsVal_int(obj1, &val2);
11216 if (!SWIG_IsOK(ecode2)) {
11217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11218 }
11219 arg2 = static_cast< wxSashEdgePosition >(val2);
11220 {
11221 PyThreadState* __tstate = wxPyBeginAllowThreads();
11222 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 {
11227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11228 }
11229 return resultobj;
11230 fail:
11231 return NULL;
11232 }
11233
11234
11235 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11236 PyObject *resultobj = 0;
11237 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11238 wxSashEdgePosition arg2 ;
11239 int result;
11240 void *argp1 = 0 ;
11241 int res1 = 0 ;
11242 int val2 ;
11243 int ecode2 = 0 ;
11244 PyObject * obj0 = 0 ;
11245 PyObject * obj1 = 0 ;
11246 char * kwnames[] = {
11247 (char *) "self",(char *) "edge", NULL
11248 };
11249
11250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11252 if (!SWIG_IsOK(res1)) {
11253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11254 }
11255 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11256 ecode2 = SWIG_AsVal_int(obj1, &val2);
11257 if (!SWIG_IsOK(ecode2)) {
11258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11259 }
11260 arg2 = static_cast< wxSashEdgePosition >(val2);
11261 {
11262 PyThreadState* __tstate = wxPyBeginAllowThreads();
11263 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
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_SetDefaultBorderSize(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 *) "width", NULL
11286 };
11287
11288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",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_SetDefaultBorderSize" "', 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_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11297 }
11298 arg2 = static_cast< int >(val2);
11299 {
11300 PyThreadState* __tstate = wxPyBeginAllowThreads();
11301 (arg1)->SetDefaultBorderSize(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_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11313 PyObject *resultobj = 0;
11314 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11315 int result;
11316 void *argp1 = 0 ;
11317 int res1 = 0 ;
11318 PyObject *swig_obj[1] ;
11319
11320 if (!args) SWIG_fail;
11321 swig_obj[0] = args;
11322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11323 if (!SWIG_IsOK(res1)) {
11324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11325 }
11326 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11327 {
11328 PyThreadState* __tstate = wxPyBeginAllowThreads();
11329 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 resultobj = SWIG_From_int(static_cast< int >(result));
11334 return resultobj;
11335 fail:
11336 return NULL;
11337 }
11338
11339
11340 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11341 PyObject *resultobj = 0;
11342 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11343 int arg2 ;
11344 void *argp1 = 0 ;
11345 int res1 = 0 ;
11346 int val2 ;
11347 int ecode2 = 0 ;
11348 PyObject * obj0 = 0 ;
11349 PyObject * obj1 = 0 ;
11350 char * kwnames[] = {
11351 (char *) "self",(char *) "width", NULL
11352 };
11353
11354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11356 if (!SWIG_IsOK(res1)) {
11357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11358 }
11359 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11360 ecode2 = SWIG_AsVal_int(obj1, &val2);
11361 if (!SWIG_IsOK(ecode2)) {
11362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11363 }
11364 arg2 = static_cast< int >(val2);
11365 {
11366 PyThreadState* __tstate = wxPyBeginAllowThreads();
11367 (arg1)->SetExtraBorderSize(arg2);
11368 wxPyEndAllowThreads(__tstate);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
11371 resultobj = SWIG_Py_Void();
11372 return resultobj;
11373 fail:
11374 return NULL;
11375 }
11376
11377
11378 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(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_GetExtraBorderSize" "', 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)->GetExtraBorderSize();
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_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11407 PyObject *resultobj = 0;
11408 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11409 int arg2 ;
11410 void *argp1 = 0 ;
11411 int res1 = 0 ;
11412 int val2 ;
11413 int ecode2 = 0 ;
11414 PyObject * obj0 = 0 ;
11415 PyObject * obj1 = 0 ;
11416 char * kwnames[] = {
11417 (char *) "self",(char *) "min", NULL
11418 };
11419
11420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11422 if (!SWIG_IsOK(res1)) {
11423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11424 }
11425 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11426 ecode2 = SWIG_AsVal_int(obj1, &val2);
11427 if (!SWIG_IsOK(ecode2)) {
11428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11429 }
11430 arg2 = static_cast< int >(val2);
11431 {
11432 PyThreadState* __tstate = wxPyBeginAllowThreads();
11433 (arg1)->SetMinimumSizeX(arg2);
11434 wxPyEndAllowThreads(__tstate);
11435 if (PyErr_Occurred()) SWIG_fail;
11436 }
11437 resultobj = SWIG_Py_Void();
11438 return resultobj;
11439 fail:
11440 return NULL;
11441 }
11442
11443
11444 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11445 PyObject *resultobj = 0;
11446 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11447 int arg2 ;
11448 void *argp1 = 0 ;
11449 int res1 = 0 ;
11450 int val2 ;
11451 int ecode2 = 0 ;
11452 PyObject * obj0 = 0 ;
11453 PyObject * obj1 = 0 ;
11454 char * kwnames[] = {
11455 (char *) "self",(char *) "min", NULL
11456 };
11457
11458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11460 if (!SWIG_IsOK(res1)) {
11461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11462 }
11463 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11464 ecode2 = SWIG_AsVal_int(obj1, &val2);
11465 if (!SWIG_IsOK(ecode2)) {
11466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11467 }
11468 arg2 = static_cast< int >(val2);
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 (arg1)->SetMinimumSizeY(arg2);
11472 wxPyEndAllowThreads(__tstate);
11473 if (PyErr_Occurred()) SWIG_fail;
11474 }
11475 resultobj = SWIG_Py_Void();
11476 return resultobj;
11477 fail:
11478 return NULL;
11479 }
11480
11481
11482 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11483 PyObject *resultobj = 0;
11484 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11485 int result;
11486 void *argp1 = 0 ;
11487 int res1 = 0 ;
11488 PyObject *swig_obj[1] ;
11489
11490 if (!args) SWIG_fail;
11491 swig_obj[0] = args;
11492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11493 if (!SWIG_IsOK(res1)) {
11494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11495 }
11496 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11497 {
11498 PyThreadState* __tstate = wxPyBeginAllowThreads();
11499 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 resultobj = SWIG_From_int(static_cast< int >(result));
11504 return resultobj;
11505 fail:
11506 return NULL;
11507 }
11508
11509
11510 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11511 PyObject *resultobj = 0;
11512 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11513 int result;
11514 void *argp1 = 0 ;
11515 int res1 = 0 ;
11516 PyObject *swig_obj[1] ;
11517
11518 if (!args) SWIG_fail;
11519 swig_obj[0] = args;
11520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11521 if (!SWIG_IsOK(res1)) {
11522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11523 }
11524 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11528 wxPyEndAllowThreads(__tstate);
11529 if (PyErr_Occurred()) SWIG_fail;
11530 }
11531 resultobj = SWIG_From_int(static_cast< int >(result));
11532 return resultobj;
11533 fail:
11534 return NULL;
11535 }
11536
11537
11538 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11539 PyObject *resultobj = 0;
11540 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11541 int arg2 ;
11542 void *argp1 = 0 ;
11543 int res1 = 0 ;
11544 int val2 ;
11545 int ecode2 = 0 ;
11546 PyObject * obj0 = 0 ;
11547 PyObject * obj1 = 0 ;
11548 char * kwnames[] = {
11549 (char *) "self",(char *) "max", NULL
11550 };
11551
11552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11554 if (!SWIG_IsOK(res1)) {
11555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11556 }
11557 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11558 ecode2 = SWIG_AsVal_int(obj1, &val2);
11559 if (!SWIG_IsOK(ecode2)) {
11560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11561 }
11562 arg2 = static_cast< int >(val2);
11563 {
11564 PyThreadState* __tstate = wxPyBeginAllowThreads();
11565 (arg1)->SetMaximumSizeX(arg2);
11566 wxPyEndAllowThreads(__tstate);
11567 if (PyErr_Occurred()) SWIG_fail;
11568 }
11569 resultobj = SWIG_Py_Void();
11570 return resultobj;
11571 fail:
11572 return NULL;
11573 }
11574
11575
11576 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11577 PyObject *resultobj = 0;
11578 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11579 int arg2 ;
11580 void *argp1 = 0 ;
11581 int res1 = 0 ;
11582 int val2 ;
11583 int ecode2 = 0 ;
11584 PyObject * obj0 = 0 ;
11585 PyObject * obj1 = 0 ;
11586 char * kwnames[] = {
11587 (char *) "self",(char *) "max", NULL
11588 };
11589
11590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11592 if (!SWIG_IsOK(res1)) {
11593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11594 }
11595 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11596 ecode2 = SWIG_AsVal_int(obj1, &val2);
11597 if (!SWIG_IsOK(ecode2)) {
11598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11599 }
11600 arg2 = static_cast< int >(val2);
11601 {
11602 PyThreadState* __tstate = wxPyBeginAllowThreads();
11603 (arg1)->SetMaximumSizeY(arg2);
11604 wxPyEndAllowThreads(__tstate);
11605 if (PyErr_Occurred()) SWIG_fail;
11606 }
11607 resultobj = SWIG_Py_Void();
11608 return resultobj;
11609 fail:
11610 return NULL;
11611 }
11612
11613
11614 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11615 PyObject *resultobj = 0;
11616 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11617 int result;
11618 void *argp1 = 0 ;
11619 int res1 = 0 ;
11620 PyObject *swig_obj[1] ;
11621
11622 if (!args) SWIG_fail;
11623 swig_obj[0] = args;
11624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11625 if (!SWIG_IsOK(res1)) {
11626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11627 }
11628 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11629 {
11630 PyThreadState* __tstate = wxPyBeginAllowThreads();
11631 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11632 wxPyEndAllowThreads(__tstate);
11633 if (PyErr_Occurred()) SWIG_fail;
11634 }
11635 resultobj = SWIG_From_int(static_cast< int >(result));
11636 return resultobj;
11637 fail:
11638 return NULL;
11639 }
11640
11641
11642 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11643 PyObject *resultobj = 0;
11644 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11645 int result;
11646 void *argp1 = 0 ;
11647 int res1 = 0 ;
11648 PyObject *swig_obj[1] ;
11649
11650 if (!args) SWIG_fail;
11651 swig_obj[0] = args;
11652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11653 if (!SWIG_IsOK(res1)) {
11654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11655 }
11656 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11657 {
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 resultobj = SWIG_From_int(static_cast< int >(result));
11664 return resultobj;
11665 fail:
11666 return NULL;
11667 }
11668
11669
11670 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11671 PyObject *resultobj = 0;
11672 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11673 int arg2 ;
11674 int arg3 ;
11675 int arg4 = (int) 2 ;
11676 wxSashEdgePosition result;
11677 void *argp1 = 0 ;
11678 int res1 = 0 ;
11679 int val2 ;
11680 int ecode2 = 0 ;
11681 int val3 ;
11682 int ecode3 = 0 ;
11683 int val4 ;
11684 int ecode4 = 0 ;
11685 PyObject * obj0 = 0 ;
11686 PyObject * obj1 = 0 ;
11687 PyObject * obj2 = 0 ;
11688 PyObject * obj3 = 0 ;
11689 char * kwnames[] = {
11690 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11691 };
11692
11693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11695 if (!SWIG_IsOK(res1)) {
11696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11697 }
11698 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11699 ecode2 = SWIG_AsVal_int(obj1, &val2);
11700 if (!SWIG_IsOK(ecode2)) {
11701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11702 }
11703 arg2 = static_cast< int >(val2);
11704 ecode3 = SWIG_AsVal_int(obj2, &val3);
11705 if (!SWIG_IsOK(ecode3)) {
11706 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11707 }
11708 arg3 = static_cast< int >(val3);
11709 if (obj3) {
11710 ecode4 = SWIG_AsVal_int(obj3, &val4);
11711 if (!SWIG_IsOK(ecode4)) {
11712 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11713 }
11714 arg4 = static_cast< int >(val4);
11715 }
11716 {
11717 PyThreadState* __tstate = wxPyBeginAllowThreads();
11718 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11719 wxPyEndAllowThreads(__tstate);
11720 if (PyErr_Occurred()) SWIG_fail;
11721 }
11722 resultobj = SWIG_From_int(static_cast< int >(result));
11723 return resultobj;
11724 fail:
11725 return NULL;
11726 }
11727
11728
11729 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11730 PyObject *resultobj = 0;
11731 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11732 void *argp1 = 0 ;
11733 int res1 = 0 ;
11734 PyObject *swig_obj[1] ;
11735
11736 if (!args) SWIG_fail;
11737 swig_obj[0] = args;
11738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11739 if (!SWIG_IsOK(res1)) {
11740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11741 }
11742 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11743 {
11744 PyThreadState* __tstate = wxPyBeginAllowThreads();
11745 (arg1)->SizeWindows();
11746 wxPyEndAllowThreads(__tstate);
11747 if (PyErr_Occurred()) SWIG_fail;
11748 }
11749 resultobj = SWIG_Py_Void();
11750 return resultobj;
11751 fail:
11752 return NULL;
11753 }
11754
11755
11756 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11757 PyObject *obj;
11758 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11759 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11760 return SWIG_Py_Void();
11761 }
11762
11763 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11764 return SWIG_Python_InitShadowInstance(args);
11765 }
11766
11767 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11768 PyObject *resultobj = 0;
11769 int arg1 = (int) 0 ;
11770 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11771 wxSashEvent *result = 0 ;
11772 int val1 ;
11773 int ecode1 = 0 ;
11774 int val2 ;
11775 int ecode2 = 0 ;
11776 PyObject * obj0 = 0 ;
11777 PyObject * obj1 = 0 ;
11778 char * kwnames[] = {
11779 (char *) "id",(char *) "edge", NULL
11780 };
11781
11782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11783 if (obj0) {
11784 ecode1 = SWIG_AsVal_int(obj0, &val1);
11785 if (!SWIG_IsOK(ecode1)) {
11786 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11787 }
11788 arg1 = static_cast< int >(val1);
11789 }
11790 if (obj1) {
11791 ecode2 = SWIG_AsVal_int(obj1, &val2);
11792 if (!SWIG_IsOK(ecode2)) {
11793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11794 }
11795 arg2 = static_cast< wxSashEdgePosition >(val2);
11796 }
11797 {
11798 PyThreadState* __tstate = wxPyBeginAllowThreads();
11799 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11800 wxPyEndAllowThreads(__tstate);
11801 if (PyErr_Occurred()) SWIG_fail;
11802 }
11803 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11804 return resultobj;
11805 fail:
11806 return NULL;
11807 }
11808
11809
11810 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11811 PyObject *resultobj = 0;
11812 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11813 wxSashEdgePosition arg2 ;
11814 void *argp1 = 0 ;
11815 int res1 = 0 ;
11816 int val2 ;
11817 int ecode2 = 0 ;
11818 PyObject * obj0 = 0 ;
11819 PyObject * obj1 = 0 ;
11820 char * kwnames[] = {
11821 (char *) "self",(char *) "edge", NULL
11822 };
11823
11824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11826 if (!SWIG_IsOK(res1)) {
11827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11828 }
11829 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11830 ecode2 = SWIG_AsVal_int(obj1, &val2);
11831 if (!SWIG_IsOK(ecode2)) {
11832 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11833 }
11834 arg2 = static_cast< wxSashEdgePosition >(val2);
11835 {
11836 PyThreadState* __tstate = wxPyBeginAllowThreads();
11837 (arg1)->SetEdge(arg2);
11838 wxPyEndAllowThreads(__tstate);
11839 if (PyErr_Occurred()) SWIG_fail;
11840 }
11841 resultobj = SWIG_Py_Void();
11842 return resultobj;
11843 fail:
11844 return NULL;
11845 }
11846
11847
11848 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11849 PyObject *resultobj = 0;
11850 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11851 wxSashEdgePosition result;
11852 void *argp1 = 0 ;
11853 int res1 = 0 ;
11854 PyObject *swig_obj[1] ;
11855
11856 if (!args) SWIG_fail;
11857 swig_obj[0] = args;
11858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11859 if (!SWIG_IsOK(res1)) {
11860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11861 }
11862 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11863 {
11864 PyThreadState* __tstate = wxPyBeginAllowThreads();
11865 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 resultobj = SWIG_From_int(static_cast< int >(result));
11870 return resultobj;
11871 fail:
11872 return NULL;
11873 }
11874
11875
11876 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11877 PyObject *resultobj = 0;
11878 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11879 wxRect *arg2 = 0 ;
11880 void *argp1 = 0 ;
11881 int res1 = 0 ;
11882 wxRect temp2 ;
11883 PyObject * obj0 = 0 ;
11884 PyObject * obj1 = 0 ;
11885 char * kwnames[] = {
11886 (char *) "self",(char *) "rect", NULL
11887 };
11888
11889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11891 if (!SWIG_IsOK(res1)) {
11892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11893 }
11894 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11895 {
11896 arg2 = &temp2;
11897 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11898 }
11899 {
11900 PyThreadState* __tstate = wxPyBeginAllowThreads();
11901 (arg1)->SetDragRect((wxRect const &)*arg2);
11902 wxPyEndAllowThreads(__tstate);
11903 if (PyErr_Occurred()) SWIG_fail;
11904 }
11905 resultobj = SWIG_Py_Void();
11906 return resultobj;
11907 fail:
11908 return NULL;
11909 }
11910
11911
11912 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11913 PyObject *resultobj = 0;
11914 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11915 wxRect result;
11916 void *argp1 = 0 ;
11917 int res1 = 0 ;
11918 PyObject *swig_obj[1] ;
11919
11920 if (!args) SWIG_fail;
11921 swig_obj[0] = args;
11922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11923 if (!SWIG_IsOK(res1)) {
11924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11925 }
11926 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = ((wxSashEvent const *)arg1)->GetDragRect();
11930 wxPyEndAllowThreads(__tstate);
11931 if (PyErr_Occurred()) SWIG_fail;
11932 }
11933 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11934 return resultobj;
11935 fail:
11936 return NULL;
11937 }
11938
11939
11940 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11941 PyObject *resultobj = 0;
11942 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11943 wxSashDragStatus arg2 ;
11944 void *argp1 = 0 ;
11945 int res1 = 0 ;
11946 int val2 ;
11947 int ecode2 = 0 ;
11948 PyObject * obj0 = 0 ;
11949 PyObject * obj1 = 0 ;
11950 char * kwnames[] = {
11951 (char *) "self",(char *) "status", NULL
11952 };
11953
11954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11956 if (!SWIG_IsOK(res1)) {
11957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11958 }
11959 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11960 ecode2 = SWIG_AsVal_int(obj1, &val2);
11961 if (!SWIG_IsOK(ecode2)) {
11962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11963 }
11964 arg2 = static_cast< wxSashDragStatus >(val2);
11965 {
11966 PyThreadState* __tstate = wxPyBeginAllowThreads();
11967 (arg1)->SetDragStatus(arg2);
11968 wxPyEndAllowThreads(__tstate);
11969 if (PyErr_Occurred()) SWIG_fail;
11970 }
11971 resultobj = SWIG_Py_Void();
11972 return resultobj;
11973 fail:
11974 return NULL;
11975 }
11976
11977
11978 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11979 PyObject *resultobj = 0;
11980 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11981 wxSashDragStatus result;
11982 void *argp1 = 0 ;
11983 int res1 = 0 ;
11984 PyObject *swig_obj[1] ;
11985
11986 if (!args) SWIG_fail;
11987 swig_obj[0] = args;
11988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11989 if (!SWIG_IsOK(res1)) {
11990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11991 }
11992 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11993 {
11994 PyThreadState* __tstate = wxPyBeginAllowThreads();
11995 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11996 wxPyEndAllowThreads(__tstate);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 }
11999 resultobj = SWIG_From_int(static_cast< int >(result));
12000 return resultobj;
12001 fail:
12002 return NULL;
12003 }
12004
12005
12006 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12007 PyObject *obj;
12008 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12009 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12010 return SWIG_Py_Void();
12011 }
12012
12013 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12014 return SWIG_Python_InitShadowInstance(args);
12015 }
12016
12017 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12018 PyObject *resultobj = 0;
12019 int arg1 = (int) 0 ;
12020 wxQueryLayoutInfoEvent *result = 0 ;
12021 int val1 ;
12022 int ecode1 = 0 ;
12023 PyObject * obj0 = 0 ;
12024 char * kwnames[] = {
12025 (char *) "id", NULL
12026 };
12027
12028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12029 if (obj0) {
12030 ecode1 = SWIG_AsVal_int(obj0, &val1);
12031 if (!SWIG_IsOK(ecode1)) {
12032 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12033 }
12034 arg1 = static_cast< int >(val1);
12035 }
12036 {
12037 PyThreadState* __tstate = wxPyBeginAllowThreads();
12038 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12039 wxPyEndAllowThreads(__tstate);
12040 if (PyErr_Occurred()) SWIG_fail;
12041 }
12042 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12043 return resultobj;
12044 fail:
12045 return NULL;
12046 }
12047
12048
12049 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12050 PyObject *resultobj = 0;
12051 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12052 int arg2 ;
12053 void *argp1 = 0 ;
12054 int res1 = 0 ;
12055 int val2 ;
12056 int ecode2 = 0 ;
12057 PyObject * obj0 = 0 ;
12058 PyObject * obj1 = 0 ;
12059 char * kwnames[] = {
12060 (char *) "self",(char *) "length", NULL
12061 };
12062
12063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12065 if (!SWIG_IsOK(res1)) {
12066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12067 }
12068 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12069 ecode2 = SWIG_AsVal_int(obj1, &val2);
12070 if (!SWIG_IsOK(ecode2)) {
12071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12072 }
12073 arg2 = static_cast< int >(val2);
12074 {
12075 PyThreadState* __tstate = wxPyBeginAllowThreads();
12076 (arg1)->SetRequestedLength(arg2);
12077 wxPyEndAllowThreads(__tstate);
12078 if (PyErr_Occurred()) SWIG_fail;
12079 }
12080 resultobj = SWIG_Py_Void();
12081 return resultobj;
12082 fail:
12083 return NULL;
12084 }
12085
12086
12087 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12088 PyObject *resultobj = 0;
12089 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12090 int result;
12091 void *argp1 = 0 ;
12092 int res1 = 0 ;
12093 PyObject *swig_obj[1] ;
12094
12095 if (!args) SWIG_fail;
12096 swig_obj[0] = args;
12097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12098 if (!SWIG_IsOK(res1)) {
12099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12100 }
12101 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12102 {
12103 PyThreadState* __tstate = wxPyBeginAllowThreads();
12104 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12105 wxPyEndAllowThreads(__tstate);
12106 if (PyErr_Occurred()) SWIG_fail;
12107 }
12108 resultobj = SWIG_From_int(static_cast< int >(result));
12109 return resultobj;
12110 fail:
12111 return NULL;
12112 }
12113
12114
12115 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12116 PyObject *resultobj = 0;
12117 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12118 int arg2 ;
12119 void *argp1 = 0 ;
12120 int res1 = 0 ;
12121 int val2 ;
12122 int ecode2 = 0 ;
12123 PyObject * obj0 = 0 ;
12124 PyObject * obj1 = 0 ;
12125 char * kwnames[] = {
12126 (char *) "self",(char *) "flags", NULL
12127 };
12128
12129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12131 if (!SWIG_IsOK(res1)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12133 }
12134 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12135 ecode2 = SWIG_AsVal_int(obj1, &val2);
12136 if (!SWIG_IsOK(ecode2)) {
12137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12138 }
12139 arg2 = static_cast< int >(val2);
12140 {
12141 PyThreadState* __tstate = wxPyBeginAllowThreads();
12142 (arg1)->SetFlags(arg2);
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
12146 resultobj = SWIG_Py_Void();
12147 return resultobj;
12148 fail:
12149 return NULL;
12150 }
12151
12152
12153 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12154 PyObject *resultobj = 0;
12155 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12156 int result;
12157 void *argp1 = 0 ;
12158 int res1 = 0 ;
12159 PyObject *swig_obj[1] ;
12160
12161 if (!args) SWIG_fail;
12162 swig_obj[0] = args;
12163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12164 if (!SWIG_IsOK(res1)) {
12165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12166 }
12167 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12168 {
12169 PyThreadState* __tstate = wxPyBeginAllowThreads();
12170 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 resultobj = SWIG_From_int(static_cast< int >(result));
12175 return resultobj;
12176 fail:
12177 return NULL;
12178 }
12179
12180
12181 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12182 PyObject *resultobj = 0;
12183 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12184 wxSize *arg2 = 0 ;
12185 void *argp1 = 0 ;
12186 int res1 = 0 ;
12187 wxSize temp2 ;
12188 PyObject * obj0 = 0 ;
12189 PyObject * obj1 = 0 ;
12190 char * kwnames[] = {
12191 (char *) "self",(char *) "size", NULL
12192 };
12193
12194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12196 if (!SWIG_IsOK(res1)) {
12197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12198 }
12199 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12200 {
12201 arg2 = &temp2;
12202 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12203 }
12204 {
12205 PyThreadState* __tstate = wxPyBeginAllowThreads();
12206 (arg1)->SetSize((wxSize const &)*arg2);
12207 wxPyEndAllowThreads(__tstate);
12208 if (PyErr_Occurred()) SWIG_fail;
12209 }
12210 resultobj = SWIG_Py_Void();
12211 return resultobj;
12212 fail:
12213 return NULL;
12214 }
12215
12216
12217 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12218 PyObject *resultobj = 0;
12219 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12220 wxSize result;
12221 void *argp1 = 0 ;
12222 int res1 = 0 ;
12223 PyObject *swig_obj[1] ;
12224
12225 if (!args) SWIG_fail;
12226 swig_obj[0] = args;
12227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12228 if (!SWIG_IsOK(res1)) {
12229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12230 }
12231 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12232 {
12233 PyThreadState* __tstate = wxPyBeginAllowThreads();
12234 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12235 wxPyEndAllowThreads(__tstate);
12236 if (PyErr_Occurred()) SWIG_fail;
12237 }
12238 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12239 return resultobj;
12240 fail:
12241 return NULL;
12242 }
12243
12244
12245 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12246 PyObject *resultobj = 0;
12247 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12248 wxLayoutOrientation arg2 ;
12249 void *argp1 = 0 ;
12250 int res1 = 0 ;
12251 int val2 ;
12252 int ecode2 = 0 ;
12253 PyObject * obj0 = 0 ;
12254 PyObject * obj1 = 0 ;
12255 char * kwnames[] = {
12256 (char *) "self",(char *) "orient", NULL
12257 };
12258
12259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12261 if (!SWIG_IsOK(res1)) {
12262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12263 }
12264 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12265 ecode2 = SWIG_AsVal_int(obj1, &val2);
12266 if (!SWIG_IsOK(ecode2)) {
12267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12268 }
12269 arg2 = static_cast< wxLayoutOrientation >(val2);
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 (arg1)->SetOrientation(arg2);
12273 wxPyEndAllowThreads(__tstate);
12274 if (PyErr_Occurred()) SWIG_fail;
12275 }
12276 resultobj = SWIG_Py_Void();
12277 return resultobj;
12278 fail:
12279 return NULL;
12280 }
12281
12282
12283 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12284 PyObject *resultobj = 0;
12285 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12286 wxLayoutOrientation result;
12287 void *argp1 = 0 ;
12288 int res1 = 0 ;
12289 PyObject *swig_obj[1] ;
12290
12291 if (!args) SWIG_fail;
12292 swig_obj[0] = args;
12293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12294 if (!SWIG_IsOK(res1)) {
12295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12296 }
12297 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12301 wxPyEndAllowThreads(__tstate);
12302 if (PyErr_Occurred()) SWIG_fail;
12303 }
12304 resultobj = SWIG_From_int(static_cast< int >(result));
12305 return resultobj;
12306 fail:
12307 return NULL;
12308 }
12309
12310
12311 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12312 PyObject *resultobj = 0;
12313 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12314 wxLayoutAlignment arg2 ;
12315 void *argp1 = 0 ;
12316 int res1 = 0 ;
12317 int val2 ;
12318 int ecode2 = 0 ;
12319 PyObject * obj0 = 0 ;
12320 PyObject * obj1 = 0 ;
12321 char * kwnames[] = {
12322 (char *) "self",(char *) "align", NULL
12323 };
12324
12325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12327 if (!SWIG_IsOK(res1)) {
12328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12329 }
12330 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12331 ecode2 = SWIG_AsVal_int(obj1, &val2);
12332 if (!SWIG_IsOK(ecode2)) {
12333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12334 }
12335 arg2 = static_cast< wxLayoutAlignment >(val2);
12336 {
12337 PyThreadState* __tstate = wxPyBeginAllowThreads();
12338 (arg1)->SetAlignment(arg2);
12339 wxPyEndAllowThreads(__tstate);
12340 if (PyErr_Occurred()) SWIG_fail;
12341 }
12342 resultobj = SWIG_Py_Void();
12343 return resultobj;
12344 fail:
12345 return NULL;
12346 }
12347
12348
12349 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12350 PyObject *resultobj = 0;
12351 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12352 wxLayoutAlignment result;
12353 void *argp1 = 0 ;
12354 int res1 = 0 ;
12355 PyObject *swig_obj[1] ;
12356
12357 if (!args) SWIG_fail;
12358 swig_obj[0] = args;
12359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12360 if (!SWIG_IsOK(res1)) {
12361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12362 }
12363 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12367 wxPyEndAllowThreads(__tstate);
12368 if (PyErr_Occurred()) SWIG_fail;
12369 }
12370 resultobj = SWIG_From_int(static_cast< int >(result));
12371 return resultobj;
12372 fail:
12373 return NULL;
12374 }
12375
12376
12377 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12378 PyObject *obj;
12379 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12380 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12381 return SWIG_Py_Void();
12382 }
12383
12384 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12385 return SWIG_Python_InitShadowInstance(args);
12386 }
12387
12388 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12389 PyObject *resultobj = 0;
12390 int arg1 = (int) 0 ;
12391 wxCalculateLayoutEvent *result = 0 ;
12392 int val1 ;
12393 int ecode1 = 0 ;
12394 PyObject * obj0 = 0 ;
12395 char * kwnames[] = {
12396 (char *) "id", NULL
12397 };
12398
12399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12400 if (obj0) {
12401 ecode1 = SWIG_AsVal_int(obj0, &val1);
12402 if (!SWIG_IsOK(ecode1)) {
12403 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12404 }
12405 arg1 = static_cast< int >(val1);
12406 }
12407 {
12408 PyThreadState* __tstate = wxPyBeginAllowThreads();
12409 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12410 wxPyEndAllowThreads(__tstate);
12411 if (PyErr_Occurred()) SWIG_fail;
12412 }
12413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12414 return resultobj;
12415 fail:
12416 return NULL;
12417 }
12418
12419
12420 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12421 PyObject *resultobj = 0;
12422 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12423 int arg2 ;
12424 void *argp1 = 0 ;
12425 int res1 = 0 ;
12426 int val2 ;
12427 int ecode2 = 0 ;
12428 PyObject * obj0 = 0 ;
12429 PyObject * obj1 = 0 ;
12430 char * kwnames[] = {
12431 (char *) "self",(char *) "flags", NULL
12432 };
12433
12434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12436 if (!SWIG_IsOK(res1)) {
12437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12438 }
12439 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12440 ecode2 = SWIG_AsVal_int(obj1, &val2);
12441 if (!SWIG_IsOK(ecode2)) {
12442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12443 }
12444 arg2 = static_cast< int >(val2);
12445 {
12446 PyThreadState* __tstate = wxPyBeginAllowThreads();
12447 (arg1)->SetFlags(arg2);
12448 wxPyEndAllowThreads(__tstate);
12449 if (PyErr_Occurred()) SWIG_fail;
12450 }
12451 resultobj = SWIG_Py_Void();
12452 return resultobj;
12453 fail:
12454 return NULL;
12455 }
12456
12457
12458 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12459 PyObject *resultobj = 0;
12460 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12461 int result;
12462 void *argp1 = 0 ;
12463 int res1 = 0 ;
12464 PyObject *swig_obj[1] ;
12465
12466 if (!args) SWIG_fail;
12467 swig_obj[0] = args;
12468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12469 if (!SWIG_IsOK(res1)) {
12470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12471 }
12472 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12473 {
12474 PyThreadState* __tstate = wxPyBeginAllowThreads();
12475 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12476 wxPyEndAllowThreads(__tstate);
12477 if (PyErr_Occurred()) SWIG_fail;
12478 }
12479 resultobj = SWIG_From_int(static_cast< int >(result));
12480 return resultobj;
12481 fail:
12482 return NULL;
12483 }
12484
12485
12486 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12487 PyObject *resultobj = 0;
12488 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12489 wxRect *arg2 = 0 ;
12490 void *argp1 = 0 ;
12491 int res1 = 0 ;
12492 wxRect temp2 ;
12493 PyObject * obj0 = 0 ;
12494 PyObject * obj1 = 0 ;
12495 char * kwnames[] = {
12496 (char *) "self",(char *) "rect", NULL
12497 };
12498
12499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12501 if (!SWIG_IsOK(res1)) {
12502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12503 }
12504 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12505 {
12506 arg2 = &temp2;
12507 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12508 }
12509 {
12510 PyThreadState* __tstate = wxPyBeginAllowThreads();
12511 (arg1)->SetRect((wxRect const &)*arg2);
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 resultobj = SWIG_Py_Void();
12516 return resultobj;
12517 fail:
12518 return NULL;
12519 }
12520
12521
12522 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12523 PyObject *resultobj = 0;
12524 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12525 wxRect result;
12526 void *argp1 = 0 ;
12527 int res1 = 0 ;
12528 PyObject *swig_obj[1] ;
12529
12530 if (!args) SWIG_fail;
12531 swig_obj[0] = args;
12532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12533 if (!SWIG_IsOK(res1)) {
12534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12535 }
12536 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12537 {
12538 PyThreadState* __tstate = wxPyBeginAllowThreads();
12539 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12540 wxPyEndAllowThreads(__tstate);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12544 return resultobj;
12545 fail:
12546 return NULL;
12547 }
12548
12549
12550 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12551 PyObject *obj;
12552 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12553 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12554 return SWIG_Py_Void();
12555 }
12556
12557 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12558 return SWIG_Python_InitShadowInstance(args);
12559 }
12560
12561 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12562 PyObject *resultobj = 0;
12563 wxWindow *arg1 = (wxWindow *) 0 ;
12564 int arg2 = (int) -1 ;
12565 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12566 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12567 wxSize const &arg4_defvalue = wxDefaultSize ;
12568 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12569 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12570 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12571 wxString *arg6 = (wxString *) &arg6_defvalue ;
12572 wxSashLayoutWindow *result = 0 ;
12573 void *argp1 = 0 ;
12574 int res1 = 0 ;
12575 int val2 ;
12576 int ecode2 = 0 ;
12577 wxPoint temp3 ;
12578 wxSize temp4 ;
12579 long val5 ;
12580 int ecode5 = 0 ;
12581 bool temp6 = false ;
12582 PyObject * obj0 = 0 ;
12583 PyObject * obj1 = 0 ;
12584 PyObject * obj2 = 0 ;
12585 PyObject * obj3 = 0 ;
12586 PyObject * obj4 = 0 ;
12587 PyObject * obj5 = 0 ;
12588 char * kwnames[] = {
12589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12590 };
12591
12592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12594 if (!SWIG_IsOK(res1)) {
12595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12596 }
12597 arg1 = reinterpret_cast< wxWindow * >(argp1);
12598 if (obj1) {
12599 ecode2 = SWIG_AsVal_int(obj1, &val2);
12600 if (!SWIG_IsOK(ecode2)) {
12601 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12602 }
12603 arg2 = static_cast< int >(val2);
12604 }
12605 if (obj2) {
12606 {
12607 arg3 = &temp3;
12608 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12609 }
12610 }
12611 if (obj3) {
12612 {
12613 arg4 = &temp4;
12614 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12615 }
12616 }
12617 if (obj4) {
12618 ecode5 = SWIG_AsVal_long(obj4, &val5);
12619 if (!SWIG_IsOK(ecode5)) {
12620 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12621 }
12622 arg5 = static_cast< long >(val5);
12623 }
12624 if (obj5) {
12625 {
12626 arg6 = wxString_in_helper(obj5);
12627 if (arg6 == NULL) SWIG_fail;
12628 temp6 = true;
12629 }
12630 }
12631 {
12632 if (!wxPyCheckForApp()) SWIG_fail;
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12635 wxPyEndAllowThreads(__tstate);
12636 if (PyErr_Occurred()) SWIG_fail;
12637 }
12638 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12639 {
12640 if (temp6)
12641 delete arg6;
12642 }
12643 return resultobj;
12644 fail:
12645 {
12646 if (temp6)
12647 delete arg6;
12648 }
12649 return NULL;
12650 }
12651
12652
12653 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12654 PyObject *resultobj = 0;
12655 wxSashLayoutWindow *result = 0 ;
12656
12657 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12658 {
12659 if (!wxPyCheckForApp()) SWIG_fail;
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12662 wxPyEndAllowThreads(__tstate);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
12665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12666 return resultobj;
12667 fail:
12668 return NULL;
12669 }
12670
12671
12672 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12673 PyObject *resultobj = 0;
12674 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12675 wxWindow *arg2 = (wxWindow *) 0 ;
12676 int arg3 = (int) -1 ;
12677 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12678 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12679 wxSize const &arg5_defvalue = wxDefaultSize ;
12680 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12681 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12682 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12683 wxString *arg7 = (wxString *) &arg7_defvalue ;
12684 bool result;
12685 void *argp1 = 0 ;
12686 int res1 = 0 ;
12687 void *argp2 = 0 ;
12688 int res2 = 0 ;
12689 int val3 ;
12690 int ecode3 = 0 ;
12691 wxPoint temp4 ;
12692 wxSize temp5 ;
12693 long val6 ;
12694 int ecode6 = 0 ;
12695 bool temp7 = false ;
12696 PyObject * obj0 = 0 ;
12697 PyObject * obj1 = 0 ;
12698 PyObject * obj2 = 0 ;
12699 PyObject * obj3 = 0 ;
12700 PyObject * obj4 = 0 ;
12701 PyObject * obj5 = 0 ;
12702 PyObject * obj6 = 0 ;
12703 char * kwnames[] = {
12704 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12705 };
12706
12707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12709 if (!SWIG_IsOK(res1)) {
12710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12711 }
12712 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12713 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12714 if (!SWIG_IsOK(res2)) {
12715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12716 }
12717 arg2 = reinterpret_cast< wxWindow * >(argp2);
12718 if (obj2) {
12719 ecode3 = SWIG_AsVal_int(obj2, &val3);
12720 if (!SWIG_IsOK(ecode3)) {
12721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12722 }
12723 arg3 = static_cast< int >(val3);
12724 }
12725 if (obj3) {
12726 {
12727 arg4 = &temp4;
12728 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12729 }
12730 }
12731 if (obj4) {
12732 {
12733 arg5 = &temp5;
12734 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12735 }
12736 }
12737 if (obj5) {
12738 ecode6 = SWIG_AsVal_long(obj5, &val6);
12739 if (!SWIG_IsOK(ecode6)) {
12740 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12741 }
12742 arg6 = static_cast< long >(val6);
12743 }
12744 if (obj6) {
12745 {
12746 arg7 = wxString_in_helper(obj6);
12747 if (arg7 == NULL) SWIG_fail;
12748 temp7 = true;
12749 }
12750 }
12751 {
12752 PyThreadState* __tstate = wxPyBeginAllowThreads();
12753 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12754 wxPyEndAllowThreads(__tstate);
12755 if (PyErr_Occurred()) SWIG_fail;
12756 }
12757 {
12758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12759 }
12760 {
12761 if (temp7)
12762 delete arg7;
12763 }
12764 return resultobj;
12765 fail:
12766 {
12767 if (temp7)
12768 delete arg7;
12769 }
12770 return NULL;
12771 }
12772
12773
12774 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12775 PyObject *resultobj = 0;
12776 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12777 wxLayoutAlignment result;
12778 void *argp1 = 0 ;
12779 int res1 = 0 ;
12780 PyObject *swig_obj[1] ;
12781
12782 if (!args) SWIG_fail;
12783 swig_obj[0] = args;
12784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12785 if (!SWIG_IsOK(res1)) {
12786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12787 }
12788 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12789 {
12790 PyThreadState* __tstate = wxPyBeginAllowThreads();
12791 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12792 wxPyEndAllowThreads(__tstate);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 }
12795 resultobj = SWIG_From_int(static_cast< int >(result));
12796 return resultobj;
12797 fail:
12798 return NULL;
12799 }
12800
12801
12802 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12803 PyObject *resultobj = 0;
12804 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12805 wxLayoutOrientation result;
12806 void *argp1 = 0 ;
12807 int res1 = 0 ;
12808 PyObject *swig_obj[1] ;
12809
12810 if (!args) SWIG_fail;
12811 swig_obj[0] = args;
12812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12813 if (!SWIG_IsOK(res1)) {
12814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12815 }
12816 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12817 {
12818 PyThreadState* __tstate = wxPyBeginAllowThreads();
12819 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12820 wxPyEndAllowThreads(__tstate);
12821 if (PyErr_Occurred()) SWIG_fail;
12822 }
12823 resultobj = SWIG_From_int(static_cast< int >(result));
12824 return resultobj;
12825 fail:
12826 return NULL;
12827 }
12828
12829
12830 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12831 PyObject *resultobj = 0;
12832 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12833 wxLayoutAlignment arg2 ;
12834 void *argp1 = 0 ;
12835 int res1 = 0 ;
12836 int val2 ;
12837 int ecode2 = 0 ;
12838 PyObject * obj0 = 0 ;
12839 PyObject * obj1 = 0 ;
12840 char * kwnames[] = {
12841 (char *) "self",(char *) "alignment", NULL
12842 };
12843
12844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12846 if (!SWIG_IsOK(res1)) {
12847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12848 }
12849 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12850 ecode2 = SWIG_AsVal_int(obj1, &val2);
12851 if (!SWIG_IsOK(ecode2)) {
12852 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12853 }
12854 arg2 = static_cast< wxLayoutAlignment >(val2);
12855 {
12856 PyThreadState* __tstate = wxPyBeginAllowThreads();
12857 (arg1)->SetAlignment(arg2);
12858 wxPyEndAllowThreads(__tstate);
12859 if (PyErr_Occurred()) SWIG_fail;
12860 }
12861 resultobj = SWIG_Py_Void();
12862 return resultobj;
12863 fail:
12864 return NULL;
12865 }
12866
12867
12868 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12869 PyObject *resultobj = 0;
12870 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12871 wxSize *arg2 = 0 ;
12872 void *argp1 = 0 ;
12873 int res1 = 0 ;
12874 wxSize temp2 ;
12875 PyObject * obj0 = 0 ;
12876 PyObject * obj1 = 0 ;
12877 char * kwnames[] = {
12878 (char *) "self",(char *) "size", NULL
12879 };
12880
12881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12883 if (!SWIG_IsOK(res1)) {
12884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12885 }
12886 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12887 {
12888 arg2 = &temp2;
12889 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12890 }
12891 {
12892 PyThreadState* __tstate = wxPyBeginAllowThreads();
12893 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12894 wxPyEndAllowThreads(__tstate);
12895 if (PyErr_Occurred()) SWIG_fail;
12896 }
12897 resultobj = SWIG_Py_Void();
12898 return resultobj;
12899 fail:
12900 return NULL;
12901 }
12902
12903
12904 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12905 PyObject *resultobj = 0;
12906 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12907 wxLayoutOrientation arg2 ;
12908 void *argp1 = 0 ;
12909 int res1 = 0 ;
12910 int val2 ;
12911 int ecode2 = 0 ;
12912 PyObject * obj0 = 0 ;
12913 PyObject * obj1 = 0 ;
12914 char * kwnames[] = {
12915 (char *) "self",(char *) "orientation", NULL
12916 };
12917
12918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12920 if (!SWIG_IsOK(res1)) {
12921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12922 }
12923 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12924 ecode2 = SWIG_AsVal_int(obj1, &val2);
12925 if (!SWIG_IsOK(ecode2)) {
12926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12927 }
12928 arg2 = static_cast< wxLayoutOrientation >(val2);
12929 {
12930 PyThreadState* __tstate = wxPyBeginAllowThreads();
12931 (arg1)->SetOrientation(arg2);
12932 wxPyEndAllowThreads(__tstate);
12933 if (PyErr_Occurred()) SWIG_fail;
12934 }
12935 resultobj = SWIG_Py_Void();
12936 return resultobj;
12937 fail:
12938 return NULL;
12939 }
12940
12941
12942 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12943 PyObject *obj;
12944 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12945 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12946 return SWIG_Py_Void();
12947 }
12948
12949 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12950 return SWIG_Python_InitShadowInstance(args);
12951 }
12952
12953 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12954 PyObject *resultobj = 0;
12955 wxLayoutAlgorithm *result = 0 ;
12956
12957 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12958 {
12959 PyThreadState* __tstate = wxPyBeginAllowThreads();
12960 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12961 wxPyEndAllowThreads(__tstate);
12962 if (PyErr_Occurred()) SWIG_fail;
12963 }
12964 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12965 return resultobj;
12966 fail:
12967 return NULL;
12968 }
12969
12970
12971 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12972 PyObject *resultobj = 0;
12973 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12974 void *argp1 = 0 ;
12975 int res1 = 0 ;
12976 PyObject *swig_obj[1] ;
12977
12978 if (!args) SWIG_fail;
12979 swig_obj[0] = args;
12980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12981 if (!SWIG_IsOK(res1)) {
12982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12983 }
12984 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 delete arg1;
12988
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 resultobj = SWIG_Py_Void();
12993 return resultobj;
12994 fail:
12995 return NULL;
12996 }
12997
12998
12999 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13000 PyObject *resultobj = 0;
13001 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13002 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13003 wxRect *arg3 = (wxRect *) NULL ;
13004 bool result;
13005 void *argp1 = 0 ;
13006 int res1 = 0 ;
13007 void *argp2 = 0 ;
13008 int res2 = 0 ;
13009 void *argp3 = 0 ;
13010 int res3 = 0 ;
13011 PyObject * obj0 = 0 ;
13012 PyObject * obj1 = 0 ;
13013 PyObject * obj2 = 0 ;
13014 char * kwnames[] = {
13015 (char *) "self",(char *) "frame",(char *) "rect", NULL
13016 };
13017
13018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13020 if (!SWIG_IsOK(res1)) {
13021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13022 }
13023 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13024 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13025 if (!SWIG_IsOK(res2)) {
13026 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13027 }
13028 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13029 if (obj2) {
13030 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13031 if (!SWIG_IsOK(res3)) {
13032 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13033 }
13034 arg3 = reinterpret_cast< wxRect * >(argp3);
13035 }
13036 {
13037 PyThreadState* __tstate = wxPyBeginAllowThreads();
13038 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 {
13043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13044 }
13045 return resultobj;
13046 fail:
13047 return NULL;
13048 }
13049
13050
13051 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13052 PyObject *resultobj = 0;
13053 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13054 wxFrame *arg2 = (wxFrame *) 0 ;
13055 wxWindow *arg3 = (wxWindow *) NULL ;
13056 bool result;
13057 void *argp1 = 0 ;
13058 int res1 = 0 ;
13059 void *argp2 = 0 ;
13060 int res2 = 0 ;
13061 void *argp3 = 0 ;
13062 int res3 = 0 ;
13063 PyObject * obj0 = 0 ;
13064 PyObject * obj1 = 0 ;
13065 PyObject * obj2 = 0 ;
13066 char * kwnames[] = {
13067 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13068 };
13069
13070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13072 if (!SWIG_IsOK(res1)) {
13073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13074 }
13075 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13076 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13077 if (!SWIG_IsOK(res2)) {
13078 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13079 }
13080 arg2 = reinterpret_cast< wxFrame * >(argp2);
13081 if (obj2) {
13082 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13083 if (!SWIG_IsOK(res3)) {
13084 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13085 }
13086 arg3 = reinterpret_cast< wxWindow * >(argp3);
13087 }
13088 {
13089 PyThreadState* __tstate = wxPyBeginAllowThreads();
13090 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13091 wxPyEndAllowThreads(__tstate);
13092 if (PyErr_Occurred()) SWIG_fail;
13093 }
13094 {
13095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13096 }
13097 return resultobj;
13098 fail:
13099 return NULL;
13100 }
13101
13102
13103 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13104 PyObject *resultobj = 0;
13105 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13106 wxWindow *arg2 = (wxWindow *) 0 ;
13107 wxWindow *arg3 = (wxWindow *) NULL ;
13108 bool result;
13109 void *argp1 = 0 ;
13110 int res1 = 0 ;
13111 void *argp2 = 0 ;
13112 int res2 = 0 ;
13113 void *argp3 = 0 ;
13114 int res3 = 0 ;
13115 PyObject * obj0 = 0 ;
13116 PyObject * obj1 = 0 ;
13117 PyObject * obj2 = 0 ;
13118 char * kwnames[] = {
13119 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13120 };
13121
13122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13124 if (!SWIG_IsOK(res1)) {
13125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13126 }
13127 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13128 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13129 if (!SWIG_IsOK(res2)) {
13130 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13131 }
13132 arg2 = reinterpret_cast< wxWindow * >(argp2);
13133 if (obj2) {
13134 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13135 if (!SWIG_IsOK(res3)) {
13136 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13137 }
13138 arg3 = reinterpret_cast< wxWindow * >(argp3);
13139 }
13140 {
13141 PyThreadState* __tstate = wxPyBeginAllowThreads();
13142 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13143 wxPyEndAllowThreads(__tstate);
13144 if (PyErr_Occurred()) SWIG_fail;
13145 }
13146 {
13147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13148 }
13149 return resultobj;
13150 fail:
13151 return NULL;
13152 }
13153
13154
13155 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13156 PyObject *obj;
13157 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13158 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13159 return SWIG_Py_Void();
13160 }
13161
13162 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13163 return SWIG_Python_InitShadowInstance(args);
13164 }
13165
13166 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13167 PyObject *resultobj = 0;
13168 wxWindow *arg1 = (wxWindow *) 0 ;
13169 int arg2 = (int) wxBORDER_NONE ;
13170 wxPopupWindow *result = 0 ;
13171 void *argp1 = 0 ;
13172 int res1 = 0 ;
13173 int val2 ;
13174 int ecode2 = 0 ;
13175 PyObject * obj0 = 0 ;
13176 PyObject * obj1 = 0 ;
13177 char * kwnames[] = {
13178 (char *) "parent",(char *) "flags", NULL
13179 };
13180
13181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13183 if (!SWIG_IsOK(res1)) {
13184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13185 }
13186 arg1 = reinterpret_cast< wxWindow * >(argp1);
13187 if (obj1) {
13188 ecode2 = SWIG_AsVal_int(obj1, &val2);
13189 if (!SWIG_IsOK(ecode2)) {
13190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13191 }
13192 arg2 = static_cast< int >(val2);
13193 }
13194 {
13195 PyThreadState* __tstate = wxPyBeginAllowThreads();
13196 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13197 wxPyEndAllowThreads(__tstate);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 }
13200 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13201 return resultobj;
13202 fail:
13203 return NULL;
13204 }
13205
13206
13207 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13208 PyObject *resultobj = 0;
13209 wxPopupWindow *result = 0 ;
13210
13211 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 result = (wxPopupWindow *)new wxPopupWindow();
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13219 return resultobj;
13220 fail:
13221 return NULL;
13222 }
13223
13224
13225 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13226 PyObject *obj;
13227 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13228 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13229 return SWIG_Py_Void();
13230 }
13231
13232 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13233 return SWIG_Python_InitShadowInstance(args);
13234 }
13235
13236 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13237 PyObject *resultobj = 0;
13238 wxWindow *arg1 = (wxWindow *) 0 ;
13239 int arg2 = (int) wxBORDER_NONE ;
13240 wxPyPopupTransientWindow *result = 0 ;
13241 void *argp1 = 0 ;
13242 int res1 = 0 ;
13243 int val2 ;
13244 int ecode2 = 0 ;
13245 PyObject * obj0 = 0 ;
13246 PyObject * obj1 = 0 ;
13247 char * kwnames[] = {
13248 (char *) "parent",(char *) "style", NULL
13249 };
13250
13251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13253 if (!SWIG_IsOK(res1)) {
13254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13255 }
13256 arg1 = reinterpret_cast< wxWindow * >(argp1);
13257 if (obj1) {
13258 ecode2 = SWIG_AsVal_int(obj1, &val2);
13259 if (!SWIG_IsOK(ecode2)) {
13260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13261 }
13262 arg2 = static_cast< int >(val2);
13263 }
13264 {
13265 PyThreadState* __tstate = wxPyBeginAllowThreads();
13266 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13267 wxPyEndAllowThreads(__tstate);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 }
13270 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13271 return resultobj;
13272 fail:
13273 return NULL;
13274 }
13275
13276
13277 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13278 PyObject *resultobj = 0;
13279 wxPyPopupTransientWindow *result = 0 ;
13280
13281 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13282 {
13283 PyThreadState* __tstate = wxPyBeginAllowThreads();
13284 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13285 wxPyEndAllowThreads(__tstate);
13286 if (PyErr_Occurred()) SWIG_fail;
13287 }
13288 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13289 return resultobj;
13290 fail:
13291 return NULL;
13292 }
13293
13294
13295 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13296 PyObject *obj;
13297 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13298 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13299 return SWIG_Py_Void();
13300 }
13301
13302 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13303 return SWIG_Python_InitShadowInstance(args);
13304 }
13305
13306 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13307 PyObject *resultobj = 0;
13308 wxWindow *arg1 = (wxWindow *) 0 ;
13309 wxString *arg2 = 0 ;
13310 int arg3 = (int) 100 ;
13311 wxRect *arg4 = (wxRect *) NULL ;
13312 wxTipWindow *result = 0 ;
13313 void *argp1 = 0 ;
13314 int res1 = 0 ;
13315 bool temp2 = false ;
13316 int val3 ;
13317 int ecode3 = 0 ;
13318 void *argp4 = 0 ;
13319 int res4 = 0 ;
13320 PyObject * obj0 = 0 ;
13321 PyObject * obj1 = 0 ;
13322 PyObject * obj2 = 0 ;
13323 PyObject * obj3 = 0 ;
13324 char * kwnames[] = {
13325 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13326 };
13327
13328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13330 if (!SWIG_IsOK(res1)) {
13331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13332 }
13333 arg1 = reinterpret_cast< wxWindow * >(argp1);
13334 {
13335 arg2 = wxString_in_helper(obj1);
13336 if (arg2 == NULL) SWIG_fail;
13337 temp2 = true;
13338 }
13339 if (obj2) {
13340 ecode3 = SWIG_AsVal_int(obj2, &val3);
13341 if (!SWIG_IsOK(ecode3)) {
13342 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13343 }
13344 arg3 = static_cast< int >(val3);
13345 }
13346 if (obj3) {
13347 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13348 if (!SWIG_IsOK(res4)) {
13349 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13350 }
13351 arg4 = reinterpret_cast< wxRect * >(argp4);
13352 }
13353 {
13354 if (!wxPyCheckForApp()) SWIG_fail;
13355 PyThreadState* __tstate = wxPyBeginAllowThreads();
13356 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13361 {
13362 if (temp2)
13363 delete arg2;
13364 }
13365 return resultobj;
13366 fail:
13367 {
13368 if (temp2)
13369 delete arg2;
13370 }
13371 return NULL;
13372 }
13373
13374
13375 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj = 0;
13377 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13378 wxRect *arg2 = 0 ;
13379 void *argp1 = 0 ;
13380 int res1 = 0 ;
13381 wxRect temp2 ;
13382 PyObject * obj0 = 0 ;
13383 PyObject * obj1 = 0 ;
13384 char * kwnames[] = {
13385 (char *) "self",(char *) "rectBound", NULL
13386 };
13387
13388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13390 if (!SWIG_IsOK(res1)) {
13391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13392 }
13393 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13394 {
13395 arg2 = &temp2;
13396 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13397 }
13398 {
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13401 wxPyEndAllowThreads(__tstate);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 resultobj = SWIG_Py_Void();
13405 return resultobj;
13406 fail:
13407 return NULL;
13408 }
13409
13410
13411 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13412 PyObject *resultobj = 0;
13413 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13414 void *argp1 = 0 ;
13415 int res1 = 0 ;
13416 PyObject *swig_obj[1] ;
13417
13418 if (!args) SWIG_fail;
13419 swig_obj[0] = args;
13420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13421 if (!SWIG_IsOK(res1)) {
13422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13423 }
13424 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13425 {
13426 PyThreadState* __tstate = wxPyBeginAllowThreads();
13427 (arg1)->Close();
13428 wxPyEndAllowThreads(__tstate);
13429 if (PyErr_Occurred()) SWIG_fail;
13430 }
13431 resultobj = SWIG_Py_Void();
13432 return resultobj;
13433 fail:
13434 return NULL;
13435 }
13436
13437
13438 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13439 PyObject *obj;
13440 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13441 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13442 return SWIG_Py_Void();
13443 }
13444
13445 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13446 return SWIG_Python_InitShadowInstance(args);
13447 }
13448
13449 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13450 PyObject *resultobj = 0;
13451 wxWindow *arg1 = (wxWindow *) 0 ;
13452 int arg2 = (int) wxID_ANY ;
13453 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13454 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13455 wxSize const &arg4_defvalue = wxDefaultSize ;
13456 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13457 long arg5 = (long) 0 ;
13458 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13459 wxString *arg6 = (wxString *) &arg6_defvalue ;
13460 wxPyVScrolledWindow *result = 0 ;
13461 void *argp1 = 0 ;
13462 int res1 = 0 ;
13463 int val2 ;
13464 int ecode2 = 0 ;
13465 wxPoint temp3 ;
13466 wxSize temp4 ;
13467 long val5 ;
13468 int ecode5 = 0 ;
13469 bool temp6 = false ;
13470 PyObject * obj0 = 0 ;
13471 PyObject * obj1 = 0 ;
13472 PyObject * obj2 = 0 ;
13473 PyObject * obj3 = 0 ;
13474 PyObject * obj4 = 0 ;
13475 PyObject * obj5 = 0 ;
13476 char * kwnames[] = {
13477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13478 };
13479
13480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13482 if (!SWIG_IsOK(res1)) {
13483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13484 }
13485 arg1 = reinterpret_cast< wxWindow * >(argp1);
13486 if (obj1) {
13487 ecode2 = SWIG_AsVal_int(obj1, &val2);
13488 if (!SWIG_IsOK(ecode2)) {
13489 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13490 }
13491 arg2 = static_cast< int >(val2);
13492 }
13493 if (obj2) {
13494 {
13495 arg3 = &temp3;
13496 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13497 }
13498 }
13499 if (obj3) {
13500 {
13501 arg4 = &temp4;
13502 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13503 }
13504 }
13505 if (obj4) {
13506 ecode5 = SWIG_AsVal_long(obj4, &val5);
13507 if (!SWIG_IsOK(ecode5)) {
13508 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13509 }
13510 arg5 = static_cast< long >(val5);
13511 }
13512 if (obj5) {
13513 {
13514 arg6 = wxString_in_helper(obj5);
13515 if (arg6 == NULL) SWIG_fail;
13516 temp6 = true;
13517 }
13518 }
13519 {
13520 if (!wxPyCheckForApp()) SWIG_fail;
13521 PyThreadState* __tstate = wxPyBeginAllowThreads();
13522 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13523 wxPyEndAllowThreads(__tstate);
13524 if (PyErr_Occurred()) SWIG_fail;
13525 }
13526 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13527 {
13528 if (temp6)
13529 delete arg6;
13530 }
13531 return resultobj;
13532 fail:
13533 {
13534 if (temp6)
13535 delete arg6;
13536 }
13537 return NULL;
13538 }
13539
13540
13541 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13542 PyObject *resultobj = 0;
13543 wxPyVScrolledWindow *result = 0 ;
13544
13545 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13546 {
13547 if (!wxPyCheckForApp()) SWIG_fail;
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13550 wxPyEndAllowThreads(__tstate);
13551 if (PyErr_Occurred()) SWIG_fail;
13552 }
13553 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13554 return resultobj;
13555 fail:
13556 return NULL;
13557 }
13558
13559
13560 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13561 PyObject *resultobj = 0;
13562 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13563 PyObject *arg2 = (PyObject *) 0 ;
13564 PyObject *arg3 = (PyObject *) 0 ;
13565 void *argp1 = 0 ;
13566 int res1 = 0 ;
13567 PyObject * obj0 = 0 ;
13568 PyObject * obj1 = 0 ;
13569 PyObject * obj2 = 0 ;
13570 char * kwnames[] = {
13571 (char *) "self",(char *) "self",(char *) "_class", NULL
13572 };
13573
13574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13576 if (!SWIG_IsOK(res1)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13578 }
13579 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13580 arg2 = obj1;
13581 arg3 = obj2;
13582 {
13583 PyThreadState* __tstate = wxPyBeginAllowThreads();
13584 (arg1)->_setCallbackInfo(arg2,arg3);
13585 wxPyEndAllowThreads(__tstate);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
13588 resultobj = SWIG_Py_Void();
13589 return resultobj;
13590 fail:
13591 return NULL;
13592 }
13593
13594
13595 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13596 PyObject *resultobj = 0;
13597 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13598 wxWindow *arg2 = (wxWindow *) 0 ;
13599 int arg3 = (int) wxID_ANY ;
13600 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13601 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13602 wxSize const &arg5_defvalue = wxDefaultSize ;
13603 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13604 long arg6 = (long) 0 ;
13605 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13606 wxString *arg7 = (wxString *) &arg7_defvalue ;
13607 bool result;
13608 void *argp1 = 0 ;
13609 int res1 = 0 ;
13610 void *argp2 = 0 ;
13611 int res2 = 0 ;
13612 int val3 ;
13613 int ecode3 = 0 ;
13614 wxPoint temp4 ;
13615 wxSize temp5 ;
13616 long val6 ;
13617 int ecode6 = 0 ;
13618 bool temp7 = false ;
13619 PyObject * obj0 = 0 ;
13620 PyObject * obj1 = 0 ;
13621 PyObject * obj2 = 0 ;
13622 PyObject * obj3 = 0 ;
13623 PyObject * obj4 = 0 ;
13624 PyObject * obj5 = 0 ;
13625 PyObject * obj6 = 0 ;
13626 char * kwnames[] = {
13627 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13628 };
13629
13630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13632 if (!SWIG_IsOK(res1)) {
13633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13634 }
13635 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13636 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13637 if (!SWIG_IsOK(res2)) {
13638 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13639 }
13640 arg2 = reinterpret_cast< wxWindow * >(argp2);
13641 if (obj2) {
13642 ecode3 = SWIG_AsVal_int(obj2, &val3);
13643 if (!SWIG_IsOK(ecode3)) {
13644 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13645 }
13646 arg3 = static_cast< int >(val3);
13647 }
13648 if (obj3) {
13649 {
13650 arg4 = &temp4;
13651 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13652 }
13653 }
13654 if (obj4) {
13655 {
13656 arg5 = &temp5;
13657 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13658 }
13659 }
13660 if (obj5) {
13661 ecode6 = SWIG_AsVal_long(obj5, &val6);
13662 if (!SWIG_IsOK(ecode6)) {
13663 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13664 }
13665 arg6 = static_cast< long >(val6);
13666 }
13667 if (obj6) {
13668 {
13669 arg7 = wxString_in_helper(obj6);
13670 if (arg7 == NULL) SWIG_fail;
13671 temp7 = true;
13672 }
13673 }
13674 {
13675 PyThreadState* __tstate = wxPyBeginAllowThreads();
13676 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13677 wxPyEndAllowThreads(__tstate);
13678 if (PyErr_Occurred()) SWIG_fail;
13679 }
13680 {
13681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13682 }
13683 {
13684 if (temp7)
13685 delete arg7;
13686 }
13687 return resultobj;
13688 fail:
13689 {
13690 if (temp7)
13691 delete arg7;
13692 }
13693 return NULL;
13694 }
13695
13696
13697 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13698 PyObject *resultobj = 0;
13699 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13700 size_t arg2 ;
13701 void *argp1 = 0 ;
13702 int res1 = 0 ;
13703 size_t val2 ;
13704 int ecode2 = 0 ;
13705 PyObject * obj0 = 0 ;
13706 PyObject * obj1 = 0 ;
13707 char * kwnames[] = {
13708 (char *) "self",(char *) "count", NULL
13709 };
13710
13711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13713 if (!SWIG_IsOK(res1)) {
13714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13715 }
13716 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13717 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13718 if (!SWIG_IsOK(ecode2)) {
13719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13720 }
13721 arg2 = static_cast< size_t >(val2);
13722 {
13723 PyThreadState* __tstate = wxPyBeginAllowThreads();
13724 (arg1)->SetLineCount(arg2);
13725 wxPyEndAllowThreads(__tstate);
13726 if (PyErr_Occurred()) SWIG_fail;
13727 }
13728 resultobj = SWIG_Py_Void();
13729 return resultobj;
13730 fail:
13731 return NULL;
13732 }
13733
13734
13735 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13736 PyObject *resultobj = 0;
13737 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13738 size_t arg2 ;
13739 bool result;
13740 void *argp1 = 0 ;
13741 int res1 = 0 ;
13742 size_t val2 ;
13743 int ecode2 = 0 ;
13744 PyObject * obj0 = 0 ;
13745 PyObject * obj1 = 0 ;
13746 char * kwnames[] = {
13747 (char *) "self",(char *) "line", NULL
13748 };
13749
13750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13752 if (!SWIG_IsOK(res1)) {
13753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13754 }
13755 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13756 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13757 if (!SWIG_IsOK(ecode2)) {
13758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13759 }
13760 arg2 = static_cast< size_t >(val2);
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
13763 result = (bool)(arg1)->ScrollToLine(arg2);
13764 wxPyEndAllowThreads(__tstate);
13765 if (PyErr_Occurred()) SWIG_fail;
13766 }
13767 {
13768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13769 }
13770 return resultobj;
13771 fail:
13772 return NULL;
13773 }
13774
13775
13776 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13777 PyObject *resultobj = 0;
13778 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13779 size_t arg2 ;
13780 void *argp1 = 0 ;
13781 int res1 = 0 ;
13782 size_t val2 ;
13783 int ecode2 = 0 ;
13784 PyObject * obj0 = 0 ;
13785 PyObject * obj1 = 0 ;
13786 char * kwnames[] = {
13787 (char *) "self",(char *) "line", NULL
13788 };
13789
13790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13792 if (!SWIG_IsOK(res1)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13794 }
13795 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13796 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13797 if (!SWIG_IsOK(ecode2)) {
13798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13799 }
13800 arg2 = static_cast< size_t >(val2);
13801 {
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
13803 (arg1)->RefreshLine(arg2);
13804 wxPyEndAllowThreads(__tstate);
13805 if (PyErr_Occurred()) SWIG_fail;
13806 }
13807 resultobj = SWIG_Py_Void();
13808 return resultobj;
13809 fail:
13810 return NULL;
13811 }
13812
13813
13814 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13815 PyObject *resultobj = 0;
13816 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13817 size_t arg2 ;
13818 size_t arg3 ;
13819 void *argp1 = 0 ;
13820 int res1 = 0 ;
13821 size_t val2 ;
13822 int ecode2 = 0 ;
13823 size_t val3 ;
13824 int ecode3 = 0 ;
13825 PyObject * obj0 = 0 ;
13826 PyObject * obj1 = 0 ;
13827 PyObject * obj2 = 0 ;
13828 char * kwnames[] = {
13829 (char *) "self",(char *) "from",(char *) "to", NULL
13830 };
13831
13832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13834 if (!SWIG_IsOK(res1)) {
13835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13836 }
13837 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13838 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13839 if (!SWIG_IsOK(ecode2)) {
13840 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13841 }
13842 arg2 = static_cast< size_t >(val2);
13843 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13844 if (!SWIG_IsOK(ecode3)) {
13845 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13846 }
13847 arg3 = static_cast< size_t >(val3);
13848 {
13849 PyThreadState* __tstate = wxPyBeginAllowThreads();
13850 (arg1)->RefreshLines(arg2,arg3);
13851 wxPyEndAllowThreads(__tstate);
13852 if (PyErr_Occurred()) SWIG_fail;
13853 }
13854 resultobj = SWIG_Py_Void();
13855 return resultobj;
13856 fail:
13857 return NULL;
13858 }
13859
13860
13861 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13862 PyObject *resultobj = 0;
13863 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13864 int arg2 ;
13865 int arg3 ;
13866 int result;
13867 void *argp1 = 0 ;
13868 int res1 = 0 ;
13869 int val2 ;
13870 int ecode2 = 0 ;
13871 int val3 ;
13872 int ecode3 = 0 ;
13873 PyObject * obj0 = 0 ;
13874 PyObject * obj1 = 0 ;
13875 PyObject * obj2 = 0 ;
13876 char * kwnames[] = {
13877 (char *) "self",(char *) "x",(char *) "y", NULL
13878 };
13879
13880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13882 if (!SWIG_IsOK(res1)) {
13883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13884 }
13885 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13886 ecode2 = SWIG_AsVal_int(obj1, &val2);
13887 if (!SWIG_IsOK(ecode2)) {
13888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13889 }
13890 arg2 = static_cast< int >(val2);
13891 ecode3 = SWIG_AsVal_int(obj2, &val3);
13892 if (!SWIG_IsOK(ecode3)) {
13893 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13894 }
13895 arg3 = static_cast< int >(val3);
13896 {
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13899 wxPyEndAllowThreads(__tstate);
13900 if (PyErr_Occurred()) SWIG_fail;
13901 }
13902 resultobj = SWIG_From_int(static_cast< int >(result));
13903 return resultobj;
13904 fail:
13905 return NULL;
13906 }
13907
13908
13909 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13910 PyObject *resultobj = 0;
13911 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13912 wxPoint *arg2 = 0 ;
13913 int result;
13914 void *argp1 = 0 ;
13915 int res1 = 0 ;
13916 wxPoint temp2 ;
13917 PyObject * obj0 = 0 ;
13918 PyObject * obj1 = 0 ;
13919 char * kwnames[] = {
13920 (char *) "self",(char *) "pt", NULL
13921 };
13922
13923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13925 if (!SWIG_IsOK(res1)) {
13926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13927 }
13928 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13929 {
13930 arg2 = &temp2;
13931 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13932 }
13933 {
13934 PyThreadState* __tstate = wxPyBeginAllowThreads();
13935 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13936 wxPyEndAllowThreads(__tstate);
13937 if (PyErr_Occurred()) SWIG_fail;
13938 }
13939 resultobj = SWIG_From_int(static_cast< int >(result));
13940 return resultobj;
13941 fail:
13942 return NULL;
13943 }
13944
13945
13946 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13947 PyObject *resultobj = 0;
13948 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13949 void *argp1 = 0 ;
13950 int res1 = 0 ;
13951 PyObject *swig_obj[1] ;
13952
13953 if (!args) SWIG_fail;
13954 swig_obj[0] = args;
13955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13956 if (!SWIG_IsOK(res1)) {
13957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13958 }
13959 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13960 {
13961 PyThreadState* __tstate = wxPyBeginAllowThreads();
13962 (arg1)->RefreshAll();
13963 wxPyEndAllowThreads(__tstate);
13964 if (PyErr_Occurred()) SWIG_fail;
13965 }
13966 resultobj = SWIG_Py_Void();
13967 return resultobj;
13968 fail:
13969 return NULL;
13970 }
13971
13972
13973 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13974 PyObject *resultobj = 0;
13975 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13976 size_t result;
13977 void *argp1 = 0 ;
13978 int res1 = 0 ;
13979 PyObject *swig_obj[1] ;
13980
13981 if (!args) SWIG_fail;
13982 swig_obj[0] = args;
13983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13984 if (!SWIG_IsOK(res1)) {
13985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13986 }
13987 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13988 {
13989 PyThreadState* __tstate = wxPyBeginAllowThreads();
13990 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13991 wxPyEndAllowThreads(__tstate);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 }
13994 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13995 return resultobj;
13996 fail:
13997 return NULL;
13998 }
13999
14000
14001 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14002 PyObject *resultobj = 0;
14003 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14004 size_t result;
14005 void *argp1 = 0 ;
14006 int res1 = 0 ;
14007 PyObject *swig_obj[1] ;
14008
14009 if (!args) SWIG_fail;
14010 swig_obj[0] = args;
14011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14012 if (!SWIG_IsOK(res1)) {
14013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14014 }
14015 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14016 {
14017 PyThreadState* __tstate = wxPyBeginAllowThreads();
14018 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14019 wxPyEndAllowThreads(__tstate);
14020 if (PyErr_Occurred()) SWIG_fail;
14021 }
14022 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14023 return resultobj;
14024 fail:
14025 return NULL;
14026 }
14027
14028
14029 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14030 PyObject *resultobj = 0;
14031 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14032 size_t result;
14033 void *argp1 = 0 ;
14034 int res1 = 0 ;
14035 PyObject *swig_obj[1] ;
14036
14037 if (!args) SWIG_fail;
14038 swig_obj[0] = args;
14039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14040 if (!SWIG_IsOK(res1)) {
14041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14042 }
14043 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14044 {
14045 PyThreadState* __tstate = wxPyBeginAllowThreads();
14046 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14047 wxPyEndAllowThreads(__tstate);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14051 return resultobj;
14052 fail:
14053 return NULL;
14054 }
14055
14056
14057 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14058 PyObject *resultobj = 0;
14059 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14060 size_t arg2 ;
14061 bool result;
14062 void *argp1 = 0 ;
14063 int res1 = 0 ;
14064 size_t val2 ;
14065 int ecode2 = 0 ;
14066 PyObject * obj0 = 0 ;
14067 PyObject * obj1 = 0 ;
14068 char * kwnames[] = {
14069 (char *) "self",(char *) "line", NULL
14070 };
14071
14072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14074 if (!SWIG_IsOK(res1)) {
14075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14076 }
14077 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14078 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14079 if (!SWIG_IsOK(ecode2)) {
14080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14081 }
14082 arg2 = static_cast< size_t >(val2);
14083 {
14084 PyThreadState* __tstate = wxPyBeginAllowThreads();
14085 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 {
14090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14091 }
14092 return resultobj;
14093 fail:
14094 return NULL;
14095 }
14096
14097
14098 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14099 PyObject *resultobj = 0;
14100 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14101 size_t result;
14102 void *argp1 = 0 ;
14103 int res1 = 0 ;
14104 PyObject *swig_obj[1] ;
14105
14106 if (!args) SWIG_fail;
14107 swig_obj[0] = args;
14108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14109 if (!SWIG_IsOK(res1)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14111 }
14112 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14113 {
14114 PyThreadState* __tstate = wxPyBeginAllowThreads();
14115 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14116 wxPyEndAllowThreads(__tstate);
14117 if (PyErr_Occurred()) SWIG_fail;
14118 }
14119 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14120 return resultobj;
14121 fail:
14122 return NULL;
14123 }
14124
14125
14126 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14127 PyObject *resultobj = 0;
14128 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14129 size_t result;
14130 void *argp1 = 0 ;
14131 int res1 = 0 ;
14132 PyObject *swig_obj[1] ;
14133
14134 if (!args) SWIG_fail;
14135 swig_obj[0] = args;
14136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14137 if (!SWIG_IsOK(res1)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14139 }
14140 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14144 wxPyEndAllowThreads(__tstate);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 }
14147 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14148 return resultobj;
14149 fail:
14150 return NULL;
14151 }
14152
14153
14154 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14155 PyObject *resultobj = 0;
14156 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14157 size_t arg2 ;
14158 bool arg3 = (bool) false ;
14159 size_t result;
14160 void *argp1 = 0 ;
14161 int res1 = 0 ;
14162 size_t val2 ;
14163 int ecode2 = 0 ;
14164 bool val3 ;
14165 int ecode3 = 0 ;
14166 PyObject * obj0 = 0 ;
14167 PyObject * obj1 = 0 ;
14168 PyObject * obj2 = 0 ;
14169 char * kwnames[] = {
14170 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14171 };
14172
14173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14175 if (!SWIG_IsOK(res1)) {
14176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14177 }
14178 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14179 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14180 if (!SWIG_IsOK(ecode2)) {
14181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14182 }
14183 arg2 = static_cast< size_t >(val2);
14184 if (obj2) {
14185 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14186 if (!SWIG_IsOK(ecode3)) {
14187 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14188 }
14189 arg3 = static_cast< bool >(val3);
14190 }
14191 {
14192 PyThreadState* __tstate = wxPyBeginAllowThreads();
14193 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14194 wxPyEndAllowThreads(__tstate);
14195 if (PyErr_Occurred()) SWIG_fail;
14196 }
14197 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14198 return resultobj;
14199 fail:
14200 return NULL;
14201 }
14202
14203
14204 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14205 PyObject *resultobj = 0;
14206 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14207 size_t arg2 ;
14208 size_t arg3 ;
14209 int result;
14210 void *argp1 = 0 ;
14211 int res1 = 0 ;
14212 size_t val2 ;
14213 int ecode2 = 0 ;
14214 size_t val3 ;
14215 int ecode3 = 0 ;
14216 PyObject * obj0 = 0 ;
14217 PyObject * obj1 = 0 ;
14218 PyObject * obj2 = 0 ;
14219 char * kwnames[] = {
14220 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14221 };
14222
14223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14225 if (!SWIG_IsOK(res1)) {
14226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14227 }
14228 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14229 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14230 if (!SWIG_IsOK(ecode2)) {
14231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14232 }
14233 arg2 = static_cast< size_t >(val2);
14234 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14235 if (!SWIG_IsOK(ecode3)) {
14236 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14237 }
14238 arg3 = static_cast< size_t >(val3);
14239 {
14240 PyThreadState* __tstate = wxPyBeginAllowThreads();
14241 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 resultobj = SWIG_From_int(static_cast< int >(result));
14246 return resultobj;
14247 fail:
14248 return NULL;
14249 }
14250
14251
14252 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14253 PyObject *obj;
14254 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14255 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14256 return SWIG_Py_Void();
14257 }
14258
14259 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14260 return SWIG_Python_InitShadowInstance(args);
14261 }
14262
14263 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14264 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14265 return 1;
14266 }
14267
14268
14269 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14270 PyObject *pyobj = 0;
14271
14272 {
14273 #if wxUSE_UNICODE
14274 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14275 #else
14276 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14277 #endif
14278 }
14279 return pyobj;
14280 }
14281
14282
14283 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14284 PyObject *resultobj = 0;
14285 wxWindow *arg1 = (wxWindow *) 0 ;
14286 int arg2 = (int) wxID_ANY ;
14287 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14288 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14289 wxSize const &arg4_defvalue = wxDefaultSize ;
14290 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14291 long arg5 = (long) 0 ;
14292 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14293 wxString *arg6 = (wxString *) &arg6_defvalue ;
14294 wxPyVListBox *result = 0 ;
14295 void *argp1 = 0 ;
14296 int res1 = 0 ;
14297 int val2 ;
14298 int ecode2 = 0 ;
14299 wxPoint temp3 ;
14300 wxSize temp4 ;
14301 long val5 ;
14302 int ecode5 = 0 ;
14303 bool temp6 = false ;
14304 PyObject * obj0 = 0 ;
14305 PyObject * obj1 = 0 ;
14306 PyObject * obj2 = 0 ;
14307 PyObject * obj3 = 0 ;
14308 PyObject * obj4 = 0 ;
14309 PyObject * obj5 = 0 ;
14310 char * kwnames[] = {
14311 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14312 };
14313
14314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14316 if (!SWIG_IsOK(res1)) {
14317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14318 }
14319 arg1 = reinterpret_cast< wxWindow * >(argp1);
14320 if (obj1) {
14321 ecode2 = SWIG_AsVal_int(obj1, &val2);
14322 if (!SWIG_IsOK(ecode2)) {
14323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14324 }
14325 arg2 = static_cast< int >(val2);
14326 }
14327 if (obj2) {
14328 {
14329 arg3 = &temp3;
14330 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14331 }
14332 }
14333 if (obj3) {
14334 {
14335 arg4 = &temp4;
14336 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14337 }
14338 }
14339 if (obj4) {
14340 ecode5 = SWIG_AsVal_long(obj4, &val5);
14341 if (!SWIG_IsOK(ecode5)) {
14342 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14343 }
14344 arg5 = static_cast< long >(val5);
14345 }
14346 if (obj5) {
14347 {
14348 arg6 = wxString_in_helper(obj5);
14349 if (arg6 == NULL) SWIG_fail;
14350 temp6 = true;
14351 }
14352 }
14353 {
14354 if (!wxPyCheckForApp()) SWIG_fail;
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14357 wxPyEndAllowThreads(__tstate);
14358 if (PyErr_Occurred()) SWIG_fail;
14359 }
14360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14361 {
14362 if (temp6)
14363 delete arg6;
14364 }
14365 return resultobj;
14366 fail:
14367 {
14368 if (temp6)
14369 delete arg6;
14370 }
14371 return NULL;
14372 }
14373
14374
14375 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14376 PyObject *resultobj = 0;
14377 wxPyVListBox *result = 0 ;
14378
14379 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14380 {
14381 if (!wxPyCheckForApp()) SWIG_fail;
14382 PyThreadState* __tstate = wxPyBeginAllowThreads();
14383 result = (wxPyVListBox *)new wxPyVListBox();
14384 wxPyEndAllowThreads(__tstate);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 }
14387 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14388 return resultobj;
14389 fail:
14390 return NULL;
14391 }
14392
14393
14394 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14395 PyObject *resultobj = 0;
14396 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14397 PyObject *arg2 = (PyObject *) 0 ;
14398 PyObject *arg3 = (PyObject *) 0 ;
14399 void *argp1 = 0 ;
14400 int res1 = 0 ;
14401 PyObject * obj0 = 0 ;
14402 PyObject * obj1 = 0 ;
14403 PyObject * obj2 = 0 ;
14404 char * kwnames[] = {
14405 (char *) "self",(char *) "self",(char *) "_class", NULL
14406 };
14407
14408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14410 if (!SWIG_IsOK(res1)) {
14411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14412 }
14413 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14414 arg2 = obj1;
14415 arg3 = obj2;
14416 {
14417 PyThreadState* __tstate = wxPyBeginAllowThreads();
14418 (arg1)->_setCallbackInfo(arg2,arg3);
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 resultobj = SWIG_Py_Void();
14423 return resultobj;
14424 fail:
14425 return NULL;
14426 }
14427
14428
14429 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14430 PyObject *resultobj = 0;
14431 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14432 wxWindow *arg2 = (wxWindow *) 0 ;
14433 int arg3 = (int) wxID_ANY ;
14434 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14435 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14436 wxSize const &arg5_defvalue = wxDefaultSize ;
14437 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14438 long arg6 = (long) 0 ;
14439 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14440 wxString *arg7 = (wxString *) &arg7_defvalue ;
14441 bool result;
14442 void *argp1 = 0 ;
14443 int res1 = 0 ;
14444 void *argp2 = 0 ;
14445 int res2 = 0 ;
14446 int val3 ;
14447 int ecode3 = 0 ;
14448 wxPoint temp4 ;
14449 wxSize temp5 ;
14450 long val6 ;
14451 int ecode6 = 0 ;
14452 bool temp7 = false ;
14453 PyObject * obj0 = 0 ;
14454 PyObject * obj1 = 0 ;
14455 PyObject * obj2 = 0 ;
14456 PyObject * obj3 = 0 ;
14457 PyObject * obj4 = 0 ;
14458 PyObject * obj5 = 0 ;
14459 PyObject * obj6 = 0 ;
14460 char * kwnames[] = {
14461 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14462 };
14463
14464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14466 if (!SWIG_IsOK(res1)) {
14467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14468 }
14469 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14470 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14471 if (!SWIG_IsOK(res2)) {
14472 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14473 }
14474 arg2 = reinterpret_cast< wxWindow * >(argp2);
14475 if (obj2) {
14476 ecode3 = SWIG_AsVal_int(obj2, &val3);
14477 if (!SWIG_IsOK(ecode3)) {
14478 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14479 }
14480 arg3 = static_cast< int >(val3);
14481 }
14482 if (obj3) {
14483 {
14484 arg4 = &temp4;
14485 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14486 }
14487 }
14488 if (obj4) {
14489 {
14490 arg5 = &temp5;
14491 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14492 }
14493 }
14494 if (obj5) {
14495 ecode6 = SWIG_AsVal_long(obj5, &val6);
14496 if (!SWIG_IsOK(ecode6)) {
14497 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14498 }
14499 arg6 = static_cast< long >(val6);
14500 }
14501 if (obj6) {
14502 {
14503 arg7 = wxString_in_helper(obj6);
14504 if (arg7 == NULL) SWIG_fail;
14505 temp7 = true;
14506 }
14507 }
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14511 wxPyEndAllowThreads(__tstate);
14512 if (PyErr_Occurred()) SWIG_fail;
14513 }
14514 {
14515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14516 }
14517 {
14518 if (temp7)
14519 delete arg7;
14520 }
14521 return resultobj;
14522 fail:
14523 {
14524 if (temp7)
14525 delete arg7;
14526 }
14527 return NULL;
14528 }
14529
14530
14531 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14532 PyObject *resultobj = 0;
14533 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14534 size_t result;
14535 void *argp1 = 0 ;
14536 int res1 = 0 ;
14537 PyObject *swig_obj[1] ;
14538
14539 if (!args) SWIG_fail;
14540 swig_obj[0] = args;
14541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14542 if (!SWIG_IsOK(res1)) {
14543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14544 }
14545 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14546 {
14547 PyThreadState* __tstate = wxPyBeginAllowThreads();
14548 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14549 wxPyEndAllowThreads(__tstate);
14550 if (PyErr_Occurred()) SWIG_fail;
14551 }
14552 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14553 return resultobj;
14554 fail:
14555 return NULL;
14556 }
14557
14558
14559 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14560 PyObject *resultobj = 0;
14561 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14562 bool result;
14563 void *argp1 = 0 ;
14564 int res1 = 0 ;
14565 PyObject *swig_obj[1] ;
14566
14567 if (!args) SWIG_fail;
14568 swig_obj[0] = args;
14569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14570 if (!SWIG_IsOK(res1)) {
14571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14572 }
14573 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14574 {
14575 PyThreadState* __tstate = wxPyBeginAllowThreads();
14576 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14577 wxPyEndAllowThreads(__tstate);
14578 if (PyErr_Occurred()) SWIG_fail;
14579 }
14580 {
14581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14582 }
14583 return resultobj;
14584 fail:
14585 return NULL;
14586 }
14587
14588
14589 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14590 PyObject *resultobj = 0;
14591 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14592 int result;
14593 void *argp1 = 0 ;
14594 int res1 = 0 ;
14595 PyObject *swig_obj[1] ;
14596
14597 if (!args) SWIG_fail;
14598 swig_obj[0] = args;
14599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14600 if (!SWIG_IsOK(res1)) {
14601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14602 }
14603 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14604 {
14605 PyThreadState* __tstate = wxPyBeginAllowThreads();
14606 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14607 wxPyEndAllowThreads(__tstate);
14608 if (PyErr_Occurred()) SWIG_fail;
14609 }
14610 resultobj = SWIG_From_int(static_cast< int >(result));
14611 return resultobj;
14612 fail:
14613 return NULL;
14614 }
14615
14616
14617 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14618 PyObject *resultobj = 0;
14619 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14620 size_t arg2 ;
14621 bool result;
14622 void *argp1 = 0 ;
14623 int res1 = 0 ;
14624 size_t val2 ;
14625 int ecode2 = 0 ;
14626 PyObject * obj0 = 0 ;
14627 PyObject * obj1 = 0 ;
14628 char * kwnames[] = {
14629 (char *) "self",(char *) "item", NULL
14630 };
14631
14632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14634 if (!SWIG_IsOK(res1)) {
14635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14636 }
14637 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14638 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14639 if (!SWIG_IsOK(ecode2)) {
14640 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14641 }
14642 arg2 = static_cast< size_t >(val2);
14643 {
14644 PyThreadState* __tstate = wxPyBeginAllowThreads();
14645 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14646 wxPyEndAllowThreads(__tstate);
14647 if (PyErr_Occurred()) SWIG_fail;
14648 }
14649 {
14650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14651 }
14652 return resultobj;
14653 fail:
14654 return NULL;
14655 }
14656
14657
14658 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14659 PyObject *resultobj = 0;
14660 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14661 size_t arg2 ;
14662 bool result;
14663 void *argp1 = 0 ;
14664 int res1 = 0 ;
14665 size_t val2 ;
14666 int ecode2 = 0 ;
14667 PyObject * obj0 = 0 ;
14668 PyObject * obj1 = 0 ;
14669 char * kwnames[] = {
14670 (char *) "self",(char *) "item", NULL
14671 };
14672
14673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14675 if (!SWIG_IsOK(res1)) {
14676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14677 }
14678 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14679 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14680 if (!SWIG_IsOK(ecode2)) {
14681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14682 }
14683 arg2 = static_cast< size_t >(val2);
14684 {
14685 PyThreadState* __tstate = wxPyBeginAllowThreads();
14686 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 {
14691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14692 }
14693 return resultobj;
14694 fail:
14695 return NULL;
14696 }
14697
14698
14699 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14700 PyObject *resultobj = 0;
14701 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14702 size_t result;
14703 void *argp1 = 0 ;
14704 int res1 = 0 ;
14705 PyObject *swig_obj[1] ;
14706
14707 if (!args) SWIG_fail;
14708 swig_obj[0] = args;
14709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14710 if (!SWIG_IsOK(res1)) {
14711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14712 }
14713 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14714 {
14715 PyThreadState* __tstate = wxPyBeginAllowThreads();
14716 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14717 wxPyEndAllowThreads(__tstate);
14718 if (PyErr_Occurred()) SWIG_fail;
14719 }
14720 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14721 return resultobj;
14722 fail:
14723 return NULL;
14724 }
14725
14726
14727 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14728 PyObject *resultobj = 0;
14729 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14730 PyObject *result = 0 ;
14731 void *argp1 = 0 ;
14732 int res1 = 0 ;
14733 PyObject *swig_obj[1] ;
14734
14735 if (!args) SWIG_fail;
14736 swig_obj[0] = args;
14737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14738 if (!SWIG_IsOK(res1)) {
14739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14740 }
14741 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14742 {
14743 PyThreadState* __tstate = wxPyBeginAllowThreads();
14744 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14745 wxPyEndAllowThreads(__tstate);
14746 if (PyErr_Occurred()) SWIG_fail;
14747 }
14748 resultobj = result;
14749 return resultobj;
14750 fail:
14751 return NULL;
14752 }
14753
14754
14755 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14756 PyObject *resultobj = 0;
14757 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14758 unsigned long arg2 ;
14759 PyObject *result = 0 ;
14760 void *argp1 = 0 ;
14761 int res1 = 0 ;
14762 unsigned long val2 ;
14763 int ecode2 = 0 ;
14764 PyObject * obj0 = 0 ;
14765 PyObject * obj1 = 0 ;
14766 char * kwnames[] = {
14767 (char *) "self",(char *) "cookie", NULL
14768 };
14769
14770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14772 if (!SWIG_IsOK(res1)) {
14773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14774 }
14775 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14776 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14777 if (!SWIG_IsOK(ecode2)) {
14778 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14779 }
14780 arg2 = static_cast< unsigned long >(val2);
14781 {
14782 PyThreadState* __tstate = wxPyBeginAllowThreads();
14783 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14784 wxPyEndAllowThreads(__tstate);
14785 if (PyErr_Occurred()) SWIG_fail;
14786 }
14787 resultobj = result;
14788 return resultobj;
14789 fail:
14790 return NULL;
14791 }
14792
14793
14794 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14795 PyObject *resultobj = 0;
14796 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14797 wxPoint result;
14798 void *argp1 = 0 ;
14799 int res1 = 0 ;
14800 PyObject *swig_obj[1] ;
14801
14802 if (!args) SWIG_fail;
14803 swig_obj[0] = args;
14804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14805 if (!SWIG_IsOK(res1)) {
14806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14807 }
14808 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14809 {
14810 PyThreadState* __tstate = wxPyBeginAllowThreads();
14811 result = ((wxPyVListBox const *)arg1)->GetMargins();
14812 wxPyEndAllowThreads(__tstate);
14813 if (PyErr_Occurred()) SWIG_fail;
14814 }
14815 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14816 return resultobj;
14817 fail:
14818 return NULL;
14819 }
14820
14821
14822 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14823 PyObject *resultobj = 0;
14824 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14825 wxColour *result = 0 ;
14826 void *argp1 = 0 ;
14827 int res1 = 0 ;
14828 PyObject *swig_obj[1] ;
14829
14830 if (!args) SWIG_fail;
14831 swig_obj[0] = args;
14832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14833 if (!SWIG_IsOK(res1)) {
14834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14835 }
14836 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14837 {
14838 PyThreadState* __tstate = wxPyBeginAllowThreads();
14839 {
14840 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14841 result = (wxColour *) &_result_ref;
14842 }
14843 wxPyEndAllowThreads(__tstate);
14844 if (PyErr_Occurred()) SWIG_fail;
14845 }
14846 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14847 return resultobj;
14848 fail:
14849 return NULL;
14850 }
14851
14852
14853 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14854 PyObject *resultobj = 0;
14855 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14856 size_t arg2 ;
14857 void *argp1 = 0 ;
14858 int res1 = 0 ;
14859 size_t val2 ;
14860 int ecode2 = 0 ;
14861 PyObject * obj0 = 0 ;
14862 PyObject * obj1 = 0 ;
14863 char * kwnames[] = {
14864 (char *) "self",(char *) "count", NULL
14865 };
14866
14867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14869 if (!SWIG_IsOK(res1)) {
14870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14871 }
14872 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14873 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14874 if (!SWIG_IsOK(ecode2)) {
14875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14876 }
14877 arg2 = static_cast< size_t >(val2);
14878 {
14879 PyThreadState* __tstate = wxPyBeginAllowThreads();
14880 (arg1)->SetItemCount(arg2);
14881 wxPyEndAllowThreads(__tstate);
14882 if (PyErr_Occurred()) SWIG_fail;
14883 }
14884 resultobj = SWIG_Py_Void();
14885 return resultobj;
14886 fail:
14887 return NULL;
14888 }
14889
14890
14891 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14892 PyObject *resultobj = 0;
14893 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14894 void *argp1 = 0 ;
14895 int res1 = 0 ;
14896 PyObject *swig_obj[1] ;
14897
14898 if (!args) SWIG_fail;
14899 swig_obj[0] = args;
14900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14901 if (!SWIG_IsOK(res1)) {
14902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14903 }
14904 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14905 {
14906 PyThreadState* __tstate = wxPyBeginAllowThreads();
14907 (arg1)->Clear();
14908 wxPyEndAllowThreads(__tstate);
14909 if (PyErr_Occurred()) SWIG_fail;
14910 }
14911 resultobj = SWIG_Py_Void();
14912 return resultobj;
14913 fail:
14914 return NULL;
14915 }
14916
14917
14918 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14919 PyObject *resultobj = 0;
14920 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14921 int arg2 ;
14922 void *argp1 = 0 ;
14923 int res1 = 0 ;
14924 int val2 ;
14925 int ecode2 = 0 ;
14926 PyObject * obj0 = 0 ;
14927 PyObject * obj1 = 0 ;
14928 char * kwnames[] = {
14929 (char *) "self",(char *) "selection", NULL
14930 };
14931
14932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14934 if (!SWIG_IsOK(res1)) {
14935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14936 }
14937 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14938 ecode2 = SWIG_AsVal_int(obj1, &val2);
14939 if (!SWIG_IsOK(ecode2)) {
14940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14941 }
14942 arg2 = static_cast< int >(val2);
14943 {
14944 PyThreadState* __tstate = wxPyBeginAllowThreads();
14945 (arg1)->SetSelection(arg2);
14946 wxPyEndAllowThreads(__tstate);
14947 if (PyErr_Occurred()) SWIG_fail;
14948 }
14949 resultobj = SWIG_Py_Void();
14950 return resultobj;
14951 fail:
14952 return NULL;
14953 }
14954
14955
14956 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14957 PyObject *resultobj = 0;
14958 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14959 size_t arg2 ;
14960 bool arg3 = (bool) true ;
14961 bool result;
14962 void *argp1 = 0 ;
14963 int res1 = 0 ;
14964 size_t val2 ;
14965 int ecode2 = 0 ;
14966 bool val3 ;
14967 int ecode3 = 0 ;
14968 PyObject * obj0 = 0 ;
14969 PyObject * obj1 = 0 ;
14970 PyObject * obj2 = 0 ;
14971 char * kwnames[] = {
14972 (char *) "self",(char *) "item",(char *) "select", NULL
14973 };
14974
14975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14977 if (!SWIG_IsOK(res1)) {
14978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14979 }
14980 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14981 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14982 if (!SWIG_IsOK(ecode2)) {
14983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14984 }
14985 arg2 = static_cast< size_t >(val2);
14986 if (obj2) {
14987 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14988 if (!SWIG_IsOK(ecode3)) {
14989 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14990 }
14991 arg3 = static_cast< bool >(val3);
14992 }
14993 {
14994 PyThreadState* __tstate = wxPyBeginAllowThreads();
14995 result = (bool)(arg1)->Select(arg2,arg3);
14996 wxPyEndAllowThreads(__tstate);
14997 if (PyErr_Occurred()) SWIG_fail;
14998 }
14999 {
15000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15001 }
15002 return resultobj;
15003 fail:
15004 return NULL;
15005 }
15006
15007
15008 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15009 PyObject *resultobj = 0;
15010 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15011 size_t arg2 ;
15012 size_t arg3 ;
15013 bool result;
15014 void *argp1 = 0 ;
15015 int res1 = 0 ;
15016 size_t val2 ;
15017 int ecode2 = 0 ;
15018 size_t val3 ;
15019 int ecode3 = 0 ;
15020 PyObject * obj0 = 0 ;
15021 PyObject * obj1 = 0 ;
15022 PyObject * obj2 = 0 ;
15023 char * kwnames[] = {
15024 (char *) "self",(char *) "from",(char *) "to", NULL
15025 };
15026
15027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15029 if (!SWIG_IsOK(res1)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15031 }
15032 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15033 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15034 if (!SWIG_IsOK(ecode2)) {
15035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15036 }
15037 arg2 = static_cast< size_t >(val2);
15038 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15039 if (!SWIG_IsOK(ecode3)) {
15040 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15041 }
15042 arg3 = static_cast< size_t >(val3);
15043 {
15044 PyThreadState* __tstate = wxPyBeginAllowThreads();
15045 result = (bool)(arg1)->SelectRange(arg2,arg3);
15046 wxPyEndAllowThreads(__tstate);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
15049 {
15050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15051 }
15052 return resultobj;
15053 fail:
15054 return NULL;
15055 }
15056
15057
15058 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15059 PyObject *resultobj = 0;
15060 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15061 size_t arg2 ;
15062 void *argp1 = 0 ;
15063 int res1 = 0 ;
15064 size_t val2 ;
15065 int ecode2 = 0 ;
15066 PyObject * obj0 = 0 ;
15067 PyObject * obj1 = 0 ;
15068 char * kwnames[] = {
15069 (char *) "self",(char *) "item", NULL
15070 };
15071
15072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15074 if (!SWIG_IsOK(res1)) {
15075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15076 }
15077 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15078 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15079 if (!SWIG_IsOK(ecode2)) {
15080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15081 }
15082 arg2 = static_cast< size_t >(val2);
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 (arg1)->Toggle(arg2);
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 resultobj = SWIG_Py_Void();
15090 return resultobj;
15091 fail:
15092 return NULL;
15093 }
15094
15095
15096 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15097 PyObject *resultobj = 0;
15098 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15099 bool result;
15100 void *argp1 = 0 ;
15101 int res1 = 0 ;
15102 PyObject *swig_obj[1] ;
15103
15104 if (!args) SWIG_fail;
15105 swig_obj[0] = args;
15106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15107 if (!SWIG_IsOK(res1)) {
15108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15109 }
15110 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15111 {
15112 PyThreadState* __tstate = wxPyBeginAllowThreads();
15113 result = (bool)(arg1)->SelectAll();
15114 wxPyEndAllowThreads(__tstate);
15115 if (PyErr_Occurred()) SWIG_fail;
15116 }
15117 {
15118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15119 }
15120 return resultobj;
15121 fail:
15122 return NULL;
15123 }
15124
15125
15126 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15127 PyObject *resultobj = 0;
15128 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15129 bool result;
15130 void *argp1 = 0 ;
15131 int res1 = 0 ;
15132 PyObject *swig_obj[1] ;
15133
15134 if (!args) SWIG_fail;
15135 swig_obj[0] = args;
15136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15137 if (!SWIG_IsOK(res1)) {
15138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15139 }
15140 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15141 {
15142 PyThreadState* __tstate = wxPyBeginAllowThreads();
15143 result = (bool)(arg1)->DeselectAll();
15144 wxPyEndAllowThreads(__tstate);
15145 if (PyErr_Occurred()) SWIG_fail;
15146 }
15147 {
15148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15149 }
15150 return resultobj;
15151 fail:
15152 return NULL;
15153 }
15154
15155
15156 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15157 PyObject *resultobj = 0;
15158 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15159 wxPoint *arg2 = 0 ;
15160 void *argp1 = 0 ;
15161 int res1 = 0 ;
15162 wxPoint temp2 ;
15163 PyObject * obj0 = 0 ;
15164 PyObject * obj1 = 0 ;
15165 char * kwnames[] = {
15166 (char *) "self",(char *) "pt", NULL
15167 };
15168
15169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15171 if (!SWIG_IsOK(res1)) {
15172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15173 }
15174 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15175 {
15176 arg2 = &temp2;
15177 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15178 }
15179 {
15180 PyThreadState* __tstate = wxPyBeginAllowThreads();
15181 (arg1)->SetMargins((wxPoint const &)*arg2);
15182 wxPyEndAllowThreads(__tstate);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
15185 resultobj = SWIG_Py_Void();
15186 return resultobj;
15187 fail:
15188 return NULL;
15189 }
15190
15191
15192 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15193 PyObject *resultobj = 0;
15194 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15195 int arg2 ;
15196 int arg3 ;
15197 void *argp1 = 0 ;
15198 int res1 = 0 ;
15199 int val2 ;
15200 int ecode2 = 0 ;
15201 int val3 ;
15202 int ecode3 = 0 ;
15203 PyObject * obj0 = 0 ;
15204 PyObject * obj1 = 0 ;
15205 PyObject * obj2 = 0 ;
15206 char * kwnames[] = {
15207 (char *) "self",(char *) "x",(char *) "y", NULL
15208 };
15209
15210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15212 if (!SWIG_IsOK(res1)) {
15213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15214 }
15215 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15216 ecode2 = SWIG_AsVal_int(obj1, &val2);
15217 if (!SWIG_IsOK(ecode2)) {
15218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15219 }
15220 arg2 = static_cast< int >(val2);
15221 ecode3 = SWIG_AsVal_int(obj2, &val3);
15222 if (!SWIG_IsOK(ecode3)) {
15223 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15224 }
15225 arg3 = static_cast< int >(val3);
15226 {
15227 PyThreadState* __tstate = wxPyBeginAllowThreads();
15228 (arg1)->SetMargins(arg2,arg3);
15229 wxPyEndAllowThreads(__tstate);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 }
15232 resultobj = SWIG_Py_Void();
15233 return resultobj;
15234 fail:
15235 return NULL;
15236 }
15237
15238
15239 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15240 PyObject *resultobj = 0;
15241 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15242 wxColour *arg2 = 0 ;
15243 void *argp1 = 0 ;
15244 int res1 = 0 ;
15245 wxColour temp2 ;
15246 PyObject * obj0 = 0 ;
15247 PyObject * obj1 = 0 ;
15248 char * kwnames[] = {
15249 (char *) "self",(char *) "col", NULL
15250 };
15251
15252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15254 if (!SWIG_IsOK(res1)) {
15255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15256 }
15257 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15258 {
15259 arg2 = &temp2;
15260 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15261 }
15262 {
15263 PyThreadState* __tstate = wxPyBeginAllowThreads();
15264 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 resultobj = SWIG_Py_Void();
15269 return resultobj;
15270 fail:
15271 return NULL;
15272 }
15273
15274
15275 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj = 0;
15277 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15278 wxDC *arg2 = 0 ;
15279 wxRect *arg3 = 0 ;
15280 size_t arg4 ;
15281 void *argp1 = 0 ;
15282 int res1 = 0 ;
15283 void *argp2 = 0 ;
15284 int res2 = 0 ;
15285 wxRect temp3 ;
15286 size_t val4 ;
15287 int ecode4 = 0 ;
15288 PyObject * obj0 = 0 ;
15289 PyObject * obj1 = 0 ;
15290 PyObject * obj2 = 0 ;
15291 PyObject * obj3 = 0 ;
15292 char * kwnames[] = {
15293 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15294 };
15295
15296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15298 if (!SWIG_IsOK(res1)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15300 }
15301 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15302 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15303 if (!SWIG_IsOK(res2)) {
15304 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15305 }
15306 if (!argp2) {
15307 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15308 }
15309 arg2 = reinterpret_cast< wxDC * >(argp2);
15310 {
15311 arg3 = &temp3;
15312 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15313 }
15314 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15315 if (!SWIG_IsOK(ecode4)) {
15316 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15317 }
15318 arg4 = static_cast< size_t >(val4);
15319 {
15320 PyThreadState* __tstate = wxPyBeginAllowThreads();
15321 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15322 wxPyEndAllowThreads(__tstate);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
15325 resultobj = SWIG_Py_Void();
15326 return resultobj;
15327 fail:
15328 return NULL;
15329 }
15330
15331
15332 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15333 PyObject *resultobj = 0;
15334 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15335 wxDC *arg2 = 0 ;
15336 wxRect *arg3 = 0 ;
15337 size_t arg4 ;
15338 void *argp1 = 0 ;
15339 int res1 = 0 ;
15340 void *argp2 = 0 ;
15341 int res2 = 0 ;
15342 wxRect temp3 ;
15343 size_t val4 ;
15344 int ecode4 = 0 ;
15345 PyObject * obj0 = 0 ;
15346 PyObject * obj1 = 0 ;
15347 PyObject * obj2 = 0 ;
15348 PyObject * obj3 = 0 ;
15349 char * kwnames[] = {
15350 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15351 };
15352
15353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15355 if (!SWIG_IsOK(res1)) {
15356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15357 }
15358 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15359 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15360 if (!SWIG_IsOK(res2)) {
15361 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15362 }
15363 if (!argp2) {
15364 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15365 }
15366 arg2 = reinterpret_cast< wxDC * >(argp2);
15367 {
15368 arg3 = &temp3;
15369 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15370 }
15371 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15372 if (!SWIG_IsOK(ecode4)) {
15373 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15374 }
15375 arg4 = static_cast< size_t >(val4);
15376 {
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15379 wxPyEndAllowThreads(__tstate);
15380 if (PyErr_Occurred()) SWIG_fail;
15381 }
15382 resultobj = SWIG_Py_Void();
15383 return resultobj;
15384 fail:
15385 return NULL;
15386 }
15387
15388
15389 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15390 PyObject *obj;
15391 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15392 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15393 return SWIG_Py_Void();
15394 }
15395
15396 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15397 return SWIG_Python_InitShadowInstance(args);
15398 }
15399
15400 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15401 PyObject *resultobj = 0;
15402 wxWindow *arg1 = (wxWindow *) 0 ;
15403 int arg2 = (int) wxID_ANY ;
15404 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15405 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15406 wxSize const &arg4_defvalue = wxDefaultSize ;
15407 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15408 long arg5 = (long) 0 ;
15409 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15410 wxString *arg6 = (wxString *) &arg6_defvalue ;
15411 wxPyHtmlListBox *result = 0 ;
15412 void *argp1 = 0 ;
15413 int res1 = 0 ;
15414 int val2 ;
15415 int ecode2 = 0 ;
15416 wxPoint temp3 ;
15417 wxSize temp4 ;
15418 long val5 ;
15419 int ecode5 = 0 ;
15420 bool temp6 = false ;
15421 PyObject * obj0 = 0 ;
15422 PyObject * obj1 = 0 ;
15423 PyObject * obj2 = 0 ;
15424 PyObject * obj3 = 0 ;
15425 PyObject * obj4 = 0 ;
15426 PyObject * obj5 = 0 ;
15427 char * kwnames[] = {
15428 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15429 };
15430
15431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15433 if (!SWIG_IsOK(res1)) {
15434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15435 }
15436 arg1 = reinterpret_cast< wxWindow * >(argp1);
15437 if (obj1) {
15438 ecode2 = SWIG_AsVal_int(obj1, &val2);
15439 if (!SWIG_IsOK(ecode2)) {
15440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15441 }
15442 arg2 = static_cast< int >(val2);
15443 }
15444 if (obj2) {
15445 {
15446 arg3 = &temp3;
15447 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15448 }
15449 }
15450 if (obj3) {
15451 {
15452 arg4 = &temp4;
15453 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15454 }
15455 }
15456 if (obj4) {
15457 ecode5 = SWIG_AsVal_long(obj4, &val5);
15458 if (!SWIG_IsOK(ecode5)) {
15459 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15460 }
15461 arg5 = static_cast< long >(val5);
15462 }
15463 if (obj5) {
15464 {
15465 arg6 = wxString_in_helper(obj5);
15466 if (arg6 == NULL) SWIG_fail;
15467 temp6 = true;
15468 }
15469 }
15470 {
15471 if (!wxPyCheckForApp()) SWIG_fail;
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15474 wxPyEndAllowThreads(__tstate);
15475 if (PyErr_Occurred()) SWIG_fail;
15476 }
15477 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15478 {
15479 if (temp6)
15480 delete arg6;
15481 }
15482 return resultobj;
15483 fail:
15484 {
15485 if (temp6)
15486 delete arg6;
15487 }
15488 return NULL;
15489 }
15490
15491
15492 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15493 PyObject *resultobj = 0;
15494 wxPyHtmlListBox *result = 0 ;
15495
15496 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15497 {
15498 if (!wxPyCheckForApp()) SWIG_fail;
15499 PyThreadState* __tstate = wxPyBeginAllowThreads();
15500 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15501 wxPyEndAllowThreads(__tstate);
15502 if (PyErr_Occurred()) SWIG_fail;
15503 }
15504 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15505 return resultobj;
15506 fail:
15507 return NULL;
15508 }
15509
15510
15511 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15512 PyObject *resultobj = 0;
15513 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15514 PyObject *arg2 = (PyObject *) 0 ;
15515 PyObject *arg3 = (PyObject *) 0 ;
15516 void *argp1 = 0 ;
15517 int res1 = 0 ;
15518 PyObject * obj0 = 0 ;
15519 PyObject * obj1 = 0 ;
15520 PyObject * obj2 = 0 ;
15521 char * kwnames[] = {
15522 (char *) "self",(char *) "self",(char *) "_class", NULL
15523 };
15524
15525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15527 if (!SWIG_IsOK(res1)) {
15528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15529 }
15530 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15531 arg2 = obj1;
15532 arg3 = obj2;
15533 {
15534 PyThreadState* __tstate = wxPyBeginAllowThreads();
15535 (arg1)->_setCallbackInfo(arg2,arg3);
15536 wxPyEndAllowThreads(__tstate);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 resultobj = SWIG_Py_Void();
15540 return resultobj;
15541 fail:
15542 return NULL;
15543 }
15544
15545
15546 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15547 PyObject *resultobj = 0;
15548 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15549 wxWindow *arg2 = (wxWindow *) 0 ;
15550 int arg3 = (int) wxID_ANY ;
15551 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15552 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15553 wxSize const &arg5_defvalue = wxDefaultSize ;
15554 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15555 long arg6 = (long) 0 ;
15556 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15557 wxString *arg7 = (wxString *) &arg7_defvalue ;
15558 bool result;
15559 void *argp1 = 0 ;
15560 int res1 = 0 ;
15561 void *argp2 = 0 ;
15562 int res2 = 0 ;
15563 int val3 ;
15564 int ecode3 = 0 ;
15565 wxPoint temp4 ;
15566 wxSize temp5 ;
15567 long val6 ;
15568 int ecode6 = 0 ;
15569 bool temp7 = false ;
15570 PyObject * obj0 = 0 ;
15571 PyObject * obj1 = 0 ;
15572 PyObject * obj2 = 0 ;
15573 PyObject * obj3 = 0 ;
15574 PyObject * obj4 = 0 ;
15575 PyObject * obj5 = 0 ;
15576 PyObject * obj6 = 0 ;
15577 char * kwnames[] = {
15578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15579 };
15580
15581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15583 if (!SWIG_IsOK(res1)) {
15584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15585 }
15586 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15587 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15588 if (!SWIG_IsOK(res2)) {
15589 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15590 }
15591 arg2 = reinterpret_cast< wxWindow * >(argp2);
15592 if (obj2) {
15593 ecode3 = SWIG_AsVal_int(obj2, &val3);
15594 if (!SWIG_IsOK(ecode3)) {
15595 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15596 }
15597 arg3 = static_cast< int >(val3);
15598 }
15599 if (obj3) {
15600 {
15601 arg4 = &temp4;
15602 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15603 }
15604 }
15605 if (obj4) {
15606 {
15607 arg5 = &temp5;
15608 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15609 }
15610 }
15611 if (obj5) {
15612 ecode6 = SWIG_AsVal_long(obj5, &val6);
15613 if (!SWIG_IsOK(ecode6)) {
15614 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15615 }
15616 arg6 = static_cast< long >(val6);
15617 }
15618 if (obj6) {
15619 {
15620 arg7 = wxString_in_helper(obj6);
15621 if (arg7 == NULL) SWIG_fail;
15622 temp7 = true;
15623 }
15624 }
15625 {
15626 PyThreadState* __tstate = wxPyBeginAllowThreads();
15627 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15628 wxPyEndAllowThreads(__tstate);
15629 if (PyErr_Occurred()) SWIG_fail;
15630 }
15631 {
15632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15633 }
15634 {
15635 if (temp7)
15636 delete arg7;
15637 }
15638 return resultobj;
15639 fail:
15640 {
15641 if (temp7)
15642 delete arg7;
15643 }
15644 return NULL;
15645 }
15646
15647
15648 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15649 PyObject *resultobj = 0;
15650 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15651 size_t arg2 ;
15652 void *argp1 = 0 ;
15653 int res1 = 0 ;
15654 size_t val2 ;
15655 int ecode2 = 0 ;
15656 PyObject * obj0 = 0 ;
15657 PyObject * obj1 = 0 ;
15658 char * kwnames[] = {
15659 (char *) "self",(char *) "count", NULL
15660 };
15661
15662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15664 if (!SWIG_IsOK(res1)) {
15665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15666 }
15667 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15668 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15669 if (!SWIG_IsOK(ecode2)) {
15670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15671 }
15672 arg2 = static_cast< size_t >(val2);
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
15675 (arg1)->SetItemCount(arg2);
15676 wxPyEndAllowThreads(__tstate);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 }
15679 resultobj = SWIG_Py_Void();
15680 return resultobj;
15681 fail:
15682 return NULL;
15683 }
15684
15685
15686 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15687 PyObject *resultobj = 0;
15688 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15689 wxFileSystem *result = 0 ;
15690 void *argp1 = 0 ;
15691 int res1 = 0 ;
15692 PyObject *swig_obj[1] ;
15693
15694 if (!args) SWIG_fail;
15695 swig_obj[0] = args;
15696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15697 if (!SWIG_IsOK(res1)) {
15698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15699 }
15700 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15701 {
15702 PyThreadState* __tstate = wxPyBeginAllowThreads();
15703 {
15704 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15705 result = (wxFileSystem *) &_result_ref;
15706 }
15707 wxPyEndAllowThreads(__tstate);
15708 if (PyErr_Occurred()) SWIG_fail;
15709 }
15710 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15711 return resultobj;
15712 fail:
15713 return NULL;
15714 }
15715
15716
15717 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15718 PyObject *resultobj = 0;
15719 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15720 size_t arg2 ;
15721 wxHtmlLinkInfo *arg3 = 0 ;
15722 void *argp1 = 0 ;
15723 int res1 = 0 ;
15724 size_t val2 ;
15725 int ecode2 = 0 ;
15726 void *argp3 = 0 ;
15727 int res3 = 0 ;
15728 PyObject * obj0 = 0 ;
15729 PyObject * obj1 = 0 ;
15730 PyObject * obj2 = 0 ;
15731 char * kwnames[] = {
15732 (char *) "self",(char *) "n",(char *) "link", NULL
15733 };
15734
15735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15737 if (!SWIG_IsOK(res1)) {
15738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15739 }
15740 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15741 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15742 if (!SWIG_IsOK(ecode2)) {
15743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15744 }
15745 arg2 = static_cast< size_t >(val2);
15746 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15747 if (!SWIG_IsOK(res3)) {
15748 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15749 }
15750 if (!argp3) {
15751 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15752 }
15753 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
15756 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15757 wxPyEndAllowThreads(__tstate);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 resultobj = SWIG_Py_Void();
15761 return resultobj;
15762 fail:
15763 return NULL;
15764 }
15765
15766
15767 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15768 PyObject *obj;
15769 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15770 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15771 return SWIG_Py_Void();
15772 }
15773
15774 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15775 return SWIG_Python_InitShadowInstance(args);
15776 }
15777
15778 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15779 PyObject *resultobj = 0;
15780 wxPyTaskBarIcon *result = 0 ;
15781
15782 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15783 {
15784 if (!wxPyCheckForApp()) SWIG_fail;
15785 PyThreadState* __tstate = wxPyBeginAllowThreads();
15786 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15787 wxPyEndAllowThreads(__tstate);
15788 if (PyErr_Occurred()) SWIG_fail;
15789 }
15790 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15791 return resultobj;
15792 fail:
15793 return NULL;
15794 }
15795
15796
15797 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15798 PyObject *resultobj = 0;
15799 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15800 void *argp1 = 0 ;
15801 int res1 = 0 ;
15802 PyObject *swig_obj[1] ;
15803
15804 if (!args) SWIG_fail;
15805 swig_obj[0] = args;
15806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15807 if (!SWIG_IsOK(res1)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15809 }
15810 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15811 {
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 delete arg1;
15814
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 resultobj = SWIG_Py_Void();
15819 return resultobj;
15820 fail:
15821 return NULL;
15822 }
15823
15824
15825 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15826 PyObject *resultobj = 0;
15827 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15828 PyObject *arg2 = (PyObject *) 0 ;
15829 PyObject *arg3 = (PyObject *) 0 ;
15830 int arg4 ;
15831 void *argp1 = 0 ;
15832 int res1 = 0 ;
15833 int val4 ;
15834 int ecode4 = 0 ;
15835 PyObject * obj0 = 0 ;
15836 PyObject * obj1 = 0 ;
15837 PyObject * obj2 = 0 ;
15838 PyObject * obj3 = 0 ;
15839 char * kwnames[] = {
15840 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15841 };
15842
15843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15845 if (!SWIG_IsOK(res1)) {
15846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15847 }
15848 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15849 arg2 = obj1;
15850 arg3 = obj2;
15851 ecode4 = SWIG_AsVal_int(obj3, &val4);
15852 if (!SWIG_IsOK(ecode4)) {
15853 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15854 }
15855 arg4 = static_cast< int >(val4);
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
15858 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15859 wxPyEndAllowThreads(__tstate);
15860 if (PyErr_Occurred()) SWIG_fail;
15861 }
15862 resultobj = SWIG_Py_Void();
15863 return resultobj;
15864 fail:
15865 return NULL;
15866 }
15867
15868
15869 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15870 PyObject *resultobj = 0;
15871 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15872 void *argp1 = 0 ;
15873 int res1 = 0 ;
15874 PyObject *swig_obj[1] ;
15875
15876 if (!args) SWIG_fail;
15877 swig_obj[0] = args;
15878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15879 if (!SWIG_IsOK(res1)) {
15880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15881 }
15882 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15883 {
15884 PyThreadState* __tstate = wxPyBeginAllowThreads();
15885 wxPyTaskBarIcon_Destroy(arg1);
15886 wxPyEndAllowThreads(__tstate);
15887 if (PyErr_Occurred()) SWIG_fail;
15888 }
15889 resultobj = SWIG_Py_Void();
15890 return resultobj;
15891 fail:
15892 return NULL;
15893 }
15894
15895
15896 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15897 PyObject *resultobj = 0;
15898 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15899 bool result;
15900 void *argp1 = 0 ;
15901 int res1 = 0 ;
15902 PyObject *swig_obj[1] ;
15903
15904 if (!args) SWIG_fail;
15905 swig_obj[0] = args;
15906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15907 if (!SWIG_IsOK(res1)) {
15908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15909 }
15910 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15911 {
15912 PyThreadState* __tstate = wxPyBeginAllowThreads();
15913 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15914 wxPyEndAllowThreads(__tstate);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 }
15917 {
15918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15919 }
15920 return resultobj;
15921 fail:
15922 return NULL;
15923 }
15924
15925
15926 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15927 PyObject *resultobj = 0;
15928 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15929 bool result;
15930 void *argp1 = 0 ;
15931 int res1 = 0 ;
15932 PyObject *swig_obj[1] ;
15933
15934 if (!args) SWIG_fail;
15935 swig_obj[0] = args;
15936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15937 if (!SWIG_IsOK(res1)) {
15938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15939 }
15940 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15941 {
15942 PyThreadState* __tstate = wxPyBeginAllowThreads();
15943 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15944 wxPyEndAllowThreads(__tstate);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 }
15947 {
15948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15949 }
15950 return resultobj;
15951 fail:
15952 return NULL;
15953 }
15954
15955
15956 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15957 PyObject *resultobj = 0;
15958 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15959 wxIcon *arg2 = 0 ;
15960 wxString const &arg3_defvalue = wxPyEmptyString ;
15961 wxString *arg3 = (wxString *) &arg3_defvalue ;
15962 bool result;
15963 void *argp1 = 0 ;
15964 int res1 = 0 ;
15965 void *argp2 = 0 ;
15966 int res2 = 0 ;
15967 bool temp3 = false ;
15968 PyObject * obj0 = 0 ;
15969 PyObject * obj1 = 0 ;
15970 PyObject * obj2 = 0 ;
15971 char * kwnames[] = {
15972 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15973 };
15974
15975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15977 if (!SWIG_IsOK(res1)) {
15978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15979 }
15980 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15981 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15982 if (!SWIG_IsOK(res2)) {
15983 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15984 }
15985 if (!argp2) {
15986 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15987 }
15988 arg2 = reinterpret_cast< wxIcon * >(argp2);
15989 if (obj2) {
15990 {
15991 arg3 = wxString_in_helper(obj2);
15992 if (arg3 == NULL) SWIG_fail;
15993 temp3 = true;
15994 }
15995 }
15996 {
15997 PyThreadState* __tstate = wxPyBeginAllowThreads();
15998 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15999 wxPyEndAllowThreads(__tstate);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 }
16002 {
16003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16004 }
16005 {
16006 if (temp3)
16007 delete arg3;
16008 }
16009 return resultobj;
16010 fail:
16011 {
16012 if (temp3)
16013 delete arg3;
16014 }
16015 return NULL;
16016 }
16017
16018
16019 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16020 PyObject *resultobj = 0;
16021 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16022 bool result;
16023 void *argp1 = 0 ;
16024 int res1 = 0 ;
16025 PyObject *swig_obj[1] ;
16026
16027 if (!args) SWIG_fail;
16028 swig_obj[0] = args;
16029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16030 if (!SWIG_IsOK(res1)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16032 }
16033 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16034 {
16035 PyThreadState* __tstate = wxPyBeginAllowThreads();
16036 result = (bool)(arg1)->RemoveIcon();
16037 wxPyEndAllowThreads(__tstate);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 {
16041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16042 }
16043 return resultobj;
16044 fail:
16045 return NULL;
16046 }
16047
16048
16049 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16050 PyObject *resultobj = 0;
16051 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16052 wxMenu *arg2 = (wxMenu *) 0 ;
16053 bool result;
16054 void *argp1 = 0 ;
16055 int res1 = 0 ;
16056 void *argp2 = 0 ;
16057 int res2 = 0 ;
16058 PyObject * obj0 = 0 ;
16059 PyObject * obj1 = 0 ;
16060 char * kwnames[] = {
16061 (char *) "self",(char *) "menu", NULL
16062 };
16063
16064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16066 if (!SWIG_IsOK(res1)) {
16067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16068 }
16069 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16070 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16071 if (!SWIG_IsOK(res2)) {
16072 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16073 }
16074 arg2 = reinterpret_cast< wxMenu * >(argp2);
16075 {
16076 PyThreadState* __tstate = wxPyBeginAllowThreads();
16077 result = (bool)(arg1)->PopupMenu(arg2);
16078 wxPyEndAllowThreads(__tstate);
16079 if (PyErr_Occurred()) SWIG_fail;
16080 }
16081 {
16082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16083 }
16084 return resultobj;
16085 fail:
16086 return NULL;
16087 }
16088
16089
16090 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16091 PyObject *obj;
16092 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16093 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16094 return SWIG_Py_Void();
16095 }
16096
16097 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16098 return SWIG_Python_InitShadowInstance(args);
16099 }
16100
16101 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16102 PyObject *resultobj = 0;
16103 wxEventType arg1 ;
16104 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16105 wxTaskBarIconEvent *result = 0 ;
16106 int val1 ;
16107 int ecode1 = 0 ;
16108 void *argp2 = 0 ;
16109 int res2 = 0 ;
16110 PyObject * obj0 = 0 ;
16111 PyObject * obj1 = 0 ;
16112 char * kwnames[] = {
16113 (char *) "evtType",(char *) "tbIcon", NULL
16114 };
16115
16116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16117 ecode1 = SWIG_AsVal_int(obj0, &val1);
16118 if (!SWIG_IsOK(ecode1)) {
16119 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16120 }
16121 arg1 = static_cast< wxEventType >(val1);
16122 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16123 if (!SWIG_IsOK(res2)) {
16124 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16125 }
16126 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16127 {
16128 PyThreadState* __tstate = wxPyBeginAllowThreads();
16129 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16134 return resultobj;
16135 fail:
16136 return NULL;
16137 }
16138
16139
16140 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16141 PyObject *obj;
16142 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16143 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16144 return SWIG_Py_Void();
16145 }
16146
16147 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16148 return SWIG_Python_InitShadowInstance(args);
16149 }
16150
16151 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16152 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16153 return 1;
16154 }
16155
16156
16157 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16158 PyObject *pyobj = 0;
16159
16160 {
16161 #if wxUSE_UNICODE
16162 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16163 #else
16164 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16165 #endif
16166 }
16167 return pyobj;
16168 }
16169
16170
16171 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16172 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16173 return 1;
16174 }
16175
16176
16177 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16178 PyObject *pyobj = 0;
16179
16180 {
16181 #if wxUSE_UNICODE
16182 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16183 #else
16184 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16185 #endif
16186 }
16187 return pyobj;
16188 }
16189
16190
16191 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16192 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16193 return 1;
16194 }
16195
16196
16197 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16198 PyObject *pyobj = 0;
16199
16200 {
16201 #if wxUSE_UNICODE
16202 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16203 #else
16204 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16205 #endif
16206 }
16207 return pyobj;
16208 }
16209
16210
16211 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16212 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16213 return 1;
16214 }
16215
16216
16217 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16218 PyObject *pyobj = 0;
16219
16220 {
16221 #if wxUSE_UNICODE
16222 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16223 #else
16224 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16225 #endif
16226 }
16227 return pyobj;
16228 }
16229
16230
16231 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16232 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16233 return 1;
16234 }
16235
16236
16237 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16238 PyObject *pyobj = 0;
16239
16240 {
16241 #if wxUSE_UNICODE
16242 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16243 #else
16244 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16245 #endif
16246 }
16247 return pyobj;
16248 }
16249
16250
16251 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16252 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16253 return 1;
16254 }
16255
16256
16257 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16258 PyObject *pyobj = 0;
16259
16260 {
16261 #if wxUSE_UNICODE
16262 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16263 #else
16264 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16265 #endif
16266 }
16267 return pyobj;
16268 }
16269
16270
16271 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16272 PyObject *resultobj = 0;
16273 wxColourData *result = 0 ;
16274
16275 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16276 {
16277 PyThreadState* __tstate = wxPyBeginAllowThreads();
16278 result = (wxColourData *)new wxColourData();
16279 wxPyEndAllowThreads(__tstate);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 }
16282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16283 return resultobj;
16284 fail:
16285 return NULL;
16286 }
16287
16288
16289 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16290 PyObject *resultobj = 0;
16291 wxColourData *arg1 = (wxColourData *) 0 ;
16292 void *argp1 = 0 ;
16293 int res1 = 0 ;
16294 PyObject *swig_obj[1] ;
16295
16296 if (!args) SWIG_fail;
16297 swig_obj[0] = args;
16298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16299 if (!SWIG_IsOK(res1)) {
16300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16301 }
16302 arg1 = reinterpret_cast< wxColourData * >(argp1);
16303 {
16304 PyThreadState* __tstate = wxPyBeginAllowThreads();
16305 delete arg1;
16306
16307 wxPyEndAllowThreads(__tstate);
16308 if (PyErr_Occurred()) SWIG_fail;
16309 }
16310 resultobj = SWIG_Py_Void();
16311 return resultobj;
16312 fail:
16313 return NULL;
16314 }
16315
16316
16317 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16318 PyObject *resultobj = 0;
16319 wxColourData *arg1 = (wxColourData *) 0 ;
16320 bool result;
16321 void *argp1 = 0 ;
16322 int res1 = 0 ;
16323 PyObject *swig_obj[1] ;
16324
16325 if (!args) SWIG_fail;
16326 swig_obj[0] = args;
16327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16328 if (!SWIG_IsOK(res1)) {
16329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16330 }
16331 arg1 = reinterpret_cast< wxColourData * >(argp1);
16332 {
16333 PyThreadState* __tstate = wxPyBeginAllowThreads();
16334 result = (bool)(arg1)->GetChooseFull();
16335 wxPyEndAllowThreads(__tstate);
16336 if (PyErr_Occurred()) SWIG_fail;
16337 }
16338 {
16339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16340 }
16341 return resultobj;
16342 fail:
16343 return NULL;
16344 }
16345
16346
16347 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16348 PyObject *resultobj = 0;
16349 wxColourData *arg1 = (wxColourData *) 0 ;
16350 wxColour result;
16351 void *argp1 = 0 ;
16352 int res1 = 0 ;
16353 PyObject *swig_obj[1] ;
16354
16355 if (!args) SWIG_fail;
16356 swig_obj[0] = args;
16357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16358 if (!SWIG_IsOK(res1)) {
16359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16360 }
16361 arg1 = reinterpret_cast< wxColourData * >(argp1);
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 result = (arg1)->GetColour();
16365 wxPyEndAllowThreads(__tstate);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 }
16368 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16369 return resultobj;
16370 fail:
16371 return NULL;
16372 }
16373
16374
16375 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16376 PyObject *resultobj = 0;
16377 wxColourData *arg1 = (wxColourData *) 0 ;
16378 int arg2 ;
16379 wxColour result;
16380 void *argp1 = 0 ;
16381 int res1 = 0 ;
16382 int val2 ;
16383 int ecode2 = 0 ;
16384 PyObject * obj0 = 0 ;
16385 PyObject * obj1 = 0 ;
16386 char * kwnames[] = {
16387 (char *) "self",(char *) "i", NULL
16388 };
16389
16390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16392 if (!SWIG_IsOK(res1)) {
16393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16394 }
16395 arg1 = reinterpret_cast< wxColourData * >(argp1);
16396 ecode2 = SWIG_AsVal_int(obj1, &val2);
16397 if (!SWIG_IsOK(ecode2)) {
16398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16399 }
16400 arg2 = static_cast< int >(val2);
16401 {
16402 PyThreadState* __tstate = wxPyBeginAllowThreads();
16403 result = (arg1)->GetCustomColour(arg2);
16404 wxPyEndAllowThreads(__tstate);
16405 if (PyErr_Occurred()) SWIG_fail;
16406 }
16407 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16408 return resultobj;
16409 fail:
16410 return NULL;
16411 }
16412
16413
16414 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16415 PyObject *resultobj = 0;
16416 wxColourData *arg1 = (wxColourData *) 0 ;
16417 int arg2 ;
16418 void *argp1 = 0 ;
16419 int res1 = 0 ;
16420 int val2 ;
16421 int ecode2 = 0 ;
16422 PyObject * obj0 = 0 ;
16423 PyObject * obj1 = 0 ;
16424 char * kwnames[] = {
16425 (char *) "self",(char *) "flag", NULL
16426 };
16427
16428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16430 if (!SWIG_IsOK(res1)) {
16431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16432 }
16433 arg1 = reinterpret_cast< wxColourData * >(argp1);
16434 ecode2 = SWIG_AsVal_int(obj1, &val2);
16435 if (!SWIG_IsOK(ecode2)) {
16436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16437 }
16438 arg2 = static_cast< int >(val2);
16439 {
16440 PyThreadState* __tstate = wxPyBeginAllowThreads();
16441 (arg1)->SetChooseFull(arg2);
16442 wxPyEndAllowThreads(__tstate);
16443 if (PyErr_Occurred()) SWIG_fail;
16444 }
16445 resultobj = SWIG_Py_Void();
16446 return resultobj;
16447 fail:
16448 return NULL;
16449 }
16450
16451
16452 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16453 PyObject *resultobj = 0;
16454 wxColourData *arg1 = (wxColourData *) 0 ;
16455 wxColour *arg2 = 0 ;
16456 void *argp1 = 0 ;
16457 int res1 = 0 ;
16458 wxColour temp2 ;
16459 PyObject * obj0 = 0 ;
16460 PyObject * obj1 = 0 ;
16461 char * kwnames[] = {
16462 (char *) "self",(char *) "colour", NULL
16463 };
16464
16465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16467 if (!SWIG_IsOK(res1)) {
16468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16469 }
16470 arg1 = reinterpret_cast< wxColourData * >(argp1);
16471 {
16472 arg2 = &temp2;
16473 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16474 }
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 (arg1)->SetColour((wxColour const &)*arg2);
16478 wxPyEndAllowThreads(__tstate);
16479 if (PyErr_Occurred()) SWIG_fail;
16480 }
16481 resultobj = SWIG_Py_Void();
16482 return resultobj;
16483 fail:
16484 return NULL;
16485 }
16486
16487
16488 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16489 PyObject *resultobj = 0;
16490 wxColourData *arg1 = (wxColourData *) 0 ;
16491 int arg2 ;
16492 wxColour *arg3 = 0 ;
16493 void *argp1 = 0 ;
16494 int res1 = 0 ;
16495 int val2 ;
16496 int ecode2 = 0 ;
16497 wxColour temp3 ;
16498 PyObject * obj0 = 0 ;
16499 PyObject * obj1 = 0 ;
16500 PyObject * obj2 = 0 ;
16501 char * kwnames[] = {
16502 (char *) "self",(char *) "i",(char *) "colour", NULL
16503 };
16504
16505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16507 if (!SWIG_IsOK(res1)) {
16508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16509 }
16510 arg1 = reinterpret_cast< wxColourData * >(argp1);
16511 ecode2 = SWIG_AsVal_int(obj1, &val2);
16512 if (!SWIG_IsOK(ecode2)) {
16513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16514 }
16515 arg2 = static_cast< int >(val2);
16516 {
16517 arg3 = &temp3;
16518 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16519 }
16520 {
16521 PyThreadState* __tstate = wxPyBeginAllowThreads();
16522 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16523 wxPyEndAllowThreads(__tstate);
16524 if (PyErr_Occurred()) SWIG_fail;
16525 }
16526 resultobj = SWIG_Py_Void();
16527 return resultobj;
16528 fail:
16529 return NULL;
16530 }
16531
16532
16533 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16534 PyObject *obj;
16535 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16536 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16537 return SWIG_Py_Void();
16538 }
16539
16540 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16541 return SWIG_Python_InitShadowInstance(args);
16542 }
16543
16544 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16545 PyObject *resultobj = 0;
16546 wxWindow *arg1 = (wxWindow *) 0 ;
16547 wxColourData *arg2 = (wxColourData *) NULL ;
16548 wxColourDialog *result = 0 ;
16549 void *argp1 = 0 ;
16550 int res1 = 0 ;
16551 void *argp2 = 0 ;
16552 int res2 = 0 ;
16553 PyObject * obj0 = 0 ;
16554 PyObject * obj1 = 0 ;
16555 char * kwnames[] = {
16556 (char *) "parent",(char *) "data", NULL
16557 };
16558
16559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16561 if (!SWIG_IsOK(res1)) {
16562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16563 }
16564 arg1 = reinterpret_cast< wxWindow * >(argp1);
16565 if (obj1) {
16566 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16567 if (!SWIG_IsOK(res2)) {
16568 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16569 }
16570 arg2 = reinterpret_cast< wxColourData * >(argp2);
16571 }
16572 {
16573 if (!wxPyCheckForApp()) SWIG_fail;
16574 PyThreadState* __tstate = wxPyBeginAllowThreads();
16575 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16576 wxPyEndAllowThreads(__tstate);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16580 return resultobj;
16581 fail:
16582 return NULL;
16583 }
16584
16585
16586 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16587 PyObject *resultobj = 0;
16588 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16589 wxColourData *result = 0 ;
16590 void *argp1 = 0 ;
16591 int res1 = 0 ;
16592 PyObject *swig_obj[1] ;
16593
16594 if (!args) SWIG_fail;
16595 swig_obj[0] = args;
16596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16597 if (!SWIG_IsOK(res1)) {
16598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16599 }
16600 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16601 {
16602 PyThreadState* __tstate = wxPyBeginAllowThreads();
16603 {
16604 wxColourData &_result_ref = (arg1)->GetColourData();
16605 result = (wxColourData *) &_result_ref;
16606 }
16607 wxPyEndAllowThreads(__tstate);
16608 if (PyErr_Occurred()) SWIG_fail;
16609 }
16610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16611 return resultobj;
16612 fail:
16613 return NULL;
16614 }
16615
16616
16617 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16618 PyObject *obj;
16619 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16620 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16621 return SWIG_Py_Void();
16622 }
16623
16624 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16625 return SWIG_Python_InitShadowInstance(args);
16626 }
16627
16628 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16629 PyObject *resultobj = 0;
16630 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16631 wxColour const &arg2_defvalue = wxNullColour ;
16632 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16633 wxString const &arg3_defvalue = wxPyEmptyString ;
16634 wxString *arg3 = (wxString *) &arg3_defvalue ;
16635 wxColour result;
16636 void *argp1 = 0 ;
16637 int res1 = 0 ;
16638 wxColour temp2 ;
16639 bool temp3 = false ;
16640 PyObject * obj0 = 0 ;
16641 PyObject * obj1 = 0 ;
16642 PyObject * obj2 = 0 ;
16643 char * kwnames[] = {
16644 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16645 };
16646
16647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16648 if (obj0) {
16649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16650 if (!SWIG_IsOK(res1)) {
16651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16652 }
16653 arg1 = reinterpret_cast< wxWindow * >(argp1);
16654 }
16655 if (obj1) {
16656 {
16657 arg2 = &temp2;
16658 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16659 }
16660 }
16661 if (obj2) {
16662 {
16663 arg3 = wxString_in_helper(obj2);
16664 if (arg3 == NULL) SWIG_fail;
16665 temp3 = true;
16666 }
16667 }
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16671 wxPyEndAllowThreads(__tstate);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16675 {
16676 if (temp3)
16677 delete arg3;
16678 }
16679 return resultobj;
16680 fail:
16681 {
16682 if (temp3)
16683 delete arg3;
16684 }
16685 return NULL;
16686 }
16687
16688
16689 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16690 PyObject *resultobj = 0;
16691 wxWindow *arg1 = (wxWindow *) 0 ;
16692 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16693 wxString *arg2 = (wxString *) &arg2_defvalue ;
16694 wxString const &arg3_defvalue = wxPyEmptyString ;
16695 wxString *arg3 = (wxString *) &arg3_defvalue ;
16696 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16697 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16698 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16699 wxSize const &arg6_defvalue = wxDefaultSize ;
16700 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16701 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16702 wxString *arg7 = (wxString *) &arg7_defvalue ;
16703 wxDirDialog *result = 0 ;
16704 void *argp1 = 0 ;
16705 int res1 = 0 ;
16706 bool temp2 = false ;
16707 bool temp3 = false ;
16708 long val4 ;
16709 int ecode4 = 0 ;
16710 wxPoint temp5 ;
16711 wxSize temp6 ;
16712 bool temp7 = false ;
16713 PyObject * obj0 = 0 ;
16714 PyObject * obj1 = 0 ;
16715 PyObject * obj2 = 0 ;
16716 PyObject * obj3 = 0 ;
16717 PyObject * obj4 = 0 ;
16718 PyObject * obj5 = 0 ;
16719 PyObject * obj6 = 0 ;
16720 char * kwnames[] = {
16721 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16722 };
16723
16724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16726 if (!SWIG_IsOK(res1)) {
16727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16728 }
16729 arg1 = reinterpret_cast< wxWindow * >(argp1);
16730 if (obj1) {
16731 {
16732 arg2 = wxString_in_helper(obj1);
16733 if (arg2 == NULL) SWIG_fail;
16734 temp2 = true;
16735 }
16736 }
16737 if (obj2) {
16738 {
16739 arg3 = wxString_in_helper(obj2);
16740 if (arg3 == NULL) SWIG_fail;
16741 temp3 = true;
16742 }
16743 }
16744 if (obj3) {
16745 ecode4 = SWIG_AsVal_long(obj3, &val4);
16746 if (!SWIG_IsOK(ecode4)) {
16747 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16748 }
16749 arg4 = static_cast< long >(val4);
16750 }
16751 if (obj4) {
16752 {
16753 arg5 = &temp5;
16754 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16755 }
16756 }
16757 if (obj5) {
16758 {
16759 arg6 = &temp6;
16760 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16761 }
16762 }
16763 if (obj6) {
16764 {
16765 arg7 = wxString_in_helper(obj6);
16766 if (arg7 == NULL) SWIG_fail;
16767 temp7 = true;
16768 }
16769 }
16770 {
16771 if (!wxPyCheckForApp()) SWIG_fail;
16772 PyThreadState* __tstate = wxPyBeginAllowThreads();
16773 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16778 {
16779 if (temp2)
16780 delete arg2;
16781 }
16782 {
16783 if (temp3)
16784 delete arg3;
16785 }
16786 {
16787 if (temp7)
16788 delete arg7;
16789 }
16790 return resultobj;
16791 fail:
16792 {
16793 if (temp2)
16794 delete arg2;
16795 }
16796 {
16797 if (temp3)
16798 delete arg3;
16799 }
16800 {
16801 if (temp7)
16802 delete arg7;
16803 }
16804 return NULL;
16805 }
16806
16807
16808 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16809 PyObject *resultobj = 0;
16810 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16811 wxString result;
16812 void *argp1 = 0 ;
16813 int res1 = 0 ;
16814 PyObject *swig_obj[1] ;
16815
16816 if (!args) SWIG_fail;
16817 swig_obj[0] = args;
16818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16819 if (!SWIG_IsOK(res1)) {
16820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16821 }
16822 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 result = (arg1)->GetPath();
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 {
16830 #if wxUSE_UNICODE
16831 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16832 #else
16833 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16834 #endif
16835 }
16836 return resultobj;
16837 fail:
16838 return NULL;
16839 }
16840
16841
16842 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16843 PyObject *resultobj = 0;
16844 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16845 wxString result;
16846 void *argp1 = 0 ;
16847 int res1 = 0 ;
16848 PyObject *swig_obj[1] ;
16849
16850 if (!args) SWIG_fail;
16851 swig_obj[0] = args;
16852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16853 if (!SWIG_IsOK(res1)) {
16854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16855 }
16856 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16857 {
16858 PyThreadState* __tstate = wxPyBeginAllowThreads();
16859 result = (arg1)->GetMessage();
16860 wxPyEndAllowThreads(__tstate);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 }
16863 {
16864 #if wxUSE_UNICODE
16865 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16866 #else
16867 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16868 #endif
16869 }
16870 return resultobj;
16871 fail:
16872 return NULL;
16873 }
16874
16875
16876 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj = 0;
16878 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16879 wxString *arg2 = 0 ;
16880 void *argp1 = 0 ;
16881 int res1 = 0 ;
16882 bool temp2 = false ;
16883 PyObject * obj0 = 0 ;
16884 PyObject * obj1 = 0 ;
16885 char * kwnames[] = {
16886 (char *) "self",(char *) "message", NULL
16887 };
16888
16889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16891 if (!SWIG_IsOK(res1)) {
16892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16893 }
16894 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16895 {
16896 arg2 = wxString_in_helper(obj1);
16897 if (arg2 == NULL) SWIG_fail;
16898 temp2 = true;
16899 }
16900 {
16901 PyThreadState* __tstate = wxPyBeginAllowThreads();
16902 (arg1)->SetMessage((wxString const &)*arg2);
16903 wxPyEndAllowThreads(__tstate);
16904 if (PyErr_Occurred()) SWIG_fail;
16905 }
16906 resultobj = SWIG_Py_Void();
16907 {
16908 if (temp2)
16909 delete arg2;
16910 }
16911 return resultobj;
16912 fail:
16913 {
16914 if (temp2)
16915 delete arg2;
16916 }
16917 return NULL;
16918 }
16919
16920
16921 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16922 PyObject *resultobj = 0;
16923 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16924 wxString *arg2 = 0 ;
16925 void *argp1 = 0 ;
16926 int res1 = 0 ;
16927 bool temp2 = false ;
16928 PyObject * obj0 = 0 ;
16929 PyObject * obj1 = 0 ;
16930 char * kwnames[] = {
16931 (char *) "self",(char *) "path", NULL
16932 };
16933
16934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16936 if (!SWIG_IsOK(res1)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16938 }
16939 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16940 {
16941 arg2 = wxString_in_helper(obj1);
16942 if (arg2 == NULL) SWIG_fail;
16943 temp2 = true;
16944 }
16945 {
16946 PyThreadState* __tstate = wxPyBeginAllowThreads();
16947 (arg1)->SetPath((wxString const &)*arg2);
16948 wxPyEndAllowThreads(__tstate);
16949 if (PyErr_Occurred()) SWIG_fail;
16950 }
16951 resultobj = SWIG_Py_Void();
16952 {
16953 if (temp2)
16954 delete arg2;
16955 }
16956 return resultobj;
16957 fail:
16958 {
16959 if (temp2)
16960 delete arg2;
16961 }
16962 return NULL;
16963 }
16964
16965
16966 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16967 PyObject *obj;
16968 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16969 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16970 return SWIG_Py_Void();
16971 }
16972
16973 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16974 return SWIG_Python_InitShadowInstance(args);
16975 }
16976
16977 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16978 PyObject *resultobj = 0;
16979 wxWindow *arg1 = (wxWindow *) 0 ;
16980 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16981 wxString *arg2 = (wxString *) &arg2_defvalue ;
16982 wxString const &arg3_defvalue = wxPyEmptyString ;
16983 wxString *arg3 = (wxString *) &arg3_defvalue ;
16984 wxString const &arg4_defvalue = wxPyEmptyString ;
16985 wxString *arg4 = (wxString *) &arg4_defvalue ;
16986 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16987 wxString *arg5 = (wxString *) &arg5_defvalue ;
16988 long arg6 = (long) wxFD_DEFAULT_STYLE ;
16989 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16990 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16991 wxFileDialog *result = 0 ;
16992 void *argp1 = 0 ;
16993 int res1 = 0 ;
16994 bool temp2 = false ;
16995 bool temp3 = false ;
16996 bool temp4 = false ;
16997 bool temp5 = false ;
16998 long val6 ;
16999 int ecode6 = 0 ;
17000 wxPoint temp7 ;
17001 PyObject * obj0 = 0 ;
17002 PyObject * obj1 = 0 ;
17003 PyObject * obj2 = 0 ;
17004 PyObject * obj3 = 0 ;
17005 PyObject * obj4 = 0 ;
17006 PyObject * obj5 = 0 ;
17007 PyObject * obj6 = 0 ;
17008 char * kwnames[] = {
17009 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17010 };
17011
17012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17014 if (!SWIG_IsOK(res1)) {
17015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17016 }
17017 arg1 = reinterpret_cast< wxWindow * >(argp1);
17018 if (obj1) {
17019 {
17020 arg2 = wxString_in_helper(obj1);
17021 if (arg2 == NULL) SWIG_fail;
17022 temp2 = true;
17023 }
17024 }
17025 if (obj2) {
17026 {
17027 arg3 = wxString_in_helper(obj2);
17028 if (arg3 == NULL) SWIG_fail;
17029 temp3 = true;
17030 }
17031 }
17032 if (obj3) {
17033 {
17034 arg4 = wxString_in_helper(obj3);
17035 if (arg4 == NULL) SWIG_fail;
17036 temp4 = true;
17037 }
17038 }
17039 if (obj4) {
17040 {
17041 arg5 = wxString_in_helper(obj4);
17042 if (arg5 == NULL) SWIG_fail;
17043 temp5 = true;
17044 }
17045 }
17046 if (obj5) {
17047 ecode6 = SWIG_AsVal_long(obj5, &val6);
17048 if (!SWIG_IsOK(ecode6)) {
17049 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17050 }
17051 arg6 = static_cast< long >(val6);
17052 }
17053 if (obj6) {
17054 {
17055 arg7 = &temp7;
17056 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17057 }
17058 }
17059 {
17060 if (!wxPyCheckForApp()) SWIG_fail;
17061 PyThreadState* __tstate = wxPyBeginAllowThreads();
17062 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17063 wxPyEndAllowThreads(__tstate);
17064 if (PyErr_Occurred()) SWIG_fail;
17065 }
17066 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17067 {
17068 if (temp2)
17069 delete arg2;
17070 }
17071 {
17072 if (temp3)
17073 delete arg3;
17074 }
17075 {
17076 if (temp4)
17077 delete arg4;
17078 }
17079 {
17080 if (temp5)
17081 delete arg5;
17082 }
17083 return resultobj;
17084 fail:
17085 {
17086 if (temp2)
17087 delete arg2;
17088 }
17089 {
17090 if (temp3)
17091 delete arg3;
17092 }
17093 {
17094 if (temp4)
17095 delete arg4;
17096 }
17097 {
17098 if (temp5)
17099 delete arg5;
17100 }
17101 return NULL;
17102 }
17103
17104
17105 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17106 PyObject *resultobj = 0;
17107 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17108 wxString *arg2 = 0 ;
17109 void *argp1 = 0 ;
17110 int res1 = 0 ;
17111 bool temp2 = false ;
17112 PyObject * obj0 = 0 ;
17113 PyObject * obj1 = 0 ;
17114 char * kwnames[] = {
17115 (char *) "self",(char *) "message", NULL
17116 };
17117
17118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17120 if (!SWIG_IsOK(res1)) {
17121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17122 }
17123 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17124 {
17125 arg2 = wxString_in_helper(obj1);
17126 if (arg2 == NULL) SWIG_fail;
17127 temp2 = true;
17128 }
17129 {
17130 PyThreadState* __tstate = wxPyBeginAllowThreads();
17131 (arg1)->SetMessage((wxString const &)*arg2);
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 resultobj = SWIG_Py_Void();
17136 {
17137 if (temp2)
17138 delete arg2;
17139 }
17140 return resultobj;
17141 fail:
17142 {
17143 if (temp2)
17144 delete arg2;
17145 }
17146 return NULL;
17147 }
17148
17149
17150 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17151 PyObject *resultobj = 0;
17152 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17153 wxString *arg2 = 0 ;
17154 void *argp1 = 0 ;
17155 int res1 = 0 ;
17156 bool temp2 = false ;
17157 PyObject * obj0 = 0 ;
17158 PyObject * obj1 = 0 ;
17159 char * kwnames[] = {
17160 (char *) "self",(char *) "path", NULL
17161 };
17162
17163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17165 if (!SWIG_IsOK(res1)) {
17166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17167 }
17168 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17169 {
17170 arg2 = wxString_in_helper(obj1);
17171 if (arg2 == NULL) SWIG_fail;
17172 temp2 = true;
17173 }
17174 {
17175 PyThreadState* __tstate = wxPyBeginAllowThreads();
17176 (arg1)->SetPath((wxString const &)*arg2);
17177 wxPyEndAllowThreads(__tstate);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 resultobj = SWIG_Py_Void();
17181 {
17182 if (temp2)
17183 delete arg2;
17184 }
17185 return resultobj;
17186 fail:
17187 {
17188 if (temp2)
17189 delete arg2;
17190 }
17191 return NULL;
17192 }
17193
17194
17195 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17196 PyObject *resultobj = 0;
17197 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17198 wxString *arg2 = 0 ;
17199 void *argp1 = 0 ;
17200 int res1 = 0 ;
17201 bool temp2 = false ;
17202 PyObject * obj0 = 0 ;
17203 PyObject * obj1 = 0 ;
17204 char * kwnames[] = {
17205 (char *) "self",(char *) "dir", NULL
17206 };
17207
17208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17210 if (!SWIG_IsOK(res1)) {
17211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17212 }
17213 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17214 {
17215 arg2 = wxString_in_helper(obj1);
17216 if (arg2 == NULL) SWIG_fail;
17217 temp2 = true;
17218 }
17219 {
17220 PyThreadState* __tstate = wxPyBeginAllowThreads();
17221 (arg1)->SetDirectory((wxString const &)*arg2);
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
17225 resultobj = SWIG_Py_Void();
17226 {
17227 if (temp2)
17228 delete arg2;
17229 }
17230 return resultobj;
17231 fail:
17232 {
17233 if (temp2)
17234 delete arg2;
17235 }
17236 return NULL;
17237 }
17238
17239
17240 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17241 PyObject *resultobj = 0;
17242 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17243 wxString *arg2 = 0 ;
17244 void *argp1 = 0 ;
17245 int res1 = 0 ;
17246 bool temp2 = false ;
17247 PyObject * obj0 = 0 ;
17248 PyObject * obj1 = 0 ;
17249 char * kwnames[] = {
17250 (char *) "self",(char *) "name", NULL
17251 };
17252
17253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17255 if (!SWIG_IsOK(res1)) {
17256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17257 }
17258 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17259 {
17260 arg2 = wxString_in_helper(obj1);
17261 if (arg2 == NULL) SWIG_fail;
17262 temp2 = true;
17263 }
17264 {
17265 PyThreadState* __tstate = wxPyBeginAllowThreads();
17266 (arg1)->SetFilename((wxString const &)*arg2);
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 resultobj = SWIG_Py_Void();
17271 {
17272 if (temp2)
17273 delete arg2;
17274 }
17275 return resultobj;
17276 fail:
17277 {
17278 if (temp2)
17279 delete arg2;
17280 }
17281 return NULL;
17282 }
17283
17284
17285 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17286 PyObject *resultobj = 0;
17287 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17288 wxString *arg2 = 0 ;
17289 void *argp1 = 0 ;
17290 int res1 = 0 ;
17291 bool temp2 = false ;
17292 PyObject * obj0 = 0 ;
17293 PyObject * obj1 = 0 ;
17294 char * kwnames[] = {
17295 (char *) "self",(char *) "wildCard", NULL
17296 };
17297
17298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17300 if (!SWIG_IsOK(res1)) {
17301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17302 }
17303 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17304 {
17305 arg2 = wxString_in_helper(obj1);
17306 if (arg2 == NULL) SWIG_fail;
17307 temp2 = true;
17308 }
17309 {
17310 PyThreadState* __tstate = wxPyBeginAllowThreads();
17311 (arg1)->SetWildcard((wxString const &)*arg2);
17312 wxPyEndAllowThreads(__tstate);
17313 if (PyErr_Occurred()) SWIG_fail;
17314 }
17315 resultobj = SWIG_Py_Void();
17316 {
17317 if (temp2)
17318 delete arg2;
17319 }
17320 return resultobj;
17321 fail:
17322 {
17323 if (temp2)
17324 delete arg2;
17325 }
17326 return NULL;
17327 }
17328
17329
17330 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17331 PyObject *resultobj = 0;
17332 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17333 int arg2 ;
17334 void *argp1 = 0 ;
17335 int res1 = 0 ;
17336 int val2 ;
17337 int ecode2 = 0 ;
17338 PyObject * obj0 = 0 ;
17339 PyObject * obj1 = 0 ;
17340 char * kwnames[] = {
17341 (char *) "self",(char *) "filterIndex", NULL
17342 };
17343
17344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17346 if (!SWIG_IsOK(res1)) {
17347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17348 }
17349 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17350 ecode2 = SWIG_AsVal_int(obj1, &val2);
17351 if (!SWIG_IsOK(ecode2)) {
17352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17353 }
17354 arg2 = static_cast< int >(val2);
17355 {
17356 PyThreadState* __tstate = wxPyBeginAllowThreads();
17357 (arg1)->SetFilterIndex(arg2);
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 resultobj = SWIG_Py_Void();
17362 return resultobj;
17363 fail:
17364 return NULL;
17365 }
17366
17367
17368 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17369 PyObject *resultobj = 0;
17370 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17371 wxString result;
17372 void *argp1 = 0 ;
17373 int res1 = 0 ;
17374 PyObject *swig_obj[1] ;
17375
17376 if (!args) SWIG_fail;
17377 swig_obj[0] = args;
17378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17379 if (!SWIG_IsOK(res1)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17381 }
17382 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17383 {
17384 PyThreadState* __tstate = wxPyBeginAllowThreads();
17385 result = ((wxFileDialog const *)arg1)->GetMessage();
17386 wxPyEndAllowThreads(__tstate);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 }
17389 {
17390 #if wxUSE_UNICODE
17391 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17392 #else
17393 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17394 #endif
17395 }
17396 return resultobj;
17397 fail:
17398 return NULL;
17399 }
17400
17401
17402 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17403 PyObject *resultobj = 0;
17404 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17405 wxString result;
17406 void *argp1 = 0 ;
17407 int res1 = 0 ;
17408 PyObject *swig_obj[1] ;
17409
17410 if (!args) SWIG_fail;
17411 swig_obj[0] = args;
17412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17413 if (!SWIG_IsOK(res1)) {
17414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17415 }
17416 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 result = ((wxFileDialog const *)arg1)->GetPath();
17420 wxPyEndAllowThreads(__tstate);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
17423 {
17424 #if wxUSE_UNICODE
17425 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17426 #else
17427 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17428 #endif
17429 }
17430 return resultobj;
17431 fail:
17432 return NULL;
17433 }
17434
17435
17436 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17437 PyObject *resultobj = 0;
17438 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17439 wxString result;
17440 void *argp1 = 0 ;
17441 int res1 = 0 ;
17442 PyObject *swig_obj[1] ;
17443
17444 if (!args) SWIG_fail;
17445 swig_obj[0] = args;
17446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17447 if (!SWIG_IsOK(res1)) {
17448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17449 }
17450 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17451 {
17452 PyThreadState* __tstate = wxPyBeginAllowThreads();
17453 result = ((wxFileDialog const *)arg1)->GetDirectory();
17454 wxPyEndAllowThreads(__tstate);
17455 if (PyErr_Occurred()) SWIG_fail;
17456 }
17457 {
17458 #if wxUSE_UNICODE
17459 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17460 #else
17461 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17462 #endif
17463 }
17464 return resultobj;
17465 fail:
17466 return NULL;
17467 }
17468
17469
17470 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17471 PyObject *resultobj = 0;
17472 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17473 wxString result;
17474 void *argp1 = 0 ;
17475 int res1 = 0 ;
17476 PyObject *swig_obj[1] ;
17477
17478 if (!args) SWIG_fail;
17479 swig_obj[0] = args;
17480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17481 if (!SWIG_IsOK(res1)) {
17482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17483 }
17484 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17485 {
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 result = ((wxFileDialog const *)arg1)->GetFilename();
17488 wxPyEndAllowThreads(__tstate);
17489 if (PyErr_Occurred()) SWIG_fail;
17490 }
17491 {
17492 #if wxUSE_UNICODE
17493 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17494 #else
17495 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17496 #endif
17497 }
17498 return resultobj;
17499 fail:
17500 return NULL;
17501 }
17502
17503
17504 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17505 PyObject *resultobj = 0;
17506 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17507 wxString result;
17508 void *argp1 = 0 ;
17509 int res1 = 0 ;
17510 PyObject *swig_obj[1] ;
17511
17512 if (!args) SWIG_fail;
17513 swig_obj[0] = args;
17514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17515 if (!SWIG_IsOK(res1)) {
17516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17517 }
17518 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17519 {
17520 PyThreadState* __tstate = wxPyBeginAllowThreads();
17521 result = ((wxFileDialog const *)arg1)->GetWildcard();
17522 wxPyEndAllowThreads(__tstate);
17523 if (PyErr_Occurred()) SWIG_fail;
17524 }
17525 {
17526 #if wxUSE_UNICODE
17527 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17528 #else
17529 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17530 #endif
17531 }
17532 return resultobj;
17533 fail:
17534 return NULL;
17535 }
17536
17537
17538 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17539 PyObject *resultobj = 0;
17540 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17541 int result;
17542 void *argp1 = 0 ;
17543 int res1 = 0 ;
17544 PyObject *swig_obj[1] ;
17545
17546 if (!args) SWIG_fail;
17547 swig_obj[0] = args;
17548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17549 if (!SWIG_IsOK(res1)) {
17550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17551 }
17552 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17553 {
17554 PyThreadState* __tstate = wxPyBeginAllowThreads();
17555 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17556 wxPyEndAllowThreads(__tstate);
17557 if (PyErr_Occurred()) SWIG_fail;
17558 }
17559 resultobj = SWIG_From_int(static_cast< int >(result));
17560 return resultobj;
17561 fail:
17562 return NULL;
17563 }
17564
17565
17566 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17567 PyObject *resultobj = 0;
17568 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17569 PyObject *result = 0 ;
17570 void *argp1 = 0 ;
17571 int res1 = 0 ;
17572 PyObject *swig_obj[1] ;
17573
17574 if (!args) SWIG_fail;
17575 swig_obj[0] = args;
17576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17577 if (!SWIG_IsOK(res1)) {
17578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17579 }
17580 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17581 {
17582 PyThreadState* __tstate = wxPyBeginAllowThreads();
17583 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17584 wxPyEndAllowThreads(__tstate);
17585 if (PyErr_Occurred()) SWIG_fail;
17586 }
17587 resultobj = result;
17588 return resultobj;
17589 fail:
17590 return NULL;
17591 }
17592
17593
17594 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17595 PyObject *resultobj = 0;
17596 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17597 PyObject *result = 0 ;
17598 void *argp1 = 0 ;
17599 int res1 = 0 ;
17600 PyObject *swig_obj[1] ;
17601
17602 if (!args) SWIG_fail;
17603 swig_obj[0] = args;
17604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17605 if (!SWIG_IsOK(res1)) {
17606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17607 }
17608 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17609 {
17610 PyThreadState* __tstate = wxPyBeginAllowThreads();
17611 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17612 wxPyEndAllowThreads(__tstate);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
17615 resultobj = result;
17616 return resultobj;
17617 fail:
17618 return NULL;
17619 }
17620
17621
17622 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17623 PyObject *obj;
17624 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17625 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17626 return SWIG_Py_Void();
17627 }
17628
17629 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17630 return SWIG_Python_InitShadowInstance(args);
17631 }
17632
17633 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17634 PyObject *resultobj = 0;
17635 wxWindow *arg1 = (wxWindow *) 0 ;
17636 wxString *arg2 = 0 ;
17637 wxString *arg3 = 0 ;
17638 int arg4 = (int) 0 ;
17639 wxString *arg5 = (wxString *) NULL ;
17640 long arg6 = (long) wxCHOICEDLG_STYLE ;
17641 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17642 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17643 wxMultiChoiceDialog *result = 0 ;
17644 void *argp1 = 0 ;
17645 int res1 = 0 ;
17646 bool temp2 = false ;
17647 bool temp3 = false ;
17648 long val6 ;
17649 int ecode6 = 0 ;
17650 wxPoint temp7 ;
17651 PyObject * obj0 = 0 ;
17652 PyObject * obj1 = 0 ;
17653 PyObject * obj2 = 0 ;
17654 PyObject * obj3 = 0 ;
17655 PyObject * obj4 = 0 ;
17656 PyObject * obj5 = 0 ;
17657 char * kwnames[] = {
17658 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17659 };
17660
17661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17663 if (!SWIG_IsOK(res1)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17665 }
17666 arg1 = reinterpret_cast< wxWindow * >(argp1);
17667 {
17668 arg2 = wxString_in_helper(obj1);
17669 if (arg2 == NULL) SWIG_fail;
17670 temp2 = true;
17671 }
17672 {
17673 arg3 = wxString_in_helper(obj2);
17674 if (arg3 == NULL) SWIG_fail;
17675 temp3 = true;
17676 }
17677 if (obj3) {
17678 {
17679 arg4 = PyList_Size(obj3);
17680 arg5 = wxString_LIST_helper(obj3);
17681 if (arg5 == NULL) SWIG_fail;
17682 }
17683 }
17684 if (obj4) {
17685 ecode6 = SWIG_AsVal_long(obj4, &val6);
17686 if (!SWIG_IsOK(ecode6)) {
17687 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17688 }
17689 arg6 = static_cast< long >(val6);
17690 }
17691 if (obj5) {
17692 {
17693 arg7 = &temp7;
17694 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17695 }
17696 }
17697 {
17698 if (!wxPyCheckForApp()) SWIG_fail;
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17701 wxPyEndAllowThreads(__tstate);
17702 if (PyErr_Occurred()) SWIG_fail;
17703 }
17704 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17705 {
17706 if (temp2)
17707 delete arg2;
17708 }
17709 {
17710 if (temp3)
17711 delete arg3;
17712 }
17713 {
17714 if (arg5) delete [] arg5;
17715 }
17716 return resultobj;
17717 fail:
17718 {
17719 if (temp2)
17720 delete arg2;
17721 }
17722 {
17723 if (temp3)
17724 delete arg3;
17725 }
17726 {
17727 if (arg5) delete [] arg5;
17728 }
17729 return NULL;
17730 }
17731
17732
17733 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17734 PyObject *resultobj = 0;
17735 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17736 wxArrayInt *arg2 = 0 ;
17737 void *argp1 = 0 ;
17738 int res1 = 0 ;
17739 bool temp2 = false ;
17740 PyObject * obj0 = 0 ;
17741 PyObject * obj1 = 0 ;
17742 char * kwnames[] = {
17743 (char *) "self",(char *) "selections", NULL
17744 };
17745
17746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17748 if (!SWIG_IsOK(res1)) {
17749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17750 }
17751 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17752 {
17753 if (! PySequence_Check(obj1)) {
17754 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17755 SWIG_fail;
17756 }
17757 arg2 = new wxArrayInt;
17758 temp2 = true;
17759 int i, len=PySequence_Length(obj1);
17760 for (i=0; i<len; i++) {
17761 PyObject* item = PySequence_GetItem(obj1, i);
17762 PyObject* number = PyNumber_Int(item);
17763 arg2->Add(PyInt_AS_LONG(number));
17764 Py_DECREF(item);
17765 Py_DECREF(number);
17766 }
17767 }
17768 {
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17771 wxPyEndAllowThreads(__tstate);
17772 if (PyErr_Occurred()) SWIG_fail;
17773 }
17774 resultobj = SWIG_Py_Void();
17775 {
17776 if (temp2) delete arg2;
17777 }
17778 return resultobj;
17779 fail:
17780 {
17781 if (temp2) delete arg2;
17782 }
17783 return NULL;
17784 }
17785
17786
17787 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17788 PyObject *resultobj = 0;
17789 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17790 PyObject *result = 0 ;
17791 void *argp1 = 0 ;
17792 int res1 = 0 ;
17793 PyObject *swig_obj[1] ;
17794
17795 if (!args) SWIG_fail;
17796 swig_obj[0] = args;
17797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17798 if (!SWIG_IsOK(res1)) {
17799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17800 }
17801 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17802 {
17803 PyThreadState* __tstate = wxPyBeginAllowThreads();
17804 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17805 wxPyEndAllowThreads(__tstate);
17806 if (PyErr_Occurred()) SWIG_fail;
17807 }
17808 resultobj = result;
17809 return resultobj;
17810 fail:
17811 return NULL;
17812 }
17813
17814
17815 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17816 PyObject *obj;
17817 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17818 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17819 return SWIG_Py_Void();
17820 }
17821
17822 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17823 return SWIG_Python_InitShadowInstance(args);
17824 }
17825
17826 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17827 PyObject *resultobj = 0;
17828 wxWindow *arg1 = (wxWindow *) 0 ;
17829 wxString *arg2 = 0 ;
17830 wxString *arg3 = 0 ;
17831 int arg4 ;
17832 wxString *arg5 = (wxString *) 0 ;
17833 long arg6 = (long) wxCHOICEDLG_STYLE ;
17834 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17835 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17836 wxSingleChoiceDialog *result = 0 ;
17837 void *argp1 = 0 ;
17838 int res1 = 0 ;
17839 bool temp2 = false ;
17840 bool temp3 = false ;
17841 long val6 ;
17842 int ecode6 = 0 ;
17843 wxPoint temp7 ;
17844 PyObject * obj0 = 0 ;
17845 PyObject * obj1 = 0 ;
17846 PyObject * obj2 = 0 ;
17847 PyObject * obj3 = 0 ;
17848 PyObject * obj4 = 0 ;
17849 PyObject * obj5 = 0 ;
17850 char * kwnames[] = {
17851 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17852 };
17853
17854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17856 if (!SWIG_IsOK(res1)) {
17857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17858 }
17859 arg1 = reinterpret_cast< wxWindow * >(argp1);
17860 {
17861 arg2 = wxString_in_helper(obj1);
17862 if (arg2 == NULL) SWIG_fail;
17863 temp2 = true;
17864 }
17865 {
17866 arg3 = wxString_in_helper(obj2);
17867 if (arg3 == NULL) SWIG_fail;
17868 temp3 = true;
17869 }
17870 {
17871 arg4 = PyList_Size(obj3);
17872 arg5 = wxString_LIST_helper(obj3);
17873 if (arg5 == NULL) SWIG_fail;
17874 }
17875 if (obj4) {
17876 ecode6 = SWIG_AsVal_long(obj4, &val6);
17877 if (!SWIG_IsOK(ecode6)) {
17878 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17879 }
17880 arg6 = static_cast< long >(val6);
17881 }
17882 if (obj5) {
17883 {
17884 arg7 = &temp7;
17885 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17886 }
17887 }
17888 {
17889 if (!wxPyCheckForApp()) SWIG_fail;
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17892 wxPyEndAllowThreads(__tstate);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 }
17895 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17896 {
17897 if (temp2)
17898 delete arg2;
17899 }
17900 {
17901 if (temp3)
17902 delete arg3;
17903 }
17904 {
17905 if (arg5) delete [] arg5;
17906 }
17907 return resultobj;
17908 fail:
17909 {
17910 if (temp2)
17911 delete arg2;
17912 }
17913 {
17914 if (temp3)
17915 delete arg3;
17916 }
17917 {
17918 if (arg5) delete [] arg5;
17919 }
17920 return NULL;
17921 }
17922
17923
17924 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17925 PyObject *resultobj = 0;
17926 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17927 int result;
17928 void *argp1 = 0 ;
17929 int res1 = 0 ;
17930 PyObject *swig_obj[1] ;
17931
17932 if (!args) SWIG_fail;
17933 swig_obj[0] = args;
17934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17935 if (!SWIG_IsOK(res1)) {
17936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17937 }
17938 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17939 {
17940 PyThreadState* __tstate = wxPyBeginAllowThreads();
17941 result = (int)(arg1)->GetSelection();
17942 wxPyEndAllowThreads(__tstate);
17943 if (PyErr_Occurred()) SWIG_fail;
17944 }
17945 resultobj = SWIG_From_int(static_cast< int >(result));
17946 return resultobj;
17947 fail:
17948 return NULL;
17949 }
17950
17951
17952 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17953 PyObject *resultobj = 0;
17954 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17955 wxString result;
17956 void *argp1 = 0 ;
17957 int res1 = 0 ;
17958 PyObject *swig_obj[1] ;
17959
17960 if (!args) SWIG_fail;
17961 swig_obj[0] = args;
17962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17963 if (!SWIG_IsOK(res1)) {
17964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17965 }
17966 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17967 {
17968 PyThreadState* __tstate = wxPyBeginAllowThreads();
17969 result = (arg1)->GetStringSelection();
17970 wxPyEndAllowThreads(__tstate);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 {
17974 #if wxUSE_UNICODE
17975 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17976 #else
17977 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17978 #endif
17979 }
17980 return resultobj;
17981 fail:
17982 return NULL;
17983 }
17984
17985
17986 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17987 PyObject *resultobj = 0;
17988 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17989 int arg2 ;
17990 void *argp1 = 0 ;
17991 int res1 = 0 ;
17992 int val2 ;
17993 int ecode2 = 0 ;
17994 PyObject * obj0 = 0 ;
17995 PyObject * obj1 = 0 ;
17996 char * kwnames[] = {
17997 (char *) "self",(char *) "sel", NULL
17998 };
17999
18000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18002 if (!SWIG_IsOK(res1)) {
18003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18004 }
18005 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18006 ecode2 = SWIG_AsVal_int(obj1, &val2);
18007 if (!SWIG_IsOK(ecode2)) {
18008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18009 }
18010 arg2 = static_cast< int >(val2);
18011 {
18012 PyThreadState* __tstate = wxPyBeginAllowThreads();
18013 (arg1)->SetSelection(arg2);
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
18017 resultobj = SWIG_Py_Void();
18018 return resultobj;
18019 fail:
18020 return NULL;
18021 }
18022
18023
18024 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18025 PyObject *obj;
18026 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18027 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18028 return SWIG_Py_Void();
18029 }
18030
18031 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18032 return SWIG_Python_InitShadowInstance(args);
18033 }
18034
18035 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18036 PyObject *resultobj = 0;
18037 wxWindow *arg1 = (wxWindow *) 0 ;
18038 wxString *arg2 = 0 ;
18039 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18040 wxString *arg3 = (wxString *) &arg3_defvalue ;
18041 wxString const &arg4_defvalue = wxPyEmptyString ;
18042 wxString *arg4 = (wxString *) &arg4_defvalue ;
18043 long arg5 = (long) wxTextEntryDialogStyle ;
18044 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18045 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18046 wxTextEntryDialog *result = 0 ;
18047 void *argp1 = 0 ;
18048 int res1 = 0 ;
18049 bool temp2 = false ;
18050 bool temp3 = false ;
18051 bool temp4 = false ;
18052 long val5 ;
18053 int ecode5 = 0 ;
18054 wxPoint temp6 ;
18055 PyObject * obj0 = 0 ;
18056 PyObject * obj1 = 0 ;
18057 PyObject * obj2 = 0 ;
18058 PyObject * obj3 = 0 ;
18059 PyObject * obj4 = 0 ;
18060 PyObject * obj5 = 0 ;
18061 char * kwnames[] = {
18062 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18063 };
18064
18065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18067 if (!SWIG_IsOK(res1)) {
18068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18069 }
18070 arg1 = reinterpret_cast< wxWindow * >(argp1);
18071 {
18072 arg2 = wxString_in_helper(obj1);
18073 if (arg2 == NULL) SWIG_fail;
18074 temp2 = true;
18075 }
18076 if (obj2) {
18077 {
18078 arg3 = wxString_in_helper(obj2);
18079 if (arg3 == NULL) SWIG_fail;
18080 temp3 = true;
18081 }
18082 }
18083 if (obj3) {
18084 {
18085 arg4 = wxString_in_helper(obj3);
18086 if (arg4 == NULL) SWIG_fail;
18087 temp4 = true;
18088 }
18089 }
18090 if (obj4) {
18091 ecode5 = SWIG_AsVal_long(obj4, &val5);
18092 if (!SWIG_IsOK(ecode5)) {
18093 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18094 }
18095 arg5 = static_cast< long >(val5);
18096 }
18097 if (obj5) {
18098 {
18099 arg6 = &temp6;
18100 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18101 }
18102 }
18103 {
18104 if (!wxPyCheckForApp()) SWIG_fail;
18105 PyThreadState* __tstate = wxPyBeginAllowThreads();
18106 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18111 {
18112 if (temp2)
18113 delete arg2;
18114 }
18115 {
18116 if (temp3)
18117 delete arg3;
18118 }
18119 {
18120 if (temp4)
18121 delete arg4;
18122 }
18123 return resultobj;
18124 fail:
18125 {
18126 if (temp2)
18127 delete arg2;
18128 }
18129 {
18130 if (temp3)
18131 delete arg3;
18132 }
18133 {
18134 if (temp4)
18135 delete arg4;
18136 }
18137 return NULL;
18138 }
18139
18140
18141 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18142 PyObject *resultobj = 0;
18143 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18144 wxString result;
18145 void *argp1 = 0 ;
18146 int res1 = 0 ;
18147 PyObject *swig_obj[1] ;
18148
18149 if (!args) SWIG_fail;
18150 swig_obj[0] = args;
18151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18152 if (!SWIG_IsOK(res1)) {
18153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18154 }
18155 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18156 {
18157 PyThreadState* __tstate = wxPyBeginAllowThreads();
18158 result = (arg1)->GetValue();
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 {
18163 #if wxUSE_UNICODE
18164 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18165 #else
18166 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18167 #endif
18168 }
18169 return resultobj;
18170 fail:
18171 return NULL;
18172 }
18173
18174
18175 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18176 PyObject *resultobj = 0;
18177 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18178 wxString *arg2 = 0 ;
18179 void *argp1 = 0 ;
18180 int res1 = 0 ;
18181 bool temp2 = false ;
18182 PyObject * obj0 = 0 ;
18183 PyObject * obj1 = 0 ;
18184 char * kwnames[] = {
18185 (char *) "self",(char *) "value", NULL
18186 };
18187
18188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18190 if (!SWIG_IsOK(res1)) {
18191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18192 }
18193 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18194 {
18195 arg2 = wxString_in_helper(obj1);
18196 if (arg2 == NULL) SWIG_fail;
18197 temp2 = true;
18198 }
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 (arg1)->SetValue((wxString const &)*arg2);
18202 wxPyEndAllowThreads(__tstate);
18203 if (PyErr_Occurred()) SWIG_fail;
18204 }
18205 resultobj = SWIG_Py_Void();
18206 {
18207 if (temp2)
18208 delete arg2;
18209 }
18210 return resultobj;
18211 fail:
18212 {
18213 if (temp2)
18214 delete arg2;
18215 }
18216 return NULL;
18217 }
18218
18219
18220 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18221 PyObject *obj;
18222 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18223 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18224 return SWIG_Py_Void();
18225 }
18226
18227 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18228 return SWIG_Python_InitShadowInstance(args);
18229 }
18230
18231 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18232 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18233 return 1;
18234 }
18235
18236
18237 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18238 PyObject *pyobj = 0;
18239
18240 {
18241 #if wxUSE_UNICODE
18242 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18243 #else
18244 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18245 #endif
18246 }
18247 return pyobj;
18248 }
18249
18250
18251 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18252 PyObject *resultobj = 0;
18253 wxWindow *arg1 = (wxWindow *) 0 ;
18254 wxString *arg2 = 0 ;
18255 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18256 wxString *arg3 = (wxString *) &arg3_defvalue ;
18257 wxString const &arg4_defvalue = wxPyEmptyString ;
18258 wxString *arg4 = (wxString *) &arg4_defvalue ;
18259 long arg5 = (long) wxTextEntryDialogStyle ;
18260 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18261 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18262 wxPasswordEntryDialog *result = 0 ;
18263 void *argp1 = 0 ;
18264 int res1 = 0 ;
18265 bool temp2 = false ;
18266 bool temp3 = false ;
18267 bool temp4 = false ;
18268 long val5 ;
18269 int ecode5 = 0 ;
18270 wxPoint temp6 ;
18271 PyObject * obj0 = 0 ;
18272 PyObject * obj1 = 0 ;
18273 PyObject * obj2 = 0 ;
18274 PyObject * obj3 = 0 ;
18275 PyObject * obj4 = 0 ;
18276 PyObject * obj5 = 0 ;
18277 char * kwnames[] = {
18278 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18279 };
18280
18281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18283 if (!SWIG_IsOK(res1)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18285 }
18286 arg1 = reinterpret_cast< wxWindow * >(argp1);
18287 {
18288 arg2 = wxString_in_helper(obj1);
18289 if (arg2 == NULL) SWIG_fail;
18290 temp2 = true;
18291 }
18292 if (obj2) {
18293 {
18294 arg3 = wxString_in_helper(obj2);
18295 if (arg3 == NULL) SWIG_fail;
18296 temp3 = true;
18297 }
18298 }
18299 if (obj3) {
18300 {
18301 arg4 = wxString_in_helper(obj3);
18302 if (arg4 == NULL) SWIG_fail;
18303 temp4 = true;
18304 }
18305 }
18306 if (obj4) {
18307 ecode5 = SWIG_AsVal_long(obj4, &val5);
18308 if (!SWIG_IsOK(ecode5)) {
18309 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18310 }
18311 arg5 = static_cast< long >(val5);
18312 }
18313 if (obj5) {
18314 {
18315 arg6 = &temp6;
18316 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18317 }
18318 }
18319 {
18320 PyThreadState* __tstate = wxPyBeginAllowThreads();
18321 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18322 wxPyEndAllowThreads(__tstate);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
18325 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18326 {
18327 if (temp2)
18328 delete arg2;
18329 }
18330 {
18331 if (temp3)
18332 delete arg3;
18333 }
18334 {
18335 if (temp4)
18336 delete arg4;
18337 }
18338 return resultobj;
18339 fail:
18340 {
18341 if (temp2)
18342 delete arg2;
18343 }
18344 {
18345 if (temp3)
18346 delete arg3;
18347 }
18348 {
18349 if (temp4)
18350 delete arg4;
18351 }
18352 return NULL;
18353 }
18354
18355
18356 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18357 PyObject *obj;
18358 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18359 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18360 return SWIG_Py_Void();
18361 }
18362
18363 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18364 return SWIG_Python_InitShadowInstance(args);
18365 }
18366
18367 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18368 PyObject *resultobj = 0;
18369 wxWindow *arg1 = (wxWindow *) 0 ;
18370 wxString *arg2 = 0 ;
18371 wxString *arg3 = 0 ;
18372 wxString *arg4 = 0 ;
18373 long arg5 ;
18374 long arg6 ;
18375 long arg7 ;
18376 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18377 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18378 wxNumberEntryDialog *result = 0 ;
18379 void *argp1 = 0 ;
18380 int res1 = 0 ;
18381 bool temp2 = false ;
18382 bool temp3 = false ;
18383 bool temp4 = false ;
18384 long val5 ;
18385 int ecode5 = 0 ;
18386 long val6 ;
18387 int ecode6 = 0 ;
18388 long val7 ;
18389 int ecode7 = 0 ;
18390 wxPoint temp8 ;
18391 PyObject * obj0 = 0 ;
18392 PyObject * obj1 = 0 ;
18393 PyObject * obj2 = 0 ;
18394 PyObject * obj3 = 0 ;
18395 PyObject * obj4 = 0 ;
18396 PyObject * obj5 = 0 ;
18397 PyObject * obj6 = 0 ;
18398 PyObject * obj7 = 0 ;
18399 char * kwnames[] = {
18400 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18401 };
18402
18403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18405 if (!SWIG_IsOK(res1)) {
18406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18407 }
18408 arg1 = reinterpret_cast< wxWindow * >(argp1);
18409 {
18410 arg2 = wxString_in_helper(obj1);
18411 if (arg2 == NULL) SWIG_fail;
18412 temp2 = true;
18413 }
18414 {
18415 arg3 = wxString_in_helper(obj2);
18416 if (arg3 == NULL) SWIG_fail;
18417 temp3 = true;
18418 }
18419 {
18420 arg4 = wxString_in_helper(obj3);
18421 if (arg4 == NULL) SWIG_fail;
18422 temp4 = true;
18423 }
18424 ecode5 = SWIG_AsVal_long(obj4, &val5);
18425 if (!SWIG_IsOK(ecode5)) {
18426 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18427 }
18428 arg5 = static_cast< long >(val5);
18429 ecode6 = SWIG_AsVal_long(obj5, &val6);
18430 if (!SWIG_IsOK(ecode6)) {
18431 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18432 }
18433 arg6 = static_cast< long >(val6);
18434 ecode7 = SWIG_AsVal_long(obj6, &val7);
18435 if (!SWIG_IsOK(ecode7)) {
18436 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18437 }
18438 arg7 = static_cast< long >(val7);
18439 if (obj7) {
18440 {
18441 arg8 = &temp8;
18442 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18443 }
18444 }
18445 {
18446 if (!wxPyCheckForApp()) SWIG_fail;
18447 PyThreadState* __tstate = wxPyBeginAllowThreads();
18448 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18449 wxPyEndAllowThreads(__tstate);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
18452 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18453 {
18454 if (temp2)
18455 delete arg2;
18456 }
18457 {
18458 if (temp3)
18459 delete arg3;
18460 }
18461 {
18462 if (temp4)
18463 delete arg4;
18464 }
18465 return resultobj;
18466 fail:
18467 {
18468 if (temp2)
18469 delete arg2;
18470 }
18471 {
18472 if (temp3)
18473 delete arg3;
18474 }
18475 {
18476 if (temp4)
18477 delete arg4;
18478 }
18479 return NULL;
18480 }
18481
18482
18483 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18484 PyObject *resultobj = 0;
18485 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18486 long result;
18487 void *argp1 = 0 ;
18488 int res1 = 0 ;
18489 PyObject *swig_obj[1] ;
18490
18491 if (!args) SWIG_fail;
18492 swig_obj[0] = args;
18493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18494 if (!SWIG_IsOK(res1)) {
18495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18496 }
18497 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18498 {
18499 PyThreadState* __tstate = wxPyBeginAllowThreads();
18500 result = (long)(arg1)->GetValue();
18501 wxPyEndAllowThreads(__tstate);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 resultobj = SWIG_From_long(static_cast< long >(result));
18505 return resultobj;
18506 fail:
18507 return NULL;
18508 }
18509
18510
18511 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18512 PyObject *obj;
18513 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18514 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18515 return SWIG_Py_Void();
18516 }
18517
18518 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18519 return SWIG_Python_InitShadowInstance(args);
18520 }
18521
18522 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18523 PyObject *resultobj = 0;
18524 wxFontData *result = 0 ;
18525
18526 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18527 {
18528 PyThreadState* __tstate = wxPyBeginAllowThreads();
18529 result = (wxFontData *)new wxFontData();
18530 wxPyEndAllowThreads(__tstate);
18531 if (PyErr_Occurred()) SWIG_fail;
18532 }
18533 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18534 return resultobj;
18535 fail:
18536 return NULL;
18537 }
18538
18539
18540 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18541 PyObject *resultobj = 0;
18542 wxFontData *arg1 = (wxFontData *) 0 ;
18543 void *argp1 = 0 ;
18544 int res1 = 0 ;
18545 PyObject *swig_obj[1] ;
18546
18547 if (!args) SWIG_fail;
18548 swig_obj[0] = args;
18549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18550 if (!SWIG_IsOK(res1)) {
18551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18552 }
18553 arg1 = reinterpret_cast< wxFontData * >(argp1);
18554 {
18555 PyThreadState* __tstate = wxPyBeginAllowThreads();
18556 delete arg1;
18557
18558 wxPyEndAllowThreads(__tstate);
18559 if (PyErr_Occurred()) SWIG_fail;
18560 }
18561 resultobj = SWIG_Py_Void();
18562 return resultobj;
18563 fail:
18564 return NULL;
18565 }
18566
18567
18568 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18569 PyObject *resultobj = 0;
18570 wxFontData *arg1 = (wxFontData *) 0 ;
18571 bool arg2 ;
18572 void *argp1 = 0 ;
18573 int res1 = 0 ;
18574 bool val2 ;
18575 int ecode2 = 0 ;
18576 PyObject * obj0 = 0 ;
18577 PyObject * obj1 = 0 ;
18578 char * kwnames[] = {
18579 (char *) "self",(char *) "enable", NULL
18580 };
18581
18582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18584 if (!SWIG_IsOK(res1)) {
18585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18586 }
18587 arg1 = reinterpret_cast< wxFontData * >(argp1);
18588 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18589 if (!SWIG_IsOK(ecode2)) {
18590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18591 }
18592 arg2 = static_cast< bool >(val2);
18593 {
18594 PyThreadState* __tstate = wxPyBeginAllowThreads();
18595 (arg1)->EnableEffects(arg2);
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 resultobj = SWIG_Py_Void();
18600 return resultobj;
18601 fail:
18602 return NULL;
18603 }
18604
18605
18606 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18607 PyObject *resultobj = 0;
18608 wxFontData *arg1 = (wxFontData *) 0 ;
18609 bool result;
18610 void *argp1 = 0 ;
18611 int res1 = 0 ;
18612 PyObject *swig_obj[1] ;
18613
18614 if (!args) SWIG_fail;
18615 swig_obj[0] = args;
18616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18617 if (!SWIG_IsOK(res1)) {
18618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18619 }
18620 arg1 = reinterpret_cast< wxFontData * >(argp1);
18621 {
18622 PyThreadState* __tstate = wxPyBeginAllowThreads();
18623 result = (bool)(arg1)->GetAllowSymbols();
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
18627 {
18628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18629 }
18630 return resultobj;
18631 fail:
18632 return NULL;
18633 }
18634
18635
18636 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18637 PyObject *resultobj = 0;
18638 wxFontData *arg1 = (wxFontData *) 0 ;
18639 wxColour result;
18640 void *argp1 = 0 ;
18641 int res1 = 0 ;
18642 PyObject *swig_obj[1] ;
18643
18644 if (!args) SWIG_fail;
18645 swig_obj[0] = args;
18646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18647 if (!SWIG_IsOK(res1)) {
18648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18649 }
18650 arg1 = reinterpret_cast< wxFontData * >(argp1);
18651 {
18652 PyThreadState* __tstate = wxPyBeginAllowThreads();
18653 result = (arg1)->GetColour();
18654 wxPyEndAllowThreads(__tstate);
18655 if (PyErr_Occurred()) SWIG_fail;
18656 }
18657 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18658 return resultobj;
18659 fail:
18660 return NULL;
18661 }
18662
18663
18664 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18665 PyObject *resultobj = 0;
18666 wxFontData *arg1 = (wxFontData *) 0 ;
18667 wxFont result;
18668 void *argp1 = 0 ;
18669 int res1 = 0 ;
18670 PyObject *swig_obj[1] ;
18671
18672 if (!args) SWIG_fail;
18673 swig_obj[0] = args;
18674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18675 if (!SWIG_IsOK(res1)) {
18676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18677 }
18678 arg1 = reinterpret_cast< wxFontData * >(argp1);
18679 {
18680 PyThreadState* __tstate = wxPyBeginAllowThreads();
18681 result = (arg1)->GetChosenFont();
18682 wxPyEndAllowThreads(__tstate);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 }
18685 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18686 return resultobj;
18687 fail:
18688 return NULL;
18689 }
18690
18691
18692 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18693 PyObject *resultobj = 0;
18694 wxFontData *arg1 = (wxFontData *) 0 ;
18695 bool result;
18696 void *argp1 = 0 ;
18697 int res1 = 0 ;
18698 PyObject *swig_obj[1] ;
18699
18700 if (!args) SWIG_fail;
18701 swig_obj[0] = args;
18702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18703 if (!SWIG_IsOK(res1)) {
18704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18705 }
18706 arg1 = reinterpret_cast< wxFontData * >(argp1);
18707 {
18708 PyThreadState* __tstate = wxPyBeginAllowThreads();
18709 result = (bool)(arg1)->GetEnableEffects();
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 {
18714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18715 }
18716 return resultobj;
18717 fail:
18718 return NULL;
18719 }
18720
18721
18722 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18723 PyObject *resultobj = 0;
18724 wxFontData *arg1 = (wxFontData *) 0 ;
18725 wxFont result;
18726 void *argp1 = 0 ;
18727 int res1 = 0 ;
18728 PyObject *swig_obj[1] ;
18729
18730 if (!args) SWIG_fail;
18731 swig_obj[0] = args;
18732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18733 if (!SWIG_IsOK(res1)) {
18734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18735 }
18736 arg1 = reinterpret_cast< wxFontData * >(argp1);
18737 {
18738 PyThreadState* __tstate = wxPyBeginAllowThreads();
18739 result = (arg1)->GetInitialFont();
18740 wxPyEndAllowThreads(__tstate);
18741 if (PyErr_Occurred()) SWIG_fail;
18742 }
18743 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18744 return resultobj;
18745 fail:
18746 return NULL;
18747 }
18748
18749
18750 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18751 PyObject *resultobj = 0;
18752 wxFontData *arg1 = (wxFontData *) 0 ;
18753 bool result;
18754 void *argp1 = 0 ;
18755 int res1 = 0 ;
18756 PyObject *swig_obj[1] ;
18757
18758 if (!args) SWIG_fail;
18759 swig_obj[0] = args;
18760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18761 if (!SWIG_IsOK(res1)) {
18762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18763 }
18764 arg1 = reinterpret_cast< wxFontData * >(argp1);
18765 {
18766 PyThreadState* __tstate = wxPyBeginAllowThreads();
18767 result = (bool)(arg1)->GetShowHelp();
18768 wxPyEndAllowThreads(__tstate);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 }
18771 {
18772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18773 }
18774 return resultobj;
18775 fail:
18776 return NULL;
18777 }
18778
18779
18780 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18781 PyObject *resultobj = 0;
18782 wxFontData *arg1 = (wxFontData *) 0 ;
18783 bool arg2 ;
18784 void *argp1 = 0 ;
18785 int res1 = 0 ;
18786 bool val2 ;
18787 int ecode2 = 0 ;
18788 PyObject * obj0 = 0 ;
18789 PyObject * obj1 = 0 ;
18790 char * kwnames[] = {
18791 (char *) "self",(char *) "allowSymbols", NULL
18792 };
18793
18794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18796 if (!SWIG_IsOK(res1)) {
18797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18798 }
18799 arg1 = reinterpret_cast< wxFontData * >(argp1);
18800 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18801 if (!SWIG_IsOK(ecode2)) {
18802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18803 }
18804 arg2 = static_cast< bool >(val2);
18805 {
18806 PyThreadState* __tstate = wxPyBeginAllowThreads();
18807 (arg1)->SetAllowSymbols(arg2);
18808 wxPyEndAllowThreads(__tstate);
18809 if (PyErr_Occurred()) SWIG_fail;
18810 }
18811 resultobj = SWIG_Py_Void();
18812 return resultobj;
18813 fail:
18814 return NULL;
18815 }
18816
18817
18818 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18819 PyObject *resultobj = 0;
18820 wxFontData *arg1 = (wxFontData *) 0 ;
18821 wxFont *arg2 = 0 ;
18822 void *argp1 = 0 ;
18823 int res1 = 0 ;
18824 void *argp2 = 0 ;
18825 int res2 = 0 ;
18826 PyObject * obj0 = 0 ;
18827 PyObject * obj1 = 0 ;
18828 char * kwnames[] = {
18829 (char *) "self",(char *) "font", NULL
18830 };
18831
18832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18834 if (!SWIG_IsOK(res1)) {
18835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18836 }
18837 arg1 = reinterpret_cast< wxFontData * >(argp1);
18838 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18839 if (!SWIG_IsOK(res2)) {
18840 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18841 }
18842 if (!argp2) {
18843 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18844 }
18845 arg2 = reinterpret_cast< wxFont * >(argp2);
18846 {
18847 PyThreadState* __tstate = wxPyBeginAllowThreads();
18848 (arg1)->SetChosenFont((wxFont const &)*arg2);
18849 wxPyEndAllowThreads(__tstate);
18850 if (PyErr_Occurred()) SWIG_fail;
18851 }
18852 resultobj = SWIG_Py_Void();
18853 return resultobj;
18854 fail:
18855 return NULL;
18856 }
18857
18858
18859 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18860 PyObject *resultobj = 0;
18861 wxFontData *arg1 = (wxFontData *) 0 ;
18862 wxColour *arg2 = 0 ;
18863 void *argp1 = 0 ;
18864 int res1 = 0 ;
18865 wxColour temp2 ;
18866 PyObject * obj0 = 0 ;
18867 PyObject * obj1 = 0 ;
18868 char * kwnames[] = {
18869 (char *) "self",(char *) "colour", NULL
18870 };
18871
18872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18874 if (!SWIG_IsOK(res1)) {
18875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18876 }
18877 arg1 = reinterpret_cast< wxFontData * >(argp1);
18878 {
18879 arg2 = &temp2;
18880 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18881 }
18882 {
18883 PyThreadState* __tstate = wxPyBeginAllowThreads();
18884 (arg1)->SetColour((wxColour const &)*arg2);
18885 wxPyEndAllowThreads(__tstate);
18886 if (PyErr_Occurred()) SWIG_fail;
18887 }
18888 resultobj = SWIG_Py_Void();
18889 return resultobj;
18890 fail:
18891 return NULL;
18892 }
18893
18894
18895 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18896 PyObject *resultobj = 0;
18897 wxFontData *arg1 = (wxFontData *) 0 ;
18898 wxFont *arg2 = 0 ;
18899 void *argp1 = 0 ;
18900 int res1 = 0 ;
18901 void *argp2 = 0 ;
18902 int res2 = 0 ;
18903 PyObject * obj0 = 0 ;
18904 PyObject * obj1 = 0 ;
18905 char * kwnames[] = {
18906 (char *) "self",(char *) "font", NULL
18907 };
18908
18909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18911 if (!SWIG_IsOK(res1)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18913 }
18914 arg1 = reinterpret_cast< wxFontData * >(argp1);
18915 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18916 if (!SWIG_IsOK(res2)) {
18917 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18918 }
18919 if (!argp2) {
18920 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18921 }
18922 arg2 = reinterpret_cast< wxFont * >(argp2);
18923 {
18924 PyThreadState* __tstate = wxPyBeginAllowThreads();
18925 (arg1)->SetInitialFont((wxFont const &)*arg2);
18926 wxPyEndAllowThreads(__tstate);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 resultobj = SWIG_Py_Void();
18930 return resultobj;
18931 fail:
18932 return NULL;
18933 }
18934
18935
18936 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18937 PyObject *resultobj = 0;
18938 wxFontData *arg1 = (wxFontData *) 0 ;
18939 int arg2 ;
18940 int arg3 ;
18941 void *argp1 = 0 ;
18942 int res1 = 0 ;
18943 int val2 ;
18944 int ecode2 = 0 ;
18945 int val3 ;
18946 int ecode3 = 0 ;
18947 PyObject * obj0 = 0 ;
18948 PyObject * obj1 = 0 ;
18949 PyObject * obj2 = 0 ;
18950 char * kwnames[] = {
18951 (char *) "self",(char *) "min",(char *) "max", NULL
18952 };
18953
18954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18956 if (!SWIG_IsOK(res1)) {
18957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18958 }
18959 arg1 = reinterpret_cast< wxFontData * >(argp1);
18960 ecode2 = SWIG_AsVal_int(obj1, &val2);
18961 if (!SWIG_IsOK(ecode2)) {
18962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18963 }
18964 arg2 = static_cast< int >(val2);
18965 ecode3 = SWIG_AsVal_int(obj2, &val3);
18966 if (!SWIG_IsOK(ecode3)) {
18967 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18968 }
18969 arg3 = static_cast< int >(val3);
18970 {
18971 PyThreadState* __tstate = wxPyBeginAllowThreads();
18972 (arg1)->SetRange(arg2,arg3);
18973 wxPyEndAllowThreads(__tstate);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 }
18976 resultobj = SWIG_Py_Void();
18977 return resultobj;
18978 fail:
18979 return NULL;
18980 }
18981
18982
18983 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18984 PyObject *resultobj = 0;
18985 wxFontData *arg1 = (wxFontData *) 0 ;
18986 bool arg2 ;
18987 void *argp1 = 0 ;
18988 int res1 = 0 ;
18989 bool val2 ;
18990 int ecode2 = 0 ;
18991 PyObject * obj0 = 0 ;
18992 PyObject * obj1 = 0 ;
18993 char * kwnames[] = {
18994 (char *) "self",(char *) "showHelp", NULL
18995 };
18996
18997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18999 if (!SWIG_IsOK(res1)) {
19000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19001 }
19002 arg1 = reinterpret_cast< wxFontData * >(argp1);
19003 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19004 if (!SWIG_IsOK(ecode2)) {
19005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19006 }
19007 arg2 = static_cast< bool >(val2);
19008 {
19009 PyThreadState* __tstate = wxPyBeginAllowThreads();
19010 (arg1)->SetShowHelp(arg2);
19011 wxPyEndAllowThreads(__tstate);
19012 if (PyErr_Occurred()) SWIG_fail;
19013 }
19014 resultobj = SWIG_Py_Void();
19015 return resultobj;
19016 fail:
19017 return NULL;
19018 }
19019
19020
19021 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19022 PyObject *obj;
19023 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19024 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19025 return SWIG_Py_Void();
19026 }
19027
19028 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19029 return SWIG_Python_InitShadowInstance(args);
19030 }
19031
19032 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19033 PyObject *resultobj = 0;
19034 wxWindow *arg1 = (wxWindow *) 0 ;
19035 wxFontData *arg2 = 0 ;
19036 wxFontDialog *result = 0 ;
19037 void *argp1 = 0 ;
19038 int res1 = 0 ;
19039 void *argp2 = 0 ;
19040 int res2 = 0 ;
19041 PyObject * obj0 = 0 ;
19042 PyObject * obj1 = 0 ;
19043 char * kwnames[] = {
19044 (char *) "parent",(char *) "data", NULL
19045 };
19046
19047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19049 if (!SWIG_IsOK(res1)) {
19050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19051 }
19052 arg1 = reinterpret_cast< wxWindow * >(argp1);
19053 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19054 if (!SWIG_IsOK(res2)) {
19055 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19056 }
19057 if (!argp2) {
19058 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19059 }
19060 arg2 = reinterpret_cast< wxFontData * >(argp2);
19061 {
19062 if (!wxPyCheckForApp()) SWIG_fail;
19063 PyThreadState* __tstate = wxPyBeginAllowThreads();
19064 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19065 wxPyEndAllowThreads(__tstate);
19066 if (PyErr_Occurred()) SWIG_fail;
19067 }
19068 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19069 return resultobj;
19070 fail:
19071 return NULL;
19072 }
19073
19074
19075 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19076 PyObject *resultobj = 0;
19077 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19078 wxFontData *result = 0 ;
19079 void *argp1 = 0 ;
19080 int res1 = 0 ;
19081 PyObject *swig_obj[1] ;
19082
19083 if (!args) SWIG_fail;
19084 swig_obj[0] = args;
19085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19086 if (!SWIG_IsOK(res1)) {
19087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19088 }
19089 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19090 {
19091 PyThreadState* __tstate = wxPyBeginAllowThreads();
19092 {
19093 wxFontData &_result_ref = (arg1)->GetFontData();
19094 result = (wxFontData *) &_result_ref;
19095 }
19096 wxPyEndAllowThreads(__tstate);
19097 if (PyErr_Occurred()) SWIG_fail;
19098 }
19099 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19100 return resultobj;
19101 fail:
19102 return NULL;
19103 }
19104
19105
19106 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19107 PyObject *obj;
19108 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19109 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19110 return SWIG_Py_Void();
19111 }
19112
19113 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19114 return SWIG_Python_InitShadowInstance(args);
19115 }
19116
19117 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19118 PyObject *resultobj = 0;
19119 wxWindow *arg1 = (wxWindow *) NULL ;
19120 wxFont const &arg2_defvalue = wxNullFont ;
19121 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19122 wxString const &arg3_defvalue = wxPyEmptyString ;
19123 wxString *arg3 = (wxString *) &arg3_defvalue ;
19124 wxFont result;
19125 void *argp1 = 0 ;
19126 int res1 = 0 ;
19127 void *argp2 = 0 ;
19128 int res2 = 0 ;
19129 bool temp3 = false ;
19130 PyObject * obj0 = 0 ;
19131 PyObject * obj1 = 0 ;
19132 PyObject * obj2 = 0 ;
19133 char * kwnames[] = {
19134 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19135 };
19136
19137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19138 if (obj0) {
19139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19140 if (!SWIG_IsOK(res1)) {
19141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19142 }
19143 arg1 = reinterpret_cast< wxWindow * >(argp1);
19144 }
19145 if (obj1) {
19146 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19147 if (!SWIG_IsOK(res2)) {
19148 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19149 }
19150 if (!argp2) {
19151 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19152 }
19153 arg2 = reinterpret_cast< wxFont * >(argp2);
19154 }
19155 if (obj2) {
19156 {
19157 arg3 = wxString_in_helper(obj2);
19158 if (arg3 == NULL) SWIG_fail;
19159 temp3 = true;
19160 }
19161 }
19162 {
19163 PyThreadState* __tstate = wxPyBeginAllowThreads();
19164 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19165 wxPyEndAllowThreads(__tstate);
19166 if (PyErr_Occurred()) SWIG_fail;
19167 }
19168 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19169 {
19170 if (temp3)
19171 delete arg3;
19172 }
19173 return resultobj;
19174 fail:
19175 {
19176 if (temp3)
19177 delete arg3;
19178 }
19179 return NULL;
19180 }
19181
19182
19183 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19184 PyObject *resultobj = 0;
19185 wxWindow *arg1 = (wxWindow *) 0 ;
19186 wxString *arg2 = 0 ;
19187 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19188 wxString *arg3 = (wxString *) &arg3_defvalue ;
19189 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19190 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19191 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19192 wxMessageDialog *result = 0 ;
19193 void *argp1 = 0 ;
19194 int res1 = 0 ;
19195 bool temp2 = false ;
19196 bool temp3 = false ;
19197 long val4 ;
19198 int ecode4 = 0 ;
19199 wxPoint temp5 ;
19200 PyObject * obj0 = 0 ;
19201 PyObject * obj1 = 0 ;
19202 PyObject * obj2 = 0 ;
19203 PyObject * obj3 = 0 ;
19204 PyObject * obj4 = 0 ;
19205 char * kwnames[] = {
19206 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19207 };
19208
19209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19211 if (!SWIG_IsOK(res1)) {
19212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19213 }
19214 arg1 = reinterpret_cast< wxWindow * >(argp1);
19215 {
19216 arg2 = wxString_in_helper(obj1);
19217 if (arg2 == NULL) SWIG_fail;
19218 temp2 = true;
19219 }
19220 if (obj2) {
19221 {
19222 arg3 = wxString_in_helper(obj2);
19223 if (arg3 == NULL) SWIG_fail;
19224 temp3 = true;
19225 }
19226 }
19227 if (obj3) {
19228 ecode4 = SWIG_AsVal_long(obj3, &val4);
19229 if (!SWIG_IsOK(ecode4)) {
19230 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19231 }
19232 arg4 = static_cast< long >(val4);
19233 }
19234 if (obj4) {
19235 {
19236 arg5 = &temp5;
19237 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19238 }
19239 }
19240 {
19241 if (!wxPyCheckForApp()) SWIG_fail;
19242 PyThreadState* __tstate = wxPyBeginAllowThreads();
19243 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19248 {
19249 if (temp2)
19250 delete arg2;
19251 }
19252 {
19253 if (temp3)
19254 delete arg3;
19255 }
19256 return resultobj;
19257 fail:
19258 {
19259 if (temp2)
19260 delete arg2;
19261 }
19262 {
19263 if (temp3)
19264 delete arg3;
19265 }
19266 return NULL;
19267 }
19268
19269
19270 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19271 PyObject *obj;
19272 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19273 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19274 return SWIG_Py_Void();
19275 }
19276
19277 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19278 return SWIG_Python_InitShadowInstance(args);
19279 }
19280
19281 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19282 PyObject *resultobj = 0;
19283 wxString *arg1 = 0 ;
19284 wxString *arg2 = 0 ;
19285 int arg3 = (int) 100 ;
19286 wxWindow *arg4 = (wxWindow *) NULL ;
19287 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19288 wxProgressDialog *result = 0 ;
19289 bool temp1 = false ;
19290 bool temp2 = false ;
19291 int val3 ;
19292 int ecode3 = 0 ;
19293 void *argp4 = 0 ;
19294 int res4 = 0 ;
19295 int val5 ;
19296 int ecode5 = 0 ;
19297 PyObject * obj0 = 0 ;
19298 PyObject * obj1 = 0 ;
19299 PyObject * obj2 = 0 ;
19300 PyObject * obj3 = 0 ;
19301 PyObject * obj4 = 0 ;
19302 char * kwnames[] = {
19303 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19304 };
19305
19306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19307 {
19308 arg1 = wxString_in_helper(obj0);
19309 if (arg1 == NULL) SWIG_fail;
19310 temp1 = true;
19311 }
19312 {
19313 arg2 = wxString_in_helper(obj1);
19314 if (arg2 == NULL) SWIG_fail;
19315 temp2 = true;
19316 }
19317 if (obj2) {
19318 ecode3 = SWIG_AsVal_int(obj2, &val3);
19319 if (!SWIG_IsOK(ecode3)) {
19320 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19321 }
19322 arg3 = static_cast< int >(val3);
19323 }
19324 if (obj3) {
19325 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19326 if (!SWIG_IsOK(res4)) {
19327 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19328 }
19329 arg4 = reinterpret_cast< wxWindow * >(argp4);
19330 }
19331 if (obj4) {
19332 ecode5 = SWIG_AsVal_int(obj4, &val5);
19333 if (!SWIG_IsOK(ecode5)) {
19334 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19335 }
19336 arg5 = static_cast< int >(val5);
19337 }
19338 {
19339 if (!wxPyCheckForApp()) SWIG_fail;
19340 PyThreadState* __tstate = wxPyBeginAllowThreads();
19341 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19342 wxPyEndAllowThreads(__tstate);
19343 if (PyErr_Occurred()) SWIG_fail;
19344 }
19345 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19346 {
19347 if (temp1)
19348 delete arg1;
19349 }
19350 {
19351 if (temp2)
19352 delete arg2;
19353 }
19354 return resultobj;
19355 fail:
19356 {
19357 if (temp1)
19358 delete arg1;
19359 }
19360 {
19361 if (temp2)
19362 delete arg2;
19363 }
19364 return NULL;
19365 }
19366
19367
19368 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19369 PyObject *resultobj = 0;
19370 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19371 int arg2 ;
19372 wxString const &arg3_defvalue = wxPyEmptyString ;
19373 wxString *arg3 = (wxString *) &arg3_defvalue ;
19374 bool *arg4 = (bool *) 0 ;
19375 bool result;
19376 void *argp1 = 0 ;
19377 int res1 = 0 ;
19378 int val2 ;
19379 int ecode2 = 0 ;
19380 bool temp3 = false ;
19381 bool temp4 ;
19382 int res4 = SWIG_TMPOBJ ;
19383 PyObject * obj0 = 0 ;
19384 PyObject * obj1 = 0 ;
19385 PyObject * obj2 = 0 ;
19386 char * kwnames[] = {
19387 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19388 };
19389
19390 arg4 = &temp4;
19391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19393 if (!SWIG_IsOK(res1)) {
19394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19395 }
19396 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19397 ecode2 = SWIG_AsVal_int(obj1, &val2);
19398 if (!SWIG_IsOK(ecode2)) {
19399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19400 }
19401 arg2 = static_cast< int >(val2);
19402 if (obj2) {
19403 {
19404 arg3 = wxString_in_helper(obj2);
19405 if (arg3 == NULL) SWIG_fail;
19406 temp3 = true;
19407 }
19408 }
19409 {
19410 PyThreadState* __tstate = wxPyBeginAllowThreads();
19411 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19412 wxPyEndAllowThreads(__tstate);
19413 if (PyErr_Occurred()) SWIG_fail;
19414 }
19415 {
19416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19417 }
19418 if (SWIG_IsTmpObj(res4)) {
19419 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19420 } else {
19421 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19422 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19423 }
19424 {
19425 if (temp3)
19426 delete arg3;
19427 }
19428 return resultobj;
19429 fail:
19430 {
19431 if (temp3)
19432 delete arg3;
19433 }
19434 return NULL;
19435 }
19436
19437
19438 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19439 PyObject *resultobj = 0;
19440 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19441 void *argp1 = 0 ;
19442 int res1 = 0 ;
19443 PyObject *swig_obj[1] ;
19444
19445 if (!args) SWIG_fail;
19446 swig_obj[0] = args;
19447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19448 if (!SWIG_IsOK(res1)) {
19449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19450 }
19451 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19452 {
19453 PyThreadState* __tstate = wxPyBeginAllowThreads();
19454 (arg1)->Resume();
19455 wxPyEndAllowThreads(__tstate);
19456 if (PyErr_Occurred()) SWIG_fail;
19457 }
19458 resultobj = SWIG_Py_Void();
19459 return resultobj;
19460 fail:
19461 return NULL;
19462 }
19463
19464
19465 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19466 PyObject *obj;
19467 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19468 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19469 return SWIG_Py_Void();
19470 }
19471
19472 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19473 return SWIG_Python_InitShadowInstance(args);
19474 }
19475
19476 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19477 PyObject *resultobj = 0;
19478 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19479 int arg2 = (int) 0 ;
19480 wxFindDialogEvent *result = 0 ;
19481 int val1 ;
19482 int ecode1 = 0 ;
19483 int val2 ;
19484 int ecode2 = 0 ;
19485 PyObject * obj0 = 0 ;
19486 PyObject * obj1 = 0 ;
19487 char * kwnames[] = {
19488 (char *) "commandType",(char *) "id", NULL
19489 };
19490
19491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19492 if (obj0) {
19493 ecode1 = SWIG_AsVal_int(obj0, &val1);
19494 if (!SWIG_IsOK(ecode1)) {
19495 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19496 }
19497 arg1 = static_cast< wxEventType >(val1);
19498 }
19499 if (obj1) {
19500 ecode2 = SWIG_AsVal_int(obj1, &val2);
19501 if (!SWIG_IsOK(ecode2)) {
19502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19503 }
19504 arg2 = static_cast< int >(val2);
19505 }
19506 {
19507 PyThreadState* __tstate = wxPyBeginAllowThreads();
19508 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19509 wxPyEndAllowThreads(__tstate);
19510 if (PyErr_Occurred()) SWIG_fail;
19511 }
19512 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19513 return resultobj;
19514 fail:
19515 return NULL;
19516 }
19517
19518
19519 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19520 PyObject *resultobj = 0;
19521 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19522 int result;
19523 void *argp1 = 0 ;
19524 int res1 = 0 ;
19525 PyObject *swig_obj[1] ;
19526
19527 if (!args) SWIG_fail;
19528 swig_obj[0] = args;
19529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19530 if (!SWIG_IsOK(res1)) {
19531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19532 }
19533 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19534 {
19535 PyThreadState* __tstate = wxPyBeginAllowThreads();
19536 result = (int)(arg1)->GetFlags();
19537 wxPyEndAllowThreads(__tstate);
19538 if (PyErr_Occurred()) SWIG_fail;
19539 }
19540 resultobj = SWIG_From_int(static_cast< int >(result));
19541 return resultobj;
19542 fail:
19543 return NULL;
19544 }
19545
19546
19547 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19548 PyObject *resultobj = 0;
19549 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19550 wxString *result = 0 ;
19551 void *argp1 = 0 ;
19552 int res1 = 0 ;
19553 PyObject *swig_obj[1] ;
19554
19555 if (!args) SWIG_fail;
19556 swig_obj[0] = args;
19557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19558 if (!SWIG_IsOK(res1)) {
19559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19560 }
19561 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 {
19565 wxString const &_result_ref = (arg1)->GetFindString();
19566 result = (wxString *) &_result_ref;
19567 }
19568 wxPyEndAllowThreads(__tstate);
19569 if (PyErr_Occurred()) SWIG_fail;
19570 }
19571 {
19572 #if wxUSE_UNICODE
19573 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19574 #else
19575 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19576 #endif
19577 }
19578 return resultobj;
19579 fail:
19580 return NULL;
19581 }
19582
19583
19584 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19585 PyObject *resultobj = 0;
19586 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19587 wxString *result = 0 ;
19588 void *argp1 = 0 ;
19589 int res1 = 0 ;
19590 PyObject *swig_obj[1] ;
19591
19592 if (!args) SWIG_fail;
19593 swig_obj[0] = args;
19594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19595 if (!SWIG_IsOK(res1)) {
19596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19597 }
19598 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19599 {
19600 PyThreadState* __tstate = wxPyBeginAllowThreads();
19601 {
19602 wxString const &_result_ref = (arg1)->GetReplaceString();
19603 result = (wxString *) &_result_ref;
19604 }
19605 wxPyEndAllowThreads(__tstate);
19606 if (PyErr_Occurred()) SWIG_fail;
19607 }
19608 {
19609 #if wxUSE_UNICODE
19610 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19611 #else
19612 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19613 #endif
19614 }
19615 return resultobj;
19616 fail:
19617 return NULL;
19618 }
19619
19620
19621 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19622 PyObject *resultobj = 0;
19623 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19624 wxFindReplaceDialog *result = 0 ;
19625 void *argp1 = 0 ;
19626 int res1 = 0 ;
19627 PyObject *swig_obj[1] ;
19628
19629 if (!args) SWIG_fail;
19630 swig_obj[0] = args;
19631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19632 if (!SWIG_IsOK(res1)) {
19633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19634 }
19635 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19636 {
19637 PyThreadState* __tstate = wxPyBeginAllowThreads();
19638 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19639 wxPyEndAllowThreads(__tstate);
19640 if (PyErr_Occurred()) SWIG_fail;
19641 }
19642 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19643 return resultobj;
19644 fail:
19645 return NULL;
19646 }
19647
19648
19649 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19650 PyObject *resultobj = 0;
19651 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19652 int arg2 ;
19653 void *argp1 = 0 ;
19654 int res1 = 0 ;
19655 int val2 ;
19656 int ecode2 = 0 ;
19657 PyObject * obj0 = 0 ;
19658 PyObject * obj1 = 0 ;
19659 char * kwnames[] = {
19660 (char *) "self",(char *) "flags", NULL
19661 };
19662
19663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19665 if (!SWIG_IsOK(res1)) {
19666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19667 }
19668 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19669 ecode2 = SWIG_AsVal_int(obj1, &val2);
19670 if (!SWIG_IsOK(ecode2)) {
19671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19672 }
19673 arg2 = static_cast< int >(val2);
19674 {
19675 PyThreadState* __tstate = wxPyBeginAllowThreads();
19676 (arg1)->SetFlags(arg2);
19677 wxPyEndAllowThreads(__tstate);
19678 if (PyErr_Occurred()) SWIG_fail;
19679 }
19680 resultobj = SWIG_Py_Void();
19681 return resultobj;
19682 fail:
19683 return NULL;
19684 }
19685
19686
19687 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19688 PyObject *resultobj = 0;
19689 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19690 wxString *arg2 = 0 ;
19691 void *argp1 = 0 ;
19692 int res1 = 0 ;
19693 bool temp2 = false ;
19694 PyObject * obj0 = 0 ;
19695 PyObject * obj1 = 0 ;
19696 char * kwnames[] = {
19697 (char *) "self",(char *) "str", NULL
19698 };
19699
19700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19702 if (!SWIG_IsOK(res1)) {
19703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19704 }
19705 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19706 {
19707 arg2 = wxString_in_helper(obj1);
19708 if (arg2 == NULL) SWIG_fail;
19709 temp2 = true;
19710 }
19711 {
19712 PyThreadState* __tstate = wxPyBeginAllowThreads();
19713 (arg1)->SetFindString((wxString const &)*arg2);
19714 wxPyEndAllowThreads(__tstate);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
19717 resultobj = SWIG_Py_Void();
19718 {
19719 if (temp2)
19720 delete arg2;
19721 }
19722 return resultobj;
19723 fail:
19724 {
19725 if (temp2)
19726 delete arg2;
19727 }
19728 return NULL;
19729 }
19730
19731
19732 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19733 PyObject *resultobj = 0;
19734 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19735 wxString *arg2 = 0 ;
19736 void *argp1 = 0 ;
19737 int res1 = 0 ;
19738 bool temp2 = false ;
19739 PyObject * obj0 = 0 ;
19740 PyObject * obj1 = 0 ;
19741 char * kwnames[] = {
19742 (char *) "self",(char *) "str", NULL
19743 };
19744
19745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19747 if (!SWIG_IsOK(res1)) {
19748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19749 }
19750 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19751 {
19752 arg2 = wxString_in_helper(obj1);
19753 if (arg2 == NULL) SWIG_fail;
19754 temp2 = true;
19755 }
19756 {
19757 PyThreadState* __tstate = wxPyBeginAllowThreads();
19758 (arg1)->SetReplaceString((wxString const &)*arg2);
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 resultobj = SWIG_Py_Void();
19763 {
19764 if (temp2)
19765 delete arg2;
19766 }
19767 return resultobj;
19768 fail:
19769 {
19770 if (temp2)
19771 delete arg2;
19772 }
19773 return NULL;
19774 }
19775
19776
19777 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19778 PyObject *obj;
19779 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19780 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19781 return SWIG_Py_Void();
19782 }
19783
19784 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19785 return SWIG_Python_InitShadowInstance(args);
19786 }
19787
19788 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19789 PyObject *resultobj = 0;
19790 int arg1 = (int) 0 ;
19791 wxFindReplaceData *result = 0 ;
19792 int val1 ;
19793 int ecode1 = 0 ;
19794 PyObject * obj0 = 0 ;
19795 char * kwnames[] = {
19796 (char *) "flags", NULL
19797 };
19798
19799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19800 if (obj0) {
19801 ecode1 = SWIG_AsVal_int(obj0, &val1);
19802 if (!SWIG_IsOK(ecode1)) {
19803 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19804 }
19805 arg1 = static_cast< int >(val1);
19806 }
19807 {
19808 PyThreadState* __tstate = wxPyBeginAllowThreads();
19809 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19810 wxPyEndAllowThreads(__tstate);
19811 if (PyErr_Occurred()) SWIG_fail;
19812 }
19813 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19814 return resultobj;
19815 fail:
19816 return NULL;
19817 }
19818
19819
19820 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19821 PyObject *resultobj = 0;
19822 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19823 void *argp1 = 0 ;
19824 int res1 = 0 ;
19825 PyObject *swig_obj[1] ;
19826
19827 if (!args) SWIG_fail;
19828 swig_obj[0] = args;
19829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19830 if (!SWIG_IsOK(res1)) {
19831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19832 }
19833 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19834 {
19835 PyThreadState* __tstate = wxPyBeginAllowThreads();
19836 delete arg1;
19837
19838 wxPyEndAllowThreads(__tstate);
19839 if (PyErr_Occurred()) SWIG_fail;
19840 }
19841 resultobj = SWIG_Py_Void();
19842 return resultobj;
19843 fail:
19844 return NULL;
19845 }
19846
19847
19848 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19849 PyObject *resultobj = 0;
19850 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19851 wxString *result = 0 ;
19852 void *argp1 = 0 ;
19853 int res1 = 0 ;
19854 PyObject *swig_obj[1] ;
19855
19856 if (!args) SWIG_fail;
19857 swig_obj[0] = args;
19858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19859 if (!SWIG_IsOK(res1)) {
19860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19861 }
19862 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19863 {
19864 PyThreadState* __tstate = wxPyBeginAllowThreads();
19865 {
19866 wxString const &_result_ref = (arg1)->GetFindString();
19867 result = (wxString *) &_result_ref;
19868 }
19869 wxPyEndAllowThreads(__tstate);
19870 if (PyErr_Occurred()) SWIG_fail;
19871 }
19872 {
19873 #if wxUSE_UNICODE
19874 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19875 #else
19876 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19877 #endif
19878 }
19879 return resultobj;
19880 fail:
19881 return NULL;
19882 }
19883
19884
19885 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19886 PyObject *resultobj = 0;
19887 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19888 wxString *result = 0 ;
19889 void *argp1 = 0 ;
19890 int res1 = 0 ;
19891 PyObject *swig_obj[1] ;
19892
19893 if (!args) SWIG_fail;
19894 swig_obj[0] = args;
19895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19896 if (!SWIG_IsOK(res1)) {
19897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19898 }
19899 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19900 {
19901 PyThreadState* __tstate = wxPyBeginAllowThreads();
19902 {
19903 wxString const &_result_ref = (arg1)->GetReplaceString();
19904 result = (wxString *) &_result_ref;
19905 }
19906 wxPyEndAllowThreads(__tstate);
19907 if (PyErr_Occurred()) SWIG_fail;
19908 }
19909 {
19910 #if wxUSE_UNICODE
19911 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19912 #else
19913 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19914 #endif
19915 }
19916 return resultobj;
19917 fail:
19918 return NULL;
19919 }
19920
19921
19922 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19923 PyObject *resultobj = 0;
19924 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19925 int result;
19926 void *argp1 = 0 ;
19927 int res1 = 0 ;
19928 PyObject *swig_obj[1] ;
19929
19930 if (!args) SWIG_fail;
19931 swig_obj[0] = args;
19932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19933 if (!SWIG_IsOK(res1)) {
19934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19935 }
19936 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19937 {
19938 PyThreadState* __tstate = wxPyBeginAllowThreads();
19939 result = (int)(arg1)->GetFlags();
19940 wxPyEndAllowThreads(__tstate);
19941 if (PyErr_Occurred()) SWIG_fail;
19942 }
19943 resultobj = SWIG_From_int(static_cast< int >(result));
19944 return resultobj;
19945 fail:
19946 return NULL;
19947 }
19948
19949
19950 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19951 PyObject *resultobj = 0;
19952 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19953 int arg2 ;
19954 void *argp1 = 0 ;
19955 int res1 = 0 ;
19956 int val2 ;
19957 int ecode2 = 0 ;
19958 PyObject * obj0 = 0 ;
19959 PyObject * obj1 = 0 ;
19960 char * kwnames[] = {
19961 (char *) "self",(char *) "flags", NULL
19962 };
19963
19964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19966 if (!SWIG_IsOK(res1)) {
19967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19968 }
19969 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19970 ecode2 = SWIG_AsVal_int(obj1, &val2);
19971 if (!SWIG_IsOK(ecode2)) {
19972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19973 }
19974 arg2 = static_cast< int >(val2);
19975 {
19976 PyThreadState* __tstate = wxPyBeginAllowThreads();
19977 (arg1)->SetFlags(arg2);
19978 wxPyEndAllowThreads(__tstate);
19979 if (PyErr_Occurred()) SWIG_fail;
19980 }
19981 resultobj = SWIG_Py_Void();
19982 return resultobj;
19983 fail:
19984 return NULL;
19985 }
19986
19987
19988 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19989 PyObject *resultobj = 0;
19990 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19991 wxString *arg2 = 0 ;
19992 void *argp1 = 0 ;
19993 int res1 = 0 ;
19994 bool temp2 = false ;
19995 PyObject * obj0 = 0 ;
19996 PyObject * obj1 = 0 ;
19997 char * kwnames[] = {
19998 (char *) "self",(char *) "str", NULL
19999 };
20000
20001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20003 if (!SWIG_IsOK(res1)) {
20004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20005 }
20006 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20007 {
20008 arg2 = wxString_in_helper(obj1);
20009 if (arg2 == NULL) SWIG_fail;
20010 temp2 = true;
20011 }
20012 {
20013 PyThreadState* __tstate = wxPyBeginAllowThreads();
20014 (arg1)->SetFindString((wxString const &)*arg2);
20015 wxPyEndAllowThreads(__tstate);
20016 if (PyErr_Occurred()) SWIG_fail;
20017 }
20018 resultobj = SWIG_Py_Void();
20019 {
20020 if (temp2)
20021 delete arg2;
20022 }
20023 return resultobj;
20024 fail:
20025 {
20026 if (temp2)
20027 delete arg2;
20028 }
20029 return NULL;
20030 }
20031
20032
20033 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20034 PyObject *resultobj = 0;
20035 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20036 wxString *arg2 = 0 ;
20037 void *argp1 = 0 ;
20038 int res1 = 0 ;
20039 bool temp2 = false ;
20040 PyObject * obj0 = 0 ;
20041 PyObject * obj1 = 0 ;
20042 char * kwnames[] = {
20043 (char *) "self",(char *) "str", NULL
20044 };
20045
20046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20048 if (!SWIG_IsOK(res1)) {
20049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20050 }
20051 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20052 {
20053 arg2 = wxString_in_helper(obj1);
20054 if (arg2 == NULL) SWIG_fail;
20055 temp2 = true;
20056 }
20057 {
20058 PyThreadState* __tstate = wxPyBeginAllowThreads();
20059 (arg1)->SetReplaceString((wxString const &)*arg2);
20060 wxPyEndAllowThreads(__tstate);
20061 if (PyErr_Occurred()) SWIG_fail;
20062 }
20063 resultobj = SWIG_Py_Void();
20064 {
20065 if (temp2)
20066 delete arg2;
20067 }
20068 return resultobj;
20069 fail:
20070 {
20071 if (temp2)
20072 delete arg2;
20073 }
20074 return NULL;
20075 }
20076
20077
20078 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20079 PyObject *obj;
20080 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20081 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20082 return SWIG_Py_Void();
20083 }
20084
20085 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20086 return SWIG_Python_InitShadowInstance(args);
20087 }
20088
20089 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20090 PyObject *resultobj = 0;
20091 wxWindow *arg1 = (wxWindow *) 0 ;
20092 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20093 wxString *arg3 = 0 ;
20094 int arg4 = (int) 0 ;
20095 wxFindReplaceDialog *result = 0 ;
20096 void *argp1 = 0 ;
20097 int res1 = 0 ;
20098 void *argp2 = 0 ;
20099 int res2 = 0 ;
20100 bool temp3 = false ;
20101 int val4 ;
20102 int ecode4 = 0 ;
20103 PyObject * obj0 = 0 ;
20104 PyObject * obj1 = 0 ;
20105 PyObject * obj2 = 0 ;
20106 PyObject * obj3 = 0 ;
20107 char * kwnames[] = {
20108 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20109 };
20110
20111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20113 if (!SWIG_IsOK(res1)) {
20114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20115 }
20116 arg1 = reinterpret_cast< wxWindow * >(argp1);
20117 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20118 if (!SWIG_IsOK(res2)) {
20119 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20120 }
20121 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20122 {
20123 arg3 = wxString_in_helper(obj2);
20124 if (arg3 == NULL) SWIG_fail;
20125 temp3 = true;
20126 }
20127 if (obj3) {
20128 ecode4 = SWIG_AsVal_int(obj3, &val4);
20129 if (!SWIG_IsOK(ecode4)) {
20130 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20131 }
20132 arg4 = static_cast< int >(val4);
20133 }
20134 {
20135 if (!wxPyCheckForApp()) SWIG_fail;
20136 PyThreadState* __tstate = wxPyBeginAllowThreads();
20137 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20138 wxPyEndAllowThreads(__tstate);
20139 if (PyErr_Occurred()) SWIG_fail;
20140 }
20141 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20142 {
20143 if (temp3)
20144 delete arg3;
20145 }
20146 return resultobj;
20147 fail:
20148 {
20149 if (temp3)
20150 delete arg3;
20151 }
20152 return NULL;
20153 }
20154
20155
20156 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20157 PyObject *resultobj = 0;
20158 wxFindReplaceDialog *result = 0 ;
20159
20160 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20161 {
20162 if (!wxPyCheckForApp()) SWIG_fail;
20163 PyThreadState* __tstate = wxPyBeginAllowThreads();
20164 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20165 wxPyEndAllowThreads(__tstate);
20166 if (PyErr_Occurred()) SWIG_fail;
20167 }
20168 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20169 return resultobj;
20170 fail:
20171 return NULL;
20172 }
20173
20174
20175 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20176 PyObject *resultobj = 0;
20177 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20178 wxWindow *arg2 = (wxWindow *) 0 ;
20179 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20180 wxString *arg4 = 0 ;
20181 int arg5 = (int) 0 ;
20182 bool result;
20183 void *argp1 = 0 ;
20184 int res1 = 0 ;
20185 void *argp2 = 0 ;
20186 int res2 = 0 ;
20187 void *argp3 = 0 ;
20188 int res3 = 0 ;
20189 bool temp4 = false ;
20190 int val5 ;
20191 int ecode5 = 0 ;
20192 PyObject * obj0 = 0 ;
20193 PyObject * obj1 = 0 ;
20194 PyObject * obj2 = 0 ;
20195 PyObject * obj3 = 0 ;
20196 PyObject * obj4 = 0 ;
20197 char * kwnames[] = {
20198 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20199 };
20200
20201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20203 if (!SWIG_IsOK(res1)) {
20204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20205 }
20206 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20207 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20208 if (!SWIG_IsOK(res2)) {
20209 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20210 }
20211 arg2 = reinterpret_cast< wxWindow * >(argp2);
20212 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20213 if (!SWIG_IsOK(res3)) {
20214 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20215 }
20216 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20217 {
20218 arg4 = wxString_in_helper(obj3);
20219 if (arg4 == NULL) SWIG_fail;
20220 temp4 = true;
20221 }
20222 if (obj4) {
20223 ecode5 = SWIG_AsVal_int(obj4, &val5);
20224 if (!SWIG_IsOK(ecode5)) {
20225 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20226 }
20227 arg5 = static_cast< int >(val5);
20228 }
20229 {
20230 PyThreadState* __tstate = wxPyBeginAllowThreads();
20231 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20232 wxPyEndAllowThreads(__tstate);
20233 if (PyErr_Occurred()) SWIG_fail;
20234 }
20235 {
20236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20237 }
20238 {
20239 if (temp4)
20240 delete arg4;
20241 }
20242 return resultobj;
20243 fail:
20244 {
20245 if (temp4)
20246 delete arg4;
20247 }
20248 return NULL;
20249 }
20250
20251
20252 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20253 PyObject *resultobj = 0;
20254 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20255 wxFindReplaceData *result = 0 ;
20256 void *argp1 = 0 ;
20257 int res1 = 0 ;
20258 PyObject *swig_obj[1] ;
20259
20260 if (!args) SWIG_fail;
20261 swig_obj[0] = args;
20262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20263 if (!SWIG_IsOK(res1)) {
20264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20265 }
20266 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20267 {
20268 PyThreadState* __tstate = wxPyBeginAllowThreads();
20269 result = (wxFindReplaceData *)(arg1)->GetData();
20270 wxPyEndAllowThreads(__tstate);
20271 if (PyErr_Occurred()) SWIG_fail;
20272 }
20273 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20274 return resultobj;
20275 fail:
20276 return NULL;
20277 }
20278
20279
20280 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20281 PyObject *resultobj = 0;
20282 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20283 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20284 void *argp1 = 0 ;
20285 int res1 = 0 ;
20286 void *argp2 = 0 ;
20287 int res2 = 0 ;
20288 PyObject * obj0 = 0 ;
20289 PyObject * obj1 = 0 ;
20290 char * kwnames[] = {
20291 (char *) "self",(char *) "data", NULL
20292 };
20293
20294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20296 if (!SWIG_IsOK(res1)) {
20297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20298 }
20299 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20300 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20301 if (!SWIG_IsOK(res2)) {
20302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20303 }
20304 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20305 {
20306 PyThreadState* __tstate = wxPyBeginAllowThreads();
20307 (arg1)->SetData(arg2);
20308 wxPyEndAllowThreads(__tstate);
20309 if (PyErr_Occurred()) SWIG_fail;
20310 }
20311 resultobj = SWIG_Py_Void();
20312 return resultobj;
20313 fail:
20314 return NULL;
20315 }
20316
20317
20318 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20319 PyObject *obj;
20320 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20321 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20322 return SWIG_Py_Void();
20323 }
20324
20325 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20326 return SWIG_Python_InitShadowInstance(args);
20327 }
20328
20329 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20330 PyObject *resultobj = 0;
20331 wxWindow *arg1 = (wxWindow *) 0 ;
20332 int arg2 = (int) (int)-1 ;
20333 wxString const &arg3_defvalue = wxPyEmptyString ;
20334 wxString *arg3 = (wxString *) &arg3_defvalue ;
20335 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20336 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20337 wxSize const &arg5_defvalue = wxDefaultSize ;
20338 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20339 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20340 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20341 wxString *arg7 = (wxString *) &arg7_defvalue ;
20342 wxMDIParentFrame *result = 0 ;
20343 void *argp1 = 0 ;
20344 int res1 = 0 ;
20345 int val2 ;
20346 int ecode2 = 0 ;
20347 bool temp3 = false ;
20348 wxPoint temp4 ;
20349 wxSize temp5 ;
20350 long val6 ;
20351 int ecode6 = 0 ;
20352 bool temp7 = false ;
20353 PyObject * obj0 = 0 ;
20354 PyObject * obj1 = 0 ;
20355 PyObject * obj2 = 0 ;
20356 PyObject * obj3 = 0 ;
20357 PyObject * obj4 = 0 ;
20358 PyObject * obj5 = 0 ;
20359 PyObject * obj6 = 0 ;
20360 char * kwnames[] = {
20361 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20362 };
20363
20364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20366 if (!SWIG_IsOK(res1)) {
20367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20368 }
20369 arg1 = reinterpret_cast< wxWindow * >(argp1);
20370 if (obj1) {
20371 ecode2 = SWIG_AsVal_int(obj1, &val2);
20372 if (!SWIG_IsOK(ecode2)) {
20373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20374 }
20375 arg2 = static_cast< int >(val2);
20376 }
20377 if (obj2) {
20378 {
20379 arg3 = wxString_in_helper(obj2);
20380 if (arg3 == NULL) SWIG_fail;
20381 temp3 = true;
20382 }
20383 }
20384 if (obj3) {
20385 {
20386 arg4 = &temp4;
20387 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20388 }
20389 }
20390 if (obj4) {
20391 {
20392 arg5 = &temp5;
20393 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20394 }
20395 }
20396 if (obj5) {
20397 ecode6 = SWIG_AsVal_long(obj5, &val6);
20398 if (!SWIG_IsOK(ecode6)) {
20399 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20400 }
20401 arg6 = static_cast< long >(val6);
20402 }
20403 if (obj6) {
20404 {
20405 arg7 = wxString_in_helper(obj6);
20406 if (arg7 == NULL) SWIG_fail;
20407 temp7 = true;
20408 }
20409 }
20410 {
20411 if (!wxPyCheckForApp()) SWIG_fail;
20412 PyThreadState* __tstate = wxPyBeginAllowThreads();
20413 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20414 wxPyEndAllowThreads(__tstate);
20415 if (PyErr_Occurred()) SWIG_fail;
20416 }
20417 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20418 {
20419 if (temp3)
20420 delete arg3;
20421 }
20422 {
20423 if (temp7)
20424 delete arg7;
20425 }
20426 return resultobj;
20427 fail:
20428 {
20429 if (temp3)
20430 delete arg3;
20431 }
20432 {
20433 if (temp7)
20434 delete arg7;
20435 }
20436 return NULL;
20437 }
20438
20439
20440 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20441 PyObject *resultobj = 0;
20442 wxMDIParentFrame *result = 0 ;
20443
20444 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20445 {
20446 if (!wxPyCheckForApp()) SWIG_fail;
20447 PyThreadState* __tstate = wxPyBeginAllowThreads();
20448 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20449 wxPyEndAllowThreads(__tstate);
20450 if (PyErr_Occurred()) SWIG_fail;
20451 }
20452 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20453 return resultobj;
20454 fail:
20455 return NULL;
20456 }
20457
20458
20459 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20460 PyObject *resultobj = 0;
20461 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20462 wxWindow *arg2 = (wxWindow *) 0 ;
20463 int arg3 = (int) (int)-1 ;
20464 wxString const &arg4_defvalue = wxPyEmptyString ;
20465 wxString *arg4 = (wxString *) &arg4_defvalue ;
20466 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20467 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20468 wxSize const &arg6_defvalue = wxDefaultSize ;
20469 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20470 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20471 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20472 wxString *arg8 = (wxString *) &arg8_defvalue ;
20473 bool result;
20474 void *argp1 = 0 ;
20475 int res1 = 0 ;
20476 void *argp2 = 0 ;
20477 int res2 = 0 ;
20478 int val3 ;
20479 int ecode3 = 0 ;
20480 bool temp4 = false ;
20481 wxPoint temp5 ;
20482 wxSize temp6 ;
20483 long val7 ;
20484 int ecode7 = 0 ;
20485 bool temp8 = false ;
20486 PyObject * obj0 = 0 ;
20487 PyObject * obj1 = 0 ;
20488 PyObject * obj2 = 0 ;
20489 PyObject * obj3 = 0 ;
20490 PyObject * obj4 = 0 ;
20491 PyObject * obj5 = 0 ;
20492 PyObject * obj6 = 0 ;
20493 PyObject * obj7 = 0 ;
20494 char * kwnames[] = {
20495 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20496 };
20497
20498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20500 if (!SWIG_IsOK(res1)) {
20501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20502 }
20503 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20504 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20505 if (!SWIG_IsOK(res2)) {
20506 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20507 }
20508 arg2 = reinterpret_cast< wxWindow * >(argp2);
20509 if (obj2) {
20510 ecode3 = SWIG_AsVal_int(obj2, &val3);
20511 if (!SWIG_IsOK(ecode3)) {
20512 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20513 }
20514 arg3 = static_cast< int >(val3);
20515 }
20516 if (obj3) {
20517 {
20518 arg4 = wxString_in_helper(obj3);
20519 if (arg4 == NULL) SWIG_fail;
20520 temp4 = true;
20521 }
20522 }
20523 if (obj4) {
20524 {
20525 arg5 = &temp5;
20526 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20527 }
20528 }
20529 if (obj5) {
20530 {
20531 arg6 = &temp6;
20532 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20533 }
20534 }
20535 if (obj6) {
20536 ecode7 = SWIG_AsVal_long(obj6, &val7);
20537 if (!SWIG_IsOK(ecode7)) {
20538 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20539 }
20540 arg7 = static_cast< long >(val7);
20541 }
20542 if (obj7) {
20543 {
20544 arg8 = wxString_in_helper(obj7);
20545 if (arg8 == NULL) SWIG_fail;
20546 temp8 = true;
20547 }
20548 }
20549 {
20550 PyThreadState* __tstate = wxPyBeginAllowThreads();
20551 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20552 wxPyEndAllowThreads(__tstate);
20553 if (PyErr_Occurred()) SWIG_fail;
20554 }
20555 {
20556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20557 }
20558 {
20559 if (temp4)
20560 delete arg4;
20561 }
20562 {
20563 if (temp8)
20564 delete arg8;
20565 }
20566 return resultobj;
20567 fail:
20568 {
20569 if (temp4)
20570 delete arg4;
20571 }
20572 {
20573 if (temp8)
20574 delete arg8;
20575 }
20576 return NULL;
20577 }
20578
20579
20580 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20581 PyObject *resultobj = 0;
20582 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20583 void *argp1 = 0 ;
20584 int res1 = 0 ;
20585 PyObject *swig_obj[1] ;
20586
20587 if (!args) SWIG_fail;
20588 swig_obj[0] = args;
20589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20590 if (!SWIG_IsOK(res1)) {
20591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20592 }
20593 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20594 {
20595 PyThreadState* __tstate = wxPyBeginAllowThreads();
20596 (arg1)->ActivateNext();
20597 wxPyEndAllowThreads(__tstate);
20598 if (PyErr_Occurred()) SWIG_fail;
20599 }
20600 resultobj = SWIG_Py_Void();
20601 return resultobj;
20602 fail:
20603 return NULL;
20604 }
20605
20606
20607 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20608 PyObject *resultobj = 0;
20609 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20610 void *argp1 = 0 ;
20611 int res1 = 0 ;
20612 PyObject *swig_obj[1] ;
20613
20614 if (!args) SWIG_fail;
20615 swig_obj[0] = args;
20616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20617 if (!SWIG_IsOK(res1)) {
20618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20619 }
20620 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20621 {
20622 PyThreadState* __tstate = wxPyBeginAllowThreads();
20623 (arg1)->ActivatePrevious();
20624 wxPyEndAllowThreads(__tstate);
20625 if (PyErr_Occurred()) SWIG_fail;
20626 }
20627 resultobj = SWIG_Py_Void();
20628 return resultobj;
20629 fail:
20630 return NULL;
20631 }
20632
20633
20634 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20635 PyObject *resultobj = 0;
20636 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20637 void *argp1 = 0 ;
20638 int res1 = 0 ;
20639 PyObject *swig_obj[1] ;
20640
20641 if (!args) SWIG_fail;
20642 swig_obj[0] = args;
20643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20644 if (!SWIG_IsOK(res1)) {
20645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20646 }
20647 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20648 {
20649 PyThreadState* __tstate = wxPyBeginAllowThreads();
20650 (arg1)->ArrangeIcons();
20651 wxPyEndAllowThreads(__tstate);
20652 if (PyErr_Occurred()) SWIG_fail;
20653 }
20654 resultobj = SWIG_Py_Void();
20655 return resultobj;
20656 fail:
20657 return NULL;
20658 }
20659
20660
20661 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20662 PyObject *resultobj = 0;
20663 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20664 void *argp1 = 0 ;
20665 int res1 = 0 ;
20666 PyObject *swig_obj[1] ;
20667
20668 if (!args) SWIG_fail;
20669 swig_obj[0] = args;
20670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20671 if (!SWIG_IsOK(res1)) {
20672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20673 }
20674 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20675 {
20676 PyThreadState* __tstate = wxPyBeginAllowThreads();
20677 (arg1)->Cascade();
20678 wxPyEndAllowThreads(__tstate);
20679 if (PyErr_Occurred()) SWIG_fail;
20680 }
20681 resultobj = SWIG_Py_Void();
20682 return resultobj;
20683 fail:
20684 return NULL;
20685 }
20686
20687
20688 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20689 PyObject *resultobj = 0;
20690 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20691 wxMDIChildFrame *result = 0 ;
20692 void *argp1 = 0 ;
20693 int res1 = 0 ;
20694 PyObject *swig_obj[1] ;
20695
20696 if (!args) SWIG_fail;
20697 swig_obj[0] = args;
20698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20699 if (!SWIG_IsOK(res1)) {
20700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20701 }
20702 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20703 {
20704 PyThreadState* __tstate = wxPyBeginAllowThreads();
20705 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20706 wxPyEndAllowThreads(__tstate);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 {
20710 resultobj = wxPyMake_wxObject(result, (bool)0);
20711 }
20712 return resultobj;
20713 fail:
20714 return NULL;
20715 }
20716
20717
20718 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20719 PyObject *resultobj = 0;
20720 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20721 wxMDIClientWindow *result = 0 ;
20722 void *argp1 = 0 ;
20723 int res1 = 0 ;
20724 PyObject *swig_obj[1] ;
20725
20726 if (!args) SWIG_fail;
20727 swig_obj[0] = args;
20728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20729 if (!SWIG_IsOK(res1)) {
20730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20731 }
20732 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20733 {
20734 PyThreadState* __tstate = wxPyBeginAllowThreads();
20735 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20736 wxPyEndAllowThreads(__tstate);
20737 if (PyErr_Occurred()) SWIG_fail;
20738 }
20739 {
20740 resultobj = wxPyMake_wxObject(result, (bool)0);
20741 }
20742 return resultobj;
20743 fail:
20744 return NULL;
20745 }
20746
20747
20748 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20749 PyObject *resultobj = 0;
20750 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20751 wxWindow *result = 0 ;
20752 void *argp1 = 0 ;
20753 int res1 = 0 ;
20754 PyObject *swig_obj[1] ;
20755
20756 if (!args) SWIG_fail;
20757 swig_obj[0] = args;
20758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20759 if (!SWIG_IsOK(res1)) {
20760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20761 }
20762 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20763 {
20764 PyThreadState* __tstate = wxPyBeginAllowThreads();
20765 result = (wxWindow *)(arg1)->GetToolBar();
20766 wxPyEndAllowThreads(__tstate);
20767 if (PyErr_Occurred()) SWIG_fail;
20768 }
20769 {
20770 resultobj = wxPyMake_wxObject(result, 0);
20771 }
20772 return resultobj;
20773 fail:
20774 return NULL;
20775 }
20776
20777
20778 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20779 PyObject *resultobj = 0;
20780 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20781 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20782 void *argp1 = 0 ;
20783 int res1 = 0 ;
20784 int val2 ;
20785 int ecode2 = 0 ;
20786 PyObject * obj0 = 0 ;
20787 PyObject * obj1 = 0 ;
20788 char * kwnames[] = {
20789 (char *) "self",(char *) "orient", NULL
20790 };
20791
20792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20794 if (!SWIG_IsOK(res1)) {
20795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20796 }
20797 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20798 if (obj1) {
20799 ecode2 = SWIG_AsVal_int(obj1, &val2);
20800 if (!SWIG_IsOK(ecode2)) {
20801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20802 }
20803 arg2 = static_cast< wxOrientation >(val2);
20804 }
20805 {
20806 PyThreadState* __tstate = wxPyBeginAllowThreads();
20807 (arg1)->Tile(arg2);
20808 wxPyEndAllowThreads(__tstate);
20809 if (PyErr_Occurred()) SWIG_fail;
20810 }
20811 resultobj = SWIG_Py_Void();
20812 return resultobj;
20813 fail:
20814 return NULL;
20815 }
20816
20817
20818 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20819 PyObject *obj;
20820 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20821 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20822 return SWIG_Py_Void();
20823 }
20824
20825 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20826 return SWIG_Python_InitShadowInstance(args);
20827 }
20828
20829 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20830 PyObject *resultobj = 0;
20831 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20832 int arg2 = (int) (int)-1 ;
20833 wxString const &arg3_defvalue = wxPyEmptyString ;
20834 wxString *arg3 = (wxString *) &arg3_defvalue ;
20835 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20836 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20837 wxSize const &arg5_defvalue = wxDefaultSize ;
20838 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20839 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20840 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20841 wxString *arg7 = (wxString *) &arg7_defvalue ;
20842 wxMDIChildFrame *result = 0 ;
20843 void *argp1 = 0 ;
20844 int res1 = 0 ;
20845 int val2 ;
20846 int ecode2 = 0 ;
20847 bool temp3 = false ;
20848 wxPoint temp4 ;
20849 wxSize temp5 ;
20850 long val6 ;
20851 int ecode6 = 0 ;
20852 bool temp7 = false ;
20853 PyObject * obj0 = 0 ;
20854 PyObject * obj1 = 0 ;
20855 PyObject * obj2 = 0 ;
20856 PyObject * obj3 = 0 ;
20857 PyObject * obj4 = 0 ;
20858 PyObject * obj5 = 0 ;
20859 PyObject * obj6 = 0 ;
20860 char * kwnames[] = {
20861 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20862 };
20863
20864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20866 if (!SWIG_IsOK(res1)) {
20867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20868 }
20869 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20870 if (obj1) {
20871 ecode2 = SWIG_AsVal_int(obj1, &val2);
20872 if (!SWIG_IsOK(ecode2)) {
20873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20874 }
20875 arg2 = static_cast< int >(val2);
20876 }
20877 if (obj2) {
20878 {
20879 arg3 = wxString_in_helper(obj2);
20880 if (arg3 == NULL) SWIG_fail;
20881 temp3 = true;
20882 }
20883 }
20884 if (obj3) {
20885 {
20886 arg4 = &temp4;
20887 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20888 }
20889 }
20890 if (obj4) {
20891 {
20892 arg5 = &temp5;
20893 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20894 }
20895 }
20896 if (obj5) {
20897 ecode6 = SWIG_AsVal_long(obj5, &val6);
20898 if (!SWIG_IsOK(ecode6)) {
20899 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20900 }
20901 arg6 = static_cast< long >(val6);
20902 }
20903 if (obj6) {
20904 {
20905 arg7 = wxString_in_helper(obj6);
20906 if (arg7 == NULL) SWIG_fail;
20907 temp7 = true;
20908 }
20909 }
20910 {
20911 if (!wxPyCheckForApp()) SWIG_fail;
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20914 wxPyEndAllowThreads(__tstate);
20915 if (PyErr_Occurred()) SWIG_fail;
20916 }
20917 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20918 {
20919 if (temp3)
20920 delete arg3;
20921 }
20922 {
20923 if (temp7)
20924 delete arg7;
20925 }
20926 return resultobj;
20927 fail:
20928 {
20929 if (temp3)
20930 delete arg3;
20931 }
20932 {
20933 if (temp7)
20934 delete arg7;
20935 }
20936 return NULL;
20937 }
20938
20939
20940 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20941 PyObject *resultobj = 0;
20942 wxMDIChildFrame *result = 0 ;
20943
20944 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20945 {
20946 if (!wxPyCheckForApp()) SWIG_fail;
20947 PyThreadState* __tstate = wxPyBeginAllowThreads();
20948 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20949 wxPyEndAllowThreads(__tstate);
20950 if (PyErr_Occurred()) SWIG_fail;
20951 }
20952 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20953 return resultobj;
20954 fail:
20955 return NULL;
20956 }
20957
20958
20959 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20960 PyObject *resultobj = 0;
20961 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20962 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20963 int arg3 = (int) (int)-1 ;
20964 wxString const &arg4_defvalue = wxPyEmptyString ;
20965 wxString *arg4 = (wxString *) &arg4_defvalue ;
20966 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20967 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20968 wxSize const &arg6_defvalue = wxDefaultSize ;
20969 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20970 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20971 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20972 wxString *arg8 = (wxString *) &arg8_defvalue ;
20973 bool result;
20974 void *argp1 = 0 ;
20975 int res1 = 0 ;
20976 void *argp2 = 0 ;
20977 int res2 = 0 ;
20978 int val3 ;
20979 int ecode3 = 0 ;
20980 bool temp4 = false ;
20981 wxPoint temp5 ;
20982 wxSize temp6 ;
20983 long val7 ;
20984 int ecode7 = 0 ;
20985 bool temp8 = false ;
20986 PyObject * obj0 = 0 ;
20987 PyObject * obj1 = 0 ;
20988 PyObject * obj2 = 0 ;
20989 PyObject * obj3 = 0 ;
20990 PyObject * obj4 = 0 ;
20991 PyObject * obj5 = 0 ;
20992 PyObject * obj6 = 0 ;
20993 PyObject * obj7 = 0 ;
20994 char * kwnames[] = {
20995 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20996 };
20997
20998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21000 if (!SWIG_IsOK(res1)) {
21001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21002 }
21003 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21004 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21005 if (!SWIG_IsOK(res2)) {
21006 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21007 }
21008 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21009 if (obj2) {
21010 ecode3 = SWIG_AsVal_int(obj2, &val3);
21011 if (!SWIG_IsOK(ecode3)) {
21012 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21013 }
21014 arg3 = static_cast< int >(val3);
21015 }
21016 if (obj3) {
21017 {
21018 arg4 = wxString_in_helper(obj3);
21019 if (arg4 == NULL) SWIG_fail;
21020 temp4 = true;
21021 }
21022 }
21023 if (obj4) {
21024 {
21025 arg5 = &temp5;
21026 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21027 }
21028 }
21029 if (obj5) {
21030 {
21031 arg6 = &temp6;
21032 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21033 }
21034 }
21035 if (obj6) {
21036 ecode7 = SWIG_AsVal_long(obj6, &val7);
21037 if (!SWIG_IsOK(ecode7)) {
21038 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21039 }
21040 arg7 = static_cast< long >(val7);
21041 }
21042 if (obj7) {
21043 {
21044 arg8 = wxString_in_helper(obj7);
21045 if (arg8 == NULL) SWIG_fail;
21046 temp8 = true;
21047 }
21048 }
21049 {
21050 PyThreadState* __tstate = wxPyBeginAllowThreads();
21051 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21052 wxPyEndAllowThreads(__tstate);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 }
21055 {
21056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21057 }
21058 {
21059 if (temp4)
21060 delete arg4;
21061 }
21062 {
21063 if (temp8)
21064 delete arg8;
21065 }
21066 return resultobj;
21067 fail:
21068 {
21069 if (temp4)
21070 delete arg4;
21071 }
21072 {
21073 if (temp8)
21074 delete arg8;
21075 }
21076 return NULL;
21077 }
21078
21079
21080 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21081 PyObject *resultobj = 0;
21082 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21083 void *argp1 = 0 ;
21084 int res1 = 0 ;
21085 PyObject *swig_obj[1] ;
21086
21087 if (!args) SWIG_fail;
21088 swig_obj[0] = args;
21089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21090 if (!SWIG_IsOK(res1)) {
21091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21092 }
21093 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21094 {
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 (arg1)->Activate();
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 *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21108 PyObject *obj;
21109 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21110 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21111 return SWIG_Py_Void();
21112 }
21113
21114 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21115 return SWIG_Python_InitShadowInstance(args);
21116 }
21117
21118 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21119 PyObject *resultobj = 0;
21120 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21121 long arg2 = (long) 0 ;
21122 wxMDIClientWindow *result = 0 ;
21123 void *argp1 = 0 ;
21124 int res1 = 0 ;
21125 long val2 ;
21126 int ecode2 = 0 ;
21127 PyObject * obj0 = 0 ;
21128 PyObject * obj1 = 0 ;
21129 char * kwnames[] = {
21130 (char *) "parent",(char *) "style", NULL
21131 };
21132
21133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21135 if (!SWIG_IsOK(res1)) {
21136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21137 }
21138 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21139 if (obj1) {
21140 ecode2 = SWIG_AsVal_long(obj1, &val2);
21141 if (!SWIG_IsOK(ecode2)) {
21142 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21143 }
21144 arg2 = static_cast< long >(val2);
21145 }
21146 {
21147 if (!wxPyCheckForApp()) SWIG_fail;
21148 PyThreadState* __tstate = wxPyBeginAllowThreads();
21149 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21150 wxPyEndAllowThreads(__tstate);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 }
21153 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21154 return resultobj;
21155 fail:
21156 return NULL;
21157 }
21158
21159
21160 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21161 PyObject *resultobj = 0;
21162 wxMDIClientWindow *result = 0 ;
21163
21164 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21165 {
21166 if (!wxPyCheckForApp()) SWIG_fail;
21167 PyThreadState* __tstate = wxPyBeginAllowThreads();
21168 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21169 wxPyEndAllowThreads(__tstate);
21170 if (PyErr_Occurred()) SWIG_fail;
21171 }
21172 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21173 return resultobj;
21174 fail:
21175 return NULL;
21176 }
21177
21178
21179 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21180 PyObject *resultobj = 0;
21181 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21182 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21183 long arg3 = (long) 0 ;
21184 bool result;
21185 void *argp1 = 0 ;
21186 int res1 = 0 ;
21187 void *argp2 = 0 ;
21188 int res2 = 0 ;
21189 long val3 ;
21190 int ecode3 = 0 ;
21191 PyObject * obj0 = 0 ;
21192 PyObject * obj1 = 0 ;
21193 PyObject * obj2 = 0 ;
21194 char * kwnames[] = {
21195 (char *) "self",(char *) "parent",(char *) "style", NULL
21196 };
21197
21198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21200 if (!SWIG_IsOK(res1)) {
21201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21202 }
21203 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21204 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21205 if (!SWIG_IsOK(res2)) {
21206 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21207 }
21208 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21209 if (obj2) {
21210 ecode3 = SWIG_AsVal_long(obj2, &val3);
21211 if (!SWIG_IsOK(ecode3)) {
21212 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21213 }
21214 arg3 = static_cast< long >(val3);
21215 }
21216 {
21217 PyThreadState* __tstate = wxPyBeginAllowThreads();
21218 result = (bool)(arg1)->Create(arg2,arg3);
21219 wxPyEndAllowThreads(__tstate);
21220 if (PyErr_Occurred()) SWIG_fail;
21221 }
21222 {
21223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21224 }
21225 return resultobj;
21226 fail:
21227 return NULL;
21228 }
21229
21230
21231 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21232 PyObject *obj;
21233 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21234 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21235 return SWIG_Py_Void();
21236 }
21237
21238 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21239 return SWIG_Python_InitShadowInstance(args);
21240 }
21241
21242 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21243 PyObject *resultobj = 0;
21244 wxWindow *arg1 = (wxWindow *) 0 ;
21245 int arg2 = (int) (int)-1 ;
21246 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21247 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21248 wxSize const &arg4_defvalue = wxDefaultSize ;
21249 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21250 long arg5 = (long) 0 ;
21251 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21252 wxString *arg6 = (wxString *) &arg6_defvalue ;
21253 wxPyWindow *result = 0 ;
21254 void *argp1 = 0 ;
21255 int res1 = 0 ;
21256 int val2 ;
21257 int ecode2 = 0 ;
21258 wxPoint temp3 ;
21259 wxSize temp4 ;
21260 long val5 ;
21261 int ecode5 = 0 ;
21262 bool temp6 = false ;
21263 PyObject * obj0 = 0 ;
21264 PyObject * obj1 = 0 ;
21265 PyObject * obj2 = 0 ;
21266 PyObject * obj3 = 0 ;
21267 PyObject * obj4 = 0 ;
21268 PyObject * obj5 = 0 ;
21269 char * kwnames[] = {
21270 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21271 };
21272
21273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21275 if (!SWIG_IsOK(res1)) {
21276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21277 }
21278 arg1 = reinterpret_cast< wxWindow * >(argp1);
21279 if (obj1) {
21280 ecode2 = SWIG_AsVal_int(obj1, &val2);
21281 if (!SWIG_IsOK(ecode2)) {
21282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21283 }
21284 arg2 = static_cast< int >(val2);
21285 }
21286 if (obj2) {
21287 {
21288 arg3 = &temp3;
21289 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21290 }
21291 }
21292 if (obj3) {
21293 {
21294 arg4 = &temp4;
21295 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21296 }
21297 }
21298 if (obj4) {
21299 ecode5 = SWIG_AsVal_long(obj4, &val5);
21300 if (!SWIG_IsOK(ecode5)) {
21301 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21302 }
21303 arg5 = static_cast< long >(val5);
21304 }
21305 if (obj5) {
21306 {
21307 arg6 = wxString_in_helper(obj5);
21308 if (arg6 == NULL) SWIG_fail;
21309 temp6 = true;
21310 }
21311 }
21312 {
21313 if (!wxPyCheckForApp()) SWIG_fail;
21314 PyThreadState* __tstate = wxPyBeginAllowThreads();
21315 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21316 wxPyEndAllowThreads(__tstate);
21317 if (PyErr_Occurred()) SWIG_fail;
21318 }
21319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21320 {
21321 if (temp6)
21322 delete arg6;
21323 }
21324 return resultobj;
21325 fail:
21326 {
21327 if (temp6)
21328 delete arg6;
21329 }
21330 return NULL;
21331 }
21332
21333
21334 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21335 PyObject *resultobj = 0;
21336 wxPyWindow *result = 0 ;
21337
21338 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21339 {
21340 if (!wxPyCheckForApp()) SWIG_fail;
21341 PyThreadState* __tstate = wxPyBeginAllowThreads();
21342 result = (wxPyWindow *)new wxPyWindow();
21343 wxPyEndAllowThreads(__tstate);
21344 if (PyErr_Occurred()) SWIG_fail;
21345 }
21346 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21347 return resultobj;
21348 fail:
21349 return NULL;
21350 }
21351
21352
21353 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21354 PyObject *resultobj = 0;
21355 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21356 PyObject *arg2 = (PyObject *) 0 ;
21357 PyObject *arg3 = (PyObject *) 0 ;
21358 void *argp1 = 0 ;
21359 int res1 = 0 ;
21360 PyObject * obj0 = 0 ;
21361 PyObject * obj1 = 0 ;
21362 PyObject * obj2 = 0 ;
21363 char * kwnames[] = {
21364 (char *) "self",(char *) "self",(char *) "_class", NULL
21365 };
21366
21367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21369 if (!SWIG_IsOK(res1)) {
21370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21371 }
21372 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21373 arg2 = obj1;
21374 arg3 = obj2;
21375 {
21376 PyThreadState* __tstate = wxPyBeginAllowThreads();
21377 (arg1)->_setCallbackInfo(arg2,arg3);
21378 wxPyEndAllowThreads(__tstate);
21379 if (PyErr_Occurred()) SWIG_fail;
21380 }
21381 resultobj = SWIG_Py_Void();
21382 return resultobj;
21383 fail:
21384 return NULL;
21385 }
21386
21387
21388 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21389 PyObject *resultobj = 0;
21390 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21391 wxSize *arg2 = 0 ;
21392 void *argp1 = 0 ;
21393 int res1 = 0 ;
21394 wxSize temp2 ;
21395 PyObject * obj0 = 0 ;
21396 PyObject * obj1 = 0 ;
21397 char * kwnames[] = {
21398 (char *) "self",(char *) "size", NULL
21399 };
21400
21401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21403 if (!SWIG_IsOK(res1)) {
21404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21405 }
21406 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21407 {
21408 arg2 = &temp2;
21409 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21410 }
21411 {
21412 PyThreadState* __tstate = wxPyBeginAllowThreads();
21413 (arg1)->SetBestSize((wxSize const &)*arg2);
21414 wxPyEndAllowThreads(__tstate);
21415 if (PyErr_Occurred()) SWIG_fail;
21416 }
21417 resultobj = SWIG_Py_Void();
21418 return resultobj;
21419 fail:
21420 return NULL;
21421 }
21422
21423
21424 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21425 PyObject *resultobj = 0;
21426 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21427 wxDC *arg2 = (wxDC *) 0 ;
21428 bool result;
21429 void *argp1 = 0 ;
21430 int res1 = 0 ;
21431 void *argp2 = 0 ;
21432 int res2 = 0 ;
21433 PyObject * obj0 = 0 ;
21434 PyObject * obj1 = 0 ;
21435 char * kwnames[] = {
21436 (char *) "self",(char *) "dc", NULL
21437 };
21438
21439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21441 if (!SWIG_IsOK(res1)) {
21442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21443 }
21444 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21445 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21446 if (!SWIG_IsOK(res2)) {
21447 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21448 }
21449 arg2 = reinterpret_cast< wxDC * >(argp2);
21450 {
21451 PyThreadState* __tstate = wxPyBeginAllowThreads();
21452 result = (bool)(arg1)->DoEraseBackground(arg2);
21453 wxPyEndAllowThreads(__tstate);
21454 if (PyErr_Occurred()) SWIG_fail;
21455 }
21456 {
21457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21458 }
21459 return resultobj;
21460 fail:
21461 return NULL;
21462 }
21463
21464
21465 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21466 PyObject *resultobj = 0;
21467 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21468 int arg2 ;
21469 int arg3 ;
21470 int arg4 ;
21471 int arg5 ;
21472 void *argp1 = 0 ;
21473 int res1 = 0 ;
21474 int val2 ;
21475 int ecode2 = 0 ;
21476 int val3 ;
21477 int ecode3 = 0 ;
21478 int val4 ;
21479 int ecode4 = 0 ;
21480 int val5 ;
21481 int ecode5 = 0 ;
21482 PyObject * obj0 = 0 ;
21483 PyObject * obj1 = 0 ;
21484 PyObject * obj2 = 0 ;
21485 PyObject * obj3 = 0 ;
21486 PyObject * obj4 = 0 ;
21487 char * kwnames[] = {
21488 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21489 };
21490
21491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21493 if (!SWIG_IsOK(res1)) {
21494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21495 }
21496 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21497 ecode2 = SWIG_AsVal_int(obj1, &val2);
21498 if (!SWIG_IsOK(ecode2)) {
21499 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21500 }
21501 arg2 = static_cast< int >(val2);
21502 ecode3 = SWIG_AsVal_int(obj2, &val3);
21503 if (!SWIG_IsOK(ecode3)) {
21504 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21505 }
21506 arg3 = static_cast< int >(val3);
21507 ecode4 = SWIG_AsVal_int(obj3, &val4);
21508 if (!SWIG_IsOK(ecode4)) {
21509 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21510 }
21511 arg4 = static_cast< int >(val4);
21512 ecode5 = SWIG_AsVal_int(obj4, &val5);
21513 if (!SWIG_IsOK(ecode5)) {
21514 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21515 }
21516 arg5 = static_cast< int >(val5);
21517 {
21518 PyThreadState* __tstate = wxPyBeginAllowThreads();
21519 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21520 wxPyEndAllowThreads(__tstate);
21521 if (PyErr_Occurred()) SWIG_fail;
21522 }
21523 resultobj = SWIG_Py_Void();
21524 return resultobj;
21525 fail:
21526 return NULL;
21527 }
21528
21529
21530 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21531 PyObject *resultobj = 0;
21532 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21533 int arg2 ;
21534 int arg3 ;
21535 int arg4 ;
21536 int arg5 ;
21537 int arg6 = (int) wxSIZE_AUTO ;
21538 void *argp1 = 0 ;
21539 int res1 = 0 ;
21540 int val2 ;
21541 int ecode2 = 0 ;
21542 int val3 ;
21543 int ecode3 = 0 ;
21544 int val4 ;
21545 int ecode4 = 0 ;
21546 int val5 ;
21547 int ecode5 = 0 ;
21548 int val6 ;
21549 int ecode6 = 0 ;
21550 PyObject * obj0 = 0 ;
21551 PyObject * obj1 = 0 ;
21552 PyObject * obj2 = 0 ;
21553 PyObject * obj3 = 0 ;
21554 PyObject * obj4 = 0 ;
21555 PyObject * obj5 = 0 ;
21556 char * kwnames[] = {
21557 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21558 };
21559
21560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21562 if (!SWIG_IsOK(res1)) {
21563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21564 }
21565 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21566 ecode2 = SWIG_AsVal_int(obj1, &val2);
21567 if (!SWIG_IsOK(ecode2)) {
21568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21569 }
21570 arg2 = static_cast< int >(val2);
21571 ecode3 = SWIG_AsVal_int(obj2, &val3);
21572 if (!SWIG_IsOK(ecode3)) {
21573 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21574 }
21575 arg3 = static_cast< int >(val3);
21576 ecode4 = SWIG_AsVal_int(obj3, &val4);
21577 if (!SWIG_IsOK(ecode4)) {
21578 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21579 }
21580 arg4 = static_cast< int >(val4);
21581 ecode5 = SWIG_AsVal_int(obj4, &val5);
21582 if (!SWIG_IsOK(ecode5)) {
21583 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21584 }
21585 arg5 = static_cast< int >(val5);
21586 if (obj5) {
21587 ecode6 = SWIG_AsVal_int(obj5, &val6);
21588 if (!SWIG_IsOK(ecode6)) {
21589 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21590 }
21591 arg6 = static_cast< int >(val6);
21592 }
21593 {
21594 PyThreadState* __tstate = wxPyBeginAllowThreads();
21595 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21596 wxPyEndAllowThreads(__tstate);
21597 if (PyErr_Occurred()) SWIG_fail;
21598 }
21599 resultobj = SWIG_Py_Void();
21600 return resultobj;
21601 fail:
21602 return NULL;
21603 }
21604
21605
21606 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21607 PyObject *resultobj = 0;
21608 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21609 int arg2 ;
21610 int arg3 ;
21611 void *argp1 = 0 ;
21612 int res1 = 0 ;
21613 int val2 ;
21614 int ecode2 = 0 ;
21615 int val3 ;
21616 int ecode3 = 0 ;
21617 PyObject * obj0 = 0 ;
21618 PyObject * obj1 = 0 ;
21619 PyObject * obj2 = 0 ;
21620 char * kwnames[] = {
21621 (char *) "self",(char *) "width",(char *) "height", NULL
21622 };
21623
21624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21626 if (!SWIG_IsOK(res1)) {
21627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21628 }
21629 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21630 ecode2 = SWIG_AsVal_int(obj1, &val2);
21631 if (!SWIG_IsOK(ecode2)) {
21632 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21633 }
21634 arg2 = static_cast< int >(val2);
21635 ecode3 = SWIG_AsVal_int(obj2, &val3);
21636 if (!SWIG_IsOK(ecode3)) {
21637 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21638 }
21639 arg3 = static_cast< int >(val3);
21640 {
21641 PyThreadState* __tstate = wxPyBeginAllowThreads();
21642 (arg1)->DoSetClientSize(arg2,arg3);
21643 wxPyEndAllowThreads(__tstate);
21644 if (PyErr_Occurred()) SWIG_fail;
21645 }
21646 resultobj = SWIG_Py_Void();
21647 return resultobj;
21648 fail:
21649 return NULL;
21650 }
21651
21652
21653 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21654 PyObject *resultobj = 0;
21655 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21656 int arg2 ;
21657 int arg3 ;
21658 void *argp1 = 0 ;
21659 int res1 = 0 ;
21660 int val2 ;
21661 int ecode2 = 0 ;
21662 int val3 ;
21663 int ecode3 = 0 ;
21664 PyObject * obj0 = 0 ;
21665 PyObject * obj1 = 0 ;
21666 PyObject * obj2 = 0 ;
21667 char * kwnames[] = {
21668 (char *) "self",(char *) "x",(char *) "y", NULL
21669 };
21670
21671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21673 if (!SWIG_IsOK(res1)) {
21674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21675 }
21676 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21677 ecode2 = SWIG_AsVal_int(obj1, &val2);
21678 if (!SWIG_IsOK(ecode2)) {
21679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21680 }
21681 arg2 = static_cast< int >(val2);
21682 ecode3 = SWIG_AsVal_int(obj2, &val3);
21683 if (!SWIG_IsOK(ecode3)) {
21684 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21685 }
21686 arg3 = static_cast< int >(val3);
21687 {
21688 PyThreadState* __tstate = wxPyBeginAllowThreads();
21689 (arg1)->DoSetVirtualSize(arg2,arg3);
21690 wxPyEndAllowThreads(__tstate);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 }
21693 resultobj = SWIG_Py_Void();
21694 return resultobj;
21695 fail:
21696 return NULL;
21697 }
21698
21699
21700 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21701 PyObject *resultobj = 0;
21702 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21703 int *arg2 = (int *) 0 ;
21704 int *arg3 = (int *) 0 ;
21705 void *argp1 = 0 ;
21706 int res1 = 0 ;
21707 int temp2 ;
21708 int res2 = SWIG_TMPOBJ ;
21709 int temp3 ;
21710 int res3 = SWIG_TMPOBJ ;
21711 PyObject *swig_obj[1] ;
21712
21713 arg2 = &temp2;
21714 arg3 = &temp3;
21715 if (!args) SWIG_fail;
21716 swig_obj[0] = args;
21717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21718 if (!SWIG_IsOK(res1)) {
21719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21720 }
21721 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21722 {
21723 PyThreadState* __tstate = wxPyBeginAllowThreads();
21724 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21725 wxPyEndAllowThreads(__tstate);
21726 if (PyErr_Occurred()) SWIG_fail;
21727 }
21728 resultobj = SWIG_Py_Void();
21729 if (SWIG_IsTmpObj(res2)) {
21730 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21731 } else {
21732 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21733 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21734 }
21735 if (SWIG_IsTmpObj(res3)) {
21736 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21737 } else {
21738 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21739 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21740 }
21741 return resultobj;
21742 fail:
21743 return NULL;
21744 }
21745
21746
21747 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21748 PyObject *resultobj = 0;
21749 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21750 int *arg2 = (int *) 0 ;
21751 int *arg3 = (int *) 0 ;
21752 void *argp1 = 0 ;
21753 int res1 = 0 ;
21754 int temp2 ;
21755 int res2 = SWIG_TMPOBJ ;
21756 int temp3 ;
21757 int res3 = SWIG_TMPOBJ ;
21758 PyObject *swig_obj[1] ;
21759
21760 arg2 = &temp2;
21761 arg3 = &temp3;
21762 if (!args) SWIG_fail;
21763 swig_obj[0] = args;
21764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21765 if (!SWIG_IsOK(res1)) {
21766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21767 }
21768 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21769 {
21770 PyThreadState* __tstate = wxPyBeginAllowThreads();
21771 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21772 wxPyEndAllowThreads(__tstate);
21773 if (PyErr_Occurred()) SWIG_fail;
21774 }
21775 resultobj = SWIG_Py_Void();
21776 if (SWIG_IsTmpObj(res2)) {
21777 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21778 } else {
21779 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21780 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21781 }
21782 if (SWIG_IsTmpObj(res3)) {
21783 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21784 } else {
21785 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21786 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21787 }
21788 return resultobj;
21789 fail:
21790 return NULL;
21791 }
21792
21793
21794 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21795 PyObject *resultobj = 0;
21796 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21797 int *arg2 = (int *) 0 ;
21798 int *arg3 = (int *) 0 ;
21799 void *argp1 = 0 ;
21800 int res1 = 0 ;
21801 int temp2 ;
21802 int res2 = SWIG_TMPOBJ ;
21803 int temp3 ;
21804 int res3 = SWIG_TMPOBJ ;
21805 PyObject *swig_obj[1] ;
21806
21807 arg2 = &temp2;
21808 arg3 = &temp3;
21809 if (!args) SWIG_fail;
21810 swig_obj[0] = args;
21811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21812 if (!SWIG_IsOK(res1)) {
21813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21814 }
21815 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21816 {
21817 PyThreadState* __tstate = wxPyBeginAllowThreads();
21818 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21819 wxPyEndAllowThreads(__tstate);
21820 if (PyErr_Occurred()) SWIG_fail;
21821 }
21822 resultobj = SWIG_Py_Void();
21823 if (SWIG_IsTmpObj(res2)) {
21824 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21825 } else {
21826 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21827 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21828 }
21829 if (SWIG_IsTmpObj(res3)) {
21830 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21831 } else {
21832 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21833 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21834 }
21835 return resultobj;
21836 fail:
21837 return NULL;
21838 }
21839
21840
21841 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21842 PyObject *resultobj = 0;
21843 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21844 wxSize result;
21845 void *argp1 = 0 ;
21846 int res1 = 0 ;
21847 PyObject *swig_obj[1] ;
21848
21849 if (!args) SWIG_fail;
21850 swig_obj[0] = args;
21851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21852 if (!SWIG_IsOK(res1)) {
21853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21854 }
21855 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21856 {
21857 PyThreadState* __tstate = wxPyBeginAllowThreads();
21858 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21859 wxPyEndAllowThreads(__tstate);
21860 if (PyErr_Occurred()) SWIG_fail;
21861 }
21862 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21863 return resultobj;
21864 fail:
21865 return NULL;
21866 }
21867
21868
21869 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21870 PyObject *resultobj = 0;
21871 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21872 wxSize result;
21873 void *argp1 = 0 ;
21874 int res1 = 0 ;
21875 PyObject *swig_obj[1] ;
21876
21877 if (!args) SWIG_fail;
21878 swig_obj[0] = args;
21879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21880 if (!SWIG_IsOK(res1)) {
21881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21882 }
21883 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21884 {
21885 PyThreadState* __tstate = wxPyBeginAllowThreads();
21886 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21887 wxPyEndAllowThreads(__tstate);
21888 if (PyErr_Occurred()) SWIG_fail;
21889 }
21890 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21891 return resultobj;
21892 fail:
21893 return NULL;
21894 }
21895
21896
21897 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21898 PyObject *resultobj = 0;
21899 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21900 SwigValueWrapper<wxVisualAttributes > result;
21901 void *argp1 = 0 ;
21902 int res1 = 0 ;
21903 PyObject *swig_obj[1] ;
21904
21905 if (!args) SWIG_fail;
21906 swig_obj[0] = args;
21907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21908 if (!SWIG_IsOK(res1)) {
21909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21910 }
21911 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21912 {
21913 PyThreadState* __tstate = wxPyBeginAllowThreads();
21914 result = (arg1)->GetDefaultAttributes();
21915 wxPyEndAllowThreads(__tstate);
21916 if (PyErr_Occurred()) SWIG_fail;
21917 }
21918 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21919 return resultobj;
21920 fail:
21921 return NULL;
21922 }
21923
21924
21925 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21926 PyObject *resultobj = 0;
21927 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21928 void *argp1 = 0 ;
21929 int res1 = 0 ;
21930 PyObject *swig_obj[1] ;
21931
21932 if (!args) SWIG_fail;
21933 swig_obj[0] = args;
21934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21935 if (!SWIG_IsOK(res1)) {
21936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21937 }
21938 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21939 {
21940 PyThreadState* __tstate = wxPyBeginAllowThreads();
21941 (arg1)->OnInternalIdle();
21942 wxPyEndAllowThreads(__tstate);
21943 if (PyErr_Occurred()) SWIG_fail;
21944 }
21945 resultobj = SWIG_Py_Void();
21946 return resultobj;
21947 fail:
21948 return NULL;
21949 }
21950
21951
21952 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21953 PyObject *obj;
21954 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21955 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21956 return SWIG_Py_Void();
21957 }
21958
21959 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21960 return SWIG_Python_InitShadowInstance(args);
21961 }
21962
21963 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21964 PyObject *resultobj = 0;
21965 wxWindow *arg1 = (wxWindow *) 0 ;
21966 int arg2 = (int) (int)-1 ;
21967 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21968 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21969 wxSize const &arg4_defvalue = wxDefaultSize ;
21970 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21971 long arg5 = (long) 0 ;
21972 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21973 wxString *arg6 = (wxString *) &arg6_defvalue ;
21974 wxPyPanel *result = 0 ;
21975 void *argp1 = 0 ;
21976 int res1 = 0 ;
21977 int val2 ;
21978 int ecode2 = 0 ;
21979 wxPoint temp3 ;
21980 wxSize temp4 ;
21981 long val5 ;
21982 int ecode5 = 0 ;
21983 bool temp6 = false ;
21984 PyObject * obj0 = 0 ;
21985 PyObject * obj1 = 0 ;
21986 PyObject * obj2 = 0 ;
21987 PyObject * obj3 = 0 ;
21988 PyObject * obj4 = 0 ;
21989 PyObject * obj5 = 0 ;
21990 char * kwnames[] = {
21991 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21992 };
21993
21994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21996 if (!SWIG_IsOK(res1)) {
21997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21998 }
21999 arg1 = reinterpret_cast< wxWindow * >(argp1);
22000 if (obj1) {
22001 ecode2 = SWIG_AsVal_int(obj1, &val2);
22002 if (!SWIG_IsOK(ecode2)) {
22003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22004 }
22005 arg2 = static_cast< int >(val2);
22006 }
22007 if (obj2) {
22008 {
22009 arg3 = &temp3;
22010 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22011 }
22012 }
22013 if (obj3) {
22014 {
22015 arg4 = &temp4;
22016 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22017 }
22018 }
22019 if (obj4) {
22020 ecode5 = SWIG_AsVal_long(obj4, &val5);
22021 if (!SWIG_IsOK(ecode5)) {
22022 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22023 }
22024 arg5 = static_cast< long >(val5);
22025 }
22026 if (obj5) {
22027 {
22028 arg6 = wxString_in_helper(obj5);
22029 if (arg6 == NULL) SWIG_fail;
22030 temp6 = true;
22031 }
22032 }
22033 {
22034 if (!wxPyCheckForApp()) SWIG_fail;
22035 PyThreadState* __tstate = wxPyBeginAllowThreads();
22036 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22037 wxPyEndAllowThreads(__tstate);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
22040 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22041 {
22042 if (temp6)
22043 delete arg6;
22044 }
22045 return resultobj;
22046 fail:
22047 {
22048 if (temp6)
22049 delete arg6;
22050 }
22051 return NULL;
22052 }
22053
22054
22055 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22056 PyObject *resultobj = 0;
22057 wxPyPanel *result = 0 ;
22058
22059 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22060 {
22061 if (!wxPyCheckForApp()) SWIG_fail;
22062 PyThreadState* __tstate = wxPyBeginAllowThreads();
22063 result = (wxPyPanel *)new wxPyPanel();
22064 wxPyEndAllowThreads(__tstate);
22065 if (PyErr_Occurred()) SWIG_fail;
22066 }
22067 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22068 return resultobj;
22069 fail:
22070 return NULL;
22071 }
22072
22073
22074 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22075 PyObject *resultobj = 0;
22076 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22077 PyObject *arg2 = (PyObject *) 0 ;
22078 PyObject *arg3 = (PyObject *) 0 ;
22079 void *argp1 = 0 ;
22080 int res1 = 0 ;
22081 PyObject * obj0 = 0 ;
22082 PyObject * obj1 = 0 ;
22083 PyObject * obj2 = 0 ;
22084 char * kwnames[] = {
22085 (char *) "self",(char *) "self",(char *) "_class", NULL
22086 };
22087
22088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22090 if (!SWIG_IsOK(res1)) {
22091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22092 }
22093 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22094 arg2 = obj1;
22095 arg3 = obj2;
22096 {
22097 PyThreadState* __tstate = wxPyBeginAllowThreads();
22098 (arg1)->_setCallbackInfo(arg2,arg3);
22099 wxPyEndAllowThreads(__tstate);
22100 if (PyErr_Occurred()) SWIG_fail;
22101 }
22102 resultobj = SWIG_Py_Void();
22103 return resultobj;
22104 fail:
22105 return NULL;
22106 }
22107
22108
22109 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22110 PyObject *resultobj = 0;
22111 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22112 wxSize *arg2 = 0 ;
22113 void *argp1 = 0 ;
22114 int res1 = 0 ;
22115 wxSize temp2 ;
22116 PyObject * obj0 = 0 ;
22117 PyObject * obj1 = 0 ;
22118 char * kwnames[] = {
22119 (char *) "self",(char *) "size", NULL
22120 };
22121
22122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22124 if (!SWIG_IsOK(res1)) {
22125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22126 }
22127 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22128 {
22129 arg2 = &temp2;
22130 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22131 }
22132 {
22133 PyThreadState* __tstate = wxPyBeginAllowThreads();
22134 (arg1)->SetBestSize((wxSize const &)*arg2);
22135 wxPyEndAllowThreads(__tstate);
22136 if (PyErr_Occurred()) SWIG_fail;
22137 }
22138 resultobj = SWIG_Py_Void();
22139 return resultobj;
22140 fail:
22141 return NULL;
22142 }
22143
22144
22145 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22146 PyObject *resultobj = 0;
22147 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22148 wxDC *arg2 = (wxDC *) 0 ;
22149 bool result;
22150 void *argp1 = 0 ;
22151 int res1 = 0 ;
22152 void *argp2 = 0 ;
22153 int res2 = 0 ;
22154 PyObject * obj0 = 0 ;
22155 PyObject * obj1 = 0 ;
22156 char * kwnames[] = {
22157 (char *) "self",(char *) "dc", NULL
22158 };
22159
22160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22162 if (!SWIG_IsOK(res1)) {
22163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22164 }
22165 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22166 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22167 if (!SWIG_IsOK(res2)) {
22168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22169 }
22170 arg2 = reinterpret_cast< wxDC * >(argp2);
22171 {
22172 PyThreadState* __tstate = wxPyBeginAllowThreads();
22173 result = (bool)(arg1)->DoEraseBackground(arg2);
22174 wxPyEndAllowThreads(__tstate);
22175 if (PyErr_Occurred()) SWIG_fail;
22176 }
22177 {
22178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22179 }
22180 return resultobj;
22181 fail:
22182 return NULL;
22183 }
22184
22185
22186 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22187 PyObject *resultobj = 0;
22188 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22189 int arg2 ;
22190 int arg3 ;
22191 int arg4 ;
22192 int arg5 ;
22193 void *argp1 = 0 ;
22194 int res1 = 0 ;
22195 int val2 ;
22196 int ecode2 = 0 ;
22197 int val3 ;
22198 int ecode3 = 0 ;
22199 int val4 ;
22200 int ecode4 = 0 ;
22201 int val5 ;
22202 int ecode5 = 0 ;
22203 PyObject * obj0 = 0 ;
22204 PyObject * obj1 = 0 ;
22205 PyObject * obj2 = 0 ;
22206 PyObject * obj3 = 0 ;
22207 PyObject * obj4 = 0 ;
22208 char * kwnames[] = {
22209 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22210 };
22211
22212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22214 if (!SWIG_IsOK(res1)) {
22215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22216 }
22217 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22218 ecode2 = SWIG_AsVal_int(obj1, &val2);
22219 if (!SWIG_IsOK(ecode2)) {
22220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22221 }
22222 arg2 = static_cast< int >(val2);
22223 ecode3 = SWIG_AsVal_int(obj2, &val3);
22224 if (!SWIG_IsOK(ecode3)) {
22225 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22226 }
22227 arg3 = static_cast< int >(val3);
22228 ecode4 = SWIG_AsVal_int(obj3, &val4);
22229 if (!SWIG_IsOK(ecode4)) {
22230 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22231 }
22232 arg4 = static_cast< int >(val4);
22233 ecode5 = SWIG_AsVal_int(obj4, &val5);
22234 if (!SWIG_IsOK(ecode5)) {
22235 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22236 }
22237 arg5 = static_cast< int >(val5);
22238 {
22239 PyThreadState* __tstate = wxPyBeginAllowThreads();
22240 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22241 wxPyEndAllowThreads(__tstate);
22242 if (PyErr_Occurred()) SWIG_fail;
22243 }
22244 resultobj = SWIG_Py_Void();
22245 return resultobj;
22246 fail:
22247 return NULL;
22248 }
22249
22250
22251 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22252 PyObject *resultobj = 0;
22253 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22254 int arg2 ;
22255 int arg3 ;
22256 int arg4 ;
22257 int arg5 ;
22258 int arg6 = (int) wxSIZE_AUTO ;
22259 void *argp1 = 0 ;
22260 int res1 = 0 ;
22261 int val2 ;
22262 int ecode2 = 0 ;
22263 int val3 ;
22264 int ecode3 = 0 ;
22265 int val4 ;
22266 int ecode4 = 0 ;
22267 int val5 ;
22268 int ecode5 = 0 ;
22269 int val6 ;
22270 int ecode6 = 0 ;
22271 PyObject * obj0 = 0 ;
22272 PyObject * obj1 = 0 ;
22273 PyObject * obj2 = 0 ;
22274 PyObject * obj3 = 0 ;
22275 PyObject * obj4 = 0 ;
22276 PyObject * obj5 = 0 ;
22277 char * kwnames[] = {
22278 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22279 };
22280
22281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22283 if (!SWIG_IsOK(res1)) {
22284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22285 }
22286 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22287 ecode2 = SWIG_AsVal_int(obj1, &val2);
22288 if (!SWIG_IsOK(ecode2)) {
22289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22290 }
22291 arg2 = static_cast< int >(val2);
22292 ecode3 = SWIG_AsVal_int(obj2, &val3);
22293 if (!SWIG_IsOK(ecode3)) {
22294 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22295 }
22296 arg3 = static_cast< int >(val3);
22297 ecode4 = SWIG_AsVal_int(obj3, &val4);
22298 if (!SWIG_IsOK(ecode4)) {
22299 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22300 }
22301 arg4 = static_cast< int >(val4);
22302 ecode5 = SWIG_AsVal_int(obj4, &val5);
22303 if (!SWIG_IsOK(ecode5)) {
22304 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22305 }
22306 arg5 = static_cast< int >(val5);
22307 if (obj5) {
22308 ecode6 = SWIG_AsVal_int(obj5, &val6);
22309 if (!SWIG_IsOK(ecode6)) {
22310 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22311 }
22312 arg6 = static_cast< int >(val6);
22313 }
22314 {
22315 PyThreadState* __tstate = wxPyBeginAllowThreads();
22316 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22317 wxPyEndAllowThreads(__tstate);
22318 if (PyErr_Occurred()) SWIG_fail;
22319 }
22320 resultobj = SWIG_Py_Void();
22321 return resultobj;
22322 fail:
22323 return NULL;
22324 }
22325
22326
22327 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22328 PyObject *resultobj = 0;
22329 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22330 int arg2 ;
22331 int arg3 ;
22332 void *argp1 = 0 ;
22333 int res1 = 0 ;
22334 int val2 ;
22335 int ecode2 = 0 ;
22336 int val3 ;
22337 int ecode3 = 0 ;
22338 PyObject * obj0 = 0 ;
22339 PyObject * obj1 = 0 ;
22340 PyObject * obj2 = 0 ;
22341 char * kwnames[] = {
22342 (char *) "self",(char *) "width",(char *) "height", NULL
22343 };
22344
22345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22347 if (!SWIG_IsOK(res1)) {
22348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22349 }
22350 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22351 ecode2 = SWIG_AsVal_int(obj1, &val2);
22352 if (!SWIG_IsOK(ecode2)) {
22353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22354 }
22355 arg2 = static_cast< int >(val2);
22356 ecode3 = SWIG_AsVal_int(obj2, &val3);
22357 if (!SWIG_IsOK(ecode3)) {
22358 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22359 }
22360 arg3 = static_cast< int >(val3);
22361 {
22362 PyThreadState* __tstate = wxPyBeginAllowThreads();
22363 (arg1)->DoSetClientSize(arg2,arg3);
22364 wxPyEndAllowThreads(__tstate);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
22367 resultobj = SWIG_Py_Void();
22368 return resultobj;
22369 fail:
22370 return NULL;
22371 }
22372
22373
22374 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22375 PyObject *resultobj = 0;
22376 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22377 int arg2 ;
22378 int arg3 ;
22379 void *argp1 = 0 ;
22380 int res1 = 0 ;
22381 int val2 ;
22382 int ecode2 = 0 ;
22383 int val3 ;
22384 int ecode3 = 0 ;
22385 PyObject * obj0 = 0 ;
22386 PyObject * obj1 = 0 ;
22387 PyObject * obj2 = 0 ;
22388 char * kwnames[] = {
22389 (char *) "self",(char *) "x",(char *) "y", NULL
22390 };
22391
22392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22394 if (!SWIG_IsOK(res1)) {
22395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22396 }
22397 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22398 ecode2 = SWIG_AsVal_int(obj1, &val2);
22399 if (!SWIG_IsOK(ecode2)) {
22400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22401 }
22402 arg2 = static_cast< int >(val2);
22403 ecode3 = SWIG_AsVal_int(obj2, &val3);
22404 if (!SWIG_IsOK(ecode3)) {
22405 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22406 }
22407 arg3 = static_cast< int >(val3);
22408 {
22409 PyThreadState* __tstate = wxPyBeginAllowThreads();
22410 (arg1)->DoSetVirtualSize(arg2,arg3);
22411 wxPyEndAllowThreads(__tstate);
22412 if (PyErr_Occurred()) SWIG_fail;
22413 }
22414 resultobj = SWIG_Py_Void();
22415 return resultobj;
22416 fail:
22417 return NULL;
22418 }
22419
22420
22421 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22422 PyObject *resultobj = 0;
22423 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22424 int *arg2 = (int *) 0 ;
22425 int *arg3 = (int *) 0 ;
22426 void *argp1 = 0 ;
22427 int res1 = 0 ;
22428 int temp2 ;
22429 int res2 = SWIG_TMPOBJ ;
22430 int temp3 ;
22431 int res3 = SWIG_TMPOBJ ;
22432 PyObject *swig_obj[1] ;
22433
22434 arg2 = &temp2;
22435 arg3 = &temp3;
22436 if (!args) SWIG_fail;
22437 swig_obj[0] = args;
22438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22439 if (!SWIG_IsOK(res1)) {
22440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22441 }
22442 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22443 {
22444 PyThreadState* __tstate = wxPyBeginAllowThreads();
22445 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22446 wxPyEndAllowThreads(__tstate);
22447 if (PyErr_Occurred()) SWIG_fail;
22448 }
22449 resultobj = SWIG_Py_Void();
22450 if (SWIG_IsTmpObj(res2)) {
22451 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22452 } else {
22453 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22454 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22455 }
22456 if (SWIG_IsTmpObj(res3)) {
22457 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22458 } else {
22459 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22460 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22461 }
22462 return resultobj;
22463 fail:
22464 return NULL;
22465 }
22466
22467
22468 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22469 PyObject *resultobj = 0;
22470 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22471 int *arg2 = (int *) 0 ;
22472 int *arg3 = (int *) 0 ;
22473 void *argp1 = 0 ;
22474 int res1 = 0 ;
22475 int temp2 ;
22476 int res2 = SWIG_TMPOBJ ;
22477 int temp3 ;
22478 int res3 = SWIG_TMPOBJ ;
22479 PyObject *swig_obj[1] ;
22480
22481 arg2 = &temp2;
22482 arg3 = &temp3;
22483 if (!args) SWIG_fail;
22484 swig_obj[0] = args;
22485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22486 if (!SWIG_IsOK(res1)) {
22487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22488 }
22489 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22490 {
22491 PyThreadState* __tstate = wxPyBeginAllowThreads();
22492 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22493 wxPyEndAllowThreads(__tstate);
22494 if (PyErr_Occurred()) SWIG_fail;
22495 }
22496 resultobj = SWIG_Py_Void();
22497 if (SWIG_IsTmpObj(res2)) {
22498 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22499 } else {
22500 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22501 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22502 }
22503 if (SWIG_IsTmpObj(res3)) {
22504 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22505 } else {
22506 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22507 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22508 }
22509 return resultobj;
22510 fail:
22511 return NULL;
22512 }
22513
22514
22515 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22516 PyObject *resultobj = 0;
22517 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22518 int *arg2 = (int *) 0 ;
22519 int *arg3 = (int *) 0 ;
22520 void *argp1 = 0 ;
22521 int res1 = 0 ;
22522 int temp2 ;
22523 int res2 = SWIG_TMPOBJ ;
22524 int temp3 ;
22525 int res3 = SWIG_TMPOBJ ;
22526 PyObject *swig_obj[1] ;
22527
22528 arg2 = &temp2;
22529 arg3 = &temp3;
22530 if (!args) SWIG_fail;
22531 swig_obj[0] = args;
22532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22533 if (!SWIG_IsOK(res1)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22535 }
22536 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22537 {
22538 PyThreadState* __tstate = wxPyBeginAllowThreads();
22539 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 resultobj = SWIG_Py_Void();
22544 if (SWIG_IsTmpObj(res2)) {
22545 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22546 } else {
22547 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22548 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22549 }
22550 if (SWIG_IsTmpObj(res3)) {
22551 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22552 } else {
22553 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22554 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22555 }
22556 return resultobj;
22557 fail:
22558 return NULL;
22559 }
22560
22561
22562 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22563 PyObject *resultobj = 0;
22564 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22565 wxSize result;
22566 void *argp1 = 0 ;
22567 int res1 = 0 ;
22568 PyObject *swig_obj[1] ;
22569
22570 if (!args) SWIG_fail;
22571 swig_obj[0] = args;
22572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22573 if (!SWIG_IsOK(res1)) {
22574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22575 }
22576 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22577 {
22578 PyThreadState* __tstate = wxPyBeginAllowThreads();
22579 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22580 wxPyEndAllowThreads(__tstate);
22581 if (PyErr_Occurred()) SWIG_fail;
22582 }
22583 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22584 return resultobj;
22585 fail:
22586 return NULL;
22587 }
22588
22589
22590 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22591 PyObject *resultobj = 0;
22592 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22593 wxSize result;
22594 void *argp1 = 0 ;
22595 int res1 = 0 ;
22596 PyObject *swig_obj[1] ;
22597
22598 if (!args) SWIG_fail;
22599 swig_obj[0] = args;
22600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22601 if (!SWIG_IsOK(res1)) {
22602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22603 }
22604 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22605 {
22606 PyThreadState* __tstate = wxPyBeginAllowThreads();
22607 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22608 wxPyEndAllowThreads(__tstate);
22609 if (PyErr_Occurred()) SWIG_fail;
22610 }
22611 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22612 return resultobj;
22613 fail:
22614 return NULL;
22615 }
22616
22617
22618 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22619 PyObject *resultobj = 0;
22620 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22621 SwigValueWrapper<wxVisualAttributes > result;
22622 void *argp1 = 0 ;
22623 int res1 = 0 ;
22624 PyObject *swig_obj[1] ;
22625
22626 if (!args) SWIG_fail;
22627 swig_obj[0] = args;
22628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22629 if (!SWIG_IsOK(res1)) {
22630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22631 }
22632 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22633 {
22634 PyThreadState* __tstate = wxPyBeginAllowThreads();
22635 result = (arg1)->GetDefaultAttributes();
22636 wxPyEndAllowThreads(__tstate);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22640 return resultobj;
22641 fail:
22642 return NULL;
22643 }
22644
22645
22646 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22647 PyObject *resultobj = 0;
22648 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22649 void *argp1 = 0 ;
22650 int res1 = 0 ;
22651 PyObject *swig_obj[1] ;
22652
22653 if (!args) SWIG_fail;
22654 swig_obj[0] = args;
22655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22656 if (!SWIG_IsOK(res1)) {
22657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22658 }
22659 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22660 {
22661 PyThreadState* __tstate = wxPyBeginAllowThreads();
22662 (arg1)->OnInternalIdle();
22663 wxPyEndAllowThreads(__tstate);
22664 if (PyErr_Occurred()) SWIG_fail;
22665 }
22666 resultobj = SWIG_Py_Void();
22667 return resultobj;
22668 fail:
22669 return NULL;
22670 }
22671
22672
22673 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22674 PyObject *obj;
22675 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22676 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22677 return SWIG_Py_Void();
22678 }
22679
22680 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22681 return SWIG_Python_InitShadowInstance(args);
22682 }
22683
22684 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22685 PyObject *resultobj = 0;
22686 wxWindow *arg1 = (wxWindow *) 0 ;
22687 int arg2 = (int) (int)-1 ;
22688 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22689 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22690 wxSize const &arg4_defvalue = wxDefaultSize ;
22691 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22692 long arg5 = (long) 0 ;
22693 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22694 wxString *arg6 = (wxString *) &arg6_defvalue ;
22695 wxPyScrolledWindow *result = 0 ;
22696 void *argp1 = 0 ;
22697 int res1 = 0 ;
22698 int val2 ;
22699 int ecode2 = 0 ;
22700 wxPoint temp3 ;
22701 wxSize temp4 ;
22702 long val5 ;
22703 int ecode5 = 0 ;
22704 bool temp6 = false ;
22705 PyObject * obj0 = 0 ;
22706 PyObject * obj1 = 0 ;
22707 PyObject * obj2 = 0 ;
22708 PyObject * obj3 = 0 ;
22709 PyObject * obj4 = 0 ;
22710 PyObject * obj5 = 0 ;
22711 char * kwnames[] = {
22712 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22713 };
22714
22715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22717 if (!SWIG_IsOK(res1)) {
22718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22719 }
22720 arg1 = reinterpret_cast< wxWindow * >(argp1);
22721 if (obj1) {
22722 ecode2 = SWIG_AsVal_int(obj1, &val2);
22723 if (!SWIG_IsOK(ecode2)) {
22724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22725 }
22726 arg2 = static_cast< int >(val2);
22727 }
22728 if (obj2) {
22729 {
22730 arg3 = &temp3;
22731 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22732 }
22733 }
22734 if (obj3) {
22735 {
22736 arg4 = &temp4;
22737 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22738 }
22739 }
22740 if (obj4) {
22741 ecode5 = SWIG_AsVal_long(obj4, &val5);
22742 if (!SWIG_IsOK(ecode5)) {
22743 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22744 }
22745 arg5 = static_cast< long >(val5);
22746 }
22747 if (obj5) {
22748 {
22749 arg6 = wxString_in_helper(obj5);
22750 if (arg6 == NULL) SWIG_fail;
22751 temp6 = true;
22752 }
22753 }
22754 {
22755 if (!wxPyCheckForApp()) SWIG_fail;
22756 PyThreadState* __tstate = wxPyBeginAllowThreads();
22757 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22758 wxPyEndAllowThreads(__tstate);
22759 if (PyErr_Occurred()) SWIG_fail;
22760 }
22761 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22762 {
22763 if (temp6)
22764 delete arg6;
22765 }
22766 return resultobj;
22767 fail:
22768 {
22769 if (temp6)
22770 delete arg6;
22771 }
22772 return NULL;
22773 }
22774
22775
22776 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22777 PyObject *resultobj = 0;
22778 wxPyScrolledWindow *result = 0 ;
22779
22780 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22781 {
22782 if (!wxPyCheckForApp()) SWIG_fail;
22783 PyThreadState* __tstate = wxPyBeginAllowThreads();
22784 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22785 wxPyEndAllowThreads(__tstate);
22786 if (PyErr_Occurred()) SWIG_fail;
22787 }
22788 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22789 return resultobj;
22790 fail:
22791 return NULL;
22792 }
22793
22794
22795 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22796 PyObject *resultobj = 0;
22797 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22798 PyObject *arg2 = (PyObject *) 0 ;
22799 PyObject *arg3 = (PyObject *) 0 ;
22800 void *argp1 = 0 ;
22801 int res1 = 0 ;
22802 PyObject * obj0 = 0 ;
22803 PyObject * obj1 = 0 ;
22804 PyObject * obj2 = 0 ;
22805 char * kwnames[] = {
22806 (char *) "self",(char *) "self",(char *) "_class", NULL
22807 };
22808
22809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22811 if (!SWIG_IsOK(res1)) {
22812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22813 }
22814 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22815 arg2 = obj1;
22816 arg3 = obj2;
22817 {
22818 PyThreadState* __tstate = wxPyBeginAllowThreads();
22819 (arg1)->_setCallbackInfo(arg2,arg3);
22820 wxPyEndAllowThreads(__tstate);
22821 if (PyErr_Occurred()) SWIG_fail;
22822 }
22823 resultobj = SWIG_Py_Void();
22824 return resultobj;
22825 fail:
22826 return NULL;
22827 }
22828
22829
22830 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22831 PyObject *resultobj = 0;
22832 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22833 wxSize *arg2 = 0 ;
22834 void *argp1 = 0 ;
22835 int res1 = 0 ;
22836 wxSize temp2 ;
22837 PyObject * obj0 = 0 ;
22838 PyObject * obj1 = 0 ;
22839 char * kwnames[] = {
22840 (char *) "self",(char *) "size", NULL
22841 };
22842
22843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22845 if (!SWIG_IsOK(res1)) {
22846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22847 }
22848 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22849 {
22850 arg2 = &temp2;
22851 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22852 }
22853 {
22854 PyThreadState* __tstate = wxPyBeginAllowThreads();
22855 (arg1)->SetBestSize((wxSize const &)*arg2);
22856 wxPyEndAllowThreads(__tstate);
22857 if (PyErr_Occurred()) SWIG_fail;
22858 }
22859 resultobj = SWIG_Py_Void();
22860 return resultobj;
22861 fail:
22862 return NULL;
22863 }
22864
22865
22866 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22867 PyObject *resultobj = 0;
22868 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22869 wxDC *arg2 = (wxDC *) 0 ;
22870 bool result;
22871 void *argp1 = 0 ;
22872 int res1 = 0 ;
22873 void *argp2 = 0 ;
22874 int res2 = 0 ;
22875 PyObject * obj0 = 0 ;
22876 PyObject * obj1 = 0 ;
22877 char * kwnames[] = {
22878 (char *) "self",(char *) "dc", NULL
22879 };
22880
22881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22883 if (!SWIG_IsOK(res1)) {
22884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22885 }
22886 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22887 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22888 if (!SWIG_IsOK(res2)) {
22889 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22890 }
22891 arg2 = reinterpret_cast< wxDC * >(argp2);
22892 {
22893 PyThreadState* __tstate = wxPyBeginAllowThreads();
22894 result = (bool)(arg1)->DoEraseBackground(arg2);
22895 wxPyEndAllowThreads(__tstate);
22896 if (PyErr_Occurred()) SWIG_fail;
22897 }
22898 {
22899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22900 }
22901 return resultobj;
22902 fail:
22903 return NULL;
22904 }
22905
22906
22907 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22908 PyObject *resultobj = 0;
22909 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22910 int arg2 ;
22911 int arg3 ;
22912 int arg4 ;
22913 int arg5 ;
22914 void *argp1 = 0 ;
22915 int res1 = 0 ;
22916 int val2 ;
22917 int ecode2 = 0 ;
22918 int val3 ;
22919 int ecode3 = 0 ;
22920 int val4 ;
22921 int ecode4 = 0 ;
22922 int val5 ;
22923 int ecode5 = 0 ;
22924 PyObject * obj0 = 0 ;
22925 PyObject * obj1 = 0 ;
22926 PyObject * obj2 = 0 ;
22927 PyObject * obj3 = 0 ;
22928 PyObject * obj4 = 0 ;
22929 char * kwnames[] = {
22930 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22931 };
22932
22933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22935 if (!SWIG_IsOK(res1)) {
22936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22937 }
22938 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22939 ecode2 = SWIG_AsVal_int(obj1, &val2);
22940 if (!SWIG_IsOK(ecode2)) {
22941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22942 }
22943 arg2 = static_cast< int >(val2);
22944 ecode3 = SWIG_AsVal_int(obj2, &val3);
22945 if (!SWIG_IsOK(ecode3)) {
22946 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22947 }
22948 arg3 = static_cast< int >(val3);
22949 ecode4 = SWIG_AsVal_int(obj3, &val4);
22950 if (!SWIG_IsOK(ecode4)) {
22951 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22952 }
22953 arg4 = static_cast< int >(val4);
22954 ecode5 = SWIG_AsVal_int(obj4, &val5);
22955 if (!SWIG_IsOK(ecode5)) {
22956 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22957 }
22958 arg5 = static_cast< int >(val5);
22959 {
22960 PyThreadState* __tstate = wxPyBeginAllowThreads();
22961 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22962 wxPyEndAllowThreads(__tstate);
22963 if (PyErr_Occurred()) SWIG_fail;
22964 }
22965 resultobj = SWIG_Py_Void();
22966 return resultobj;
22967 fail:
22968 return NULL;
22969 }
22970
22971
22972 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22973 PyObject *resultobj = 0;
22974 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22975 int arg2 ;
22976 int arg3 ;
22977 int arg4 ;
22978 int arg5 ;
22979 int arg6 = (int) wxSIZE_AUTO ;
22980 void *argp1 = 0 ;
22981 int res1 = 0 ;
22982 int val2 ;
22983 int ecode2 = 0 ;
22984 int val3 ;
22985 int ecode3 = 0 ;
22986 int val4 ;
22987 int ecode4 = 0 ;
22988 int val5 ;
22989 int ecode5 = 0 ;
22990 int val6 ;
22991 int ecode6 = 0 ;
22992 PyObject * obj0 = 0 ;
22993 PyObject * obj1 = 0 ;
22994 PyObject * obj2 = 0 ;
22995 PyObject * obj3 = 0 ;
22996 PyObject * obj4 = 0 ;
22997 PyObject * obj5 = 0 ;
22998 char * kwnames[] = {
22999 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23000 };
23001
23002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23004 if (!SWIG_IsOK(res1)) {
23005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23006 }
23007 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23008 ecode2 = SWIG_AsVal_int(obj1, &val2);
23009 if (!SWIG_IsOK(ecode2)) {
23010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23011 }
23012 arg2 = static_cast< int >(val2);
23013 ecode3 = SWIG_AsVal_int(obj2, &val3);
23014 if (!SWIG_IsOK(ecode3)) {
23015 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23016 }
23017 arg3 = static_cast< int >(val3);
23018 ecode4 = SWIG_AsVal_int(obj3, &val4);
23019 if (!SWIG_IsOK(ecode4)) {
23020 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23021 }
23022 arg4 = static_cast< int >(val4);
23023 ecode5 = SWIG_AsVal_int(obj4, &val5);
23024 if (!SWIG_IsOK(ecode5)) {
23025 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23026 }
23027 arg5 = static_cast< int >(val5);
23028 if (obj5) {
23029 ecode6 = SWIG_AsVal_int(obj5, &val6);
23030 if (!SWIG_IsOK(ecode6)) {
23031 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23032 }
23033 arg6 = static_cast< int >(val6);
23034 }
23035 {
23036 PyThreadState* __tstate = wxPyBeginAllowThreads();
23037 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23038 wxPyEndAllowThreads(__tstate);
23039 if (PyErr_Occurred()) SWIG_fail;
23040 }
23041 resultobj = SWIG_Py_Void();
23042 return resultobj;
23043 fail:
23044 return NULL;
23045 }
23046
23047
23048 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23049 PyObject *resultobj = 0;
23050 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23051 int arg2 ;
23052 int arg3 ;
23053 void *argp1 = 0 ;
23054 int res1 = 0 ;
23055 int val2 ;
23056 int ecode2 = 0 ;
23057 int val3 ;
23058 int ecode3 = 0 ;
23059 PyObject * obj0 = 0 ;
23060 PyObject * obj1 = 0 ;
23061 PyObject * obj2 = 0 ;
23062 char * kwnames[] = {
23063 (char *) "self",(char *) "width",(char *) "height", NULL
23064 };
23065
23066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23068 if (!SWIG_IsOK(res1)) {
23069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23070 }
23071 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23072 ecode2 = SWIG_AsVal_int(obj1, &val2);
23073 if (!SWIG_IsOK(ecode2)) {
23074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23075 }
23076 arg2 = static_cast< int >(val2);
23077 ecode3 = SWIG_AsVal_int(obj2, &val3);
23078 if (!SWIG_IsOK(ecode3)) {
23079 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23080 }
23081 arg3 = static_cast< int >(val3);
23082 {
23083 PyThreadState* __tstate = wxPyBeginAllowThreads();
23084 (arg1)->DoSetClientSize(arg2,arg3);
23085 wxPyEndAllowThreads(__tstate);
23086 if (PyErr_Occurred()) SWIG_fail;
23087 }
23088 resultobj = SWIG_Py_Void();
23089 return resultobj;
23090 fail:
23091 return NULL;
23092 }
23093
23094
23095 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23096 PyObject *resultobj = 0;
23097 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23098 int arg2 ;
23099 int arg3 ;
23100 void *argp1 = 0 ;
23101 int res1 = 0 ;
23102 int val2 ;
23103 int ecode2 = 0 ;
23104 int val3 ;
23105 int ecode3 = 0 ;
23106 PyObject * obj0 = 0 ;
23107 PyObject * obj1 = 0 ;
23108 PyObject * obj2 = 0 ;
23109 char * kwnames[] = {
23110 (char *) "self",(char *) "x",(char *) "y", NULL
23111 };
23112
23113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23115 if (!SWIG_IsOK(res1)) {
23116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23117 }
23118 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23119 ecode2 = SWIG_AsVal_int(obj1, &val2);
23120 if (!SWIG_IsOK(ecode2)) {
23121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23122 }
23123 arg2 = static_cast< int >(val2);
23124 ecode3 = SWIG_AsVal_int(obj2, &val3);
23125 if (!SWIG_IsOK(ecode3)) {
23126 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23127 }
23128 arg3 = static_cast< int >(val3);
23129 {
23130 PyThreadState* __tstate = wxPyBeginAllowThreads();
23131 (arg1)->DoSetVirtualSize(arg2,arg3);
23132 wxPyEndAllowThreads(__tstate);
23133 if (PyErr_Occurred()) SWIG_fail;
23134 }
23135 resultobj = SWIG_Py_Void();
23136 return resultobj;
23137 fail:
23138 return NULL;
23139 }
23140
23141
23142 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23143 PyObject *resultobj = 0;
23144 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23145 int *arg2 = (int *) 0 ;
23146 int *arg3 = (int *) 0 ;
23147 void *argp1 = 0 ;
23148 int res1 = 0 ;
23149 int temp2 ;
23150 int res2 = SWIG_TMPOBJ ;
23151 int temp3 ;
23152 int res3 = SWIG_TMPOBJ ;
23153 PyObject *swig_obj[1] ;
23154
23155 arg2 = &temp2;
23156 arg3 = &temp3;
23157 if (!args) SWIG_fail;
23158 swig_obj[0] = args;
23159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23160 if (!SWIG_IsOK(res1)) {
23161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23162 }
23163 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23164 {
23165 PyThreadState* __tstate = wxPyBeginAllowThreads();
23166 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23167 wxPyEndAllowThreads(__tstate);
23168 if (PyErr_Occurred()) SWIG_fail;
23169 }
23170 resultobj = SWIG_Py_Void();
23171 if (SWIG_IsTmpObj(res2)) {
23172 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23173 } else {
23174 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23175 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23176 }
23177 if (SWIG_IsTmpObj(res3)) {
23178 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23179 } else {
23180 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23181 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23182 }
23183 return resultobj;
23184 fail:
23185 return NULL;
23186 }
23187
23188
23189 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23190 PyObject *resultobj = 0;
23191 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23192 int *arg2 = (int *) 0 ;
23193 int *arg3 = (int *) 0 ;
23194 void *argp1 = 0 ;
23195 int res1 = 0 ;
23196 int temp2 ;
23197 int res2 = SWIG_TMPOBJ ;
23198 int temp3 ;
23199 int res3 = SWIG_TMPOBJ ;
23200 PyObject *swig_obj[1] ;
23201
23202 arg2 = &temp2;
23203 arg3 = &temp3;
23204 if (!args) SWIG_fail;
23205 swig_obj[0] = args;
23206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23207 if (!SWIG_IsOK(res1)) {
23208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23209 }
23210 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23211 {
23212 PyThreadState* __tstate = wxPyBeginAllowThreads();
23213 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23214 wxPyEndAllowThreads(__tstate);
23215 if (PyErr_Occurred()) SWIG_fail;
23216 }
23217 resultobj = SWIG_Py_Void();
23218 if (SWIG_IsTmpObj(res2)) {
23219 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23220 } else {
23221 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23222 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23223 }
23224 if (SWIG_IsTmpObj(res3)) {
23225 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23226 } else {
23227 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23228 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23229 }
23230 return resultobj;
23231 fail:
23232 return NULL;
23233 }
23234
23235
23236 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23237 PyObject *resultobj = 0;
23238 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23239 int *arg2 = (int *) 0 ;
23240 int *arg3 = (int *) 0 ;
23241 void *argp1 = 0 ;
23242 int res1 = 0 ;
23243 int temp2 ;
23244 int res2 = SWIG_TMPOBJ ;
23245 int temp3 ;
23246 int res3 = SWIG_TMPOBJ ;
23247 PyObject *swig_obj[1] ;
23248
23249 arg2 = &temp2;
23250 arg3 = &temp3;
23251 if (!args) SWIG_fail;
23252 swig_obj[0] = args;
23253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23254 if (!SWIG_IsOK(res1)) {
23255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23256 }
23257 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23258 {
23259 PyThreadState* __tstate = wxPyBeginAllowThreads();
23260 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23261 wxPyEndAllowThreads(__tstate);
23262 if (PyErr_Occurred()) SWIG_fail;
23263 }
23264 resultobj = SWIG_Py_Void();
23265 if (SWIG_IsTmpObj(res2)) {
23266 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23267 } else {
23268 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23269 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23270 }
23271 if (SWIG_IsTmpObj(res3)) {
23272 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23273 } else {
23274 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23275 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23276 }
23277 return resultobj;
23278 fail:
23279 return NULL;
23280 }
23281
23282
23283 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23284 PyObject *resultobj = 0;
23285 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23286 wxSize result;
23287 void *argp1 = 0 ;
23288 int res1 = 0 ;
23289 PyObject *swig_obj[1] ;
23290
23291 if (!args) SWIG_fail;
23292 swig_obj[0] = args;
23293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23294 if (!SWIG_IsOK(res1)) {
23295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23296 }
23297 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23298 {
23299 PyThreadState* __tstate = wxPyBeginAllowThreads();
23300 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23301 wxPyEndAllowThreads(__tstate);
23302 if (PyErr_Occurred()) SWIG_fail;
23303 }
23304 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23305 return resultobj;
23306 fail:
23307 return NULL;
23308 }
23309
23310
23311 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23312 PyObject *resultobj = 0;
23313 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23314 wxSize result;
23315 void *argp1 = 0 ;
23316 int res1 = 0 ;
23317 PyObject *swig_obj[1] ;
23318
23319 if (!args) SWIG_fail;
23320 swig_obj[0] = args;
23321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23322 if (!SWIG_IsOK(res1)) {
23323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23324 }
23325 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23326 {
23327 PyThreadState* __tstate = wxPyBeginAllowThreads();
23328 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23329 wxPyEndAllowThreads(__tstate);
23330 if (PyErr_Occurred()) SWIG_fail;
23331 }
23332 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23333 return resultobj;
23334 fail:
23335 return NULL;
23336 }
23337
23338
23339 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23340 PyObject *resultobj = 0;
23341 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23342 SwigValueWrapper<wxVisualAttributes > result;
23343 void *argp1 = 0 ;
23344 int res1 = 0 ;
23345 PyObject *swig_obj[1] ;
23346
23347 if (!args) SWIG_fail;
23348 swig_obj[0] = args;
23349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23350 if (!SWIG_IsOK(res1)) {
23351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23352 }
23353 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23354 {
23355 PyThreadState* __tstate = wxPyBeginAllowThreads();
23356 result = (arg1)->GetDefaultAttributes();
23357 wxPyEndAllowThreads(__tstate);
23358 if (PyErr_Occurred()) SWIG_fail;
23359 }
23360 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23361 return resultobj;
23362 fail:
23363 return NULL;
23364 }
23365
23366
23367 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23368 PyObject *resultobj = 0;
23369 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
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_wxPyScrolledWindow, 0 | 0 );
23377 if (!SWIG_IsOK(res1)) {
23378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23379 }
23380 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23381 {
23382 PyThreadState* __tstate = wxPyBeginAllowThreads();
23383 (arg1)->OnInternalIdle();
23384 wxPyEndAllowThreads(__tstate);
23385 if (PyErr_Occurred()) SWIG_fail;
23386 }
23387 resultobj = SWIG_Py_Void();
23388 return resultobj;
23389 fail:
23390 return NULL;
23391 }
23392
23393
23394 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23395 PyObject *obj;
23396 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23397 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23398 return SWIG_Py_Void();
23399 }
23400
23401 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23402 return SWIG_Python_InitShadowInstance(args);
23403 }
23404
23405 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23406 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23407 return 1;
23408 }
23409
23410
23411 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23412 PyObject *pyobj = 0;
23413
23414 {
23415 #if wxUSE_UNICODE
23416 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23417 #else
23418 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23419 #endif
23420 }
23421 return pyobj;
23422 }
23423
23424
23425 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23426 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23427 return 1;
23428 }
23429
23430
23431 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23432 PyObject *pyobj = 0;
23433
23434 {
23435 #if wxUSE_UNICODE
23436 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23437 #else
23438 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23439 #endif
23440 }
23441 return pyobj;
23442 }
23443
23444
23445 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23446 PyObject *resultobj = 0;
23447 wxPrintData *result = 0 ;
23448
23449 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23450 {
23451 PyThreadState* __tstate = wxPyBeginAllowThreads();
23452 result = (wxPrintData *)new wxPrintData();
23453 wxPyEndAllowThreads(__tstate);
23454 if (PyErr_Occurred()) SWIG_fail;
23455 }
23456 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23457 return resultobj;
23458 fail:
23459 return NULL;
23460 }
23461
23462
23463 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23464 PyObject *resultobj = 0;
23465 wxPrintData *arg1 = 0 ;
23466 wxPrintData *result = 0 ;
23467 void *argp1 = 0 ;
23468 int res1 = 0 ;
23469
23470 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23472 if (!SWIG_IsOK(res1)) {
23473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23474 }
23475 if (!argp1) {
23476 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23477 }
23478 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23479 {
23480 PyThreadState* __tstate = wxPyBeginAllowThreads();
23481 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23482 wxPyEndAllowThreads(__tstate);
23483 if (PyErr_Occurred()) SWIG_fail;
23484 }
23485 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23486 return resultobj;
23487 fail:
23488 return NULL;
23489 }
23490
23491
23492 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23493 int argc;
23494 PyObject *argv[2];
23495
23496 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23497 --argc;
23498 if (argc == 0) {
23499 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23500 }
23501 if (argc == 1) {
23502 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23503 }
23504
23505 fail:
23506 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23507 return NULL;
23508 }
23509
23510
23511 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23512 PyObject *resultobj = 0;
23513 wxPrintData *arg1 = (wxPrintData *) 0 ;
23514 void *argp1 = 0 ;
23515 int res1 = 0 ;
23516 PyObject *swig_obj[1] ;
23517
23518 if (!args) SWIG_fail;
23519 swig_obj[0] = args;
23520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23521 if (!SWIG_IsOK(res1)) {
23522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23523 }
23524 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23525 {
23526 PyThreadState* __tstate = wxPyBeginAllowThreads();
23527 delete arg1;
23528
23529 wxPyEndAllowThreads(__tstate);
23530 if (PyErr_Occurred()) SWIG_fail;
23531 }
23532 resultobj = SWIG_Py_Void();
23533 return resultobj;
23534 fail:
23535 return NULL;
23536 }
23537
23538
23539 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23540 PyObject *resultobj = 0;
23541 wxPrintData *arg1 = (wxPrintData *) 0 ;
23542 int result;
23543 void *argp1 = 0 ;
23544 int res1 = 0 ;
23545 PyObject *swig_obj[1] ;
23546
23547 if (!args) SWIG_fail;
23548 swig_obj[0] = args;
23549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23550 if (!SWIG_IsOK(res1)) {
23551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23552 }
23553 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23554 {
23555 PyThreadState* __tstate = wxPyBeginAllowThreads();
23556 result = (int)(arg1)->GetNoCopies();
23557 wxPyEndAllowThreads(__tstate);
23558 if (PyErr_Occurred()) SWIG_fail;
23559 }
23560 resultobj = SWIG_From_int(static_cast< int >(result));
23561 return resultobj;
23562 fail:
23563 return NULL;
23564 }
23565
23566
23567 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23568 PyObject *resultobj = 0;
23569 wxPrintData *arg1 = (wxPrintData *) 0 ;
23570 bool result;
23571 void *argp1 = 0 ;
23572 int res1 = 0 ;
23573 PyObject *swig_obj[1] ;
23574
23575 if (!args) SWIG_fail;
23576 swig_obj[0] = args;
23577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23578 if (!SWIG_IsOK(res1)) {
23579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23580 }
23581 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23582 {
23583 PyThreadState* __tstate = wxPyBeginAllowThreads();
23584 result = (bool)(arg1)->GetCollate();
23585 wxPyEndAllowThreads(__tstate);
23586 if (PyErr_Occurred()) SWIG_fail;
23587 }
23588 {
23589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23590 }
23591 return resultobj;
23592 fail:
23593 return NULL;
23594 }
23595
23596
23597 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23598 PyObject *resultobj = 0;
23599 wxPrintData *arg1 = (wxPrintData *) 0 ;
23600 int result;
23601 void *argp1 = 0 ;
23602 int res1 = 0 ;
23603 PyObject *swig_obj[1] ;
23604
23605 if (!args) SWIG_fail;
23606 swig_obj[0] = args;
23607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23608 if (!SWIG_IsOK(res1)) {
23609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23610 }
23611 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23612 {
23613 PyThreadState* __tstate = wxPyBeginAllowThreads();
23614 result = (int)(arg1)->GetOrientation();
23615 wxPyEndAllowThreads(__tstate);
23616 if (PyErr_Occurred()) SWIG_fail;
23617 }
23618 resultobj = SWIG_From_int(static_cast< int >(result));
23619 return resultobj;
23620 fail:
23621 return NULL;
23622 }
23623
23624
23625 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23626 PyObject *resultobj = 0;
23627 wxPrintData *arg1 = (wxPrintData *) 0 ;
23628 bool result;
23629 void *argp1 = 0 ;
23630 int res1 = 0 ;
23631 PyObject *swig_obj[1] ;
23632
23633 if (!args) SWIG_fail;
23634 swig_obj[0] = args;
23635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23636 if (!SWIG_IsOK(res1)) {
23637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23638 }
23639 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 result = (bool)(arg1)->Ok();
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 {
23647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23648 }
23649 return resultobj;
23650 fail:
23651 return NULL;
23652 }
23653
23654
23655 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23656 PyObject *resultobj = 0;
23657 wxPrintData *arg1 = (wxPrintData *) 0 ;
23658 wxString *result = 0 ;
23659 void *argp1 = 0 ;
23660 int res1 = 0 ;
23661 PyObject *swig_obj[1] ;
23662
23663 if (!args) SWIG_fail;
23664 swig_obj[0] = args;
23665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23666 if (!SWIG_IsOK(res1)) {
23667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23668 }
23669 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23670 {
23671 PyThreadState* __tstate = wxPyBeginAllowThreads();
23672 {
23673 wxString const &_result_ref = (arg1)->GetPrinterName();
23674 result = (wxString *) &_result_ref;
23675 }
23676 wxPyEndAllowThreads(__tstate);
23677 if (PyErr_Occurred()) SWIG_fail;
23678 }
23679 {
23680 #if wxUSE_UNICODE
23681 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23682 #else
23683 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23684 #endif
23685 }
23686 return resultobj;
23687 fail:
23688 return NULL;
23689 }
23690
23691
23692 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23693 PyObject *resultobj = 0;
23694 wxPrintData *arg1 = (wxPrintData *) 0 ;
23695 bool result;
23696 void *argp1 = 0 ;
23697 int res1 = 0 ;
23698 PyObject *swig_obj[1] ;
23699
23700 if (!args) SWIG_fail;
23701 swig_obj[0] = args;
23702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23703 if (!SWIG_IsOK(res1)) {
23704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23705 }
23706 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23707 {
23708 PyThreadState* __tstate = wxPyBeginAllowThreads();
23709 result = (bool)(arg1)->GetColour();
23710 wxPyEndAllowThreads(__tstate);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 {
23714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23715 }
23716 return resultobj;
23717 fail:
23718 return NULL;
23719 }
23720
23721
23722 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23723 PyObject *resultobj = 0;
23724 wxPrintData *arg1 = (wxPrintData *) 0 ;
23725 wxDuplexMode result;
23726 void *argp1 = 0 ;
23727 int res1 = 0 ;
23728 PyObject *swig_obj[1] ;
23729
23730 if (!args) SWIG_fail;
23731 swig_obj[0] = args;
23732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23733 if (!SWIG_IsOK(res1)) {
23734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23735 }
23736 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23737 {
23738 PyThreadState* __tstate = wxPyBeginAllowThreads();
23739 result = (wxDuplexMode)(arg1)->GetDuplex();
23740 wxPyEndAllowThreads(__tstate);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
23743 resultobj = SWIG_From_int(static_cast< int >(result));
23744 return resultobj;
23745 fail:
23746 return NULL;
23747 }
23748
23749
23750 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23751 PyObject *resultobj = 0;
23752 wxPrintData *arg1 = (wxPrintData *) 0 ;
23753 wxPaperSize result;
23754 void *argp1 = 0 ;
23755 int res1 = 0 ;
23756 PyObject *swig_obj[1] ;
23757
23758 if (!args) SWIG_fail;
23759 swig_obj[0] = args;
23760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23761 if (!SWIG_IsOK(res1)) {
23762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23763 }
23764 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23765 {
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 result = (wxPaperSize)(arg1)->GetPaperId();
23768 wxPyEndAllowThreads(__tstate);
23769 if (PyErr_Occurred()) SWIG_fail;
23770 }
23771 resultobj = SWIG_From_int(static_cast< int >(result));
23772 return resultobj;
23773 fail:
23774 return NULL;
23775 }
23776
23777
23778 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23779 PyObject *resultobj = 0;
23780 wxPrintData *arg1 = (wxPrintData *) 0 ;
23781 wxSize *result = 0 ;
23782 void *argp1 = 0 ;
23783 int res1 = 0 ;
23784 PyObject *swig_obj[1] ;
23785
23786 if (!args) SWIG_fail;
23787 swig_obj[0] = args;
23788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23789 if (!SWIG_IsOK(res1)) {
23790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23791 }
23792 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23793 {
23794 PyThreadState* __tstate = wxPyBeginAllowThreads();
23795 {
23796 wxSize const &_result_ref = (arg1)->GetPaperSize();
23797 result = (wxSize *) &_result_ref;
23798 }
23799 wxPyEndAllowThreads(__tstate);
23800 if (PyErr_Occurred()) SWIG_fail;
23801 }
23802 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23803 return resultobj;
23804 fail:
23805 return NULL;
23806 }
23807
23808
23809 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23810 PyObject *resultobj = 0;
23811 wxPrintData *arg1 = (wxPrintData *) 0 ;
23812 int result;
23813 void *argp1 = 0 ;
23814 int res1 = 0 ;
23815 PyObject *swig_obj[1] ;
23816
23817 if (!args) SWIG_fail;
23818 swig_obj[0] = args;
23819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23820 if (!SWIG_IsOK(res1)) {
23821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23822 }
23823 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23824 {
23825 PyThreadState* __tstate = wxPyBeginAllowThreads();
23826 result = (int)(arg1)->GetQuality();
23827 wxPyEndAllowThreads(__tstate);
23828 if (PyErr_Occurred()) SWIG_fail;
23829 }
23830 resultobj = SWIG_From_int(static_cast< int >(result));
23831 return resultobj;
23832 fail:
23833 return NULL;
23834 }
23835
23836
23837 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23838 PyObject *resultobj = 0;
23839 wxPrintData *arg1 = (wxPrintData *) 0 ;
23840 wxPrintBin result;
23841 void *argp1 = 0 ;
23842 int res1 = 0 ;
23843 PyObject *swig_obj[1] ;
23844
23845 if (!args) SWIG_fail;
23846 swig_obj[0] = args;
23847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23848 if (!SWIG_IsOK(res1)) {
23849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23850 }
23851 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23852 {
23853 PyThreadState* __tstate = wxPyBeginAllowThreads();
23854 result = (wxPrintBin)(arg1)->GetBin();
23855 wxPyEndAllowThreads(__tstate);
23856 if (PyErr_Occurred()) SWIG_fail;
23857 }
23858 resultobj = SWIG_From_int(static_cast< int >(result));
23859 return resultobj;
23860 fail:
23861 return NULL;
23862 }
23863
23864
23865 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23866 PyObject *resultobj = 0;
23867 wxPrintData *arg1 = (wxPrintData *) 0 ;
23868 wxPrintMode result;
23869 void *argp1 = 0 ;
23870 int res1 = 0 ;
23871 PyObject *swig_obj[1] ;
23872
23873 if (!args) SWIG_fail;
23874 swig_obj[0] = args;
23875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23876 if (!SWIG_IsOK(res1)) {
23877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23878 }
23879 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23880 {
23881 PyThreadState* __tstate = wxPyBeginAllowThreads();
23882 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23883 wxPyEndAllowThreads(__tstate);
23884 if (PyErr_Occurred()) SWIG_fail;
23885 }
23886 resultobj = SWIG_From_int(static_cast< int >(result));
23887 return resultobj;
23888 fail:
23889 return NULL;
23890 }
23891
23892
23893 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23894 PyObject *resultobj = 0;
23895 wxPrintData *arg1 = (wxPrintData *) 0 ;
23896 int arg2 ;
23897 void *argp1 = 0 ;
23898 int res1 = 0 ;
23899 int val2 ;
23900 int ecode2 = 0 ;
23901 PyObject * obj0 = 0 ;
23902 PyObject * obj1 = 0 ;
23903 char * kwnames[] = {
23904 (char *) "self",(char *) "v", NULL
23905 };
23906
23907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23909 if (!SWIG_IsOK(res1)) {
23910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23911 }
23912 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23913 ecode2 = SWIG_AsVal_int(obj1, &val2);
23914 if (!SWIG_IsOK(ecode2)) {
23915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23916 }
23917 arg2 = static_cast< int >(val2);
23918 {
23919 PyThreadState* __tstate = wxPyBeginAllowThreads();
23920 (arg1)->SetNoCopies(arg2);
23921 wxPyEndAllowThreads(__tstate);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 }
23924 resultobj = SWIG_Py_Void();
23925 return resultobj;
23926 fail:
23927 return NULL;
23928 }
23929
23930
23931 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23932 PyObject *resultobj = 0;
23933 wxPrintData *arg1 = (wxPrintData *) 0 ;
23934 bool arg2 ;
23935 void *argp1 = 0 ;
23936 int res1 = 0 ;
23937 bool val2 ;
23938 int ecode2 = 0 ;
23939 PyObject * obj0 = 0 ;
23940 PyObject * obj1 = 0 ;
23941 char * kwnames[] = {
23942 (char *) "self",(char *) "flag", NULL
23943 };
23944
23945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23947 if (!SWIG_IsOK(res1)) {
23948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23949 }
23950 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23951 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23952 if (!SWIG_IsOK(ecode2)) {
23953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23954 }
23955 arg2 = static_cast< bool >(val2);
23956 {
23957 PyThreadState* __tstate = wxPyBeginAllowThreads();
23958 (arg1)->SetCollate(arg2);
23959 wxPyEndAllowThreads(__tstate);
23960 if (PyErr_Occurred()) SWIG_fail;
23961 }
23962 resultobj = SWIG_Py_Void();
23963 return resultobj;
23964 fail:
23965 return NULL;
23966 }
23967
23968
23969 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23970 PyObject *resultobj = 0;
23971 wxPrintData *arg1 = (wxPrintData *) 0 ;
23972 int arg2 ;
23973 void *argp1 = 0 ;
23974 int res1 = 0 ;
23975 int val2 ;
23976 int ecode2 = 0 ;
23977 PyObject * obj0 = 0 ;
23978 PyObject * obj1 = 0 ;
23979 char * kwnames[] = {
23980 (char *) "self",(char *) "orient", NULL
23981 };
23982
23983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23985 if (!SWIG_IsOK(res1)) {
23986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23987 }
23988 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23989 ecode2 = SWIG_AsVal_int(obj1, &val2);
23990 if (!SWIG_IsOK(ecode2)) {
23991 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23992 }
23993 arg2 = static_cast< int >(val2);
23994 {
23995 PyThreadState* __tstate = wxPyBeginAllowThreads();
23996 (arg1)->SetOrientation(arg2);
23997 wxPyEndAllowThreads(__tstate);
23998 if (PyErr_Occurred()) SWIG_fail;
23999 }
24000 resultobj = SWIG_Py_Void();
24001 return resultobj;
24002 fail:
24003 return NULL;
24004 }
24005
24006
24007 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24008 PyObject *resultobj = 0;
24009 wxPrintData *arg1 = (wxPrintData *) 0 ;
24010 wxString *arg2 = 0 ;
24011 void *argp1 = 0 ;
24012 int res1 = 0 ;
24013 bool temp2 = false ;
24014 PyObject * obj0 = 0 ;
24015 PyObject * obj1 = 0 ;
24016 char * kwnames[] = {
24017 (char *) "self",(char *) "name", NULL
24018 };
24019
24020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24022 if (!SWIG_IsOK(res1)) {
24023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24024 }
24025 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24026 {
24027 arg2 = wxString_in_helper(obj1);
24028 if (arg2 == NULL) SWIG_fail;
24029 temp2 = true;
24030 }
24031 {
24032 PyThreadState* __tstate = wxPyBeginAllowThreads();
24033 (arg1)->SetPrinterName((wxString const &)*arg2);
24034 wxPyEndAllowThreads(__tstate);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 }
24037 resultobj = SWIG_Py_Void();
24038 {
24039 if (temp2)
24040 delete arg2;
24041 }
24042 return resultobj;
24043 fail:
24044 {
24045 if (temp2)
24046 delete arg2;
24047 }
24048 return NULL;
24049 }
24050
24051
24052 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24053 PyObject *resultobj = 0;
24054 wxPrintData *arg1 = (wxPrintData *) 0 ;
24055 bool arg2 ;
24056 void *argp1 = 0 ;
24057 int res1 = 0 ;
24058 bool val2 ;
24059 int ecode2 = 0 ;
24060 PyObject * obj0 = 0 ;
24061 PyObject * obj1 = 0 ;
24062 char * kwnames[] = {
24063 (char *) "self",(char *) "colour", NULL
24064 };
24065
24066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24068 if (!SWIG_IsOK(res1)) {
24069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24070 }
24071 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24072 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24073 if (!SWIG_IsOK(ecode2)) {
24074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24075 }
24076 arg2 = static_cast< bool >(val2);
24077 {
24078 PyThreadState* __tstate = wxPyBeginAllowThreads();
24079 (arg1)->SetColour(arg2);
24080 wxPyEndAllowThreads(__tstate);
24081 if (PyErr_Occurred()) SWIG_fail;
24082 }
24083 resultobj = SWIG_Py_Void();
24084 return resultobj;
24085 fail:
24086 return NULL;
24087 }
24088
24089
24090 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24091 PyObject *resultobj = 0;
24092 wxPrintData *arg1 = (wxPrintData *) 0 ;
24093 wxDuplexMode arg2 ;
24094 void *argp1 = 0 ;
24095 int res1 = 0 ;
24096 int val2 ;
24097 int ecode2 = 0 ;
24098 PyObject * obj0 = 0 ;
24099 PyObject * obj1 = 0 ;
24100 char * kwnames[] = {
24101 (char *) "self",(char *) "duplex", NULL
24102 };
24103
24104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24106 if (!SWIG_IsOK(res1)) {
24107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24108 }
24109 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24110 ecode2 = SWIG_AsVal_int(obj1, &val2);
24111 if (!SWIG_IsOK(ecode2)) {
24112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24113 }
24114 arg2 = static_cast< wxDuplexMode >(val2);
24115 {
24116 PyThreadState* __tstate = wxPyBeginAllowThreads();
24117 (arg1)->SetDuplex(arg2);
24118 wxPyEndAllowThreads(__tstate);
24119 if (PyErr_Occurred()) SWIG_fail;
24120 }
24121 resultobj = SWIG_Py_Void();
24122 return resultobj;
24123 fail:
24124 return NULL;
24125 }
24126
24127
24128 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24129 PyObject *resultobj = 0;
24130 wxPrintData *arg1 = (wxPrintData *) 0 ;
24131 wxPaperSize arg2 ;
24132 void *argp1 = 0 ;
24133 int res1 = 0 ;
24134 int val2 ;
24135 int ecode2 = 0 ;
24136 PyObject * obj0 = 0 ;
24137 PyObject * obj1 = 0 ;
24138 char * kwnames[] = {
24139 (char *) "self",(char *) "sizeId", NULL
24140 };
24141
24142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24144 if (!SWIG_IsOK(res1)) {
24145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24146 }
24147 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24148 ecode2 = SWIG_AsVal_int(obj1, &val2);
24149 if (!SWIG_IsOK(ecode2)) {
24150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24151 }
24152 arg2 = static_cast< wxPaperSize >(val2);
24153 {
24154 PyThreadState* __tstate = wxPyBeginAllowThreads();
24155 (arg1)->SetPaperId(arg2);
24156 wxPyEndAllowThreads(__tstate);
24157 if (PyErr_Occurred()) SWIG_fail;
24158 }
24159 resultobj = SWIG_Py_Void();
24160 return resultobj;
24161 fail:
24162 return NULL;
24163 }
24164
24165
24166 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24167 PyObject *resultobj = 0;
24168 wxPrintData *arg1 = (wxPrintData *) 0 ;
24169 wxSize *arg2 = 0 ;
24170 void *argp1 = 0 ;
24171 int res1 = 0 ;
24172 wxSize temp2 ;
24173 PyObject * obj0 = 0 ;
24174 PyObject * obj1 = 0 ;
24175 char * kwnames[] = {
24176 (char *) "self",(char *) "sz", NULL
24177 };
24178
24179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24181 if (!SWIG_IsOK(res1)) {
24182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24183 }
24184 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24185 {
24186 arg2 = &temp2;
24187 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24188 }
24189 {
24190 PyThreadState* __tstate = wxPyBeginAllowThreads();
24191 (arg1)->SetPaperSize((wxSize const &)*arg2);
24192 wxPyEndAllowThreads(__tstate);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
24195 resultobj = SWIG_Py_Void();
24196 return resultobj;
24197 fail:
24198 return NULL;
24199 }
24200
24201
24202 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24203 PyObject *resultobj = 0;
24204 wxPrintData *arg1 = (wxPrintData *) 0 ;
24205 int arg2 ;
24206 void *argp1 = 0 ;
24207 int res1 = 0 ;
24208 int val2 ;
24209 int ecode2 = 0 ;
24210 PyObject * obj0 = 0 ;
24211 PyObject * obj1 = 0 ;
24212 char * kwnames[] = {
24213 (char *) "self",(char *) "quality", NULL
24214 };
24215
24216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24218 if (!SWIG_IsOK(res1)) {
24219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24220 }
24221 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24222 ecode2 = SWIG_AsVal_int(obj1, &val2);
24223 if (!SWIG_IsOK(ecode2)) {
24224 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24225 }
24226 arg2 = static_cast< int >(val2);
24227 {
24228 PyThreadState* __tstate = wxPyBeginAllowThreads();
24229 (arg1)->SetQuality(arg2);
24230 wxPyEndAllowThreads(__tstate);
24231 if (PyErr_Occurred()) SWIG_fail;
24232 }
24233 resultobj = SWIG_Py_Void();
24234 return resultobj;
24235 fail:
24236 return NULL;
24237 }
24238
24239
24240 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24241 PyObject *resultobj = 0;
24242 wxPrintData *arg1 = (wxPrintData *) 0 ;
24243 wxPrintBin arg2 ;
24244 void *argp1 = 0 ;
24245 int res1 = 0 ;
24246 int val2 ;
24247 int ecode2 = 0 ;
24248 PyObject * obj0 = 0 ;
24249 PyObject * obj1 = 0 ;
24250 char * kwnames[] = {
24251 (char *) "self",(char *) "bin", NULL
24252 };
24253
24254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24256 if (!SWIG_IsOK(res1)) {
24257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24258 }
24259 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24260 ecode2 = SWIG_AsVal_int(obj1, &val2);
24261 if (!SWIG_IsOK(ecode2)) {
24262 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24263 }
24264 arg2 = static_cast< wxPrintBin >(val2);
24265 {
24266 PyThreadState* __tstate = wxPyBeginAllowThreads();
24267 (arg1)->SetBin(arg2);
24268 wxPyEndAllowThreads(__tstate);
24269 if (PyErr_Occurred()) SWIG_fail;
24270 }
24271 resultobj = SWIG_Py_Void();
24272 return resultobj;
24273 fail:
24274 return NULL;
24275 }
24276
24277
24278 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24279 PyObject *resultobj = 0;
24280 wxPrintData *arg1 = (wxPrintData *) 0 ;
24281 wxPrintMode arg2 ;
24282 void *argp1 = 0 ;
24283 int res1 = 0 ;
24284 int val2 ;
24285 int ecode2 = 0 ;
24286 PyObject * obj0 = 0 ;
24287 PyObject * obj1 = 0 ;
24288 char * kwnames[] = {
24289 (char *) "self",(char *) "printMode", NULL
24290 };
24291
24292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24294 if (!SWIG_IsOK(res1)) {
24295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24296 }
24297 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24298 ecode2 = SWIG_AsVal_int(obj1, &val2);
24299 if (!SWIG_IsOK(ecode2)) {
24300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24301 }
24302 arg2 = static_cast< wxPrintMode >(val2);
24303 {
24304 PyThreadState* __tstate = wxPyBeginAllowThreads();
24305 (arg1)->SetPrintMode(arg2);
24306 wxPyEndAllowThreads(__tstate);
24307 if (PyErr_Occurred()) SWIG_fail;
24308 }
24309 resultobj = SWIG_Py_Void();
24310 return resultobj;
24311 fail:
24312 return NULL;
24313 }
24314
24315
24316 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24317 PyObject *resultobj = 0;
24318 wxPrintData *arg1 = (wxPrintData *) 0 ;
24319 wxString result;
24320 void *argp1 = 0 ;
24321 int res1 = 0 ;
24322 PyObject *swig_obj[1] ;
24323
24324 if (!args) SWIG_fail;
24325 swig_obj[0] = args;
24326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24327 if (!SWIG_IsOK(res1)) {
24328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24329 }
24330 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24331 {
24332 PyThreadState* __tstate = wxPyBeginAllowThreads();
24333 result = ((wxPrintData const *)arg1)->GetFilename();
24334 wxPyEndAllowThreads(__tstate);
24335 if (PyErr_Occurred()) SWIG_fail;
24336 }
24337 {
24338 #if wxUSE_UNICODE
24339 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24340 #else
24341 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24342 #endif
24343 }
24344 return resultobj;
24345 fail:
24346 return NULL;
24347 }
24348
24349
24350 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24351 PyObject *resultobj = 0;
24352 wxPrintData *arg1 = (wxPrintData *) 0 ;
24353 wxString *arg2 = 0 ;
24354 void *argp1 = 0 ;
24355 int res1 = 0 ;
24356 bool temp2 = false ;
24357 PyObject * obj0 = 0 ;
24358 PyObject * obj1 = 0 ;
24359 char * kwnames[] = {
24360 (char *) "self",(char *) "filename", NULL
24361 };
24362
24363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24365 if (!SWIG_IsOK(res1)) {
24366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24367 }
24368 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24369 {
24370 arg2 = wxString_in_helper(obj1);
24371 if (arg2 == NULL) SWIG_fail;
24372 temp2 = true;
24373 }
24374 {
24375 PyThreadState* __tstate = wxPyBeginAllowThreads();
24376 (arg1)->SetFilename((wxString const &)*arg2);
24377 wxPyEndAllowThreads(__tstate);
24378 if (PyErr_Occurred()) SWIG_fail;
24379 }
24380 resultobj = SWIG_Py_Void();
24381 {
24382 if (temp2)
24383 delete arg2;
24384 }
24385 return resultobj;
24386 fail:
24387 {
24388 if (temp2)
24389 delete arg2;
24390 }
24391 return NULL;
24392 }
24393
24394
24395 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24396 PyObject *resultobj = 0;
24397 wxPrintData *arg1 = (wxPrintData *) 0 ;
24398 PyObject *result = 0 ;
24399 void *argp1 = 0 ;
24400 int res1 = 0 ;
24401 PyObject *swig_obj[1] ;
24402
24403 if (!args) SWIG_fail;
24404 swig_obj[0] = args;
24405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24406 if (!SWIG_IsOK(res1)) {
24407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24408 }
24409 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24410 {
24411 PyThreadState* __tstate = wxPyBeginAllowThreads();
24412 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24413 wxPyEndAllowThreads(__tstate);
24414 if (PyErr_Occurred()) SWIG_fail;
24415 }
24416 resultobj = result;
24417 return resultobj;
24418 fail:
24419 return NULL;
24420 }
24421
24422
24423 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24424 PyObject *resultobj = 0;
24425 wxPrintData *arg1 = (wxPrintData *) 0 ;
24426 PyObject *arg2 = (PyObject *) 0 ;
24427 void *argp1 = 0 ;
24428 int res1 = 0 ;
24429 PyObject * obj0 = 0 ;
24430 PyObject * obj1 = 0 ;
24431 char * kwnames[] = {
24432 (char *) "self",(char *) "data", NULL
24433 };
24434
24435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24437 if (!SWIG_IsOK(res1)) {
24438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24439 }
24440 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24441 arg2 = obj1;
24442 {
24443 PyThreadState* __tstate = wxPyBeginAllowThreads();
24444 wxPrintData_SetPrivData(arg1,arg2);
24445 wxPyEndAllowThreads(__tstate);
24446 if (PyErr_Occurred()) SWIG_fail;
24447 }
24448 resultobj = SWIG_Py_Void();
24449 return resultobj;
24450 fail:
24451 return NULL;
24452 }
24453
24454
24455 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24456 PyObject *obj;
24457 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24458 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24459 return SWIG_Py_Void();
24460 }
24461
24462 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24463 return SWIG_Python_InitShadowInstance(args);
24464 }
24465
24466 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24467 PyObject *resultobj = 0;
24468 wxPageSetupDialogData *result = 0 ;
24469
24470 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24471 {
24472 PyThreadState* __tstate = wxPyBeginAllowThreads();
24473 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24474 wxPyEndAllowThreads(__tstate);
24475 if (PyErr_Occurred()) SWIG_fail;
24476 }
24477 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24478 return resultobj;
24479 fail:
24480 return NULL;
24481 }
24482
24483
24484 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24485 PyObject *resultobj = 0;
24486 wxPageSetupDialogData *arg1 = 0 ;
24487 wxPageSetupDialogData *result = 0 ;
24488 void *argp1 = 0 ;
24489 int res1 = 0 ;
24490
24491 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24493 if (!SWIG_IsOK(res1)) {
24494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24495 }
24496 if (!argp1) {
24497 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24498 }
24499 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24500 {
24501 PyThreadState* __tstate = wxPyBeginAllowThreads();
24502 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24503 wxPyEndAllowThreads(__tstate);
24504 if (PyErr_Occurred()) SWIG_fail;
24505 }
24506 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24507 return resultobj;
24508 fail:
24509 return NULL;
24510 }
24511
24512
24513 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24514 PyObject *resultobj = 0;
24515 wxPrintData *arg1 = 0 ;
24516 wxPageSetupDialogData *result = 0 ;
24517 void *argp1 = 0 ;
24518 int res1 = 0 ;
24519
24520 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24522 if (!SWIG_IsOK(res1)) {
24523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24524 }
24525 if (!argp1) {
24526 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24527 }
24528 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24529 {
24530 PyThreadState* __tstate = wxPyBeginAllowThreads();
24531 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24532 wxPyEndAllowThreads(__tstate);
24533 if (PyErr_Occurred()) SWIG_fail;
24534 }
24535 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24536 return resultobj;
24537 fail:
24538 return NULL;
24539 }
24540
24541
24542 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24543 int argc;
24544 PyObject *argv[2];
24545
24546 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24547 --argc;
24548 if (argc == 0) {
24549 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24550 }
24551 if (argc == 1) {
24552 int _v = 0;
24553 {
24554 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24555 _v = SWIG_CheckState(res);
24556 }
24557 if (!_v) goto check_2;
24558 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24559 }
24560 check_2:
24561
24562 if (argc == 1) {
24563 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24564 }
24565
24566 fail:
24567 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24568 return NULL;
24569 }
24570
24571
24572 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24573 PyObject *resultobj = 0;
24574 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24575 void *argp1 = 0 ;
24576 int res1 = 0 ;
24577 PyObject *swig_obj[1] ;
24578
24579 if (!args) SWIG_fail;
24580 swig_obj[0] = args;
24581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24582 if (!SWIG_IsOK(res1)) {
24583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24584 }
24585 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24586 {
24587 PyThreadState* __tstate = wxPyBeginAllowThreads();
24588 delete arg1;
24589
24590 wxPyEndAllowThreads(__tstate);
24591 if (PyErr_Occurred()) SWIG_fail;
24592 }
24593 resultobj = SWIG_Py_Void();
24594 return resultobj;
24595 fail:
24596 return NULL;
24597 }
24598
24599
24600 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24601 PyObject *resultobj = 0;
24602 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24603 bool arg2 ;
24604 void *argp1 = 0 ;
24605 int res1 = 0 ;
24606 bool val2 ;
24607 int ecode2 = 0 ;
24608 PyObject * obj0 = 0 ;
24609 PyObject * obj1 = 0 ;
24610 char * kwnames[] = {
24611 (char *) "self",(char *) "flag", NULL
24612 };
24613
24614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24616 if (!SWIG_IsOK(res1)) {
24617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24618 }
24619 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24620 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24621 if (!SWIG_IsOK(ecode2)) {
24622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24623 }
24624 arg2 = static_cast< bool >(val2);
24625 {
24626 PyThreadState* __tstate = wxPyBeginAllowThreads();
24627 (arg1)->EnableHelp(arg2);
24628 wxPyEndAllowThreads(__tstate);
24629 if (PyErr_Occurred()) SWIG_fail;
24630 }
24631 resultobj = SWIG_Py_Void();
24632 return resultobj;
24633 fail:
24634 return NULL;
24635 }
24636
24637
24638 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24639 PyObject *resultobj = 0;
24640 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24641 bool arg2 ;
24642 void *argp1 = 0 ;
24643 int res1 = 0 ;
24644 bool val2 ;
24645 int ecode2 = 0 ;
24646 PyObject * obj0 = 0 ;
24647 PyObject * obj1 = 0 ;
24648 char * kwnames[] = {
24649 (char *) "self",(char *) "flag", NULL
24650 };
24651
24652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24654 if (!SWIG_IsOK(res1)) {
24655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24656 }
24657 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24658 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24659 if (!SWIG_IsOK(ecode2)) {
24660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24661 }
24662 arg2 = static_cast< bool >(val2);
24663 {
24664 PyThreadState* __tstate = wxPyBeginAllowThreads();
24665 (arg1)->EnableMargins(arg2);
24666 wxPyEndAllowThreads(__tstate);
24667 if (PyErr_Occurred()) SWIG_fail;
24668 }
24669 resultobj = SWIG_Py_Void();
24670 return resultobj;
24671 fail:
24672 return NULL;
24673 }
24674
24675
24676 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24677 PyObject *resultobj = 0;
24678 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24679 bool arg2 ;
24680 void *argp1 = 0 ;
24681 int res1 = 0 ;
24682 bool val2 ;
24683 int ecode2 = 0 ;
24684 PyObject * obj0 = 0 ;
24685 PyObject * obj1 = 0 ;
24686 char * kwnames[] = {
24687 (char *) "self",(char *) "flag", NULL
24688 };
24689
24690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24692 if (!SWIG_IsOK(res1)) {
24693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24694 }
24695 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24696 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24697 if (!SWIG_IsOK(ecode2)) {
24698 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24699 }
24700 arg2 = static_cast< bool >(val2);
24701 {
24702 PyThreadState* __tstate = wxPyBeginAllowThreads();
24703 (arg1)->EnableOrientation(arg2);
24704 wxPyEndAllowThreads(__tstate);
24705 if (PyErr_Occurred()) SWIG_fail;
24706 }
24707 resultobj = SWIG_Py_Void();
24708 return resultobj;
24709 fail:
24710 return NULL;
24711 }
24712
24713
24714 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24715 PyObject *resultobj = 0;
24716 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24717 bool arg2 ;
24718 void *argp1 = 0 ;
24719 int res1 = 0 ;
24720 bool val2 ;
24721 int ecode2 = 0 ;
24722 PyObject * obj0 = 0 ;
24723 PyObject * obj1 = 0 ;
24724 char * kwnames[] = {
24725 (char *) "self",(char *) "flag", NULL
24726 };
24727
24728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24730 if (!SWIG_IsOK(res1)) {
24731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24732 }
24733 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24734 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24735 if (!SWIG_IsOK(ecode2)) {
24736 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24737 }
24738 arg2 = static_cast< bool >(val2);
24739 {
24740 PyThreadState* __tstate = wxPyBeginAllowThreads();
24741 (arg1)->EnablePaper(arg2);
24742 wxPyEndAllowThreads(__tstate);
24743 if (PyErr_Occurred()) SWIG_fail;
24744 }
24745 resultobj = SWIG_Py_Void();
24746 return resultobj;
24747 fail:
24748 return NULL;
24749 }
24750
24751
24752 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24753 PyObject *resultobj = 0;
24754 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24755 bool arg2 ;
24756 void *argp1 = 0 ;
24757 int res1 = 0 ;
24758 bool val2 ;
24759 int ecode2 = 0 ;
24760 PyObject * obj0 = 0 ;
24761 PyObject * obj1 = 0 ;
24762 char * kwnames[] = {
24763 (char *) "self",(char *) "flag", NULL
24764 };
24765
24766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24768 if (!SWIG_IsOK(res1)) {
24769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24770 }
24771 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24772 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24773 if (!SWIG_IsOK(ecode2)) {
24774 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24775 }
24776 arg2 = static_cast< bool >(val2);
24777 {
24778 PyThreadState* __tstate = wxPyBeginAllowThreads();
24779 (arg1)->EnablePrinter(arg2);
24780 wxPyEndAllowThreads(__tstate);
24781 if (PyErr_Occurred()) SWIG_fail;
24782 }
24783 resultobj = SWIG_Py_Void();
24784 return resultobj;
24785 fail:
24786 return NULL;
24787 }
24788
24789
24790 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24791 PyObject *resultobj = 0;
24792 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24793 bool result;
24794 void *argp1 = 0 ;
24795 int res1 = 0 ;
24796 PyObject *swig_obj[1] ;
24797
24798 if (!args) SWIG_fail;
24799 swig_obj[0] = args;
24800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24801 if (!SWIG_IsOK(res1)) {
24802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24803 }
24804 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24805 {
24806 PyThreadState* __tstate = wxPyBeginAllowThreads();
24807 result = (bool)(arg1)->GetDefaultMinMargins();
24808 wxPyEndAllowThreads(__tstate);
24809 if (PyErr_Occurred()) SWIG_fail;
24810 }
24811 {
24812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24813 }
24814 return resultobj;
24815 fail:
24816 return NULL;
24817 }
24818
24819
24820 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24821 PyObject *resultobj = 0;
24822 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24823 bool result;
24824 void *argp1 = 0 ;
24825 int res1 = 0 ;
24826 PyObject *swig_obj[1] ;
24827
24828 if (!args) SWIG_fail;
24829 swig_obj[0] = args;
24830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24831 if (!SWIG_IsOK(res1)) {
24832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24833 }
24834 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24835 {
24836 PyThreadState* __tstate = wxPyBeginAllowThreads();
24837 result = (bool)(arg1)->GetEnableMargins();
24838 wxPyEndAllowThreads(__tstate);
24839 if (PyErr_Occurred()) SWIG_fail;
24840 }
24841 {
24842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24843 }
24844 return resultobj;
24845 fail:
24846 return NULL;
24847 }
24848
24849
24850 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24851 PyObject *resultobj = 0;
24852 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24853 bool result;
24854 void *argp1 = 0 ;
24855 int res1 = 0 ;
24856 PyObject *swig_obj[1] ;
24857
24858 if (!args) SWIG_fail;
24859 swig_obj[0] = args;
24860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24861 if (!SWIG_IsOK(res1)) {
24862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24863 }
24864 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24865 {
24866 PyThreadState* __tstate = wxPyBeginAllowThreads();
24867 result = (bool)(arg1)->GetEnableOrientation();
24868 wxPyEndAllowThreads(__tstate);
24869 if (PyErr_Occurred()) SWIG_fail;
24870 }
24871 {
24872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24873 }
24874 return resultobj;
24875 fail:
24876 return NULL;
24877 }
24878
24879
24880 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24881 PyObject *resultobj = 0;
24882 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24883 bool result;
24884 void *argp1 = 0 ;
24885 int res1 = 0 ;
24886 PyObject *swig_obj[1] ;
24887
24888 if (!args) SWIG_fail;
24889 swig_obj[0] = args;
24890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24891 if (!SWIG_IsOK(res1)) {
24892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24893 }
24894 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24895 {
24896 PyThreadState* __tstate = wxPyBeginAllowThreads();
24897 result = (bool)(arg1)->GetEnablePaper();
24898 wxPyEndAllowThreads(__tstate);
24899 if (PyErr_Occurred()) SWIG_fail;
24900 }
24901 {
24902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24903 }
24904 return resultobj;
24905 fail:
24906 return NULL;
24907 }
24908
24909
24910 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24911 PyObject *resultobj = 0;
24912 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24913 bool result;
24914 void *argp1 = 0 ;
24915 int res1 = 0 ;
24916 PyObject *swig_obj[1] ;
24917
24918 if (!args) SWIG_fail;
24919 swig_obj[0] = args;
24920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24921 if (!SWIG_IsOK(res1)) {
24922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24923 }
24924 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24925 {
24926 PyThreadState* __tstate = wxPyBeginAllowThreads();
24927 result = (bool)(arg1)->GetEnablePrinter();
24928 wxPyEndAllowThreads(__tstate);
24929 if (PyErr_Occurred()) SWIG_fail;
24930 }
24931 {
24932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24933 }
24934 return resultobj;
24935 fail:
24936 return NULL;
24937 }
24938
24939
24940 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24941 PyObject *resultobj = 0;
24942 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24943 bool result;
24944 void *argp1 = 0 ;
24945 int res1 = 0 ;
24946 PyObject *swig_obj[1] ;
24947
24948 if (!args) SWIG_fail;
24949 swig_obj[0] = args;
24950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24951 if (!SWIG_IsOK(res1)) {
24952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24953 }
24954 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24955 {
24956 PyThreadState* __tstate = wxPyBeginAllowThreads();
24957 result = (bool)(arg1)->GetEnableHelp();
24958 wxPyEndAllowThreads(__tstate);
24959 if (PyErr_Occurred()) SWIG_fail;
24960 }
24961 {
24962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24963 }
24964 return resultobj;
24965 fail:
24966 return NULL;
24967 }
24968
24969
24970 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24971 PyObject *resultobj = 0;
24972 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24973 bool result;
24974 void *argp1 = 0 ;
24975 int res1 = 0 ;
24976 PyObject *swig_obj[1] ;
24977
24978 if (!args) SWIG_fail;
24979 swig_obj[0] = args;
24980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24981 if (!SWIG_IsOK(res1)) {
24982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24983 }
24984 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24985 {
24986 PyThreadState* __tstate = wxPyBeginAllowThreads();
24987 result = (bool)(arg1)->GetDefaultInfo();
24988 wxPyEndAllowThreads(__tstate);
24989 if (PyErr_Occurred()) SWIG_fail;
24990 }
24991 {
24992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24993 }
24994 return resultobj;
24995 fail:
24996 return NULL;
24997 }
24998
24999
25000 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25001 PyObject *resultobj = 0;
25002 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25003 wxPoint result;
25004 void *argp1 = 0 ;
25005 int res1 = 0 ;
25006 PyObject *swig_obj[1] ;
25007
25008 if (!args) SWIG_fail;
25009 swig_obj[0] = args;
25010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25011 if (!SWIG_IsOK(res1)) {
25012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25013 }
25014 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25015 {
25016 PyThreadState* __tstate = wxPyBeginAllowThreads();
25017 result = (arg1)->GetMarginTopLeft();
25018 wxPyEndAllowThreads(__tstate);
25019 if (PyErr_Occurred()) SWIG_fail;
25020 }
25021 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25022 return resultobj;
25023 fail:
25024 return NULL;
25025 }
25026
25027
25028 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25029 PyObject *resultobj = 0;
25030 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25031 wxPoint result;
25032 void *argp1 = 0 ;
25033 int res1 = 0 ;
25034 PyObject *swig_obj[1] ;
25035
25036 if (!args) SWIG_fail;
25037 swig_obj[0] = args;
25038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25039 if (!SWIG_IsOK(res1)) {
25040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25041 }
25042 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25043 {
25044 PyThreadState* __tstate = wxPyBeginAllowThreads();
25045 result = (arg1)->GetMarginBottomRight();
25046 wxPyEndAllowThreads(__tstate);
25047 if (PyErr_Occurred()) SWIG_fail;
25048 }
25049 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25050 return resultobj;
25051 fail:
25052 return NULL;
25053 }
25054
25055
25056 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25057 PyObject *resultobj = 0;
25058 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25059 wxPoint result;
25060 void *argp1 = 0 ;
25061 int res1 = 0 ;
25062 PyObject *swig_obj[1] ;
25063
25064 if (!args) SWIG_fail;
25065 swig_obj[0] = args;
25066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25067 if (!SWIG_IsOK(res1)) {
25068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25069 }
25070 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25071 {
25072 PyThreadState* __tstate = wxPyBeginAllowThreads();
25073 result = (arg1)->GetMinMarginTopLeft();
25074 wxPyEndAllowThreads(__tstate);
25075 if (PyErr_Occurred()) SWIG_fail;
25076 }
25077 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25078 return resultobj;
25079 fail:
25080 return NULL;
25081 }
25082
25083
25084 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25085 PyObject *resultobj = 0;
25086 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25087 wxPoint result;
25088 void *argp1 = 0 ;
25089 int res1 = 0 ;
25090 PyObject *swig_obj[1] ;
25091
25092 if (!args) SWIG_fail;
25093 swig_obj[0] = args;
25094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25095 if (!SWIG_IsOK(res1)) {
25096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25097 }
25098 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25099 {
25100 PyThreadState* __tstate = wxPyBeginAllowThreads();
25101 result = (arg1)->GetMinMarginBottomRight();
25102 wxPyEndAllowThreads(__tstate);
25103 if (PyErr_Occurred()) SWIG_fail;
25104 }
25105 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25106 return resultobj;
25107 fail:
25108 return NULL;
25109 }
25110
25111
25112 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25113 PyObject *resultobj = 0;
25114 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25115 wxPaperSize result;
25116 void *argp1 = 0 ;
25117 int res1 = 0 ;
25118 PyObject *swig_obj[1] ;
25119
25120 if (!args) SWIG_fail;
25121 swig_obj[0] = args;
25122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25123 if (!SWIG_IsOK(res1)) {
25124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25125 }
25126 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25127 {
25128 PyThreadState* __tstate = wxPyBeginAllowThreads();
25129 result = (wxPaperSize)(arg1)->GetPaperId();
25130 wxPyEndAllowThreads(__tstate);
25131 if (PyErr_Occurred()) SWIG_fail;
25132 }
25133 resultobj = SWIG_From_int(static_cast< int >(result));
25134 return resultobj;
25135 fail:
25136 return NULL;
25137 }
25138
25139
25140 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25141 PyObject *resultobj = 0;
25142 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25143 wxSize result;
25144 void *argp1 = 0 ;
25145 int res1 = 0 ;
25146 PyObject *swig_obj[1] ;
25147
25148 if (!args) SWIG_fail;
25149 swig_obj[0] = args;
25150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25151 if (!SWIG_IsOK(res1)) {
25152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25153 }
25154 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25155 {
25156 PyThreadState* __tstate = wxPyBeginAllowThreads();
25157 result = (arg1)->GetPaperSize();
25158 wxPyEndAllowThreads(__tstate);
25159 if (PyErr_Occurred()) SWIG_fail;
25160 }
25161 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25162 return resultobj;
25163 fail:
25164 return NULL;
25165 }
25166
25167
25168 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25169 PyObject *resultobj = 0;
25170 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25171 wxPrintData *result = 0 ;
25172 void *argp1 = 0 ;
25173 int res1 = 0 ;
25174 PyObject *swig_obj[1] ;
25175
25176 if (!args) SWIG_fail;
25177 swig_obj[0] = args;
25178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25179 if (!SWIG_IsOK(res1)) {
25180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25181 }
25182 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25183 {
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
25185 {
25186 wxPrintData &_result_ref = (arg1)->GetPrintData();
25187 result = (wxPrintData *) &_result_ref;
25188 }
25189 wxPyEndAllowThreads(__tstate);
25190 if (PyErr_Occurred()) SWIG_fail;
25191 }
25192 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25193 return resultobj;
25194 fail:
25195 return NULL;
25196 }
25197
25198
25199 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25200 PyObject *resultobj = 0;
25201 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25202 bool result;
25203 void *argp1 = 0 ;
25204 int res1 = 0 ;
25205 PyObject *swig_obj[1] ;
25206
25207 if (!args) SWIG_fail;
25208 swig_obj[0] = args;
25209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25210 if (!SWIG_IsOK(res1)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25212 }
25213 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25214 {
25215 PyThreadState* __tstate = wxPyBeginAllowThreads();
25216 result = (bool)(arg1)->Ok();
25217 wxPyEndAllowThreads(__tstate);
25218 if (PyErr_Occurred()) SWIG_fail;
25219 }
25220 {
25221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25222 }
25223 return resultobj;
25224 fail:
25225 return NULL;
25226 }
25227
25228
25229 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25230 PyObject *resultobj = 0;
25231 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25232 bool arg2 ;
25233 void *argp1 = 0 ;
25234 int res1 = 0 ;
25235 bool val2 ;
25236 int ecode2 = 0 ;
25237 PyObject * obj0 = 0 ;
25238 PyObject * obj1 = 0 ;
25239 char * kwnames[] = {
25240 (char *) "self",(char *) "flag", NULL
25241 };
25242
25243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25245 if (!SWIG_IsOK(res1)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25247 }
25248 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25249 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25250 if (!SWIG_IsOK(ecode2)) {
25251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25252 }
25253 arg2 = static_cast< bool >(val2);
25254 {
25255 PyThreadState* __tstate = wxPyBeginAllowThreads();
25256 (arg1)->SetDefaultInfo(arg2);
25257 wxPyEndAllowThreads(__tstate);
25258 if (PyErr_Occurred()) SWIG_fail;
25259 }
25260 resultobj = SWIG_Py_Void();
25261 return resultobj;
25262 fail:
25263 return NULL;
25264 }
25265
25266
25267 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25268 PyObject *resultobj = 0;
25269 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25270 bool arg2 ;
25271 void *argp1 = 0 ;
25272 int res1 = 0 ;
25273 bool val2 ;
25274 int ecode2 = 0 ;
25275 PyObject * obj0 = 0 ;
25276 PyObject * obj1 = 0 ;
25277 char * kwnames[] = {
25278 (char *) "self",(char *) "flag", NULL
25279 };
25280
25281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25283 if (!SWIG_IsOK(res1)) {
25284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25285 }
25286 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25287 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25288 if (!SWIG_IsOK(ecode2)) {
25289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25290 }
25291 arg2 = static_cast< bool >(val2);
25292 {
25293 PyThreadState* __tstate = wxPyBeginAllowThreads();
25294 (arg1)->SetDefaultMinMargins(arg2);
25295 wxPyEndAllowThreads(__tstate);
25296 if (PyErr_Occurred()) SWIG_fail;
25297 }
25298 resultobj = SWIG_Py_Void();
25299 return resultobj;
25300 fail:
25301 return NULL;
25302 }
25303
25304
25305 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25306 PyObject *resultobj = 0;
25307 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25308 wxPoint *arg2 = 0 ;
25309 void *argp1 = 0 ;
25310 int res1 = 0 ;
25311 wxPoint temp2 ;
25312 PyObject * obj0 = 0 ;
25313 PyObject * obj1 = 0 ;
25314 char * kwnames[] = {
25315 (char *) "self",(char *) "pt", NULL
25316 };
25317
25318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25320 if (!SWIG_IsOK(res1)) {
25321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25322 }
25323 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25324 {
25325 arg2 = &temp2;
25326 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25327 }
25328 {
25329 PyThreadState* __tstate = wxPyBeginAllowThreads();
25330 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25331 wxPyEndAllowThreads(__tstate);
25332 if (PyErr_Occurred()) SWIG_fail;
25333 }
25334 resultobj = SWIG_Py_Void();
25335 return resultobj;
25336 fail:
25337 return NULL;
25338 }
25339
25340
25341 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25342 PyObject *resultobj = 0;
25343 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25344 wxPoint *arg2 = 0 ;
25345 void *argp1 = 0 ;
25346 int res1 = 0 ;
25347 wxPoint temp2 ;
25348 PyObject * obj0 = 0 ;
25349 PyObject * obj1 = 0 ;
25350 char * kwnames[] = {
25351 (char *) "self",(char *) "pt", NULL
25352 };
25353
25354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25356 if (!SWIG_IsOK(res1)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25358 }
25359 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25360 {
25361 arg2 = &temp2;
25362 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25363 }
25364 {
25365 PyThreadState* __tstate = wxPyBeginAllowThreads();
25366 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25367 wxPyEndAllowThreads(__tstate);
25368 if (PyErr_Occurred()) SWIG_fail;
25369 }
25370 resultobj = SWIG_Py_Void();
25371 return resultobj;
25372 fail:
25373 return NULL;
25374 }
25375
25376
25377 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25378 PyObject *resultobj = 0;
25379 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25380 wxPoint *arg2 = 0 ;
25381 void *argp1 = 0 ;
25382 int res1 = 0 ;
25383 wxPoint temp2 ;
25384 PyObject * obj0 = 0 ;
25385 PyObject * obj1 = 0 ;
25386 char * kwnames[] = {
25387 (char *) "self",(char *) "pt", NULL
25388 };
25389
25390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25392 if (!SWIG_IsOK(res1)) {
25393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25394 }
25395 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25396 {
25397 arg2 = &temp2;
25398 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25399 }
25400 {
25401 PyThreadState* __tstate = wxPyBeginAllowThreads();
25402 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 resultobj = SWIG_Py_Void();
25407 return resultobj;
25408 fail:
25409 return NULL;
25410 }
25411
25412
25413 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25414 PyObject *resultobj = 0;
25415 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25416 wxPoint *arg2 = 0 ;
25417 void *argp1 = 0 ;
25418 int res1 = 0 ;
25419 wxPoint temp2 ;
25420 PyObject * obj0 = 0 ;
25421 PyObject * obj1 = 0 ;
25422 char * kwnames[] = {
25423 (char *) "self",(char *) "pt", NULL
25424 };
25425
25426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25428 if (!SWIG_IsOK(res1)) {
25429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25430 }
25431 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25432 {
25433 arg2 = &temp2;
25434 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25435 }
25436 {
25437 PyThreadState* __tstate = wxPyBeginAllowThreads();
25438 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25439 wxPyEndAllowThreads(__tstate);
25440 if (PyErr_Occurred()) SWIG_fail;
25441 }
25442 resultobj = SWIG_Py_Void();
25443 return resultobj;
25444 fail:
25445 return NULL;
25446 }
25447
25448
25449 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25450 PyObject *resultobj = 0;
25451 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25452 wxPaperSize arg2 ;
25453 void *argp1 = 0 ;
25454 int res1 = 0 ;
25455 int val2 ;
25456 int ecode2 = 0 ;
25457 PyObject * obj0 = 0 ;
25458 PyObject * obj1 = 0 ;
25459 char * kwnames[] = {
25460 (char *) "self",(char *) "id", NULL
25461 };
25462
25463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25465 if (!SWIG_IsOK(res1)) {
25466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25467 }
25468 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25469 ecode2 = SWIG_AsVal_int(obj1, &val2);
25470 if (!SWIG_IsOK(ecode2)) {
25471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25472 }
25473 arg2 = static_cast< wxPaperSize >(val2);
25474 {
25475 PyThreadState* __tstate = wxPyBeginAllowThreads();
25476 (arg1)->SetPaperId(arg2);
25477 wxPyEndAllowThreads(__tstate);
25478 if (PyErr_Occurred()) SWIG_fail;
25479 }
25480 resultobj = SWIG_Py_Void();
25481 return resultobj;
25482 fail:
25483 return NULL;
25484 }
25485
25486
25487 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25488 PyObject *resultobj = 0;
25489 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25490 wxSize *arg2 = 0 ;
25491 void *argp1 = 0 ;
25492 int res1 = 0 ;
25493 wxSize temp2 ;
25494 PyObject * obj0 = 0 ;
25495 PyObject * obj1 = 0 ;
25496 char * kwnames[] = {
25497 (char *) "self",(char *) "size", NULL
25498 };
25499
25500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25502 if (!SWIG_IsOK(res1)) {
25503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25504 }
25505 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25506 {
25507 arg2 = &temp2;
25508 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25509 }
25510 {
25511 PyThreadState* __tstate = wxPyBeginAllowThreads();
25512 (arg1)->SetPaperSize((wxSize const &)*arg2);
25513 wxPyEndAllowThreads(__tstate);
25514 if (PyErr_Occurred()) SWIG_fail;
25515 }
25516 resultobj = SWIG_Py_Void();
25517 return resultobj;
25518 fail:
25519 return NULL;
25520 }
25521
25522
25523 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25524 PyObject *resultobj = 0;
25525 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25526 wxPrintData *arg2 = 0 ;
25527 void *argp1 = 0 ;
25528 int res1 = 0 ;
25529 void *argp2 = 0 ;
25530 int res2 = 0 ;
25531 PyObject * obj0 = 0 ;
25532 PyObject * obj1 = 0 ;
25533 char * kwnames[] = {
25534 (char *) "self",(char *) "printData", NULL
25535 };
25536
25537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25539 if (!SWIG_IsOK(res1)) {
25540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25541 }
25542 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25543 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25544 if (!SWIG_IsOK(res2)) {
25545 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25546 }
25547 if (!argp2) {
25548 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25549 }
25550 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25551 {
25552 PyThreadState* __tstate = wxPyBeginAllowThreads();
25553 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25554 wxPyEndAllowThreads(__tstate);
25555 if (PyErr_Occurred()) SWIG_fail;
25556 }
25557 resultobj = SWIG_Py_Void();
25558 return resultobj;
25559 fail:
25560 return NULL;
25561 }
25562
25563
25564 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25565 PyObject *resultobj = 0;
25566 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25567 void *argp1 = 0 ;
25568 int res1 = 0 ;
25569 PyObject *swig_obj[1] ;
25570
25571 if (!args) SWIG_fail;
25572 swig_obj[0] = args;
25573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25574 if (!SWIG_IsOK(res1)) {
25575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25576 }
25577 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25578 {
25579 PyThreadState* __tstate = wxPyBeginAllowThreads();
25580 (arg1)->CalculateIdFromPaperSize();
25581 wxPyEndAllowThreads(__tstate);
25582 if (PyErr_Occurred()) SWIG_fail;
25583 }
25584 resultobj = SWIG_Py_Void();
25585 return resultobj;
25586 fail:
25587 return NULL;
25588 }
25589
25590
25591 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25592 PyObject *resultobj = 0;
25593 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25594 void *argp1 = 0 ;
25595 int res1 = 0 ;
25596 PyObject *swig_obj[1] ;
25597
25598 if (!args) SWIG_fail;
25599 swig_obj[0] = args;
25600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25601 if (!SWIG_IsOK(res1)) {
25602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25603 }
25604 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25605 {
25606 PyThreadState* __tstate = wxPyBeginAllowThreads();
25607 (arg1)->CalculatePaperSizeFromId();
25608 wxPyEndAllowThreads(__tstate);
25609 if (PyErr_Occurred()) SWIG_fail;
25610 }
25611 resultobj = SWIG_Py_Void();
25612 return resultobj;
25613 fail:
25614 return NULL;
25615 }
25616
25617
25618 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25619 PyObject *obj;
25620 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25621 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25622 return SWIG_Py_Void();
25623 }
25624
25625 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25626 return SWIG_Python_InitShadowInstance(args);
25627 }
25628
25629 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25630 PyObject *resultobj = 0;
25631 wxWindow *arg1 = (wxWindow *) 0 ;
25632 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25633 wxPageSetupDialog *result = 0 ;
25634 void *argp1 = 0 ;
25635 int res1 = 0 ;
25636 void *argp2 = 0 ;
25637 int res2 = 0 ;
25638 PyObject * obj0 = 0 ;
25639 PyObject * obj1 = 0 ;
25640 char * kwnames[] = {
25641 (char *) "parent",(char *) "data", NULL
25642 };
25643
25644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25646 if (!SWIG_IsOK(res1)) {
25647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25648 }
25649 arg1 = reinterpret_cast< wxWindow * >(argp1);
25650 if (obj1) {
25651 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25652 if (!SWIG_IsOK(res2)) {
25653 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25654 }
25655 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25656 }
25657 {
25658 if (!wxPyCheckForApp()) SWIG_fail;
25659 PyThreadState* __tstate = wxPyBeginAllowThreads();
25660 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25661 wxPyEndAllowThreads(__tstate);
25662 if (PyErr_Occurred()) SWIG_fail;
25663 }
25664 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25665 return resultobj;
25666 fail:
25667 return NULL;
25668 }
25669
25670
25671 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25672 PyObject *resultobj = 0;
25673 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25674 void *argp1 = 0 ;
25675 int res1 = 0 ;
25676 PyObject *swig_obj[1] ;
25677
25678 if (!args) SWIG_fail;
25679 swig_obj[0] = args;
25680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25681 if (!SWIG_IsOK(res1)) {
25682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25683 }
25684 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25685 {
25686 PyThreadState* __tstate = wxPyBeginAllowThreads();
25687 delete arg1;
25688
25689 wxPyEndAllowThreads(__tstate);
25690 if (PyErr_Occurred()) SWIG_fail;
25691 }
25692 resultobj = SWIG_Py_Void();
25693 return resultobj;
25694 fail:
25695 return NULL;
25696 }
25697
25698
25699 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25700 PyObject *resultobj = 0;
25701 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25702 wxPageSetupDialogData *result = 0 ;
25703 void *argp1 = 0 ;
25704 int res1 = 0 ;
25705 PyObject *swig_obj[1] ;
25706
25707 if (!args) SWIG_fail;
25708 swig_obj[0] = args;
25709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25710 if (!SWIG_IsOK(res1)) {
25711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25712 }
25713 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25714 {
25715 PyThreadState* __tstate = wxPyBeginAllowThreads();
25716 {
25717 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25718 result = (wxPageSetupDialogData *) &_result_ref;
25719 }
25720 wxPyEndAllowThreads(__tstate);
25721 if (PyErr_Occurred()) SWIG_fail;
25722 }
25723 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25724 return resultobj;
25725 fail:
25726 return NULL;
25727 }
25728
25729
25730 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25731 PyObject *resultobj = 0;
25732 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25733 wxPageSetupDialogData *result = 0 ;
25734 void *argp1 = 0 ;
25735 int res1 = 0 ;
25736 PyObject *swig_obj[1] ;
25737
25738 if (!args) SWIG_fail;
25739 swig_obj[0] = args;
25740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25741 if (!SWIG_IsOK(res1)) {
25742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25743 }
25744 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25745 {
25746 PyThreadState* __tstate = wxPyBeginAllowThreads();
25747 {
25748 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25749 result = (wxPageSetupDialogData *) &_result_ref;
25750 }
25751 wxPyEndAllowThreads(__tstate);
25752 if (PyErr_Occurred()) SWIG_fail;
25753 }
25754 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25755 return resultobj;
25756 fail:
25757 return NULL;
25758 }
25759
25760
25761 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25762 PyObject *resultobj = 0;
25763 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25764 int result;
25765 void *argp1 = 0 ;
25766 int res1 = 0 ;
25767 PyObject *swig_obj[1] ;
25768
25769 if (!args) SWIG_fail;
25770 swig_obj[0] = args;
25771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25772 if (!SWIG_IsOK(res1)) {
25773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25774 }
25775 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25776 {
25777 PyThreadState* __tstate = wxPyBeginAllowThreads();
25778 result = (int)(arg1)->ShowModal();
25779 wxPyEndAllowThreads(__tstate);
25780 if (PyErr_Occurred()) SWIG_fail;
25781 }
25782 resultobj = SWIG_From_int(static_cast< int >(result));
25783 return resultobj;
25784 fail:
25785 return NULL;
25786 }
25787
25788
25789 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25790 PyObject *obj;
25791 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25792 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25793 return SWIG_Py_Void();
25794 }
25795
25796 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25797 return SWIG_Python_InitShadowInstance(args);
25798 }
25799
25800 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25801 PyObject *resultobj = 0;
25802 wxPrintDialogData *result = 0 ;
25803
25804 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25805 {
25806 PyThreadState* __tstate = wxPyBeginAllowThreads();
25807 result = (wxPrintDialogData *)new wxPrintDialogData();
25808 wxPyEndAllowThreads(__tstate);
25809 if (PyErr_Occurred()) SWIG_fail;
25810 }
25811 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25812 return resultobj;
25813 fail:
25814 return NULL;
25815 }
25816
25817
25818 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25819 PyObject *resultobj = 0;
25820 wxPrintData *arg1 = 0 ;
25821 wxPrintDialogData *result = 0 ;
25822 void *argp1 = 0 ;
25823 int res1 = 0 ;
25824
25825 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25827 if (!SWIG_IsOK(res1)) {
25828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25829 }
25830 if (!argp1) {
25831 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25832 }
25833 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25834 {
25835 PyThreadState* __tstate = wxPyBeginAllowThreads();
25836 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25837 wxPyEndAllowThreads(__tstate);
25838 if (PyErr_Occurred()) SWIG_fail;
25839 }
25840 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25841 return resultobj;
25842 fail:
25843 return NULL;
25844 }
25845
25846
25847 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25848 PyObject *resultobj = 0;
25849 wxPrintDialogData *arg1 = 0 ;
25850 wxPrintDialogData *result = 0 ;
25851 void *argp1 = 0 ;
25852 int res1 = 0 ;
25853
25854 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25856 if (!SWIG_IsOK(res1)) {
25857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25858 }
25859 if (!argp1) {
25860 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25861 }
25862 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25863 {
25864 PyThreadState* __tstate = wxPyBeginAllowThreads();
25865 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25866 wxPyEndAllowThreads(__tstate);
25867 if (PyErr_Occurred()) SWIG_fail;
25868 }
25869 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25870 return resultobj;
25871 fail:
25872 return NULL;
25873 }
25874
25875
25876 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25877 int argc;
25878 PyObject *argv[2];
25879
25880 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25881 --argc;
25882 if (argc == 0) {
25883 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25884 }
25885 if (argc == 1) {
25886 int _v = 0;
25887 {
25888 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25889 _v = SWIG_CheckState(res);
25890 }
25891 if (!_v) goto check_2;
25892 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25893 }
25894 check_2:
25895
25896 if (argc == 1) {
25897 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25898 }
25899
25900 fail:
25901 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25902 return NULL;
25903 }
25904
25905
25906 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25907 PyObject *resultobj = 0;
25908 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25909 void *argp1 = 0 ;
25910 int res1 = 0 ;
25911 PyObject *swig_obj[1] ;
25912
25913 if (!args) SWIG_fail;
25914 swig_obj[0] = args;
25915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25916 if (!SWIG_IsOK(res1)) {
25917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25918 }
25919 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25920 {
25921 PyThreadState* __tstate = wxPyBeginAllowThreads();
25922 delete arg1;
25923
25924 wxPyEndAllowThreads(__tstate);
25925 if (PyErr_Occurred()) SWIG_fail;
25926 }
25927 resultobj = SWIG_Py_Void();
25928 return resultobj;
25929 fail:
25930 return NULL;
25931 }
25932
25933
25934 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25935 PyObject *resultobj = 0;
25936 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25937 int result;
25938 void *argp1 = 0 ;
25939 int res1 = 0 ;
25940 PyObject *swig_obj[1] ;
25941
25942 if (!args) SWIG_fail;
25943 swig_obj[0] = args;
25944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25945 if (!SWIG_IsOK(res1)) {
25946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25947 }
25948 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25949 {
25950 PyThreadState* __tstate = wxPyBeginAllowThreads();
25951 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25952 wxPyEndAllowThreads(__tstate);
25953 if (PyErr_Occurred()) SWIG_fail;
25954 }
25955 resultobj = SWIG_From_int(static_cast< int >(result));
25956 return resultobj;
25957 fail:
25958 return NULL;
25959 }
25960
25961
25962 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25963 PyObject *resultobj = 0;
25964 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25965 int result;
25966 void *argp1 = 0 ;
25967 int res1 = 0 ;
25968 PyObject *swig_obj[1] ;
25969
25970 if (!args) SWIG_fail;
25971 swig_obj[0] = args;
25972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25973 if (!SWIG_IsOK(res1)) {
25974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25975 }
25976 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25977 {
25978 PyThreadState* __tstate = wxPyBeginAllowThreads();
25979 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25980 wxPyEndAllowThreads(__tstate);
25981 if (PyErr_Occurred()) SWIG_fail;
25982 }
25983 resultobj = SWIG_From_int(static_cast< int >(result));
25984 return resultobj;
25985 fail:
25986 return NULL;
25987 }
25988
25989
25990 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25991 PyObject *resultobj = 0;
25992 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25993 int result;
25994 void *argp1 = 0 ;
25995 int res1 = 0 ;
25996 PyObject *swig_obj[1] ;
25997
25998 if (!args) SWIG_fail;
25999 swig_obj[0] = args;
26000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26001 if (!SWIG_IsOK(res1)) {
26002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26003 }
26004 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26005 {
26006 PyThreadState* __tstate = wxPyBeginAllowThreads();
26007 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26008 wxPyEndAllowThreads(__tstate);
26009 if (PyErr_Occurred()) SWIG_fail;
26010 }
26011 resultobj = SWIG_From_int(static_cast< int >(result));
26012 return resultobj;
26013 fail:
26014 return NULL;
26015 }
26016
26017
26018 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26019 PyObject *resultobj = 0;
26020 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26021 int result;
26022 void *argp1 = 0 ;
26023 int res1 = 0 ;
26024 PyObject *swig_obj[1] ;
26025
26026 if (!args) SWIG_fail;
26027 swig_obj[0] = args;
26028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26029 if (!SWIG_IsOK(res1)) {
26030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26031 }
26032 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26033 {
26034 PyThreadState* __tstate = wxPyBeginAllowThreads();
26035 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26036 wxPyEndAllowThreads(__tstate);
26037 if (PyErr_Occurred()) SWIG_fail;
26038 }
26039 resultobj = SWIG_From_int(static_cast< int >(result));
26040 return resultobj;
26041 fail:
26042 return NULL;
26043 }
26044
26045
26046 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26047 PyObject *resultobj = 0;
26048 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26049 int result;
26050 void *argp1 = 0 ;
26051 int res1 = 0 ;
26052 PyObject *swig_obj[1] ;
26053
26054 if (!args) SWIG_fail;
26055 swig_obj[0] = args;
26056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26057 if (!SWIG_IsOK(res1)) {
26058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26059 }
26060 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26061 {
26062 PyThreadState* __tstate = wxPyBeginAllowThreads();
26063 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26064 wxPyEndAllowThreads(__tstate);
26065 if (PyErr_Occurred()) SWIG_fail;
26066 }
26067 resultobj = SWIG_From_int(static_cast< int >(result));
26068 return resultobj;
26069 fail:
26070 return NULL;
26071 }
26072
26073
26074 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26075 PyObject *resultobj = 0;
26076 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26077 bool result;
26078 void *argp1 = 0 ;
26079 int res1 = 0 ;
26080 PyObject *swig_obj[1] ;
26081
26082 if (!args) SWIG_fail;
26083 swig_obj[0] = args;
26084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26085 if (!SWIG_IsOK(res1)) {
26086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26087 }
26088 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26089 {
26090 PyThreadState* __tstate = wxPyBeginAllowThreads();
26091 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26092 wxPyEndAllowThreads(__tstate);
26093 if (PyErr_Occurred()) SWIG_fail;
26094 }
26095 {
26096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26097 }
26098 return resultobj;
26099 fail:
26100 return NULL;
26101 }
26102
26103
26104 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26105 PyObject *resultobj = 0;
26106 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26107 bool result;
26108 void *argp1 = 0 ;
26109 int res1 = 0 ;
26110 PyObject *swig_obj[1] ;
26111
26112 if (!args) SWIG_fail;
26113 swig_obj[0] = args;
26114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26115 if (!SWIG_IsOK(res1)) {
26116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26117 }
26118 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26119 {
26120 PyThreadState* __tstate = wxPyBeginAllowThreads();
26121 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26122 wxPyEndAllowThreads(__tstate);
26123 if (PyErr_Occurred()) SWIG_fail;
26124 }
26125 {
26126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26127 }
26128 return resultobj;
26129 fail:
26130 return NULL;
26131 }
26132
26133
26134 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26135 PyObject *resultobj = 0;
26136 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26137 bool result;
26138 void *argp1 = 0 ;
26139 int res1 = 0 ;
26140 PyObject *swig_obj[1] ;
26141
26142 if (!args) SWIG_fail;
26143 swig_obj[0] = args;
26144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26145 if (!SWIG_IsOK(res1)) {
26146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26147 }
26148 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26149 {
26150 PyThreadState* __tstate = wxPyBeginAllowThreads();
26151 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26152 wxPyEndAllowThreads(__tstate);
26153 if (PyErr_Occurred()) SWIG_fail;
26154 }
26155 {
26156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26157 }
26158 return resultobj;
26159 fail:
26160 return NULL;
26161 }
26162
26163
26164 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26165 PyObject *resultobj = 0;
26166 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26167 bool result;
26168 void *argp1 = 0 ;
26169 int res1 = 0 ;
26170 PyObject *swig_obj[1] ;
26171
26172 if (!args) SWIG_fail;
26173 swig_obj[0] = args;
26174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26175 if (!SWIG_IsOK(res1)) {
26176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26177 }
26178 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26179 {
26180 PyThreadState* __tstate = wxPyBeginAllowThreads();
26181 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26182 wxPyEndAllowThreads(__tstate);
26183 if (PyErr_Occurred()) SWIG_fail;
26184 }
26185 {
26186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26187 }
26188 return resultobj;
26189 fail:
26190 return NULL;
26191 }
26192
26193
26194 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26195 PyObject *resultobj = 0;
26196 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26197 int arg2 ;
26198 void *argp1 = 0 ;
26199 int res1 = 0 ;
26200 int val2 ;
26201 int ecode2 = 0 ;
26202 PyObject * obj0 = 0 ;
26203 PyObject * obj1 = 0 ;
26204 char * kwnames[] = {
26205 (char *) "self",(char *) "v", NULL
26206 };
26207
26208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26210 if (!SWIG_IsOK(res1)) {
26211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26212 }
26213 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26214 ecode2 = SWIG_AsVal_int(obj1, &val2);
26215 if (!SWIG_IsOK(ecode2)) {
26216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26217 }
26218 arg2 = static_cast< int >(val2);
26219 {
26220 PyThreadState* __tstate = wxPyBeginAllowThreads();
26221 (arg1)->SetFromPage(arg2);
26222 wxPyEndAllowThreads(__tstate);
26223 if (PyErr_Occurred()) SWIG_fail;
26224 }
26225 resultobj = SWIG_Py_Void();
26226 return resultobj;
26227 fail:
26228 return NULL;
26229 }
26230
26231
26232 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26233 PyObject *resultobj = 0;
26234 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26235 int arg2 ;
26236 void *argp1 = 0 ;
26237 int res1 = 0 ;
26238 int val2 ;
26239 int ecode2 = 0 ;
26240 PyObject * obj0 = 0 ;
26241 PyObject * obj1 = 0 ;
26242 char * kwnames[] = {
26243 (char *) "self",(char *) "v", NULL
26244 };
26245
26246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26248 if (!SWIG_IsOK(res1)) {
26249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26250 }
26251 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26252 ecode2 = SWIG_AsVal_int(obj1, &val2);
26253 if (!SWIG_IsOK(ecode2)) {
26254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26255 }
26256 arg2 = static_cast< int >(val2);
26257 {
26258 PyThreadState* __tstate = wxPyBeginAllowThreads();
26259 (arg1)->SetToPage(arg2);
26260 wxPyEndAllowThreads(__tstate);
26261 if (PyErr_Occurred()) SWIG_fail;
26262 }
26263 resultobj = SWIG_Py_Void();
26264 return resultobj;
26265 fail:
26266 return NULL;
26267 }
26268
26269
26270 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26271 PyObject *resultobj = 0;
26272 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26273 int arg2 ;
26274 void *argp1 = 0 ;
26275 int res1 = 0 ;
26276 int val2 ;
26277 int ecode2 = 0 ;
26278 PyObject * obj0 = 0 ;
26279 PyObject * obj1 = 0 ;
26280 char * kwnames[] = {
26281 (char *) "self",(char *) "v", NULL
26282 };
26283
26284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26286 if (!SWIG_IsOK(res1)) {
26287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26288 }
26289 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26290 ecode2 = SWIG_AsVal_int(obj1, &val2);
26291 if (!SWIG_IsOK(ecode2)) {
26292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26293 }
26294 arg2 = static_cast< int >(val2);
26295 {
26296 PyThreadState* __tstate = wxPyBeginAllowThreads();
26297 (arg1)->SetMinPage(arg2);
26298 wxPyEndAllowThreads(__tstate);
26299 if (PyErr_Occurred()) SWIG_fail;
26300 }
26301 resultobj = SWIG_Py_Void();
26302 return resultobj;
26303 fail:
26304 return NULL;
26305 }
26306
26307
26308 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26309 PyObject *resultobj = 0;
26310 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26311 int arg2 ;
26312 void *argp1 = 0 ;
26313 int res1 = 0 ;
26314 int val2 ;
26315 int ecode2 = 0 ;
26316 PyObject * obj0 = 0 ;
26317 PyObject * obj1 = 0 ;
26318 char * kwnames[] = {
26319 (char *) "self",(char *) "v", NULL
26320 };
26321
26322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26324 if (!SWIG_IsOK(res1)) {
26325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26326 }
26327 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26328 ecode2 = SWIG_AsVal_int(obj1, &val2);
26329 if (!SWIG_IsOK(ecode2)) {
26330 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26331 }
26332 arg2 = static_cast< int >(val2);
26333 {
26334 PyThreadState* __tstate = wxPyBeginAllowThreads();
26335 (arg1)->SetMaxPage(arg2);
26336 wxPyEndAllowThreads(__tstate);
26337 if (PyErr_Occurred()) SWIG_fail;
26338 }
26339 resultobj = SWIG_Py_Void();
26340 return resultobj;
26341 fail:
26342 return NULL;
26343 }
26344
26345
26346 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26347 PyObject *resultobj = 0;
26348 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26349 int arg2 ;
26350 void *argp1 = 0 ;
26351 int res1 = 0 ;
26352 int val2 ;
26353 int ecode2 = 0 ;
26354 PyObject * obj0 = 0 ;
26355 PyObject * obj1 = 0 ;
26356 char * kwnames[] = {
26357 (char *) "self",(char *) "v", NULL
26358 };
26359
26360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26362 if (!SWIG_IsOK(res1)) {
26363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26364 }
26365 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26366 ecode2 = SWIG_AsVal_int(obj1, &val2);
26367 if (!SWIG_IsOK(ecode2)) {
26368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26369 }
26370 arg2 = static_cast< int >(val2);
26371 {
26372 PyThreadState* __tstate = wxPyBeginAllowThreads();
26373 (arg1)->SetNoCopies(arg2);
26374 wxPyEndAllowThreads(__tstate);
26375 if (PyErr_Occurred()) SWIG_fail;
26376 }
26377 resultobj = SWIG_Py_Void();
26378 return resultobj;
26379 fail:
26380 return NULL;
26381 }
26382
26383
26384 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26385 PyObject *resultobj = 0;
26386 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26387 bool arg2 ;
26388 void *argp1 = 0 ;
26389 int res1 = 0 ;
26390 bool val2 ;
26391 int ecode2 = 0 ;
26392 PyObject * obj0 = 0 ;
26393 PyObject * obj1 = 0 ;
26394 char * kwnames[] = {
26395 (char *) "self",(char *) "flag", NULL
26396 };
26397
26398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26400 if (!SWIG_IsOK(res1)) {
26401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26402 }
26403 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26404 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26405 if (!SWIG_IsOK(ecode2)) {
26406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26407 }
26408 arg2 = static_cast< bool >(val2);
26409 {
26410 PyThreadState* __tstate = wxPyBeginAllowThreads();
26411 (arg1)->SetAllPages(arg2);
26412 wxPyEndAllowThreads(__tstate);
26413 if (PyErr_Occurred()) SWIG_fail;
26414 }
26415 resultobj = SWIG_Py_Void();
26416 return resultobj;
26417 fail:
26418 return NULL;
26419 }
26420
26421
26422 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26423 PyObject *resultobj = 0;
26424 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26425 bool arg2 ;
26426 void *argp1 = 0 ;
26427 int res1 = 0 ;
26428 bool val2 ;
26429 int ecode2 = 0 ;
26430 PyObject * obj0 = 0 ;
26431 PyObject * obj1 = 0 ;
26432 char * kwnames[] = {
26433 (char *) "self",(char *) "flag", NULL
26434 };
26435
26436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26438 if (!SWIG_IsOK(res1)) {
26439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26440 }
26441 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26442 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26443 if (!SWIG_IsOK(ecode2)) {
26444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26445 }
26446 arg2 = static_cast< bool >(val2);
26447 {
26448 PyThreadState* __tstate = wxPyBeginAllowThreads();
26449 (arg1)->SetSelection(arg2);
26450 wxPyEndAllowThreads(__tstate);
26451 if (PyErr_Occurred()) SWIG_fail;
26452 }
26453 resultobj = SWIG_Py_Void();
26454 return resultobj;
26455 fail:
26456 return NULL;
26457 }
26458
26459
26460 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26461 PyObject *resultobj = 0;
26462 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26463 bool arg2 ;
26464 void *argp1 = 0 ;
26465 int res1 = 0 ;
26466 bool val2 ;
26467 int ecode2 = 0 ;
26468 PyObject * obj0 = 0 ;
26469 PyObject * obj1 = 0 ;
26470 char * kwnames[] = {
26471 (char *) "self",(char *) "flag", NULL
26472 };
26473
26474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26476 if (!SWIG_IsOK(res1)) {
26477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26478 }
26479 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26480 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26481 if (!SWIG_IsOK(ecode2)) {
26482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26483 }
26484 arg2 = static_cast< bool >(val2);
26485 {
26486 PyThreadState* __tstate = wxPyBeginAllowThreads();
26487 (arg1)->SetCollate(arg2);
26488 wxPyEndAllowThreads(__tstate);
26489 if (PyErr_Occurred()) SWIG_fail;
26490 }
26491 resultobj = SWIG_Py_Void();
26492 return resultobj;
26493 fail:
26494 return NULL;
26495 }
26496
26497
26498 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26499 PyObject *resultobj = 0;
26500 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26501 bool arg2 ;
26502 void *argp1 = 0 ;
26503 int res1 = 0 ;
26504 bool val2 ;
26505 int ecode2 = 0 ;
26506 PyObject * obj0 = 0 ;
26507 PyObject * obj1 = 0 ;
26508 char * kwnames[] = {
26509 (char *) "self",(char *) "flag", NULL
26510 };
26511
26512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26514 if (!SWIG_IsOK(res1)) {
26515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26516 }
26517 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26518 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26519 if (!SWIG_IsOK(ecode2)) {
26520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26521 }
26522 arg2 = static_cast< bool >(val2);
26523 {
26524 PyThreadState* __tstate = wxPyBeginAllowThreads();
26525 (arg1)->SetPrintToFile(arg2);
26526 wxPyEndAllowThreads(__tstate);
26527 if (PyErr_Occurred()) SWIG_fail;
26528 }
26529 resultobj = SWIG_Py_Void();
26530 return resultobj;
26531 fail:
26532 return NULL;
26533 }
26534
26535
26536 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26537 PyObject *resultobj = 0;
26538 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26539 bool arg2 ;
26540 void *argp1 = 0 ;
26541 int res1 = 0 ;
26542 bool val2 ;
26543 int ecode2 = 0 ;
26544 PyObject * obj0 = 0 ;
26545 PyObject * obj1 = 0 ;
26546 char * kwnames[] = {
26547 (char *) "self",(char *) "flag", NULL
26548 };
26549
26550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26552 if (!SWIG_IsOK(res1)) {
26553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26554 }
26555 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26556 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26557 if (!SWIG_IsOK(ecode2)) {
26558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26559 }
26560 arg2 = static_cast< bool >(val2);
26561 {
26562 PyThreadState* __tstate = wxPyBeginAllowThreads();
26563 (arg1)->EnablePrintToFile(arg2);
26564 wxPyEndAllowThreads(__tstate);
26565 if (PyErr_Occurred()) SWIG_fail;
26566 }
26567 resultobj = SWIG_Py_Void();
26568 return resultobj;
26569 fail:
26570 return NULL;
26571 }
26572
26573
26574 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26575 PyObject *resultobj = 0;
26576 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26577 bool arg2 ;
26578 void *argp1 = 0 ;
26579 int res1 = 0 ;
26580 bool val2 ;
26581 int ecode2 = 0 ;
26582 PyObject * obj0 = 0 ;
26583 PyObject * obj1 = 0 ;
26584 char * kwnames[] = {
26585 (char *) "self",(char *) "flag", NULL
26586 };
26587
26588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26590 if (!SWIG_IsOK(res1)) {
26591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26592 }
26593 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26594 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26595 if (!SWIG_IsOK(ecode2)) {
26596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26597 }
26598 arg2 = static_cast< bool >(val2);
26599 {
26600 PyThreadState* __tstate = wxPyBeginAllowThreads();
26601 (arg1)->EnableSelection(arg2);
26602 wxPyEndAllowThreads(__tstate);
26603 if (PyErr_Occurred()) SWIG_fail;
26604 }
26605 resultobj = SWIG_Py_Void();
26606 return resultobj;
26607 fail:
26608 return NULL;
26609 }
26610
26611
26612 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26613 PyObject *resultobj = 0;
26614 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26615 bool arg2 ;
26616 void *argp1 = 0 ;
26617 int res1 = 0 ;
26618 bool val2 ;
26619 int ecode2 = 0 ;
26620 PyObject * obj0 = 0 ;
26621 PyObject * obj1 = 0 ;
26622 char * kwnames[] = {
26623 (char *) "self",(char *) "flag", NULL
26624 };
26625
26626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26628 if (!SWIG_IsOK(res1)) {
26629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26630 }
26631 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26632 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26633 if (!SWIG_IsOK(ecode2)) {
26634 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26635 }
26636 arg2 = static_cast< bool >(val2);
26637 {
26638 PyThreadState* __tstate = wxPyBeginAllowThreads();
26639 (arg1)->EnablePageNumbers(arg2);
26640 wxPyEndAllowThreads(__tstate);
26641 if (PyErr_Occurred()) SWIG_fail;
26642 }
26643 resultobj = SWIG_Py_Void();
26644 return resultobj;
26645 fail:
26646 return NULL;
26647 }
26648
26649
26650 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26651 PyObject *resultobj = 0;
26652 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26653 bool arg2 ;
26654 void *argp1 = 0 ;
26655 int res1 = 0 ;
26656 bool val2 ;
26657 int ecode2 = 0 ;
26658 PyObject * obj0 = 0 ;
26659 PyObject * obj1 = 0 ;
26660 char * kwnames[] = {
26661 (char *) "self",(char *) "flag", NULL
26662 };
26663
26664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26666 if (!SWIG_IsOK(res1)) {
26667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26668 }
26669 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26670 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26671 if (!SWIG_IsOK(ecode2)) {
26672 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26673 }
26674 arg2 = static_cast< bool >(val2);
26675 {
26676 PyThreadState* __tstate = wxPyBeginAllowThreads();
26677 (arg1)->EnableHelp(arg2);
26678 wxPyEndAllowThreads(__tstate);
26679 if (PyErr_Occurred()) SWIG_fail;
26680 }
26681 resultobj = SWIG_Py_Void();
26682 return resultobj;
26683 fail:
26684 return NULL;
26685 }
26686
26687
26688 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26689 PyObject *resultobj = 0;
26690 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26691 bool result;
26692 void *argp1 = 0 ;
26693 int res1 = 0 ;
26694 PyObject *swig_obj[1] ;
26695
26696 if (!args) SWIG_fail;
26697 swig_obj[0] = args;
26698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26699 if (!SWIG_IsOK(res1)) {
26700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26701 }
26702 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26703 {
26704 PyThreadState* __tstate = wxPyBeginAllowThreads();
26705 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26706 wxPyEndAllowThreads(__tstate);
26707 if (PyErr_Occurred()) SWIG_fail;
26708 }
26709 {
26710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26711 }
26712 return resultobj;
26713 fail:
26714 return NULL;
26715 }
26716
26717
26718 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26719 PyObject *resultobj = 0;
26720 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26721 bool result;
26722 void *argp1 = 0 ;
26723 int res1 = 0 ;
26724 PyObject *swig_obj[1] ;
26725
26726 if (!args) SWIG_fail;
26727 swig_obj[0] = args;
26728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26729 if (!SWIG_IsOK(res1)) {
26730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26731 }
26732 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26733 {
26734 PyThreadState* __tstate = wxPyBeginAllowThreads();
26735 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26736 wxPyEndAllowThreads(__tstate);
26737 if (PyErr_Occurred()) SWIG_fail;
26738 }
26739 {
26740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26741 }
26742 return resultobj;
26743 fail:
26744 return NULL;
26745 }
26746
26747
26748 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26749 PyObject *resultobj = 0;
26750 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26751 bool result;
26752 void *argp1 = 0 ;
26753 int res1 = 0 ;
26754 PyObject *swig_obj[1] ;
26755
26756 if (!args) SWIG_fail;
26757 swig_obj[0] = args;
26758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26759 if (!SWIG_IsOK(res1)) {
26760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26761 }
26762 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26763 {
26764 PyThreadState* __tstate = wxPyBeginAllowThreads();
26765 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26766 wxPyEndAllowThreads(__tstate);
26767 if (PyErr_Occurred()) SWIG_fail;
26768 }
26769 {
26770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26771 }
26772 return resultobj;
26773 fail:
26774 return NULL;
26775 }
26776
26777
26778 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26779 PyObject *resultobj = 0;
26780 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26781 bool result;
26782 void *argp1 = 0 ;
26783 int res1 = 0 ;
26784 PyObject *swig_obj[1] ;
26785
26786 if (!args) SWIG_fail;
26787 swig_obj[0] = args;
26788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26789 if (!SWIG_IsOK(res1)) {
26790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26791 }
26792 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26793 {
26794 PyThreadState* __tstate = wxPyBeginAllowThreads();
26795 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26796 wxPyEndAllowThreads(__tstate);
26797 if (PyErr_Occurred()) SWIG_fail;
26798 }
26799 {
26800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26801 }
26802 return resultobj;
26803 fail:
26804 return NULL;
26805 }
26806
26807
26808 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26809 PyObject *resultobj = 0;
26810 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26811 bool result;
26812 void *argp1 = 0 ;
26813 int res1 = 0 ;
26814 PyObject *swig_obj[1] ;
26815
26816 if (!args) SWIG_fail;
26817 swig_obj[0] = args;
26818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26819 if (!SWIG_IsOK(res1)) {
26820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26821 }
26822 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26823 {
26824 PyThreadState* __tstate = wxPyBeginAllowThreads();
26825 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26826 wxPyEndAllowThreads(__tstate);
26827 if (PyErr_Occurred()) SWIG_fail;
26828 }
26829 {
26830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26831 }
26832 return resultobj;
26833 fail:
26834 return NULL;
26835 }
26836
26837
26838 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26839 PyObject *resultobj = 0;
26840 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26841 wxPrintData *result = 0 ;
26842 void *argp1 = 0 ;
26843 int res1 = 0 ;
26844 PyObject *swig_obj[1] ;
26845
26846 if (!args) SWIG_fail;
26847 swig_obj[0] = args;
26848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26849 if (!SWIG_IsOK(res1)) {
26850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26851 }
26852 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26853 {
26854 PyThreadState* __tstate = wxPyBeginAllowThreads();
26855 {
26856 wxPrintData &_result_ref = (arg1)->GetPrintData();
26857 result = (wxPrintData *) &_result_ref;
26858 }
26859 wxPyEndAllowThreads(__tstate);
26860 if (PyErr_Occurred()) SWIG_fail;
26861 }
26862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26863 return resultobj;
26864 fail:
26865 return NULL;
26866 }
26867
26868
26869 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26870 PyObject *resultobj = 0;
26871 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26872 wxPrintData *arg2 = 0 ;
26873 void *argp1 = 0 ;
26874 int res1 = 0 ;
26875 void *argp2 = 0 ;
26876 int res2 = 0 ;
26877 PyObject * obj0 = 0 ;
26878 PyObject * obj1 = 0 ;
26879 char * kwnames[] = {
26880 (char *) "self",(char *) "printData", NULL
26881 };
26882
26883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26885 if (!SWIG_IsOK(res1)) {
26886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26887 }
26888 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26889 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26890 if (!SWIG_IsOK(res2)) {
26891 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26892 }
26893 if (!argp2) {
26894 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26895 }
26896 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26897 {
26898 PyThreadState* __tstate = wxPyBeginAllowThreads();
26899 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26900 wxPyEndAllowThreads(__tstate);
26901 if (PyErr_Occurred()) SWIG_fail;
26902 }
26903 resultobj = SWIG_Py_Void();
26904 return resultobj;
26905 fail:
26906 return NULL;
26907 }
26908
26909
26910 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26911 PyObject *obj;
26912 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26913 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26914 return SWIG_Py_Void();
26915 }
26916
26917 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26918 return SWIG_Python_InitShadowInstance(args);
26919 }
26920
26921 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26922 PyObject *resultobj = 0;
26923 wxWindow *arg1 = (wxWindow *) 0 ;
26924 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26925 wxPrintDialog *result = 0 ;
26926 void *argp1 = 0 ;
26927 int res1 = 0 ;
26928 void *argp2 = 0 ;
26929 int res2 = 0 ;
26930 PyObject * obj0 = 0 ;
26931 PyObject * obj1 = 0 ;
26932 char * kwnames[] = {
26933 (char *) "parent",(char *) "data", NULL
26934 };
26935
26936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26938 if (!SWIG_IsOK(res1)) {
26939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26940 }
26941 arg1 = reinterpret_cast< wxWindow * >(argp1);
26942 if (obj1) {
26943 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26944 if (!SWIG_IsOK(res2)) {
26945 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26946 }
26947 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26948 }
26949 {
26950 if (!wxPyCheckForApp()) SWIG_fail;
26951 PyThreadState* __tstate = wxPyBeginAllowThreads();
26952 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26953 wxPyEndAllowThreads(__tstate);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 }
26956 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26957 return resultobj;
26958 fail:
26959 return NULL;
26960 }
26961
26962
26963 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26964 PyObject *resultobj = 0;
26965 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26966 void *argp1 = 0 ;
26967 int res1 = 0 ;
26968 PyObject *swig_obj[1] ;
26969
26970 if (!args) SWIG_fail;
26971 swig_obj[0] = args;
26972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
26973 if (!SWIG_IsOK(res1)) {
26974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26975 }
26976 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26977 {
26978 PyThreadState* __tstate = wxPyBeginAllowThreads();
26979 delete arg1;
26980
26981 wxPyEndAllowThreads(__tstate);
26982 if (PyErr_Occurred()) SWIG_fail;
26983 }
26984 resultobj = SWIG_Py_Void();
26985 return resultobj;
26986 fail:
26987 return NULL;
26988 }
26989
26990
26991 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26992 PyObject *resultobj = 0;
26993 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26994 int result;
26995 void *argp1 = 0 ;
26996 int res1 = 0 ;
26997 PyObject *swig_obj[1] ;
26998
26999 if (!args) SWIG_fail;
27000 swig_obj[0] = args;
27001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27002 if (!SWIG_IsOK(res1)) {
27003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27004 }
27005 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27006 {
27007 PyThreadState* __tstate = wxPyBeginAllowThreads();
27008 result = (int)(arg1)->ShowModal();
27009 wxPyEndAllowThreads(__tstate);
27010 if (PyErr_Occurred()) SWIG_fail;
27011 }
27012 resultobj = SWIG_From_int(static_cast< int >(result));
27013 return resultobj;
27014 fail:
27015 return NULL;
27016 }
27017
27018
27019 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27020 PyObject *resultobj = 0;
27021 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27022 wxPrintDialogData *result = 0 ;
27023 void *argp1 = 0 ;
27024 int res1 = 0 ;
27025 PyObject *swig_obj[1] ;
27026
27027 if (!args) SWIG_fail;
27028 swig_obj[0] = args;
27029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27030 if (!SWIG_IsOK(res1)) {
27031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27032 }
27033 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27034 {
27035 PyThreadState* __tstate = wxPyBeginAllowThreads();
27036 {
27037 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27038 result = (wxPrintDialogData *) &_result_ref;
27039 }
27040 wxPyEndAllowThreads(__tstate);
27041 if (PyErr_Occurred()) SWIG_fail;
27042 }
27043 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27044 return resultobj;
27045 fail:
27046 return NULL;
27047 }
27048
27049
27050 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27051 PyObject *resultobj = 0;
27052 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27053 wxPrintData *result = 0 ;
27054 void *argp1 = 0 ;
27055 int res1 = 0 ;
27056 PyObject *swig_obj[1] ;
27057
27058 if (!args) SWIG_fail;
27059 swig_obj[0] = args;
27060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27061 if (!SWIG_IsOK(res1)) {
27062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27063 }
27064 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27065 {
27066 PyThreadState* __tstate = wxPyBeginAllowThreads();
27067 {
27068 wxPrintData &_result_ref = (arg1)->GetPrintData();
27069 result = (wxPrintData *) &_result_ref;
27070 }
27071 wxPyEndAllowThreads(__tstate);
27072 if (PyErr_Occurred()) SWIG_fail;
27073 }
27074 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27075 return resultobj;
27076 fail:
27077 return NULL;
27078 }
27079
27080
27081 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27082 PyObject *resultobj = 0;
27083 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27084 wxDC *result = 0 ;
27085 void *argp1 = 0 ;
27086 int res1 = 0 ;
27087 PyObject *swig_obj[1] ;
27088
27089 if (!args) SWIG_fail;
27090 swig_obj[0] = args;
27091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27092 if (!SWIG_IsOK(res1)) {
27093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27094 }
27095 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27096 {
27097 PyThreadState* __tstate = wxPyBeginAllowThreads();
27098 result = (wxDC *)(arg1)->GetPrintDC();
27099 wxPyEndAllowThreads(__tstate);
27100 if (PyErr_Occurred()) SWIG_fail;
27101 }
27102 {
27103 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27104 }
27105 return resultobj;
27106 fail:
27107 return NULL;
27108 }
27109
27110
27111 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27112 PyObject *obj;
27113 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27114 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27115 return SWIG_Py_Void();
27116 }
27117
27118 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27119 return SWIG_Python_InitShadowInstance(args);
27120 }
27121
27122 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27123 PyObject *resultobj = 0;
27124 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27125 wxPrinter *result = 0 ;
27126 void *argp1 = 0 ;
27127 int res1 = 0 ;
27128 PyObject * obj0 = 0 ;
27129 char * kwnames[] = {
27130 (char *) "data", NULL
27131 };
27132
27133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27134 if (obj0) {
27135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27136 if (!SWIG_IsOK(res1)) {
27137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27138 }
27139 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27140 }
27141 {
27142 if (!wxPyCheckForApp()) SWIG_fail;
27143 PyThreadState* __tstate = wxPyBeginAllowThreads();
27144 result = (wxPrinter *)new wxPrinter(arg1);
27145 wxPyEndAllowThreads(__tstate);
27146 if (PyErr_Occurred()) SWIG_fail;
27147 }
27148 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27149 return resultobj;
27150 fail:
27151 return NULL;
27152 }
27153
27154
27155 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27156 PyObject *resultobj = 0;
27157 wxPrinter *arg1 = (wxPrinter *) 0 ;
27158 void *argp1 = 0 ;
27159 int res1 = 0 ;
27160 PyObject *swig_obj[1] ;
27161
27162 if (!args) SWIG_fail;
27163 swig_obj[0] = args;
27164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27165 if (!SWIG_IsOK(res1)) {
27166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27167 }
27168 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27169 {
27170 PyThreadState* __tstate = wxPyBeginAllowThreads();
27171 delete arg1;
27172
27173 wxPyEndAllowThreads(__tstate);
27174 if (PyErr_Occurred()) SWIG_fail;
27175 }
27176 resultobj = SWIG_Py_Void();
27177 return resultobj;
27178 fail:
27179 return NULL;
27180 }
27181
27182
27183 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27184 PyObject *resultobj = 0;
27185 wxPrinter *arg1 = (wxPrinter *) 0 ;
27186 wxWindow *arg2 = (wxWindow *) 0 ;
27187 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27188 wxWindow *result = 0 ;
27189 void *argp1 = 0 ;
27190 int res1 = 0 ;
27191 void *argp2 = 0 ;
27192 int res2 = 0 ;
27193 void *argp3 = 0 ;
27194 int res3 = 0 ;
27195 PyObject * obj0 = 0 ;
27196 PyObject * obj1 = 0 ;
27197 PyObject * obj2 = 0 ;
27198 char * kwnames[] = {
27199 (char *) "self",(char *) "parent",(char *) "printout", NULL
27200 };
27201
27202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27204 if (!SWIG_IsOK(res1)) {
27205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27206 }
27207 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27208 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27209 if (!SWIG_IsOK(res2)) {
27210 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27211 }
27212 arg2 = reinterpret_cast< wxWindow * >(argp2);
27213 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27214 if (!SWIG_IsOK(res3)) {
27215 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27216 }
27217 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27218 {
27219 PyThreadState* __tstate = wxPyBeginAllowThreads();
27220 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27221 wxPyEndAllowThreads(__tstate);
27222 if (PyErr_Occurred()) SWIG_fail;
27223 }
27224 {
27225 resultobj = wxPyMake_wxObject(result, 0);
27226 }
27227 return resultobj;
27228 fail:
27229 return NULL;
27230 }
27231
27232
27233 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27234 PyObject *resultobj = 0;
27235 wxPrinter *arg1 = (wxPrinter *) 0 ;
27236 wxWindow *arg2 = (wxWindow *) 0 ;
27237 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27238 wxString *arg4 = 0 ;
27239 void *argp1 = 0 ;
27240 int res1 = 0 ;
27241 void *argp2 = 0 ;
27242 int res2 = 0 ;
27243 void *argp3 = 0 ;
27244 int res3 = 0 ;
27245 bool temp4 = false ;
27246 PyObject * obj0 = 0 ;
27247 PyObject * obj1 = 0 ;
27248 PyObject * obj2 = 0 ;
27249 PyObject * obj3 = 0 ;
27250 char * kwnames[] = {
27251 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27252 };
27253
27254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27256 if (!SWIG_IsOK(res1)) {
27257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27258 }
27259 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27260 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27261 if (!SWIG_IsOK(res2)) {
27262 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27263 }
27264 arg2 = reinterpret_cast< wxWindow * >(argp2);
27265 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27266 if (!SWIG_IsOK(res3)) {
27267 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27268 }
27269 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27270 {
27271 arg4 = wxString_in_helper(obj3);
27272 if (arg4 == NULL) SWIG_fail;
27273 temp4 = true;
27274 }
27275 {
27276 PyThreadState* __tstate = wxPyBeginAllowThreads();
27277 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27278 wxPyEndAllowThreads(__tstate);
27279 if (PyErr_Occurred()) SWIG_fail;
27280 }
27281 resultobj = SWIG_Py_Void();
27282 {
27283 if (temp4)
27284 delete arg4;
27285 }
27286 return resultobj;
27287 fail:
27288 {
27289 if (temp4)
27290 delete arg4;
27291 }
27292 return NULL;
27293 }
27294
27295
27296 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27297 PyObject *resultobj = 0;
27298 wxPrinter *arg1 = (wxPrinter *) 0 ;
27299 wxWindow *arg2 = (wxWindow *) 0 ;
27300 bool result;
27301 void *argp1 = 0 ;
27302 int res1 = 0 ;
27303 void *argp2 = 0 ;
27304 int res2 = 0 ;
27305 PyObject * obj0 = 0 ;
27306 PyObject * obj1 = 0 ;
27307 char * kwnames[] = {
27308 (char *) "self",(char *) "parent", NULL
27309 };
27310
27311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27313 if (!SWIG_IsOK(res1)) {
27314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27315 }
27316 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27317 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27318 if (!SWIG_IsOK(res2)) {
27319 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27320 }
27321 arg2 = reinterpret_cast< wxWindow * >(argp2);
27322 {
27323 PyThreadState* __tstate = wxPyBeginAllowThreads();
27324 result = (bool)(arg1)->Setup(arg2);
27325 wxPyEndAllowThreads(__tstate);
27326 if (PyErr_Occurred()) SWIG_fail;
27327 }
27328 {
27329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27330 }
27331 return resultobj;
27332 fail:
27333 return NULL;
27334 }
27335
27336
27337 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27338 PyObject *resultobj = 0;
27339 wxPrinter *arg1 = (wxPrinter *) 0 ;
27340 wxWindow *arg2 = (wxWindow *) 0 ;
27341 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27342 bool arg4 = (bool) true ;
27343 bool result;
27344 void *argp1 = 0 ;
27345 int res1 = 0 ;
27346 void *argp2 = 0 ;
27347 int res2 = 0 ;
27348 void *argp3 = 0 ;
27349 int res3 = 0 ;
27350 bool val4 ;
27351 int ecode4 = 0 ;
27352 PyObject * obj0 = 0 ;
27353 PyObject * obj1 = 0 ;
27354 PyObject * obj2 = 0 ;
27355 PyObject * obj3 = 0 ;
27356 char * kwnames[] = {
27357 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27358 };
27359
27360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27362 if (!SWIG_IsOK(res1)) {
27363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27364 }
27365 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27366 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27367 if (!SWIG_IsOK(res2)) {
27368 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27369 }
27370 arg2 = reinterpret_cast< wxWindow * >(argp2);
27371 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27372 if (!SWIG_IsOK(res3)) {
27373 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27374 }
27375 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27376 if (obj3) {
27377 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27378 if (!SWIG_IsOK(ecode4)) {
27379 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27380 }
27381 arg4 = static_cast< bool >(val4);
27382 }
27383 {
27384 PyThreadState* __tstate = wxPyBeginAllowThreads();
27385 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27386 wxPyEndAllowThreads(__tstate);
27387 if (PyErr_Occurred()) SWIG_fail;
27388 }
27389 {
27390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27391 }
27392 return resultobj;
27393 fail:
27394 return NULL;
27395 }
27396
27397
27398 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27399 PyObject *resultobj = 0;
27400 wxPrinter *arg1 = (wxPrinter *) 0 ;
27401 wxWindow *arg2 = (wxWindow *) 0 ;
27402 wxDC *result = 0 ;
27403 void *argp1 = 0 ;
27404 int res1 = 0 ;
27405 void *argp2 = 0 ;
27406 int res2 = 0 ;
27407 PyObject * obj0 = 0 ;
27408 PyObject * obj1 = 0 ;
27409 char * kwnames[] = {
27410 (char *) "self",(char *) "parent", NULL
27411 };
27412
27413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27415 if (!SWIG_IsOK(res1)) {
27416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27417 }
27418 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27419 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27420 if (!SWIG_IsOK(res2)) {
27421 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27422 }
27423 arg2 = reinterpret_cast< wxWindow * >(argp2);
27424 {
27425 PyThreadState* __tstate = wxPyBeginAllowThreads();
27426 result = (wxDC *)(arg1)->PrintDialog(arg2);
27427 wxPyEndAllowThreads(__tstate);
27428 if (PyErr_Occurred()) SWIG_fail;
27429 }
27430 {
27431 resultobj = wxPyMake_wxObject(result, (bool)0);
27432 }
27433 return resultobj;
27434 fail:
27435 return NULL;
27436 }
27437
27438
27439 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27440 PyObject *resultobj = 0;
27441 wxPrinter *arg1 = (wxPrinter *) 0 ;
27442 wxPrintDialogData *result = 0 ;
27443 void *argp1 = 0 ;
27444 int res1 = 0 ;
27445 PyObject *swig_obj[1] ;
27446
27447 if (!args) SWIG_fail;
27448 swig_obj[0] = args;
27449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27450 if (!SWIG_IsOK(res1)) {
27451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27452 }
27453 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27454 {
27455 PyThreadState* __tstate = wxPyBeginAllowThreads();
27456 {
27457 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27458 result = (wxPrintDialogData *) &_result_ref;
27459 }
27460 wxPyEndAllowThreads(__tstate);
27461 if (PyErr_Occurred()) SWIG_fail;
27462 }
27463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27464 return resultobj;
27465 fail:
27466 return NULL;
27467 }
27468
27469
27470 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27471 PyObject *resultobj = 0;
27472 wxPrinter *arg1 = (wxPrinter *) 0 ;
27473 bool result;
27474 void *argp1 = 0 ;
27475 int res1 = 0 ;
27476 PyObject *swig_obj[1] ;
27477
27478 if (!args) SWIG_fail;
27479 swig_obj[0] = args;
27480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27481 if (!SWIG_IsOK(res1)) {
27482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27483 }
27484 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27485 {
27486 PyThreadState* __tstate = wxPyBeginAllowThreads();
27487 result = (bool)(arg1)->GetAbort();
27488 wxPyEndAllowThreads(__tstate);
27489 if (PyErr_Occurred()) SWIG_fail;
27490 }
27491 {
27492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27493 }
27494 return resultobj;
27495 fail:
27496 return NULL;
27497 }
27498
27499
27500 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27501 PyObject *resultobj = 0;
27502 wxPrinterError result;
27503
27504 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27505 {
27506 PyThreadState* __tstate = wxPyBeginAllowThreads();
27507 result = (wxPrinterError)wxPrinter::GetLastError();
27508 wxPyEndAllowThreads(__tstate);
27509 if (PyErr_Occurred()) SWIG_fail;
27510 }
27511 resultobj = SWIG_From_int(static_cast< int >(result));
27512 return resultobj;
27513 fail:
27514 return NULL;
27515 }
27516
27517
27518 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27519 PyObject *obj;
27520 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27521 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27522 return SWIG_Py_Void();
27523 }
27524
27525 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27526 return SWIG_Python_InitShadowInstance(args);
27527 }
27528
27529 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27530 PyObject *resultobj = 0;
27531 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27532 wxString *arg1 = (wxString *) &arg1_defvalue ;
27533 wxPyPrintout *result = 0 ;
27534 bool temp1 = false ;
27535 PyObject * obj0 = 0 ;
27536 char * kwnames[] = {
27537 (char *) "title", NULL
27538 };
27539
27540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27541 if (obj0) {
27542 {
27543 arg1 = wxString_in_helper(obj0);
27544 if (arg1 == NULL) SWIG_fail;
27545 temp1 = true;
27546 }
27547 }
27548 {
27549 if (!wxPyCheckForApp()) SWIG_fail;
27550 PyThreadState* __tstate = wxPyBeginAllowThreads();
27551 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27552 wxPyEndAllowThreads(__tstate);
27553 if (PyErr_Occurred()) SWIG_fail;
27554 }
27555 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27556 {
27557 if (temp1)
27558 delete arg1;
27559 }
27560 return resultobj;
27561 fail:
27562 {
27563 if (temp1)
27564 delete arg1;
27565 }
27566 return NULL;
27567 }
27568
27569
27570 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27571 PyObject *resultobj = 0;
27572 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27573 void *argp1 = 0 ;
27574 int res1 = 0 ;
27575 PyObject *swig_obj[1] ;
27576
27577 if (!args) SWIG_fail;
27578 swig_obj[0] = args;
27579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27580 if (!SWIG_IsOK(res1)) {
27581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27582 }
27583 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27584 {
27585 PyThreadState* __tstate = wxPyBeginAllowThreads();
27586 delete arg1;
27587
27588 wxPyEndAllowThreads(__tstate);
27589 if (PyErr_Occurred()) SWIG_fail;
27590 }
27591 resultobj = SWIG_Py_Void();
27592 return resultobj;
27593 fail:
27594 return NULL;
27595 }
27596
27597
27598 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27599 PyObject *resultobj = 0;
27600 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27601 PyObject *arg2 = (PyObject *) 0 ;
27602 PyObject *arg3 = (PyObject *) 0 ;
27603 void *argp1 = 0 ;
27604 int res1 = 0 ;
27605 PyObject * obj0 = 0 ;
27606 PyObject * obj1 = 0 ;
27607 PyObject * obj2 = 0 ;
27608 char * kwnames[] = {
27609 (char *) "self",(char *) "self",(char *) "_class", NULL
27610 };
27611
27612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27614 if (!SWIG_IsOK(res1)) {
27615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27616 }
27617 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27618 arg2 = obj1;
27619 arg3 = obj2;
27620 {
27621 PyThreadState* __tstate = wxPyBeginAllowThreads();
27622 (arg1)->_setCallbackInfo(arg2,arg3);
27623 wxPyEndAllowThreads(__tstate);
27624 if (PyErr_Occurred()) SWIG_fail;
27625 }
27626 resultobj = SWIG_Py_Void();
27627 return resultobj;
27628 fail:
27629 return NULL;
27630 }
27631
27632
27633 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27634 PyObject *resultobj = 0;
27635 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27636 wxString result;
27637 void *argp1 = 0 ;
27638 int res1 = 0 ;
27639 PyObject *swig_obj[1] ;
27640
27641 if (!args) SWIG_fail;
27642 swig_obj[0] = args;
27643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27644 if (!SWIG_IsOK(res1)) {
27645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27646 }
27647 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27648 {
27649 PyThreadState* __tstate = wxPyBeginAllowThreads();
27650 result = ((wxPyPrintout const *)arg1)->GetTitle();
27651 wxPyEndAllowThreads(__tstate);
27652 if (PyErr_Occurred()) SWIG_fail;
27653 }
27654 {
27655 #if wxUSE_UNICODE
27656 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27657 #else
27658 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27659 #endif
27660 }
27661 return resultobj;
27662 fail:
27663 return NULL;
27664 }
27665
27666
27667 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27668 PyObject *resultobj = 0;
27669 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27670 wxDC *result = 0 ;
27671 void *argp1 = 0 ;
27672 int res1 = 0 ;
27673 PyObject *swig_obj[1] ;
27674
27675 if (!args) SWIG_fail;
27676 swig_obj[0] = args;
27677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27678 if (!SWIG_IsOK(res1)) {
27679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27680 }
27681 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27682 {
27683 PyThreadState* __tstate = wxPyBeginAllowThreads();
27684 result = (wxDC *)(arg1)->GetDC();
27685 wxPyEndAllowThreads(__tstate);
27686 if (PyErr_Occurred()) SWIG_fail;
27687 }
27688 {
27689 resultobj = wxPyMake_wxObject(result, (bool)0);
27690 }
27691 return resultobj;
27692 fail:
27693 return NULL;
27694 }
27695
27696
27697 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27698 PyObject *resultobj = 0;
27699 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27700 wxDC *arg2 = (wxDC *) 0 ;
27701 void *argp1 = 0 ;
27702 int res1 = 0 ;
27703 void *argp2 = 0 ;
27704 int res2 = 0 ;
27705 PyObject * obj0 = 0 ;
27706 PyObject * obj1 = 0 ;
27707 char * kwnames[] = {
27708 (char *) "self",(char *) "dc", NULL
27709 };
27710
27711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27713 if (!SWIG_IsOK(res1)) {
27714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27715 }
27716 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27717 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27718 if (!SWIG_IsOK(res2)) {
27719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27720 }
27721 arg2 = reinterpret_cast< wxDC * >(argp2);
27722 {
27723 PyThreadState* __tstate = wxPyBeginAllowThreads();
27724 (arg1)->SetDC(arg2);
27725 wxPyEndAllowThreads(__tstate);
27726 if (PyErr_Occurred()) SWIG_fail;
27727 }
27728 resultobj = SWIG_Py_Void();
27729 return resultobj;
27730 fail:
27731 return NULL;
27732 }
27733
27734
27735 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27736 PyObject *resultobj = 0;
27737 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27738 int arg2 ;
27739 int arg3 ;
27740 void *argp1 = 0 ;
27741 int res1 = 0 ;
27742 int val2 ;
27743 int ecode2 = 0 ;
27744 int val3 ;
27745 int ecode3 = 0 ;
27746 PyObject * obj0 = 0 ;
27747 PyObject * obj1 = 0 ;
27748 PyObject * obj2 = 0 ;
27749 char * kwnames[] = {
27750 (char *) "self",(char *) "w",(char *) "h", NULL
27751 };
27752
27753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27755 if (!SWIG_IsOK(res1)) {
27756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27757 }
27758 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27759 ecode2 = SWIG_AsVal_int(obj1, &val2);
27760 if (!SWIG_IsOK(ecode2)) {
27761 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27762 }
27763 arg2 = static_cast< int >(val2);
27764 ecode3 = SWIG_AsVal_int(obj2, &val3);
27765 if (!SWIG_IsOK(ecode3)) {
27766 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27767 }
27768 arg3 = static_cast< int >(val3);
27769 {
27770 PyThreadState* __tstate = wxPyBeginAllowThreads();
27771 (arg1)->SetPageSizePixels(arg2,arg3);
27772 wxPyEndAllowThreads(__tstate);
27773 if (PyErr_Occurred()) SWIG_fail;
27774 }
27775 resultobj = SWIG_Py_Void();
27776 return resultobj;
27777 fail:
27778 return NULL;
27779 }
27780
27781
27782 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27783 PyObject *resultobj = 0;
27784 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27785 int *arg2 = (int *) 0 ;
27786 int *arg3 = (int *) 0 ;
27787 void *argp1 = 0 ;
27788 int res1 = 0 ;
27789 int temp2 ;
27790 int res2 = SWIG_TMPOBJ ;
27791 int temp3 ;
27792 int res3 = SWIG_TMPOBJ ;
27793 PyObject *swig_obj[1] ;
27794
27795 arg2 = &temp2;
27796 arg3 = &temp3;
27797 if (!args) SWIG_fail;
27798 swig_obj[0] = args;
27799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27800 if (!SWIG_IsOK(res1)) {
27801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27802 }
27803 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27804 {
27805 PyThreadState* __tstate = wxPyBeginAllowThreads();
27806 (arg1)->GetPageSizePixels(arg2,arg3);
27807 wxPyEndAllowThreads(__tstate);
27808 if (PyErr_Occurred()) SWIG_fail;
27809 }
27810 resultobj = SWIG_Py_Void();
27811 if (SWIG_IsTmpObj(res2)) {
27812 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27813 } else {
27814 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27815 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27816 }
27817 if (SWIG_IsTmpObj(res3)) {
27818 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27819 } else {
27820 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27821 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27822 }
27823 return resultobj;
27824 fail:
27825 return NULL;
27826 }
27827
27828
27829 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27830 PyObject *resultobj = 0;
27831 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27832 int arg2 ;
27833 int arg3 ;
27834 void *argp1 = 0 ;
27835 int res1 = 0 ;
27836 int val2 ;
27837 int ecode2 = 0 ;
27838 int val3 ;
27839 int ecode3 = 0 ;
27840 PyObject * obj0 = 0 ;
27841 PyObject * obj1 = 0 ;
27842 PyObject * obj2 = 0 ;
27843 char * kwnames[] = {
27844 (char *) "self",(char *) "w",(char *) "h", NULL
27845 };
27846
27847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27849 if (!SWIG_IsOK(res1)) {
27850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27851 }
27852 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27853 ecode2 = SWIG_AsVal_int(obj1, &val2);
27854 if (!SWIG_IsOK(ecode2)) {
27855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27856 }
27857 arg2 = static_cast< int >(val2);
27858 ecode3 = SWIG_AsVal_int(obj2, &val3);
27859 if (!SWIG_IsOK(ecode3)) {
27860 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27861 }
27862 arg3 = static_cast< int >(val3);
27863 {
27864 PyThreadState* __tstate = wxPyBeginAllowThreads();
27865 (arg1)->SetPageSizeMM(arg2,arg3);
27866 wxPyEndAllowThreads(__tstate);
27867 if (PyErr_Occurred()) SWIG_fail;
27868 }
27869 resultobj = SWIG_Py_Void();
27870 return resultobj;
27871 fail:
27872 return NULL;
27873 }
27874
27875
27876 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27877 PyObject *resultobj = 0;
27878 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27879 int *arg2 = (int *) 0 ;
27880 int *arg3 = (int *) 0 ;
27881 void *argp1 = 0 ;
27882 int res1 = 0 ;
27883 int temp2 ;
27884 int res2 = SWIG_TMPOBJ ;
27885 int temp3 ;
27886 int res3 = SWIG_TMPOBJ ;
27887 PyObject *swig_obj[1] ;
27888
27889 arg2 = &temp2;
27890 arg3 = &temp3;
27891 if (!args) SWIG_fail;
27892 swig_obj[0] = args;
27893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27894 if (!SWIG_IsOK(res1)) {
27895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27896 }
27897 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27898 {
27899 PyThreadState* __tstate = wxPyBeginAllowThreads();
27900 (arg1)->GetPageSizeMM(arg2,arg3);
27901 wxPyEndAllowThreads(__tstate);
27902 if (PyErr_Occurred()) SWIG_fail;
27903 }
27904 resultobj = SWIG_Py_Void();
27905 if (SWIG_IsTmpObj(res2)) {
27906 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27907 } else {
27908 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27909 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27910 }
27911 if (SWIG_IsTmpObj(res3)) {
27912 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27913 } else {
27914 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27915 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27916 }
27917 return resultobj;
27918 fail:
27919 return NULL;
27920 }
27921
27922
27923 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27924 PyObject *resultobj = 0;
27925 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27926 int arg2 ;
27927 int arg3 ;
27928 void *argp1 = 0 ;
27929 int res1 = 0 ;
27930 int val2 ;
27931 int ecode2 = 0 ;
27932 int val3 ;
27933 int ecode3 = 0 ;
27934 PyObject * obj0 = 0 ;
27935 PyObject * obj1 = 0 ;
27936 PyObject * obj2 = 0 ;
27937 char * kwnames[] = {
27938 (char *) "self",(char *) "x",(char *) "y", NULL
27939 };
27940
27941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27943 if (!SWIG_IsOK(res1)) {
27944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27945 }
27946 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27947 ecode2 = SWIG_AsVal_int(obj1, &val2);
27948 if (!SWIG_IsOK(ecode2)) {
27949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27950 }
27951 arg2 = static_cast< int >(val2);
27952 ecode3 = SWIG_AsVal_int(obj2, &val3);
27953 if (!SWIG_IsOK(ecode3)) {
27954 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27955 }
27956 arg3 = static_cast< int >(val3);
27957 {
27958 PyThreadState* __tstate = wxPyBeginAllowThreads();
27959 (arg1)->SetPPIScreen(arg2,arg3);
27960 wxPyEndAllowThreads(__tstate);
27961 if (PyErr_Occurred()) SWIG_fail;
27962 }
27963 resultobj = SWIG_Py_Void();
27964 return resultobj;
27965 fail:
27966 return NULL;
27967 }
27968
27969
27970 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27971 PyObject *resultobj = 0;
27972 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27973 int *arg2 = (int *) 0 ;
27974 int *arg3 = (int *) 0 ;
27975 void *argp1 = 0 ;
27976 int res1 = 0 ;
27977 int temp2 ;
27978 int res2 = SWIG_TMPOBJ ;
27979 int temp3 ;
27980 int res3 = SWIG_TMPOBJ ;
27981 PyObject *swig_obj[1] ;
27982
27983 arg2 = &temp2;
27984 arg3 = &temp3;
27985 if (!args) SWIG_fail;
27986 swig_obj[0] = args;
27987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27988 if (!SWIG_IsOK(res1)) {
27989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27990 }
27991 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27992 {
27993 PyThreadState* __tstate = wxPyBeginAllowThreads();
27994 (arg1)->GetPPIScreen(arg2,arg3);
27995 wxPyEndAllowThreads(__tstate);
27996 if (PyErr_Occurred()) SWIG_fail;
27997 }
27998 resultobj = SWIG_Py_Void();
27999 if (SWIG_IsTmpObj(res2)) {
28000 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28001 } else {
28002 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28003 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28004 }
28005 if (SWIG_IsTmpObj(res3)) {
28006 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28007 } else {
28008 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28009 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28010 }
28011 return resultobj;
28012 fail:
28013 return NULL;
28014 }
28015
28016
28017 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28018 PyObject *resultobj = 0;
28019 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28020 int arg2 ;
28021 int arg3 ;
28022 void *argp1 = 0 ;
28023 int res1 = 0 ;
28024 int val2 ;
28025 int ecode2 = 0 ;
28026 int val3 ;
28027 int ecode3 = 0 ;
28028 PyObject * obj0 = 0 ;
28029 PyObject * obj1 = 0 ;
28030 PyObject * obj2 = 0 ;
28031 char * kwnames[] = {
28032 (char *) "self",(char *) "x",(char *) "y", NULL
28033 };
28034
28035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28037 if (!SWIG_IsOK(res1)) {
28038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28039 }
28040 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28041 ecode2 = SWIG_AsVal_int(obj1, &val2);
28042 if (!SWIG_IsOK(ecode2)) {
28043 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28044 }
28045 arg2 = static_cast< int >(val2);
28046 ecode3 = SWIG_AsVal_int(obj2, &val3);
28047 if (!SWIG_IsOK(ecode3)) {
28048 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28049 }
28050 arg3 = static_cast< int >(val3);
28051 {
28052 PyThreadState* __tstate = wxPyBeginAllowThreads();
28053 (arg1)->SetPPIPrinter(arg2,arg3);
28054 wxPyEndAllowThreads(__tstate);
28055 if (PyErr_Occurred()) SWIG_fail;
28056 }
28057 resultobj = SWIG_Py_Void();
28058 return resultobj;
28059 fail:
28060 return NULL;
28061 }
28062
28063
28064 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28065 PyObject *resultobj = 0;
28066 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28067 int *arg2 = (int *) 0 ;
28068 int *arg3 = (int *) 0 ;
28069 void *argp1 = 0 ;
28070 int res1 = 0 ;
28071 int temp2 ;
28072 int res2 = SWIG_TMPOBJ ;
28073 int temp3 ;
28074 int res3 = SWIG_TMPOBJ ;
28075 PyObject *swig_obj[1] ;
28076
28077 arg2 = &temp2;
28078 arg3 = &temp3;
28079 if (!args) SWIG_fail;
28080 swig_obj[0] = args;
28081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28082 if (!SWIG_IsOK(res1)) {
28083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28084 }
28085 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28086 {
28087 PyThreadState* __tstate = wxPyBeginAllowThreads();
28088 (arg1)->GetPPIPrinter(arg2,arg3);
28089 wxPyEndAllowThreads(__tstate);
28090 if (PyErr_Occurred()) SWIG_fail;
28091 }
28092 resultobj = SWIG_Py_Void();
28093 if (SWIG_IsTmpObj(res2)) {
28094 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28095 } else {
28096 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28097 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28098 }
28099 if (SWIG_IsTmpObj(res3)) {
28100 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28101 } else {
28102 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28103 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28104 }
28105 return resultobj;
28106 fail:
28107 return NULL;
28108 }
28109
28110
28111 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28112 PyObject *resultobj = 0;
28113 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28114 bool result;
28115 void *argp1 = 0 ;
28116 int res1 = 0 ;
28117 PyObject *swig_obj[1] ;
28118
28119 if (!args) SWIG_fail;
28120 swig_obj[0] = args;
28121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28122 if (!SWIG_IsOK(res1)) {
28123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28124 }
28125 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28126 {
28127 PyThreadState* __tstate = wxPyBeginAllowThreads();
28128 result = (bool)(arg1)->IsPreview();
28129 wxPyEndAllowThreads(__tstate);
28130 if (PyErr_Occurred()) SWIG_fail;
28131 }
28132 {
28133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28134 }
28135 return resultobj;
28136 fail:
28137 return NULL;
28138 }
28139
28140
28141 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28142 PyObject *resultobj = 0;
28143 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28144 bool arg2 ;
28145 void *argp1 = 0 ;
28146 int res1 = 0 ;
28147 bool val2 ;
28148 int ecode2 = 0 ;
28149 PyObject * obj0 = 0 ;
28150 PyObject * obj1 = 0 ;
28151 char * kwnames[] = {
28152 (char *) "self",(char *) "p", NULL
28153 };
28154
28155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28157 if (!SWIG_IsOK(res1)) {
28158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28159 }
28160 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28161 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28162 if (!SWIG_IsOK(ecode2)) {
28163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28164 }
28165 arg2 = static_cast< bool >(val2);
28166 {
28167 PyThreadState* __tstate = wxPyBeginAllowThreads();
28168 (arg1)->SetIsPreview(arg2);
28169 wxPyEndAllowThreads(__tstate);
28170 if (PyErr_Occurred()) SWIG_fail;
28171 }
28172 resultobj = SWIG_Py_Void();
28173 return resultobj;
28174 fail:
28175 return NULL;
28176 }
28177
28178
28179 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28180 PyObject *resultobj = 0;
28181 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28182 int arg2 ;
28183 int arg3 ;
28184 bool result;
28185 void *argp1 = 0 ;
28186 int res1 = 0 ;
28187 int val2 ;
28188 int ecode2 = 0 ;
28189 int val3 ;
28190 int ecode3 = 0 ;
28191 PyObject * obj0 = 0 ;
28192 PyObject * obj1 = 0 ;
28193 PyObject * obj2 = 0 ;
28194 char * kwnames[] = {
28195 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28196 };
28197
28198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28200 if (!SWIG_IsOK(res1)) {
28201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28202 }
28203 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28204 ecode2 = SWIG_AsVal_int(obj1, &val2);
28205 if (!SWIG_IsOK(ecode2)) {
28206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28207 }
28208 arg2 = static_cast< int >(val2);
28209 ecode3 = SWIG_AsVal_int(obj2, &val3);
28210 if (!SWIG_IsOK(ecode3)) {
28211 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28212 }
28213 arg3 = static_cast< int >(val3);
28214 {
28215 PyThreadState* __tstate = wxPyBeginAllowThreads();
28216 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28217 wxPyEndAllowThreads(__tstate);
28218 if (PyErr_Occurred()) SWIG_fail;
28219 }
28220 {
28221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28222 }
28223 return resultobj;
28224 fail:
28225 return NULL;
28226 }
28227
28228
28229 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28230 PyObject *resultobj = 0;
28231 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28232 void *argp1 = 0 ;
28233 int res1 = 0 ;
28234 PyObject *swig_obj[1] ;
28235
28236 if (!args) SWIG_fail;
28237 swig_obj[0] = args;
28238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28239 if (!SWIG_IsOK(res1)) {
28240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28241 }
28242 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28243 {
28244 PyThreadState* __tstate = wxPyBeginAllowThreads();
28245 (arg1)->OnEndDocument();
28246 wxPyEndAllowThreads(__tstate);
28247 if (PyErr_Occurred()) SWIG_fail;
28248 }
28249 resultobj = SWIG_Py_Void();
28250 return resultobj;
28251 fail:
28252 return NULL;
28253 }
28254
28255
28256 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28257 PyObject *resultobj = 0;
28258 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28259 void *argp1 = 0 ;
28260 int res1 = 0 ;
28261 PyObject *swig_obj[1] ;
28262
28263 if (!args) SWIG_fail;
28264 swig_obj[0] = args;
28265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28266 if (!SWIG_IsOK(res1)) {
28267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28268 }
28269 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28270 {
28271 PyThreadState* __tstate = wxPyBeginAllowThreads();
28272 (arg1)->OnBeginPrinting();
28273 wxPyEndAllowThreads(__tstate);
28274 if (PyErr_Occurred()) SWIG_fail;
28275 }
28276 resultobj = SWIG_Py_Void();
28277 return resultobj;
28278 fail:
28279 return NULL;
28280 }
28281
28282
28283 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28284 PyObject *resultobj = 0;
28285 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28286 void *argp1 = 0 ;
28287 int res1 = 0 ;
28288 PyObject *swig_obj[1] ;
28289
28290 if (!args) SWIG_fail;
28291 swig_obj[0] = args;
28292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28293 if (!SWIG_IsOK(res1)) {
28294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28295 }
28296 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28297 {
28298 PyThreadState* __tstate = wxPyBeginAllowThreads();
28299 (arg1)->OnEndPrinting();
28300 wxPyEndAllowThreads(__tstate);
28301 if (PyErr_Occurred()) SWIG_fail;
28302 }
28303 resultobj = SWIG_Py_Void();
28304 return resultobj;
28305 fail:
28306 return NULL;
28307 }
28308
28309
28310 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28311 PyObject *resultobj = 0;
28312 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28313 void *argp1 = 0 ;
28314 int res1 = 0 ;
28315 PyObject *swig_obj[1] ;
28316
28317 if (!args) SWIG_fail;
28318 swig_obj[0] = args;
28319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28320 if (!SWIG_IsOK(res1)) {
28321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28322 }
28323 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28324 {
28325 PyThreadState* __tstate = wxPyBeginAllowThreads();
28326 (arg1)->OnPreparePrinting();
28327 wxPyEndAllowThreads(__tstate);
28328 if (PyErr_Occurred()) SWIG_fail;
28329 }
28330 resultobj = SWIG_Py_Void();
28331 return resultobj;
28332 fail:
28333 return NULL;
28334 }
28335
28336
28337 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28338 PyObject *resultobj = 0;
28339 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28340 int arg2 ;
28341 bool result;
28342 void *argp1 = 0 ;
28343 int res1 = 0 ;
28344 int val2 ;
28345 int ecode2 = 0 ;
28346 PyObject * obj0 = 0 ;
28347 PyObject * obj1 = 0 ;
28348 char * kwnames[] = {
28349 (char *) "self",(char *) "page", NULL
28350 };
28351
28352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28354 if (!SWIG_IsOK(res1)) {
28355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28356 }
28357 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28358 ecode2 = SWIG_AsVal_int(obj1, &val2);
28359 if (!SWIG_IsOK(ecode2)) {
28360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28361 }
28362 arg2 = static_cast< int >(val2);
28363 {
28364 PyThreadState* __tstate = wxPyBeginAllowThreads();
28365 result = (bool)(arg1)->HasPage(arg2);
28366 wxPyEndAllowThreads(__tstate);
28367 if (PyErr_Occurred()) SWIG_fail;
28368 }
28369 {
28370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28371 }
28372 return resultobj;
28373 fail:
28374 return NULL;
28375 }
28376
28377
28378 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28379 PyObject *resultobj = 0;
28380 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28381 int *arg2 = (int *) 0 ;
28382 int *arg3 = (int *) 0 ;
28383 int *arg4 = (int *) 0 ;
28384 int *arg5 = (int *) 0 ;
28385 void *argp1 = 0 ;
28386 int res1 = 0 ;
28387 int temp2 ;
28388 int res2 = SWIG_TMPOBJ ;
28389 int temp3 ;
28390 int res3 = SWIG_TMPOBJ ;
28391 int temp4 ;
28392 int res4 = SWIG_TMPOBJ ;
28393 int temp5 ;
28394 int res5 = SWIG_TMPOBJ ;
28395 PyObject *swig_obj[1] ;
28396
28397 arg2 = &temp2;
28398 arg3 = &temp3;
28399 arg4 = &temp4;
28400 arg5 = &temp5;
28401 if (!args) SWIG_fail;
28402 swig_obj[0] = args;
28403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28404 if (!SWIG_IsOK(res1)) {
28405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28406 }
28407 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28408 {
28409 PyThreadState* __tstate = wxPyBeginAllowThreads();
28410 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28411 wxPyEndAllowThreads(__tstate);
28412 if (PyErr_Occurred()) SWIG_fail;
28413 }
28414 resultobj = SWIG_Py_Void();
28415 if (SWIG_IsTmpObj(res2)) {
28416 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28417 } else {
28418 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28419 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28420 }
28421 if (SWIG_IsTmpObj(res3)) {
28422 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28423 } else {
28424 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28425 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28426 }
28427 if (SWIG_IsTmpObj(res4)) {
28428 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28429 } else {
28430 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28431 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28432 }
28433 if (SWIG_IsTmpObj(res5)) {
28434 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28435 } else {
28436 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28437 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28438 }
28439 return resultobj;
28440 fail:
28441 return NULL;
28442 }
28443
28444
28445 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28446 PyObject *obj;
28447 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28448 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28449 return SWIG_Py_Void();
28450 }
28451
28452 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28453 return SWIG_Python_InitShadowInstance(args);
28454 }
28455
28456 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28457 PyObject *resultobj = 0;
28458 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28459 wxWindow *arg2 = (wxWindow *) 0 ;
28460 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28461 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28462 wxSize const &arg4_defvalue = wxDefaultSize ;
28463 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28464 long arg5 = (long) 0 ;
28465 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28466 wxString *arg6 = (wxString *) &arg6_defvalue ;
28467 wxPreviewCanvas *result = 0 ;
28468 void *argp1 = 0 ;
28469 int res1 = 0 ;
28470 void *argp2 = 0 ;
28471 int res2 = 0 ;
28472 wxPoint temp3 ;
28473 wxSize temp4 ;
28474 long val5 ;
28475 int ecode5 = 0 ;
28476 bool temp6 = false ;
28477 PyObject * obj0 = 0 ;
28478 PyObject * obj1 = 0 ;
28479 PyObject * obj2 = 0 ;
28480 PyObject * obj3 = 0 ;
28481 PyObject * obj4 = 0 ;
28482 PyObject * obj5 = 0 ;
28483 char * kwnames[] = {
28484 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28485 };
28486
28487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28489 if (!SWIG_IsOK(res1)) {
28490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28491 }
28492 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28493 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28494 if (!SWIG_IsOK(res2)) {
28495 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28496 }
28497 arg2 = reinterpret_cast< wxWindow * >(argp2);
28498 if (obj2) {
28499 {
28500 arg3 = &temp3;
28501 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28502 }
28503 }
28504 if (obj3) {
28505 {
28506 arg4 = &temp4;
28507 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28508 }
28509 }
28510 if (obj4) {
28511 ecode5 = SWIG_AsVal_long(obj4, &val5);
28512 if (!SWIG_IsOK(ecode5)) {
28513 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28514 }
28515 arg5 = static_cast< long >(val5);
28516 }
28517 if (obj5) {
28518 {
28519 arg6 = wxString_in_helper(obj5);
28520 if (arg6 == NULL) SWIG_fail;
28521 temp6 = true;
28522 }
28523 }
28524 {
28525 if (!wxPyCheckForApp()) SWIG_fail;
28526 PyThreadState* __tstate = wxPyBeginAllowThreads();
28527 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28528 wxPyEndAllowThreads(__tstate);
28529 if (PyErr_Occurred()) SWIG_fail;
28530 }
28531 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28532 {
28533 if (temp6)
28534 delete arg6;
28535 }
28536 return resultobj;
28537 fail:
28538 {
28539 if (temp6)
28540 delete arg6;
28541 }
28542 return NULL;
28543 }
28544
28545
28546 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28547 PyObject *obj;
28548 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28549 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28550 return SWIG_Py_Void();
28551 }
28552
28553 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28554 return SWIG_Python_InitShadowInstance(args);
28555 }
28556
28557 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28558 PyObject *resultobj = 0;
28559 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28560 wxFrame *arg2 = (wxFrame *) 0 ;
28561 wxString *arg3 = 0 ;
28562 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28563 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28564 wxSize const &arg5_defvalue = wxDefaultSize ;
28565 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28566 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28567 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28568 wxString *arg7 = (wxString *) &arg7_defvalue ;
28569 wxPreviewFrame *result = 0 ;
28570 int res1 = 0 ;
28571 void *argp2 = 0 ;
28572 int res2 = 0 ;
28573 bool temp3 = false ;
28574 wxPoint temp4 ;
28575 wxSize temp5 ;
28576 long val6 ;
28577 int ecode6 = 0 ;
28578 bool temp7 = false ;
28579 PyObject * obj0 = 0 ;
28580 PyObject * obj1 = 0 ;
28581 PyObject * obj2 = 0 ;
28582 PyObject * obj3 = 0 ;
28583 PyObject * obj4 = 0 ;
28584 PyObject * obj5 = 0 ;
28585 PyObject * obj6 = 0 ;
28586 char * kwnames[] = {
28587 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28588 };
28589
28590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28591 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28592 if (!SWIG_IsOK(res1)) {
28593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28594 }
28595 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28596 if (!SWIG_IsOK(res2)) {
28597 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28598 }
28599 arg2 = reinterpret_cast< wxFrame * >(argp2);
28600 {
28601 arg3 = wxString_in_helper(obj2);
28602 if (arg3 == NULL) SWIG_fail;
28603 temp3 = true;
28604 }
28605 if (obj3) {
28606 {
28607 arg4 = &temp4;
28608 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28609 }
28610 }
28611 if (obj4) {
28612 {
28613 arg5 = &temp5;
28614 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28615 }
28616 }
28617 if (obj5) {
28618 ecode6 = SWIG_AsVal_long(obj5, &val6);
28619 if (!SWIG_IsOK(ecode6)) {
28620 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28621 }
28622 arg6 = static_cast< long >(val6);
28623 }
28624 if (obj6) {
28625 {
28626 arg7 = wxString_in_helper(obj6);
28627 if (arg7 == NULL) SWIG_fail;
28628 temp7 = true;
28629 }
28630 }
28631 {
28632 if (!wxPyCheckForApp()) SWIG_fail;
28633 PyThreadState* __tstate = wxPyBeginAllowThreads();
28634 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28635 wxPyEndAllowThreads(__tstate);
28636 if (PyErr_Occurred()) SWIG_fail;
28637 }
28638 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28639 {
28640 if (temp3)
28641 delete arg3;
28642 }
28643 {
28644 if (temp7)
28645 delete arg7;
28646 }
28647 return resultobj;
28648 fail:
28649 {
28650 if (temp3)
28651 delete arg3;
28652 }
28653 {
28654 if (temp7)
28655 delete arg7;
28656 }
28657 return NULL;
28658 }
28659
28660
28661 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28662 PyObject *resultobj = 0;
28663 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28664 void *argp1 = 0 ;
28665 int res1 = 0 ;
28666 PyObject *swig_obj[1] ;
28667
28668 if (!args) SWIG_fail;
28669 swig_obj[0] = args;
28670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28671 if (!SWIG_IsOK(res1)) {
28672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28673 }
28674 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28675 {
28676 PyThreadState* __tstate = wxPyBeginAllowThreads();
28677 (arg1)->Initialize();
28678 wxPyEndAllowThreads(__tstate);
28679 if (PyErr_Occurred()) SWIG_fail;
28680 }
28681 resultobj = SWIG_Py_Void();
28682 return resultobj;
28683 fail:
28684 return NULL;
28685 }
28686
28687
28688 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28689 PyObject *resultobj = 0;
28690 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28691 void *argp1 = 0 ;
28692 int res1 = 0 ;
28693 PyObject *swig_obj[1] ;
28694
28695 if (!args) SWIG_fail;
28696 swig_obj[0] = args;
28697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28698 if (!SWIG_IsOK(res1)) {
28699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28700 }
28701 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28702 {
28703 PyThreadState* __tstate = wxPyBeginAllowThreads();
28704 (arg1)->CreateControlBar();
28705 wxPyEndAllowThreads(__tstate);
28706 if (PyErr_Occurred()) SWIG_fail;
28707 }
28708 resultobj = SWIG_Py_Void();
28709 return resultobj;
28710 fail:
28711 return NULL;
28712 }
28713
28714
28715 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28716 PyObject *resultobj = 0;
28717 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28718 void *argp1 = 0 ;
28719 int res1 = 0 ;
28720 PyObject *swig_obj[1] ;
28721
28722 if (!args) SWIG_fail;
28723 swig_obj[0] = args;
28724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28725 if (!SWIG_IsOK(res1)) {
28726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28727 }
28728 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28729 {
28730 PyThreadState* __tstate = wxPyBeginAllowThreads();
28731 (arg1)->CreateCanvas();
28732 wxPyEndAllowThreads(__tstate);
28733 if (PyErr_Occurred()) SWIG_fail;
28734 }
28735 resultobj = SWIG_Py_Void();
28736 return resultobj;
28737 fail:
28738 return NULL;
28739 }
28740
28741
28742 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28743 PyObject *resultobj = 0;
28744 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28745 wxPreviewControlBar *result = 0 ;
28746 void *argp1 = 0 ;
28747 int res1 = 0 ;
28748 PyObject *swig_obj[1] ;
28749
28750 if (!args) SWIG_fail;
28751 swig_obj[0] = args;
28752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28753 if (!SWIG_IsOK(res1)) {
28754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28755 }
28756 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28757 {
28758 PyThreadState* __tstate = wxPyBeginAllowThreads();
28759 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28760 wxPyEndAllowThreads(__tstate);
28761 if (PyErr_Occurred()) SWIG_fail;
28762 }
28763 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28764 return resultobj;
28765 fail:
28766 return NULL;
28767 }
28768
28769
28770 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28771 PyObject *obj;
28772 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28773 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28774 return SWIG_Py_Void();
28775 }
28776
28777 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28778 return SWIG_Python_InitShadowInstance(args);
28779 }
28780
28781 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28782 PyObject *resultobj = 0;
28783 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28784 long arg2 ;
28785 wxWindow *arg3 = (wxWindow *) 0 ;
28786 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28787 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28788 wxSize const &arg5_defvalue = wxDefaultSize ;
28789 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28790 long arg6 = (long) wxTAB_TRAVERSAL ;
28791 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28792 wxString *arg7 = (wxString *) &arg7_defvalue ;
28793 wxPreviewControlBar *result = 0 ;
28794 void *argp1 = 0 ;
28795 int res1 = 0 ;
28796 long val2 ;
28797 int ecode2 = 0 ;
28798 void *argp3 = 0 ;
28799 int res3 = 0 ;
28800 wxPoint temp4 ;
28801 wxSize temp5 ;
28802 long val6 ;
28803 int ecode6 = 0 ;
28804 bool temp7 = false ;
28805 PyObject * obj0 = 0 ;
28806 PyObject * obj1 = 0 ;
28807 PyObject * obj2 = 0 ;
28808 PyObject * obj3 = 0 ;
28809 PyObject * obj4 = 0 ;
28810 PyObject * obj5 = 0 ;
28811 PyObject * obj6 = 0 ;
28812 char * kwnames[] = {
28813 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28814 };
28815
28816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28818 if (!SWIG_IsOK(res1)) {
28819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28820 }
28821 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28822 ecode2 = SWIG_AsVal_long(obj1, &val2);
28823 if (!SWIG_IsOK(ecode2)) {
28824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28825 }
28826 arg2 = static_cast< long >(val2);
28827 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28828 if (!SWIG_IsOK(res3)) {
28829 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28830 }
28831 arg3 = reinterpret_cast< wxWindow * >(argp3);
28832 if (obj3) {
28833 {
28834 arg4 = &temp4;
28835 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28836 }
28837 }
28838 if (obj4) {
28839 {
28840 arg5 = &temp5;
28841 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28842 }
28843 }
28844 if (obj5) {
28845 ecode6 = SWIG_AsVal_long(obj5, &val6);
28846 if (!SWIG_IsOK(ecode6)) {
28847 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28848 }
28849 arg6 = static_cast< long >(val6);
28850 }
28851 if (obj6) {
28852 {
28853 arg7 = wxString_in_helper(obj6);
28854 if (arg7 == NULL) SWIG_fail;
28855 temp7 = true;
28856 }
28857 }
28858 {
28859 if (!wxPyCheckForApp()) SWIG_fail;
28860 PyThreadState* __tstate = wxPyBeginAllowThreads();
28861 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28862 wxPyEndAllowThreads(__tstate);
28863 if (PyErr_Occurred()) SWIG_fail;
28864 }
28865 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28866 {
28867 if (temp7)
28868 delete arg7;
28869 }
28870 return resultobj;
28871 fail:
28872 {
28873 if (temp7)
28874 delete arg7;
28875 }
28876 return NULL;
28877 }
28878
28879
28880 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28881 PyObject *resultobj = 0;
28882 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28883 int result;
28884 void *argp1 = 0 ;
28885 int res1 = 0 ;
28886 PyObject *swig_obj[1] ;
28887
28888 if (!args) SWIG_fail;
28889 swig_obj[0] = args;
28890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28891 if (!SWIG_IsOK(res1)) {
28892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28893 }
28894 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28895 {
28896 PyThreadState* __tstate = wxPyBeginAllowThreads();
28897 result = (int)(arg1)->GetZoomControl();
28898 wxPyEndAllowThreads(__tstate);
28899 if (PyErr_Occurred()) SWIG_fail;
28900 }
28901 resultobj = SWIG_From_int(static_cast< int >(result));
28902 return resultobj;
28903 fail:
28904 return NULL;
28905 }
28906
28907
28908 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28909 PyObject *resultobj = 0;
28910 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28911 int arg2 ;
28912 void *argp1 = 0 ;
28913 int res1 = 0 ;
28914 int val2 ;
28915 int ecode2 = 0 ;
28916 PyObject * obj0 = 0 ;
28917 PyObject * obj1 = 0 ;
28918 char * kwnames[] = {
28919 (char *) "self",(char *) "zoom", NULL
28920 };
28921
28922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28924 if (!SWIG_IsOK(res1)) {
28925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28926 }
28927 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28928 ecode2 = SWIG_AsVal_int(obj1, &val2);
28929 if (!SWIG_IsOK(ecode2)) {
28930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28931 }
28932 arg2 = static_cast< int >(val2);
28933 {
28934 PyThreadState* __tstate = wxPyBeginAllowThreads();
28935 (arg1)->SetZoomControl(arg2);
28936 wxPyEndAllowThreads(__tstate);
28937 if (PyErr_Occurred()) SWIG_fail;
28938 }
28939 resultobj = SWIG_Py_Void();
28940 return resultobj;
28941 fail:
28942 return NULL;
28943 }
28944
28945
28946 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28947 PyObject *resultobj = 0;
28948 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28949 wxPrintPreview *result = 0 ;
28950 void *argp1 = 0 ;
28951 int res1 = 0 ;
28952 PyObject *swig_obj[1] ;
28953
28954 if (!args) SWIG_fail;
28955 swig_obj[0] = args;
28956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28957 if (!SWIG_IsOK(res1)) {
28958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28959 }
28960 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28961 {
28962 PyThreadState* __tstate = wxPyBeginAllowThreads();
28963 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28964 wxPyEndAllowThreads(__tstate);
28965 if (PyErr_Occurred()) SWIG_fail;
28966 }
28967 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28968 return resultobj;
28969 fail:
28970 return NULL;
28971 }
28972
28973
28974 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28975 PyObject *resultobj = 0;
28976 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28977 void *argp1 = 0 ;
28978 int res1 = 0 ;
28979 PyObject *swig_obj[1] ;
28980
28981 if (!args) SWIG_fail;
28982 swig_obj[0] = args;
28983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28984 if (!SWIG_IsOK(res1)) {
28985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28986 }
28987 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28988 {
28989 PyThreadState* __tstate = wxPyBeginAllowThreads();
28990 (arg1)->OnNext();
28991 wxPyEndAllowThreads(__tstate);
28992 if (PyErr_Occurred()) SWIG_fail;
28993 }
28994 resultobj = SWIG_Py_Void();
28995 return resultobj;
28996 fail:
28997 return NULL;
28998 }
28999
29000
29001 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29002 PyObject *resultobj = 0;
29003 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29004 void *argp1 = 0 ;
29005 int res1 = 0 ;
29006 PyObject *swig_obj[1] ;
29007
29008 if (!args) SWIG_fail;
29009 swig_obj[0] = args;
29010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29011 if (!SWIG_IsOK(res1)) {
29012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29013 }
29014 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29015 {
29016 PyThreadState* __tstate = wxPyBeginAllowThreads();
29017 (arg1)->OnPrevious();
29018 wxPyEndAllowThreads(__tstate);
29019 if (PyErr_Occurred()) SWIG_fail;
29020 }
29021 resultobj = SWIG_Py_Void();
29022 return resultobj;
29023 fail:
29024 return NULL;
29025 }
29026
29027
29028 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29029 PyObject *resultobj = 0;
29030 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29031 void *argp1 = 0 ;
29032 int res1 = 0 ;
29033 PyObject *swig_obj[1] ;
29034
29035 if (!args) SWIG_fail;
29036 swig_obj[0] = args;
29037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29038 if (!SWIG_IsOK(res1)) {
29039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29040 }
29041 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29042 {
29043 PyThreadState* __tstate = wxPyBeginAllowThreads();
29044 (arg1)->OnFirst();
29045 wxPyEndAllowThreads(__tstate);
29046 if (PyErr_Occurred()) SWIG_fail;
29047 }
29048 resultobj = SWIG_Py_Void();
29049 return resultobj;
29050 fail:
29051 return NULL;
29052 }
29053
29054
29055 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29056 PyObject *resultobj = 0;
29057 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29058 void *argp1 = 0 ;
29059 int res1 = 0 ;
29060 PyObject *swig_obj[1] ;
29061
29062 if (!args) SWIG_fail;
29063 swig_obj[0] = args;
29064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29065 if (!SWIG_IsOK(res1)) {
29066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29067 }
29068 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29069 {
29070 PyThreadState* __tstate = wxPyBeginAllowThreads();
29071 (arg1)->OnLast();
29072 wxPyEndAllowThreads(__tstate);
29073 if (PyErr_Occurred()) SWIG_fail;
29074 }
29075 resultobj = SWIG_Py_Void();
29076 return resultobj;
29077 fail:
29078 return NULL;
29079 }
29080
29081
29082 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29083 PyObject *resultobj = 0;
29084 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29085 void *argp1 = 0 ;
29086 int res1 = 0 ;
29087 PyObject *swig_obj[1] ;
29088
29089 if (!args) SWIG_fail;
29090 swig_obj[0] = args;
29091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29092 if (!SWIG_IsOK(res1)) {
29093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29094 }
29095 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29096 {
29097 PyThreadState* __tstate = wxPyBeginAllowThreads();
29098 (arg1)->OnGoto();
29099 wxPyEndAllowThreads(__tstate);
29100 if (PyErr_Occurred()) SWIG_fail;
29101 }
29102 resultobj = SWIG_Py_Void();
29103 return resultobj;
29104 fail:
29105 return NULL;
29106 }
29107
29108
29109 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29110 PyObject *obj;
29111 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29112 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29113 return SWIG_Py_Void();
29114 }
29115
29116 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29117 return SWIG_Python_InitShadowInstance(args);
29118 }
29119
29120 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29121 PyObject *resultobj = 0;
29122 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29123 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29124 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29125 wxPrintPreview *result = 0 ;
29126 int res1 = 0 ;
29127 int res2 = 0 ;
29128 void *argp3 = 0 ;
29129 int res3 = 0 ;
29130
29131 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29132 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29133 if (!SWIG_IsOK(res1)) {
29134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29135 }
29136 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29137 if (!SWIG_IsOK(res2)) {
29138 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29139 }
29140 if (swig_obj[2]) {
29141 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29142 if (!SWIG_IsOK(res3)) {
29143 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29144 }
29145 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29146 }
29147 {
29148 if (!wxPyCheckForApp()) SWIG_fail;
29149 PyThreadState* __tstate = wxPyBeginAllowThreads();
29150 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29151 wxPyEndAllowThreads(__tstate);
29152 if (PyErr_Occurred()) SWIG_fail;
29153 }
29154 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29155 return resultobj;
29156 fail:
29157 return NULL;
29158 }
29159
29160
29161 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29162 PyObject *resultobj = 0;
29163 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29164 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29165 wxPrintData *arg3 = (wxPrintData *) 0 ;
29166 wxPrintPreview *result = 0 ;
29167 int res1 = 0 ;
29168 int res2 = 0 ;
29169 void *argp3 = 0 ;
29170 int res3 = 0 ;
29171
29172 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29173 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29174 if (!SWIG_IsOK(res1)) {
29175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29176 }
29177 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29178 if (!SWIG_IsOK(res2)) {
29179 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29180 }
29181 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29182 if (!SWIG_IsOK(res3)) {
29183 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29184 }
29185 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29186 {
29187 if (!wxPyCheckForApp()) SWIG_fail;
29188 PyThreadState* __tstate = wxPyBeginAllowThreads();
29189 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29190 wxPyEndAllowThreads(__tstate);
29191 if (PyErr_Occurred()) SWIG_fail;
29192 }
29193 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29194 return resultobj;
29195 fail:
29196 return NULL;
29197 }
29198
29199
29200 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29201 int argc;
29202 PyObject *argv[4];
29203
29204 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29205 --argc;
29206 if ((argc >= 2) && (argc <= 3)) {
29207 int _v = 0;
29208 if (argc > 2) {
29209 {
29210 void *vptr = 0;
29211 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29212 _v = SWIG_CheckState(res);
29213 }
29214 if (!_v) goto check_1;
29215 }
29216 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29217 }
29218 check_1:
29219
29220 if (argc == 3) {
29221 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29222 }
29223
29224 fail:
29225 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29226 return NULL;
29227 }
29228
29229
29230 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29231 PyObject *resultobj = 0;
29232 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29233 void *argp1 = 0 ;
29234 int res1 = 0 ;
29235 PyObject *swig_obj[1] ;
29236
29237 if (!args) SWIG_fail;
29238 swig_obj[0] = args;
29239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29240 if (!SWIG_IsOK(res1)) {
29241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29242 }
29243 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29244 {
29245 PyThreadState* __tstate = wxPyBeginAllowThreads();
29246 delete arg1;
29247
29248 wxPyEndAllowThreads(__tstate);
29249 if (PyErr_Occurred()) SWIG_fail;
29250 }
29251 resultobj = SWIG_Py_Void();
29252 return resultobj;
29253 fail:
29254 return NULL;
29255 }
29256
29257
29258 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29259 PyObject *resultobj = 0;
29260 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29261 int arg2 ;
29262 bool result;
29263 void *argp1 = 0 ;
29264 int res1 = 0 ;
29265 int val2 ;
29266 int ecode2 = 0 ;
29267 PyObject * obj0 = 0 ;
29268 PyObject * obj1 = 0 ;
29269 char * kwnames[] = {
29270 (char *) "self",(char *) "pageNum", NULL
29271 };
29272
29273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29275 if (!SWIG_IsOK(res1)) {
29276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29277 }
29278 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29279 ecode2 = SWIG_AsVal_int(obj1, &val2);
29280 if (!SWIG_IsOK(ecode2)) {
29281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29282 }
29283 arg2 = static_cast< int >(val2);
29284 {
29285 PyThreadState* __tstate = wxPyBeginAllowThreads();
29286 result = (bool)(arg1)->SetCurrentPage(arg2);
29287 wxPyEndAllowThreads(__tstate);
29288 if (PyErr_Occurred()) SWIG_fail;
29289 }
29290 {
29291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29292 }
29293 return resultobj;
29294 fail:
29295 return NULL;
29296 }
29297
29298
29299 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29300 PyObject *resultobj = 0;
29301 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29302 int result;
29303 void *argp1 = 0 ;
29304 int res1 = 0 ;
29305 PyObject *swig_obj[1] ;
29306
29307 if (!args) SWIG_fail;
29308 swig_obj[0] = args;
29309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29310 if (!SWIG_IsOK(res1)) {
29311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29312 }
29313 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29314 {
29315 PyThreadState* __tstate = wxPyBeginAllowThreads();
29316 result = (int)(arg1)->GetCurrentPage();
29317 wxPyEndAllowThreads(__tstate);
29318 if (PyErr_Occurred()) SWIG_fail;
29319 }
29320 resultobj = SWIG_From_int(static_cast< int >(result));
29321 return resultobj;
29322 fail:
29323 return NULL;
29324 }
29325
29326
29327 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29328 PyObject *resultobj = 0;
29329 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29330 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29331 void *argp1 = 0 ;
29332 int res1 = 0 ;
29333 int res2 = 0 ;
29334 PyObject * obj0 = 0 ;
29335 PyObject * obj1 = 0 ;
29336 char * kwnames[] = {
29337 (char *) "self",(char *) "printout", NULL
29338 };
29339
29340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29342 if (!SWIG_IsOK(res1)) {
29343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29344 }
29345 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29346 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29347 if (!SWIG_IsOK(res2)) {
29348 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29349 }
29350 {
29351 PyThreadState* __tstate = wxPyBeginAllowThreads();
29352 (arg1)->SetPrintout(arg2);
29353 wxPyEndAllowThreads(__tstate);
29354 if (PyErr_Occurred()) SWIG_fail;
29355 }
29356 resultobj = SWIG_Py_Void();
29357 return resultobj;
29358 fail:
29359 return NULL;
29360 }
29361
29362
29363 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29364 PyObject *resultobj = 0;
29365 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29366 wxPyPrintout *result = 0 ;
29367 void *argp1 = 0 ;
29368 int res1 = 0 ;
29369 PyObject *swig_obj[1] ;
29370
29371 if (!args) SWIG_fail;
29372 swig_obj[0] = args;
29373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29374 if (!SWIG_IsOK(res1)) {
29375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29376 }
29377 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29378 {
29379 PyThreadState* __tstate = wxPyBeginAllowThreads();
29380 result = (wxPyPrintout *)(arg1)->GetPrintout();
29381 wxPyEndAllowThreads(__tstate);
29382 if (PyErr_Occurred()) SWIG_fail;
29383 }
29384 {
29385 resultobj = wxPyMake_wxObject(result, 0);
29386 }
29387 return resultobj;
29388 fail:
29389 return NULL;
29390 }
29391
29392
29393 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29394 PyObject *resultobj = 0;
29395 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29396 wxPyPrintout *result = 0 ;
29397 void *argp1 = 0 ;
29398 int res1 = 0 ;
29399 PyObject *swig_obj[1] ;
29400
29401 if (!args) SWIG_fail;
29402 swig_obj[0] = args;
29403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29404 if (!SWIG_IsOK(res1)) {
29405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29406 }
29407 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29408 {
29409 PyThreadState* __tstate = wxPyBeginAllowThreads();
29410 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29411 wxPyEndAllowThreads(__tstate);
29412 if (PyErr_Occurred()) SWIG_fail;
29413 }
29414 {
29415 resultobj = wxPyMake_wxObject(result, 0);
29416 }
29417 return resultobj;
29418 fail:
29419 return NULL;
29420 }
29421
29422
29423 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29424 PyObject *resultobj = 0;
29425 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29426 wxFrame *arg2 = (wxFrame *) 0 ;
29427 void *argp1 = 0 ;
29428 int res1 = 0 ;
29429 void *argp2 = 0 ;
29430 int res2 = 0 ;
29431 PyObject * obj0 = 0 ;
29432 PyObject * obj1 = 0 ;
29433 char * kwnames[] = {
29434 (char *) "self",(char *) "frame", NULL
29435 };
29436
29437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29439 if (!SWIG_IsOK(res1)) {
29440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29441 }
29442 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29443 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29444 if (!SWIG_IsOK(res2)) {
29445 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29446 }
29447 arg2 = reinterpret_cast< wxFrame * >(argp2);
29448 {
29449 PyThreadState* __tstate = wxPyBeginAllowThreads();
29450 (arg1)->SetFrame(arg2);
29451 wxPyEndAllowThreads(__tstate);
29452 if (PyErr_Occurred()) SWIG_fail;
29453 }
29454 resultobj = SWIG_Py_Void();
29455 return resultobj;
29456 fail:
29457 return NULL;
29458 }
29459
29460
29461 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29462 PyObject *resultobj = 0;
29463 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29464 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29465 void *argp1 = 0 ;
29466 int res1 = 0 ;
29467 void *argp2 = 0 ;
29468 int res2 = 0 ;
29469 PyObject * obj0 = 0 ;
29470 PyObject * obj1 = 0 ;
29471 char * kwnames[] = {
29472 (char *) "self",(char *) "canvas", NULL
29473 };
29474
29475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29477 if (!SWIG_IsOK(res1)) {
29478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29479 }
29480 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29481 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29482 if (!SWIG_IsOK(res2)) {
29483 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29484 }
29485 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29486 {
29487 PyThreadState* __tstate = wxPyBeginAllowThreads();
29488 (arg1)->SetCanvas(arg2);
29489 wxPyEndAllowThreads(__tstate);
29490 if (PyErr_Occurred()) SWIG_fail;
29491 }
29492 resultobj = SWIG_Py_Void();
29493 return resultobj;
29494 fail:
29495 return NULL;
29496 }
29497
29498
29499 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29500 PyObject *resultobj = 0;
29501 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29502 wxFrame *result = 0 ;
29503 void *argp1 = 0 ;
29504 int res1 = 0 ;
29505 PyObject *swig_obj[1] ;
29506
29507 if (!args) SWIG_fail;
29508 swig_obj[0] = args;
29509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29510 if (!SWIG_IsOK(res1)) {
29511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29512 }
29513 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29514 {
29515 PyThreadState* __tstate = wxPyBeginAllowThreads();
29516 result = (wxFrame *)(arg1)->GetFrame();
29517 wxPyEndAllowThreads(__tstate);
29518 if (PyErr_Occurred()) SWIG_fail;
29519 }
29520 {
29521 resultobj = wxPyMake_wxObject(result, 0);
29522 }
29523 return resultobj;
29524 fail:
29525 return NULL;
29526 }
29527
29528
29529 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29530 PyObject *resultobj = 0;
29531 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29532 wxPreviewCanvas *result = 0 ;
29533 void *argp1 = 0 ;
29534 int res1 = 0 ;
29535 PyObject *swig_obj[1] ;
29536
29537 if (!args) SWIG_fail;
29538 swig_obj[0] = args;
29539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29540 if (!SWIG_IsOK(res1)) {
29541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29542 }
29543 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29544 {
29545 PyThreadState* __tstate = wxPyBeginAllowThreads();
29546 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29547 wxPyEndAllowThreads(__tstate);
29548 if (PyErr_Occurred()) SWIG_fail;
29549 }
29550 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29551 return resultobj;
29552 fail:
29553 return NULL;
29554 }
29555
29556
29557 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29558 PyObject *resultobj = 0;
29559 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29560 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29561 wxDC *arg3 = 0 ;
29562 bool result;
29563 void *argp1 = 0 ;
29564 int res1 = 0 ;
29565 void *argp2 = 0 ;
29566 int res2 = 0 ;
29567 void *argp3 = 0 ;
29568 int res3 = 0 ;
29569 PyObject * obj0 = 0 ;
29570 PyObject * obj1 = 0 ;
29571 PyObject * obj2 = 0 ;
29572 char * kwnames[] = {
29573 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29574 };
29575
29576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29578 if (!SWIG_IsOK(res1)) {
29579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29580 }
29581 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29582 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29583 if (!SWIG_IsOK(res2)) {
29584 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29585 }
29586 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29587 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29588 if (!SWIG_IsOK(res3)) {
29589 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29590 }
29591 if (!argp3) {
29592 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29593 }
29594 arg3 = reinterpret_cast< wxDC * >(argp3);
29595 {
29596 PyThreadState* __tstate = wxPyBeginAllowThreads();
29597 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29598 wxPyEndAllowThreads(__tstate);
29599 if (PyErr_Occurred()) SWIG_fail;
29600 }
29601 {
29602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29603 }
29604 return resultobj;
29605 fail:
29606 return NULL;
29607 }
29608
29609
29610 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29611 PyObject *resultobj = 0;
29612 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29613 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29614 wxDC *arg3 = 0 ;
29615 bool result;
29616 void *argp1 = 0 ;
29617 int res1 = 0 ;
29618 void *argp2 = 0 ;
29619 int res2 = 0 ;
29620 void *argp3 = 0 ;
29621 int res3 = 0 ;
29622 PyObject * obj0 = 0 ;
29623 PyObject * obj1 = 0 ;
29624 PyObject * obj2 = 0 ;
29625 char * kwnames[] = {
29626 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29627 };
29628
29629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29631 if (!SWIG_IsOK(res1)) {
29632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29633 }
29634 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29635 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29636 if (!SWIG_IsOK(res2)) {
29637 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29638 }
29639 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29640 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29641 if (!SWIG_IsOK(res3)) {
29642 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29643 }
29644 if (!argp3) {
29645 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29646 }
29647 arg3 = reinterpret_cast< wxDC * >(argp3);
29648 {
29649 PyThreadState* __tstate = wxPyBeginAllowThreads();
29650 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29651 wxPyEndAllowThreads(__tstate);
29652 if (PyErr_Occurred()) SWIG_fail;
29653 }
29654 {
29655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29656 }
29657 return resultobj;
29658 fail:
29659 return NULL;
29660 }
29661
29662
29663 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29664 PyObject *resultobj = 0;
29665 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29666 int arg2 ;
29667 bool result;
29668 void *argp1 = 0 ;
29669 int res1 = 0 ;
29670 int val2 ;
29671 int ecode2 = 0 ;
29672 PyObject * obj0 = 0 ;
29673 PyObject * obj1 = 0 ;
29674 char * kwnames[] = {
29675 (char *) "self",(char *) "pageNum", NULL
29676 };
29677
29678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29680 if (!SWIG_IsOK(res1)) {
29681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29682 }
29683 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29684 ecode2 = SWIG_AsVal_int(obj1, &val2);
29685 if (!SWIG_IsOK(ecode2)) {
29686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29687 }
29688 arg2 = static_cast< int >(val2);
29689 {
29690 PyThreadState* __tstate = wxPyBeginAllowThreads();
29691 result = (bool)(arg1)->RenderPage(arg2);
29692 wxPyEndAllowThreads(__tstate);
29693 if (PyErr_Occurred()) SWIG_fail;
29694 }
29695 {
29696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29697 }
29698 return resultobj;
29699 fail:
29700 return NULL;
29701 }
29702
29703
29704 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29705 PyObject *resultobj = 0;
29706 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29707 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29708 void *argp1 = 0 ;
29709 int res1 = 0 ;
29710 void *argp2 = 0 ;
29711 int res2 = 0 ;
29712 PyObject * obj0 = 0 ;
29713 PyObject * obj1 = 0 ;
29714 char * kwnames[] = {
29715 (char *) "self",(char *) "canvas", NULL
29716 };
29717
29718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29720 if (!SWIG_IsOK(res1)) {
29721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29722 }
29723 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29724 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29725 if (!SWIG_IsOK(res2)) {
29726 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29727 }
29728 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29729 {
29730 PyThreadState* __tstate = wxPyBeginAllowThreads();
29731 (arg1)->AdjustScrollbars(arg2);
29732 wxPyEndAllowThreads(__tstate);
29733 if (PyErr_Occurred()) SWIG_fail;
29734 }
29735 resultobj = SWIG_Py_Void();
29736 return resultobj;
29737 fail:
29738 return NULL;
29739 }
29740
29741
29742 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29743 PyObject *resultobj = 0;
29744 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29745 wxPrintDialogData *result = 0 ;
29746 void *argp1 = 0 ;
29747 int res1 = 0 ;
29748 PyObject *swig_obj[1] ;
29749
29750 if (!args) SWIG_fail;
29751 swig_obj[0] = args;
29752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29753 if (!SWIG_IsOK(res1)) {
29754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29755 }
29756 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29757 {
29758 PyThreadState* __tstate = wxPyBeginAllowThreads();
29759 {
29760 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29761 result = (wxPrintDialogData *) &_result_ref;
29762 }
29763 wxPyEndAllowThreads(__tstate);
29764 if (PyErr_Occurred()) SWIG_fail;
29765 }
29766 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29767 return resultobj;
29768 fail:
29769 return NULL;
29770 }
29771
29772
29773 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29774 PyObject *resultobj = 0;
29775 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29776 int arg2 ;
29777 void *argp1 = 0 ;
29778 int res1 = 0 ;
29779 int val2 ;
29780 int ecode2 = 0 ;
29781 PyObject * obj0 = 0 ;
29782 PyObject * obj1 = 0 ;
29783 char * kwnames[] = {
29784 (char *) "self",(char *) "percent", NULL
29785 };
29786
29787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29789 if (!SWIG_IsOK(res1)) {
29790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29791 }
29792 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29793 ecode2 = SWIG_AsVal_int(obj1, &val2);
29794 if (!SWIG_IsOK(ecode2)) {
29795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29796 }
29797 arg2 = static_cast< int >(val2);
29798 {
29799 PyThreadState* __tstate = wxPyBeginAllowThreads();
29800 (arg1)->SetZoom(arg2);
29801 wxPyEndAllowThreads(__tstate);
29802 if (PyErr_Occurred()) SWIG_fail;
29803 }
29804 resultobj = SWIG_Py_Void();
29805 return resultobj;
29806 fail:
29807 return NULL;
29808 }
29809
29810
29811 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29812 PyObject *resultobj = 0;
29813 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29814 int result;
29815 void *argp1 = 0 ;
29816 int res1 = 0 ;
29817 PyObject *swig_obj[1] ;
29818
29819 if (!args) SWIG_fail;
29820 swig_obj[0] = args;
29821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29822 if (!SWIG_IsOK(res1)) {
29823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29824 }
29825 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29826 {
29827 PyThreadState* __tstate = wxPyBeginAllowThreads();
29828 result = (int)(arg1)->GetZoom();
29829 wxPyEndAllowThreads(__tstate);
29830 if (PyErr_Occurred()) SWIG_fail;
29831 }
29832 resultobj = SWIG_From_int(static_cast< int >(result));
29833 return resultobj;
29834 fail:
29835 return NULL;
29836 }
29837
29838
29839 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29840 PyObject *resultobj = 0;
29841 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29842 int result;
29843 void *argp1 = 0 ;
29844 int res1 = 0 ;
29845 PyObject *swig_obj[1] ;
29846
29847 if (!args) SWIG_fail;
29848 swig_obj[0] = args;
29849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29850 if (!SWIG_IsOK(res1)) {
29851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29852 }
29853 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29854 {
29855 PyThreadState* __tstate = wxPyBeginAllowThreads();
29856 result = (int)(arg1)->GetMaxPage();
29857 wxPyEndAllowThreads(__tstate);
29858 if (PyErr_Occurred()) SWIG_fail;
29859 }
29860 resultobj = SWIG_From_int(static_cast< int >(result));
29861 return resultobj;
29862 fail:
29863 return NULL;
29864 }
29865
29866
29867 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29868 PyObject *resultobj = 0;
29869 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29870 int result;
29871 void *argp1 = 0 ;
29872 int res1 = 0 ;
29873 PyObject *swig_obj[1] ;
29874
29875 if (!args) SWIG_fail;
29876 swig_obj[0] = args;
29877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29878 if (!SWIG_IsOK(res1)) {
29879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29880 }
29881 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29882 {
29883 PyThreadState* __tstate = wxPyBeginAllowThreads();
29884 result = (int)(arg1)->GetMinPage();
29885 wxPyEndAllowThreads(__tstate);
29886 if (PyErr_Occurred()) SWIG_fail;
29887 }
29888 resultobj = SWIG_From_int(static_cast< int >(result));
29889 return resultobj;
29890 fail:
29891 return NULL;
29892 }
29893
29894
29895 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29896 PyObject *resultobj = 0;
29897 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29898 bool result;
29899 void *argp1 = 0 ;
29900 int res1 = 0 ;
29901 PyObject *swig_obj[1] ;
29902
29903 if (!args) SWIG_fail;
29904 swig_obj[0] = args;
29905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29906 if (!SWIG_IsOK(res1)) {
29907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29908 }
29909 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29910 {
29911 PyThreadState* __tstate = wxPyBeginAllowThreads();
29912 result = (bool)(arg1)->Ok();
29913 wxPyEndAllowThreads(__tstate);
29914 if (PyErr_Occurred()) SWIG_fail;
29915 }
29916 {
29917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29918 }
29919 return resultobj;
29920 fail:
29921 return NULL;
29922 }
29923
29924
29925 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29926 PyObject *resultobj = 0;
29927 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29928 bool arg2 ;
29929 void *argp1 = 0 ;
29930 int res1 = 0 ;
29931 bool val2 ;
29932 int ecode2 = 0 ;
29933 PyObject * obj0 = 0 ;
29934 PyObject * obj1 = 0 ;
29935 char * kwnames[] = {
29936 (char *) "self",(char *) "ok", NULL
29937 };
29938
29939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29941 if (!SWIG_IsOK(res1)) {
29942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29943 }
29944 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29945 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29946 if (!SWIG_IsOK(ecode2)) {
29947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29948 }
29949 arg2 = static_cast< bool >(val2);
29950 {
29951 PyThreadState* __tstate = wxPyBeginAllowThreads();
29952 (arg1)->SetOk(arg2);
29953 wxPyEndAllowThreads(__tstate);
29954 if (PyErr_Occurred()) SWIG_fail;
29955 }
29956 resultobj = SWIG_Py_Void();
29957 return resultobj;
29958 fail:
29959 return NULL;
29960 }
29961
29962
29963 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29964 PyObject *resultobj = 0;
29965 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29966 bool arg2 ;
29967 bool result;
29968 void *argp1 = 0 ;
29969 int res1 = 0 ;
29970 bool val2 ;
29971 int ecode2 = 0 ;
29972 PyObject * obj0 = 0 ;
29973 PyObject * obj1 = 0 ;
29974 char * kwnames[] = {
29975 (char *) "self",(char *) "interactive", NULL
29976 };
29977
29978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29980 if (!SWIG_IsOK(res1)) {
29981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29982 }
29983 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29984 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29985 if (!SWIG_IsOK(ecode2)) {
29986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29987 }
29988 arg2 = static_cast< bool >(val2);
29989 {
29990 PyThreadState* __tstate = wxPyBeginAllowThreads();
29991 result = (bool)(arg1)->Print(arg2);
29992 wxPyEndAllowThreads(__tstate);
29993 if (PyErr_Occurred()) SWIG_fail;
29994 }
29995 {
29996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29997 }
29998 return resultobj;
29999 fail:
30000 return NULL;
30001 }
30002
30003
30004 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30005 PyObject *resultobj = 0;
30006 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30007 void *argp1 = 0 ;
30008 int res1 = 0 ;
30009 PyObject *swig_obj[1] ;
30010
30011 if (!args) SWIG_fail;
30012 swig_obj[0] = args;
30013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30014 if (!SWIG_IsOK(res1)) {
30015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30016 }
30017 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30018 {
30019 PyThreadState* __tstate = wxPyBeginAllowThreads();
30020 (arg1)->DetermineScaling();
30021 wxPyEndAllowThreads(__tstate);
30022 if (PyErr_Occurred()) SWIG_fail;
30023 }
30024 resultobj = SWIG_Py_Void();
30025 return resultobj;
30026 fail:
30027 return NULL;
30028 }
30029
30030
30031 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30032 PyObject *obj;
30033 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30035 return SWIG_Py_Void();
30036 }
30037
30038 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30039 return SWIG_Python_InitShadowInstance(args);
30040 }
30041
30042 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30043 PyObject *resultobj = 0;
30044 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30045 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30046 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30047 wxPyPrintPreview *result = 0 ;
30048 int res1 = 0 ;
30049 int res2 = 0 ;
30050 void *argp3 = 0 ;
30051 int res3 = 0 ;
30052
30053 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30054 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30055 if (!SWIG_IsOK(res1)) {
30056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30057 }
30058 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30059 if (!SWIG_IsOK(res2)) {
30060 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30061 }
30062 if (swig_obj[2]) {
30063 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30064 if (!SWIG_IsOK(res3)) {
30065 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30066 }
30067 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30068 }
30069 {
30070 if (!wxPyCheckForApp()) SWIG_fail;
30071 PyThreadState* __tstate = wxPyBeginAllowThreads();
30072 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30073 wxPyEndAllowThreads(__tstate);
30074 if (PyErr_Occurred()) SWIG_fail;
30075 }
30076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30077 return resultobj;
30078 fail:
30079 return NULL;
30080 }
30081
30082
30083 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30084 PyObject *resultobj = 0;
30085 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30086 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30087 wxPrintData *arg3 = (wxPrintData *) 0 ;
30088 wxPyPrintPreview *result = 0 ;
30089 int res1 = 0 ;
30090 int res2 = 0 ;
30091 void *argp3 = 0 ;
30092 int res3 = 0 ;
30093
30094 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30095 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30096 if (!SWIG_IsOK(res1)) {
30097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30098 }
30099 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30100 if (!SWIG_IsOK(res2)) {
30101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30102 }
30103 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30104 if (!SWIG_IsOK(res3)) {
30105 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30106 }
30107 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30108 {
30109 if (!wxPyCheckForApp()) SWIG_fail;
30110 PyThreadState* __tstate = wxPyBeginAllowThreads();
30111 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30112 wxPyEndAllowThreads(__tstate);
30113 if (PyErr_Occurred()) SWIG_fail;
30114 }
30115 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30116 return resultobj;
30117 fail:
30118 return NULL;
30119 }
30120
30121
30122 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30123 int argc;
30124 PyObject *argv[4];
30125
30126 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30127 --argc;
30128 if ((argc >= 2) && (argc <= 3)) {
30129 int _v = 0;
30130 if (argc > 2) {
30131 {
30132 void *vptr = 0;
30133 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30134 _v = SWIG_CheckState(res);
30135 }
30136 if (!_v) goto check_1;
30137 }
30138 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30139 }
30140 check_1:
30141
30142 if (argc == 3) {
30143 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30144 }
30145
30146 fail:
30147 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30148 return NULL;
30149 }
30150
30151
30152 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30153 PyObject *resultobj = 0;
30154 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30155 PyObject *arg2 = (PyObject *) 0 ;
30156 PyObject *arg3 = (PyObject *) 0 ;
30157 void *argp1 = 0 ;
30158 int res1 = 0 ;
30159 PyObject * obj0 = 0 ;
30160 PyObject * obj1 = 0 ;
30161 PyObject * obj2 = 0 ;
30162 char * kwnames[] = {
30163 (char *) "self",(char *) "self",(char *) "_class", NULL
30164 };
30165
30166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30168 if (!SWIG_IsOK(res1)) {
30169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30170 }
30171 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30172 arg2 = obj1;
30173 arg3 = obj2;
30174 {
30175 PyThreadState* __tstate = wxPyBeginAllowThreads();
30176 (arg1)->_setCallbackInfo(arg2,arg3);
30177 wxPyEndAllowThreads(__tstate);
30178 if (PyErr_Occurred()) SWIG_fail;
30179 }
30180 resultobj = SWIG_Py_Void();
30181 return resultobj;
30182 fail:
30183 return NULL;
30184 }
30185
30186
30187 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30188 PyObject *obj;
30189 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30190 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30191 return SWIG_Py_Void();
30192 }
30193
30194 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30195 return SWIG_Python_InitShadowInstance(args);
30196 }
30197
30198 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30199 PyObject *resultobj = 0;
30200 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30201 wxFrame *arg2 = (wxFrame *) 0 ;
30202 wxString *arg3 = 0 ;
30203 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30204 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30205 wxSize const &arg5_defvalue = wxDefaultSize ;
30206 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30207 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30208 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30209 wxString *arg7 = (wxString *) &arg7_defvalue ;
30210 wxPyPreviewFrame *result = 0 ;
30211 void *argp1 = 0 ;
30212 int res1 = 0 ;
30213 void *argp2 = 0 ;
30214 int res2 = 0 ;
30215 bool temp3 = false ;
30216 wxPoint temp4 ;
30217 wxSize temp5 ;
30218 long val6 ;
30219 int ecode6 = 0 ;
30220 bool temp7 = false ;
30221 PyObject * obj0 = 0 ;
30222 PyObject * obj1 = 0 ;
30223 PyObject * obj2 = 0 ;
30224 PyObject * obj3 = 0 ;
30225 PyObject * obj4 = 0 ;
30226 PyObject * obj5 = 0 ;
30227 PyObject * obj6 = 0 ;
30228 char * kwnames[] = {
30229 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30230 };
30231
30232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30234 if (!SWIG_IsOK(res1)) {
30235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30236 }
30237 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30238 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30239 if (!SWIG_IsOK(res2)) {
30240 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30241 }
30242 arg2 = reinterpret_cast< wxFrame * >(argp2);
30243 {
30244 arg3 = wxString_in_helper(obj2);
30245 if (arg3 == NULL) SWIG_fail;
30246 temp3 = true;
30247 }
30248 if (obj3) {
30249 {
30250 arg4 = &temp4;
30251 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30252 }
30253 }
30254 if (obj4) {
30255 {
30256 arg5 = &temp5;
30257 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30258 }
30259 }
30260 if (obj5) {
30261 ecode6 = SWIG_AsVal_long(obj5, &val6);
30262 if (!SWIG_IsOK(ecode6)) {
30263 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30264 }
30265 arg6 = static_cast< long >(val6);
30266 }
30267 if (obj6) {
30268 {
30269 arg7 = wxString_in_helper(obj6);
30270 if (arg7 == NULL) SWIG_fail;
30271 temp7 = true;
30272 }
30273 }
30274 {
30275 if (!wxPyCheckForApp()) SWIG_fail;
30276 PyThreadState* __tstate = wxPyBeginAllowThreads();
30277 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30278 wxPyEndAllowThreads(__tstate);
30279 if (PyErr_Occurred()) SWIG_fail;
30280 }
30281 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30282 {
30283 if (temp3)
30284 delete arg3;
30285 }
30286 {
30287 if (temp7)
30288 delete arg7;
30289 }
30290 return resultobj;
30291 fail:
30292 {
30293 if (temp3)
30294 delete arg3;
30295 }
30296 {
30297 if (temp7)
30298 delete arg7;
30299 }
30300 return NULL;
30301 }
30302
30303
30304 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30305 PyObject *resultobj = 0;
30306 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30307 PyObject *arg2 = (PyObject *) 0 ;
30308 PyObject *arg3 = (PyObject *) 0 ;
30309 void *argp1 = 0 ;
30310 int res1 = 0 ;
30311 PyObject * obj0 = 0 ;
30312 PyObject * obj1 = 0 ;
30313 PyObject * obj2 = 0 ;
30314 char * kwnames[] = {
30315 (char *) "self",(char *) "self",(char *) "_class", NULL
30316 };
30317
30318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30320 if (!SWIG_IsOK(res1)) {
30321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30322 }
30323 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30324 arg2 = obj1;
30325 arg3 = obj2;
30326 {
30327 PyThreadState* __tstate = wxPyBeginAllowThreads();
30328 (arg1)->_setCallbackInfo(arg2,arg3);
30329 wxPyEndAllowThreads(__tstate);
30330 if (PyErr_Occurred()) SWIG_fail;
30331 }
30332 resultobj = SWIG_Py_Void();
30333 return resultobj;
30334 fail:
30335 return NULL;
30336 }
30337
30338
30339 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30340 PyObject *resultobj = 0;
30341 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30342 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30343 void *argp1 = 0 ;
30344 int res1 = 0 ;
30345 void *argp2 = 0 ;
30346 int res2 = 0 ;
30347 PyObject * obj0 = 0 ;
30348 PyObject * obj1 = 0 ;
30349 char * kwnames[] = {
30350 (char *) "self",(char *) "canvas", NULL
30351 };
30352
30353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30355 if (!SWIG_IsOK(res1)) {
30356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30357 }
30358 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30359 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30360 if (!SWIG_IsOK(res2)) {
30361 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30362 }
30363 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30364 {
30365 PyThreadState* __tstate = wxPyBeginAllowThreads();
30366 (arg1)->SetPreviewCanvas(arg2);
30367 wxPyEndAllowThreads(__tstate);
30368 if (PyErr_Occurred()) SWIG_fail;
30369 }
30370 resultobj = SWIG_Py_Void();
30371 return resultobj;
30372 fail:
30373 return NULL;
30374 }
30375
30376
30377 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30378 PyObject *resultobj = 0;
30379 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30380 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30381 void *argp1 = 0 ;
30382 int res1 = 0 ;
30383 void *argp2 = 0 ;
30384 int res2 = 0 ;
30385 PyObject * obj0 = 0 ;
30386 PyObject * obj1 = 0 ;
30387 char * kwnames[] = {
30388 (char *) "self",(char *) "bar", NULL
30389 };
30390
30391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30393 if (!SWIG_IsOK(res1)) {
30394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30395 }
30396 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30397 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30398 if (!SWIG_IsOK(res2)) {
30399 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30400 }
30401 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30402 {
30403 PyThreadState* __tstate = wxPyBeginAllowThreads();
30404 (arg1)->SetControlBar(arg2);
30405 wxPyEndAllowThreads(__tstate);
30406 if (PyErr_Occurred()) SWIG_fail;
30407 }
30408 resultobj = SWIG_Py_Void();
30409 return resultobj;
30410 fail:
30411 return NULL;
30412 }
30413
30414
30415 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30416 PyObject *resultobj = 0;
30417 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30418 void *argp1 = 0 ;
30419 int res1 = 0 ;
30420 PyObject *swig_obj[1] ;
30421
30422 if (!args) SWIG_fail;
30423 swig_obj[0] = args;
30424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30425 if (!SWIG_IsOK(res1)) {
30426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30427 }
30428 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30429 {
30430 PyThreadState* __tstate = wxPyBeginAllowThreads();
30431 (arg1)->Initialize();
30432 wxPyEndAllowThreads(__tstate);
30433 if (PyErr_Occurred()) SWIG_fail;
30434 }
30435 resultobj = SWIG_Py_Void();
30436 return resultobj;
30437 fail:
30438 return NULL;
30439 }
30440
30441
30442 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30443 PyObject *resultobj = 0;
30444 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30445 void *argp1 = 0 ;
30446 int res1 = 0 ;
30447 PyObject *swig_obj[1] ;
30448
30449 if (!args) SWIG_fail;
30450 swig_obj[0] = args;
30451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30452 if (!SWIG_IsOK(res1)) {
30453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30454 }
30455 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30456 {
30457 PyThreadState* __tstate = wxPyBeginAllowThreads();
30458 (arg1)->CreateCanvas();
30459 wxPyEndAllowThreads(__tstate);
30460 if (PyErr_Occurred()) SWIG_fail;
30461 }
30462 resultobj = SWIG_Py_Void();
30463 return resultobj;
30464 fail:
30465 return NULL;
30466 }
30467
30468
30469 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30470 PyObject *resultobj = 0;
30471 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30472 void *argp1 = 0 ;
30473 int res1 = 0 ;
30474 PyObject *swig_obj[1] ;
30475
30476 if (!args) SWIG_fail;
30477 swig_obj[0] = args;
30478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30479 if (!SWIG_IsOK(res1)) {
30480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30481 }
30482 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30483 {
30484 PyThreadState* __tstate = wxPyBeginAllowThreads();
30485 (arg1)->CreateControlBar();
30486 wxPyEndAllowThreads(__tstate);
30487 if (PyErr_Occurred()) SWIG_fail;
30488 }
30489 resultobj = SWIG_Py_Void();
30490 return resultobj;
30491 fail:
30492 return NULL;
30493 }
30494
30495
30496 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30497 PyObject *obj;
30498 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30499 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30500 return SWIG_Py_Void();
30501 }
30502
30503 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30504 return SWIG_Python_InitShadowInstance(args);
30505 }
30506
30507 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30508 PyObject *resultobj = 0;
30509 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30510 long arg2 ;
30511 wxWindow *arg3 = (wxWindow *) 0 ;
30512 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30513 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30514 wxSize const &arg5_defvalue = wxDefaultSize ;
30515 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30516 long arg6 = (long) 0 ;
30517 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30518 wxString *arg7 = (wxString *) &arg7_defvalue ;
30519 wxPyPreviewControlBar *result = 0 ;
30520 void *argp1 = 0 ;
30521 int res1 = 0 ;
30522 long val2 ;
30523 int ecode2 = 0 ;
30524 void *argp3 = 0 ;
30525 int res3 = 0 ;
30526 wxPoint temp4 ;
30527 wxSize temp5 ;
30528 long val6 ;
30529 int ecode6 = 0 ;
30530 bool temp7 = false ;
30531 PyObject * obj0 = 0 ;
30532 PyObject * obj1 = 0 ;
30533 PyObject * obj2 = 0 ;
30534 PyObject * obj3 = 0 ;
30535 PyObject * obj4 = 0 ;
30536 PyObject * obj5 = 0 ;
30537 PyObject * obj6 = 0 ;
30538 char * kwnames[] = {
30539 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30540 };
30541
30542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30544 if (!SWIG_IsOK(res1)) {
30545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30546 }
30547 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30548 ecode2 = SWIG_AsVal_long(obj1, &val2);
30549 if (!SWIG_IsOK(ecode2)) {
30550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30551 }
30552 arg2 = static_cast< long >(val2);
30553 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30554 if (!SWIG_IsOK(res3)) {
30555 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30556 }
30557 arg3 = reinterpret_cast< wxWindow * >(argp3);
30558 if (obj3) {
30559 {
30560 arg4 = &temp4;
30561 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30562 }
30563 }
30564 if (obj4) {
30565 {
30566 arg5 = &temp5;
30567 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30568 }
30569 }
30570 if (obj5) {
30571 ecode6 = SWIG_AsVal_long(obj5, &val6);
30572 if (!SWIG_IsOK(ecode6)) {
30573 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30574 }
30575 arg6 = static_cast< long >(val6);
30576 }
30577 if (obj6) {
30578 {
30579 arg7 = wxString_in_helper(obj6);
30580 if (arg7 == NULL) SWIG_fail;
30581 temp7 = true;
30582 }
30583 }
30584 {
30585 if (!wxPyCheckForApp()) SWIG_fail;
30586 PyThreadState* __tstate = wxPyBeginAllowThreads();
30587 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30588 wxPyEndAllowThreads(__tstate);
30589 if (PyErr_Occurred()) SWIG_fail;
30590 }
30591 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30592 {
30593 if (temp7)
30594 delete arg7;
30595 }
30596 return resultobj;
30597 fail:
30598 {
30599 if (temp7)
30600 delete arg7;
30601 }
30602 return NULL;
30603 }
30604
30605
30606 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30607 PyObject *resultobj = 0;
30608 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30609 PyObject *arg2 = (PyObject *) 0 ;
30610 PyObject *arg3 = (PyObject *) 0 ;
30611 void *argp1 = 0 ;
30612 int res1 = 0 ;
30613 PyObject * obj0 = 0 ;
30614 PyObject * obj1 = 0 ;
30615 PyObject * obj2 = 0 ;
30616 char * kwnames[] = {
30617 (char *) "self",(char *) "self",(char *) "_class", NULL
30618 };
30619
30620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30622 if (!SWIG_IsOK(res1)) {
30623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30624 }
30625 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30626 arg2 = obj1;
30627 arg3 = obj2;
30628 {
30629 PyThreadState* __tstate = wxPyBeginAllowThreads();
30630 (arg1)->_setCallbackInfo(arg2,arg3);
30631 wxPyEndAllowThreads(__tstate);
30632 if (PyErr_Occurred()) SWIG_fail;
30633 }
30634 resultobj = SWIG_Py_Void();
30635 return resultobj;
30636 fail:
30637 return NULL;
30638 }
30639
30640
30641 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30642 PyObject *resultobj = 0;
30643 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30644 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30645 void *argp1 = 0 ;
30646 int res1 = 0 ;
30647 void *argp2 = 0 ;
30648 int res2 = 0 ;
30649 PyObject * obj0 = 0 ;
30650 PyObject * obj1 = 0 ;
30651 char * kwnames[] = {
30652 (char *) "self",(char *) "preview", NULL
30653 };
30654
30655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30657 if (!SWIG_IsOK(res1)) {
30658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30659 }
30660 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30661 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30662 if (!SWIG_IsOK(res2)) {
30663 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30664 }
30665 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30666 {
30667 PyThreadState* __tstate = wxPyBeginAllowThreads();
30668 (arg1)->SetPrintPreview(arg2);
30669 wxPyEndAllowThreads(__tstate);
30670 if (PyErr_Occurred()) SWIG_fail;
30671 }
30672 resultobj = SWIG_Py_Void();
30673 return resultobj;
30674 fail:
30675 return NULL;
30676 }
30677
30678
30679 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30680 PyObject *resultobj = 0;
30681 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30682 void *argp1 = 0 ;
30683 int res1 = 0 ;
30684 PyObject *swig_obj[1] ;
30685
30686 if (!args) SWIG_fail;
30687 swig_obj[0] = args;
30688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30689 if (!SWIG_IsOK(res1)) {
30690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30691 }
30692 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30693 {
30694 PyThreadState* __tstate = wxPyBeginAllowThreads();
30695 (arg1)->CreateButtons();
30696 wxPyEndAllowThreads(__tstate);
30697 if (PyErr_Occurred()) SWIG_fail;
30698 }
30699 resultobj = SWIG_Py_Void();
30700 return resultobj;
30701 fail:
30702 return NULL;
30703 }
30704
30705
30706 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30707 PyObject *resultobj = 0;
30708 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30709 int arg2 ;
30710 void *argp1 = 0 ;
30711 int res1 = 0 ;
30712 int val2 ;
30713 int ecode2 = 0 ;
30714 PyObject * obj0 = 0 ;
30715 PyObject * obj1 = 0 ;
30716 char * kwnames[] = {
30717 (char *) "self",(char *) "zoom", NULL
30718 };
30719
30720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30722 if (!SWIG_IsOK(res1)) {
30723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30724 }
30725 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30726 ecode2 = SWIG_AsVal_int(obj1, &val2);
30727 if (!SWIG_IsOK(ecode2)) {
30728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30729 }
30730 arg2 = static_cast< int >(val2);
30731 {
30732 PyThreadState* __tstate = wxPyBeginAllowThreads();
30733 (arg1)->SetZoomControl(arg2);
30734 wxPyEndAllowThreads(__tstate);
30735 if (PyErr_Occurred()) SWIG_fail;
30736 }
30737 resultobj = SWIG_Py_Void();
30738 return resultobj;
30739 fail:
30740 return NULL;
30741 }
30742
30743
30744 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30745 PyObject *obj;
30746 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30747 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30748 return SWIG_Py_Void();
30749 }
30750
30751 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30752 return SWIG_Python_InitShadowInstance(args);
30753 }
30754
30755 static PyMethodDef SwigMethods[] = {
30756 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30757 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30758 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30759 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30760 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30761 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30762 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30763 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30764 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30765 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30766 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30767 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30768 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30769 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30770 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30771 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30772 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30773 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30774 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30775 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30776 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30777 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30778 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30779 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30780 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30781 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30782 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30783 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30784 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
30785 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30786 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30787 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30788 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30789 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30790 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30791 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30792 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30793 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
30794 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30795 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30796 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30797 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30798 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30799 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30800 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30801 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30802 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30803 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30804 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30805 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30806 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30807 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30808 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
30809 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
30810 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
30811 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
30812 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
30813 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30814 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30815 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30816 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30817 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30818 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30819 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30820 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30821 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30822 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30823 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30824 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30825 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30826 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30827 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30828 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30829 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30830 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30831 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30832 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30833 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30834 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30835 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30836 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30837 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30838 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30839 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30840 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30841 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30842 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30843 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30844 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30845 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30846 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30847 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30848 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30849 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30850 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30851 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30852 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30854 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30855 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30856 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30857 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30858 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30859 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30860 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30861 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30862 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30863 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30864 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30865 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30866 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30867 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30868 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30869 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30870 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30871 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30872 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30873 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30874 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30875 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30876 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30877 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30878 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30879 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30880 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30881 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30882 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30883 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30884 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30885 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30886 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30887 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30888 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30889 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30890 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30891 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30892 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30893 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30894 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30895 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30896 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30897 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30898 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30899 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30900 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30901 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30902 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30903 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30904 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30905 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30906 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30907 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30908 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30909 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30910 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30911 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30912 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30913 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30914 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30915 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30916 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30917 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30918 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30919 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30920 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30921 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30922 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30923 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30924 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30925 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30926 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30927 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30928 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30929 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30930 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30931 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30932 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30933 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30934 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30935 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30936 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30937 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30938 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30939 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30940 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30941 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30942 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30943 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30944 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30945 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30946 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30947 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30948 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30949 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30950 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30951 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30952 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30953 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30954 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30955 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30956 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30957 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30958 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30959 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30960 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30961 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30962 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30963 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30965 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30966 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30967 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30968 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
30969 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
30971 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30972 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
30973 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
30974 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
30975 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30976 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30977 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
30978 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30979 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
30980 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
30981 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
30982 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30983 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
30984 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30985 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30986 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
30987 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30988 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30989 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30990 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
30991 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30992 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30993 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
30994 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30995 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30996 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30997 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
30998 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
30999 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31000 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31001 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31002 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31003 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31004 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31005 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31006 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31007 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31008 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31009 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31010 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31011 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31012 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31013 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31014 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31015 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31016 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31017 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31019 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31020 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31021 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31022 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31023 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31024 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31025 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31026 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31027 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31028 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31029 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31030 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31031 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31032 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31033 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31034 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31035 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31036 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31038 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31039 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31040 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31041 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31042 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31043 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31044 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31045 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31046 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31047 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31048 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31049 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31050 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31051 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31052 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31053 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31054 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31055 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31056 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31057 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31059 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31060 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31061 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31062 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31063 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31064 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31065 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31066 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31067 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31068 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31069 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31070 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31071 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31072 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31073 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31074 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31075 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31076 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31077 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31078 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31079 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31080 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31081 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31082 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31083 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31084 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31085 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31086 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31087 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31088 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31089 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31090 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31091 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31092 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31093 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31094 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31095 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31096 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31097 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31098 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31099 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31100 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31101 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31102 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31103 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31104 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31106 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31107 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31108 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31109 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31111 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31112 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31113 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31115 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31116 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31117 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31118 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31119 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31120 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31121 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31122 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31123 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31124 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31125 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31126 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31127 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31128 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31129 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31130 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31131 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31132 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31133 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31134 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31135 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31136 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31137 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31138 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31139 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31140 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31142 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31143 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31144 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31145 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31146 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31147 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31148 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31149 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31150 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31151 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31152 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31153 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31154 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31155 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31156 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31158 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31159 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31160 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31161 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31162 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31163 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31164 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31165 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31166 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31167 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31168 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31169 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31170 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31171 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31172 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31173 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31174 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31175 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31176 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31177 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31178 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31179 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31180 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31181 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31182 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31183 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31184 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31185 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31186 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31187 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31188 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31189 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31190 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31191 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31192 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31193 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31194 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31195 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31196 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31197 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31198 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31199 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31200 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31201 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31202 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31203 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31204 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31205 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31206 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31207 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31208 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31209 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31210 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31211 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31212 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31213 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31214 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31215 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31216 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31217 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31218 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31219 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31220 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31221 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31222 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31223 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31224 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31225 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31226 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31227 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31228 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31229 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31230 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31231 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31232 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31233 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31234 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31235 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31236 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31237 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31238 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31239 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31240 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31241 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31242 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31243 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31244 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31245 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31246 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31247 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31248 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31250 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31251 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31252 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31253 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31254 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31255 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31256 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31257 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31258 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31259 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31260 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31261 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31262 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31263 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31264 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31265 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31266 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31267 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31268 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31269 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31270 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31271 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31272 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31273 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31274 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31275 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31276 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31277 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31278 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31279 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31280 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31281 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31282 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31283 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31284 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31285 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31286 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31287 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31288 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31289 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31290 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31291 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31292 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31293 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31294 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31295 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31296 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31297 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31298 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31299 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31300 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31301 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31302 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31303 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31304 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31305 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31306 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31307 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31308 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31309 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31310 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31311 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31312 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31313 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31314 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31315 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31316 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31317 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31318 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31319 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31320 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31321 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31322 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31323 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31324 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31325 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31326 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31327 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31328 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31329 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31330 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31331 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31332 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31333 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31334 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31335 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31336 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31337 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31338 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31339 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31340 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31341 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31342 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31343 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31344 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31345 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31346 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31347 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31348 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31349 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31350 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31351 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31352 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31353 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31354 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31355 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31356 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31357 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31358 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31359 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31360 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31361 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31362 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31363 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31364 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31365 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31366 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31367 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31368 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31369 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31370 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31371 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31372 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31373 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31374 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31375 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31376 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31377 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31378 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31379 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31380 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31381 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31382 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31383 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31384 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31385 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31386 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31387 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31388 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31389 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31390 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31391 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31392 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31393 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31394 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31395 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31396 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31397 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31398 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31399 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31400 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31401 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31402 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31403 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31404 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31405 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31406 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31407 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31408 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31409 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31410 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31411 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31412 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31413 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31414 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31415 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31416 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31417 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31418 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31419 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31420 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31421 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31422 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31423 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31424 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31425 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31426 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31427 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31428 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31429 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31430 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31431 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31432 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31433 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31434 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31435 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31436 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31437 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31438 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31439 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31440 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31441 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31442 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31443 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31444 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31445 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31446 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31447 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31448 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31449 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31450 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31451 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31452 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31453 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31454 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31455 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31456 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31457 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31458 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31459 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31460 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31461 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31462 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31463 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31464 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31465 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31466 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31467 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31468 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31469 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31470 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31471 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31472 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31473 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31474 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31475 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31476 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31477 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31478 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31479 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31480 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31481 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31482 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31483 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31484 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31485 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31486 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31487 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31488 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31489 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31490 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31491 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31492 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31493 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31494 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31495 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31496 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31497 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31498 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31499 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31500 { NULL, NULL, 0, NULL }
31501 };
31502
31503
31504 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31505
31506 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31507 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31508 }
31509 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31510 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31511 }
31512 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31513 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31514 }
31515 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31516 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31517 }
31518 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31519 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31520 }
31521 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31522 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31523 }
31524 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31525 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31526 }
31527 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31528 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31529 }
31530 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31531 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31532 }
31533 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31534 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31535 }
31536 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31537 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31538 }
31539 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31540 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31541 }
31542 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
31543 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
31544 }
31545 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31546 return (void *)((wxEvent *) ((wxPyEvent *) x));
31547 }
31548 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31549 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31550 }
31551 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31552 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31553 }
31554 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31555 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31556 }
31557 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31558 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31559 }
31560 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31561 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31562 }
31563 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31564 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31565 }
31566 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31567 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31568 }
31569 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31570 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31571 }
31572 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31573 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31574 }
31575 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31576 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31577 }
31578 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31579 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31580 }
31581 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31582 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31583 }
31584 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31585 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31586 }
31587 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31588 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31589 }
31590 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31591 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31592 }
31593 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31594 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31595 }
31596 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31597 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31598 }
31599 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31600 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31601 }
31602 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31603 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31604 }
31605 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31606 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31607 }
31608 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31609 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31610 }
31611 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31612 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31613 }
31614 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31615 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31616 }
31617 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31618 return (void *)((wxEvent *) ((wxShowEvent *) x));
31619 }
31620 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31621 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31622 }
31623 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31624 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31625 }
31626 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31627 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31628 }
31629 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31630 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31631 }
31632 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31633 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31634 }
31635 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31636 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31637 }
31638 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31639 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31640 }
31641 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31642 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31643 }
31644 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31645 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31646 }
31647 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31648 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31649 }
31650 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31651 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31652 }
31653 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31654 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31655 }
31656 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31657 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31658 }
31659 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31660 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31661 }
31662 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31663 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31664 }
31665 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31666 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31667 }
31668 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31669 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31670 }
31671 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31672 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31673 }
31674 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31675 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31676 }
31677 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31678 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31679 }
31680 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31681 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31682 }
31683 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
31684 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31685 }
31686 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31687 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31688 }
31689 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31690 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31691 }
31692 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31693 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31694 }
31695 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31696 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31697 }
31698 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31699 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31700 }
31701 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31702 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31703 }
31704 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31705 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31706 }
31707 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31708 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31709 }
31710 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31711 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31712 }
31713 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31714 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31715 }
31716 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31717 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31718 }
31719 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31720 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31721 }
31722 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31723 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31724 }
31725 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31726 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31727 }
31728 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31729 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31730 }
31731 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31732 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31733 }
31734 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31735 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31736 }
31737 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31738 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31739 }
31740 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31741 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31742 }
31743 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31744 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31745 }
31746 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31747 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31748 }
31749 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31750 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31751 }
31752 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31753 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31754 }
31755 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31756 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31757 }
31758 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31759 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31760 }
31761 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31762 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31763 }
31764 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31765 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31766 }
31767 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31768 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31769 }
31770 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31771 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31772 }
31773 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31774 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31775 }
31776 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31777 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31778 }
31779 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31780 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31781 }
31782 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31783 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31784 }
31785 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31786 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31787 }
31788 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31789 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31790 }
31791 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31792 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31793 }
31794 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31795 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31796 }
31797 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31798 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31799 }
31800 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31801 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31802 }
31803 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31804 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31805 }
31806 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
31807 return (void *)((wxFrame *) ((wxTipWindow *) x));
31808 }
31809 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31810 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31811 }
31812 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31813 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31814 }
31815 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31816 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31817 }
31818 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31819 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31820 }
31821 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31822 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31823 }
31824 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31825 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31826 }
31827 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31828 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31829 }
31830 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31832 }
31833 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31835 }
31836 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31837 return (void *)((wxObject *) ((wxSizerItem *) x));
31838 }
31839 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31840 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31841 }
31842 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31843 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31844 }
31845 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31846 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31847 }
31848 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31849 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31850 }
31851 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31852 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31853 }
31854 static void *_p_wxSizerTo_p_wxObject(void *x) {
31855 return (void *)((wxObject *) ((wxSizer *) x));
31856 }
31857 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31858 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31859 }
31860 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31861 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31862 }
31863 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31865 }
31866 static void *_p_wxEventTo_p_wxObject(void *x) {
31867 return (void *)((wxObject *) ((wxEvent *) x));
31868 }
31869 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31870 return (void *)((wxObject *) ((wxFontData *) x));
31871 }
31872 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31873 return (void *)((wxObject *) ((wxPrintData *) x));
31874 }
31875 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31876 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31877 }
31878 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31879 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31880 }
31881 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31882 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31883 }
31884 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31885 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31886 }
31887 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31888 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31889 }
31890 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31891 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31892 }
31893 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31894 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31895 }
31896 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31897 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31898 }
31899 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31900 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31901 }
31902 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31903 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31904 }
31905 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31906 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31907 }
31908 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31909 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31910 }
31911 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31912 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31913 }
31914 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31916 }
31917 static void *_p_wxControlTo_p_wxObject(void *x) {
31918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31919 }
31920 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31921 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31922 }
31923 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31924 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31925 }
31926 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31927 return (void *)((wxObject *) ((wxFSFile *) x));
31928 }
31929 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31930 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31931 }
31932 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31933 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31934 }
31935 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31937 }
31938 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31939 return (void *)((wxObject *) ((wxColourData *) x));
31940 }
31941 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31942 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31943 }
31944 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31945 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31946 }
31947 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31949 }
31950 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31951 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31952 }
31953 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31955 }
31956 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31958 }
31959 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31961 }
31962 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31964 }
31965 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31967 }
31968 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
31969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31970 }
31971 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31973 }
31974 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31976 }
31977 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31979 }
31980 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31981 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31982 }
31983 static void *_p_wxPrinterTo_p_wxObject(void *x) {
31984 return (void *)((wxObject *) ((wxPrinter *) x));
31985 }
31986 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31987 return (void *)((wxObject *) ((wxMenuItem *) x));
31988 }
31989 static void *_p_wxDateEventTo_p_wxObject(void *x) {
31990 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31991 }
31992 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31993 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31994 }
31995 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31996 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31997 }
31998 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31999 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32000 }
32001 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32002 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32003 }
32004 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32005 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32006 }
32007 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32008 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32009 }
32010 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32011 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32012 }
32013 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32014 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32015 }
32016 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32017 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32018 }
32019 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32020 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32021 }
32022 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32023 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32024 }
32025 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32026 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32027 }
32028 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32029 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32030 }
32031 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32032 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32033 }
32034 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32035 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32036 }
32037 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32038 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32039 }
32040 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32041 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32042 }
32043 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32044 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32045 }
32046 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32047 return (void *)((wxObject *) ((wxImageHandler *) x));
32048 }
32049 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32050 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32051 }
32052 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32053 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32054 }
32055 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32056 return (void *)((wxObject *) ((wxEvtHandler *) x));
32057 }
32058 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32059 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32060 }
32061 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32062 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32063 }
32064 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32065 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32066 }
32067 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32069 }
32070 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32071 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32072 }
32073 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32074 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32075 }
32076 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32078 }
32079 static void *_p_wxImageTo_p_wxObject(void *x) {
32080 return (void *)((wxObject *) ((wxImage *) x));
32081 }
32082 static void *_p_wxFrameTo_p_wxObject(void *x) {
32083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32084 }
32085 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32086 return (void *)((wxObject *) ((wxPyPrintout *) x));
32087 }
32088 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32089 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32090 }
32091 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32092 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32093 }
32094 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32096 }
32097 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32098 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32099 }
32100 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32101 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32102 }
32103 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32104 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32105 }
32106 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32107 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32108 }
32109 static void *_p_wxWindowTo_p_wxObject(void *x) {
32110 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32111 }
32112 static void *_p_wxMenuTo_p_wxObject(void *x) {
32113 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32114 }
32115 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32116 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32117 }
32118 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32120 }
32121 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32123 }
32124 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32125 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32126 }
32127 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32128 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32129 }
32130 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32131 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32132 }
32133 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32135 }
32136 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32137 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32138 }
32139 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32140 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32141 }
32142 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32143 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32144 }
32145 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32146 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32147 }
32148 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32149 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32150 }
32151 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32153 }
32154 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32155 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32156 }
32157 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32158 return (void *)((wxObject *) ((wxPrintPreview *) x));
32159 }
32160 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32161 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32162 }
32163 static void *_p_wxPanelTo_p_wxObject(void *x) {
32164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32165 }
32166 static void *_p_wxDialogTo_p_wxObject(void *x) {
32167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32168 }
32169 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32171 }
32172 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32174 }
32175 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32177 }
32178 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32179 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32180 }
32181 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32182 return (void *)((wxObject *) ((wxPrintDialog *) x));
32183 }
32184 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32185 return (void *)((wxObject *) ((wxFileSystem *) x));
32186 }
32187 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32188 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32189 }
32190 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32191 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32192 }
32193 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32194 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32195 }
32196 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32197 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32198 }
32199 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32200 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32201 }
32202 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32203 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32204 }
32205 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32206 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32207 }
32208 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32209 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32210 }
32211 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32213 }
32214 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32216 }
32217 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32218 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32219 }
32220 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32221 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32222 }
32223 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32224 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32225 }
32226 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32228 }
32229 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32230 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32231 }
32232 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32233 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32234 }
32235 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32236 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32237 }
32238 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32239 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32240 }
32241 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32242 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32243 }
32244 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32245 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32246 }
32247 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32248 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32249 }
32250 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32251 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32252 }
32253 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32254 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32255 }
32256 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32257 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32258 }
32259 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32260 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32261 }
32262 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32263 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32264 }
32265 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32266 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32267 }
32268 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32269 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32270 }
32271 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32272 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32273 }
32274 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
32275 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
32276 }
32277 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32278 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32279 }
32280 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32281 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32282 }
32283 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32284 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32285 }
32286 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32287 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32288 }
32289 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32290 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32291 }
32292 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32293 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32294 }
32295 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32296 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32297 }
32298 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32299 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32300 }
32301 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32302 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32303 }
32304 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32305 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32306 }
32307 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32308 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32309 }
32310 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32311 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32312 }
32313 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32314 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32315 }
32316 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32317 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32318 }
32319 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32320 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32321 }
32322 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32323 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32324 }
32325 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32326 return (void *)((wxWindow *) ((wxMenuBar *) x));
32327 }
32328 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32329 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32330 }
32331 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32332 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32333 }
32334 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32335 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32336 }
32337 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32338 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32339 }
32340 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32341 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32342 }
32343 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32344 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32345 }
32346 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32347 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32348 }
32349 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32350 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32351 }
32352 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32353 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32354 }
32355 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32356 return (void *)((wxWindow *) ((wxPanel *) x));
32357 }
32358 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32359 return (void *)((wxWindow *) ((wxStatusBar *) x));
32360 }
32361 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32362 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32363 }
32364 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32365 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32366 }
32367 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32368 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32369 }
32370 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32371 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32372 }
32373 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32374 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32375 }
32376 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32377 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32378 }
32379 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32380 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32381 }
32382 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32383 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32384 }
32385 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32386 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32387 }
32388 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32389 return (void *)((wxWindow *) ((wxSashWindow *) x));
32390 }
32391 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32392 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32393 }
32394 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32395 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32396 }
32397 static void *_p_wxControlTo_p_wxWindow(void *x) {
32398 return (void *)((wxWindow *) ((wxControl *) x));
32399 }
32400 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32401 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32402 }
32403 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32404 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32405 }
32406 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32407 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32408 }
32409 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32410 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32411 }
32412 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32413 return (void *)((wxWindow *) ((wxPyWindow *) x));
32414 }
32415 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32416 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32417 }
32418 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32419 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32420 }
32421 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32422 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32423 }
32424 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32425 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32426 }
32427 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32428 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32429 }
32430 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32431 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32432 }
32433 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32434 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32435 }
32436 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32437 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32438 }
32439 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32440 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32441 }
32442 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32443 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32444 }
32445 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32446 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32447 }
32448 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32449 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32450 }
32451 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32452 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32453 }
32454 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32455 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32456 }
32457 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32458 return (void *)((wxDialog *) ((wxColourDialog *) x));
32459 }
32460 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32461 return (void *)((wxDialog *) ((wxDirDialog *) x));
32462 }
32463 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32464 return (void *)((wxDialog *) ((wxFontDialog *) x));
32465 }
32466 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32467 return (void *)((wxDialog *) ((wxFileDialog *) x));
32468 }
32469 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32470 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32471 }
32472 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32473 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32474 }
32475 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32476 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32477 }
32478 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32479 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32480 }
32481 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32482 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32483 }
32484 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32485 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32486 }
32487 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32488 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32489 }
32490 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32491 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32492 }
32493 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32494 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32495 }
32496 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32497 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32498 }
32499 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32500 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32501 }
32502 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32503 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32504 }
32505 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32506 return (void *)((wxPanel *) ((wxPyPanel *) x));
32507 }
32508 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32509 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32510 }
32511 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32512 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32513 }
32514 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32515 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32516 }
32517 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32518 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32519 }
32520 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32521 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32522 }
32523 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32524 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32525 }
32526 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32527 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32528 }
32529 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32530 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32531 }
32532 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32533 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32534 }
32535 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32536 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32537 }
32538 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32539 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32540 }
32541 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32542 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32543 }
32544 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32545 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32546 }
32547 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32548 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32549 }
32550 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32551 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32552 }
32553 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32554 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32555 }
32556 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32557 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32558 }
32559 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32560 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32561 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};
32562 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32563 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32564 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32565 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32566 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32567 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32568 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32569 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32570 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32571 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32572 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32573 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32574 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32575 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32576 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32577 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32578 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32579 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32580 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32581 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32582 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32583 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32584 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32585 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32586 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32587 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32588 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32589 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32590 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32591 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32592 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32593 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32594 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32595 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32596 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32597 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32598 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32599 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32600 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32601 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32602 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32603 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32604 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32605 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32606 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32607 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32608 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32609 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32610 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32611 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32612 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32613 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32614 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32615 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32616 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32617 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32618 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32619 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32620 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32621 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32622 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32623 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32624 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32625 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32626 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32627 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32628 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32629 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32630 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32631 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32632 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32633 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32634 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32635 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32636 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32637 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32638 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32639 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32640 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32641 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32642 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32643 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32644 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32645 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32646 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32647 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32648 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32649 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32650 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32651 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32652 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32653 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32654 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32655 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32656 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32657 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32658 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32659 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32660 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32661 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32662 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32663 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32664 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32665 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32666 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32667 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32668 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32669 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32670 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32671 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32672 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32673 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32674 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32675 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32676 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32677 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32678 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32679 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32680 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32681 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32682 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32683 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32684 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32685 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32686 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32687 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32688 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32689 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32690 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32691 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32692 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32693 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32694 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32695 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32696 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32697 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32698 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32699 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32700 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32701 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32702 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32703 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32704 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32705 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32706 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32707 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32708 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32709 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32710 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32711 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32712 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32713 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32714 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32715 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32716 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32717 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32718 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32719 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32720 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32721 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32722 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32723 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32724
32725 static swig_type_info *swig_type_initial[] = {
32726 &_swigt__p_bool,
32727 &_swigt__p_char,
32728 &_swigt__p_form_ops_t,
32729 &_swigt__p_int,
32730 &_swigt__p_unsigned_char,
32731 &_swigt__p_unsigned_int,
32732 &_swigt__p_unsigned_long,
32733 &_swigt__p_wxANIHandler,
32734 &_swigt__p_wxAcceleratorTable,
32735 &_swigt__p_wxActivateEvent,
32736 &_swigt__p_wxArrayInt,
32737 &_swigt__p_wxBMPHandler,
32738 &_swigt__p_wxBitmap,
32739 &_swigt__p_wxBoxSizer,
32740 &_swigt__p_wxCURHandler,
32741 &_swigt__p_wxCalculateLayoutEvent,
32742 &_swigt__p_wxChildFocusEvent,
32743 &_swigt__p_wxClipboardTextEvent,
32744 &_swigt__p_wxCloseEvent,
32745 &_swigt__p_wxColour,
32746 &_swigt__p_wxColourData,
32747 &_swigt__p_wxColourDialog,
32748 &_swigt__p_wxCommandEvent,
32749 &_swigt__p_wxContextMenuEvent,
32750 &_swigt__p_wxControl,
32751 &_swigt__p_wxControlWithItems,
32752 &_swigt__p_wxDC,
32753 &_swigt__p_wxDateEvent,
32754 &_swigt__p_wxDialog,
32755 &_swigt__p_wxDirDialog,
32756 &_swigt__p_wxDisplayChangedEvent,
32757 &_swigt__p_wxDropFilesEvent,
32758 &_swigt__p_wxDuplexMode,
32759 &_swigt__p_wxEraseEvent,
32760 &_swigt__p_wxEvent,
32761 &_swigt__p_wxEvtHandler,
32762 &_swigt__p_wxFSFile,
32763 &_swigt__p_wxFileDialog,
32764 &_swigt__p_wxFileSystem,
32765 &_swigt__p_wxFindDialogEvent,
32766 &_swigt__p_wxFindReplaceData,
32767 &_swigt__p_wxFindReplaceDialog,
32768 &_swigt__p_wxFlexGridSizer,
32769 &_swigt__p_wxFocusEvent,
32770 &_swigt__p_wxFont,
32771 &_swigt__p_wxFontData,
32772 &_swigt__p_wxFontDialog,
32773 &_swigt__p_wxFrame,
32774 &_swigt__p_wxGBSizerItem,
32775 &_swigt__p_wxGIFHandler,
32776 &_swigt__p_wxGridBagSizer,
32777 &_swigt__p_wxGridSizer,
32778 &_swigt__p_wxHtmlLinkInfo,
32779 &_swigt__p_wxICOHandler,
32780 &_swigt__p_wxIcon,
32781 &_swigt__p_wxIconBundle,
32782 &_swigt__p_wxIconizeEvent,
32783 &_swigt__p_wxIdleEvent,
32784 &_swigt__p_wxImage,
32785 &_swigt__p_wxImageHandler,
32786 &_swigt__p_wxIndividualLayoutConstraint,
32787 &_swigt__p_wxInitDialogEvent,
32788 &_swigt__p_wxJPEGHandler,
32789 &_swigt__p_wxKeyEvent,
32790 &_swigt__p_wxLayoutAlgorithm,
32791 &_swigt__p_wxLayoutConstraints,
32792 &_swigt__p_wxMDIChildFrame,
32793 &_swigt__p_wxMDIClientWindow,
32794 &_swigt__p_wxMDIParentFrame,
32795 &_swigt__p_wxMaximizeEvent,
32796 &_swigt__p_wxMenu,
32797 &_swigt__p_wxMenuBar,
32798 &_swigt__p_wxMenuEvent,
32799 &_swigt__p_wxMenuItem,
32800 &_swigt__p_wxMessageDialog,
32801 &_swigt__p_wxMiniFrame,
32802 &_swigt__p_wxMouseCaptureChangedEvent,
32803 &_swigt__p_wxMouseCaptureLostEvent,
32804 &_swigt__p_wxMouseEvent,
32805 &_swigt__p_wxMoveEvent,
32806 &_swigt__p_wxMultiChoiceDialog,
32807 &_swigt__p_wxNavigationKeyEvent,
32808 &_swigt__p_wxNcPaintEvent,
32809 &_swigt__p_wxNotifyEvent,
32810 &_swigt__p_wxNumberEntryDialog,
32811 &_swigt__p_wxObject,
32812 &_swigt__p_wxPCXHandler,
32813 &_swigt__p_wxPNGHandler,
32814 &_swigt__p_wxPNMHandler,
32815 &_swigt__p_wxPageSetupDialog,
32816 &_swigt__p_wxPageSetupDialogData,
32817 &_swigt__p_wxPaintEvent,
32818 &_swigt__p_wxPaletteChangedEvent,
32819 &_swigt__p_wxPanel,
32820 &_swigt__p_wxPaperSize,
32821 &_swigt__p_wxPasswordEntryDialog,
32822 &_swigt__p_wxPoint,
32823 &_swigt__p_wxPopupWindow,
32824 &_swigt__p_wxPreviewCanvas,
32825 &_swigt__p_wxPreviewControlBar,
32826 &_swigt__p_wxPreviewFrame,
32827 &_swigt__p_wxPrintData,
32828 &_swigt__p_wxPrintDialog,
32829 &_swigt__p_wxPrintDialogData,
32830 &_swigt__p_wxPrintPreview,
32831 &_swigt__p_wxPrinter,
32832 &_swigt__p_wxProgressDialog,
32833 &_swigt__p_wxPyApp,
32834 &_swigt__p_wxPyCommandEvent,
32835 &_swigt__p_wxPyEvent,
32836 &_swigt__p_wxPyHtmlListBox,
32837 &_swigt__p_wxPyImageHandler,
32838 &_swigt__p_wxPyPanel,
32839 &_swigt__p_wxPyPopupTransientWindow,
32840 &_swigt__p_wxPyPreviewControlBar,
32841 &_swigt__p_wxPyPreviewFrame,
32842 &_swigt__p_wxPyPrintPreview,
32843 &_swigt__p_wxPyPrintout,
32844 &_swigt__p_wxPyScrolledWindow,
32845 &_swigt__p_wxPySizer,
32846 &_swigt__p_wxPyTaskBarIcon,
32847 &_swigt__p_wxPyVListBox,
32848 &_swigt__p_wxPyVScrolledWindow,
32849 &_swigt__p_wxPyValidator,
32850 &_swigt__p_wxPyWindow,
32851 &_swigt__p_wxQueryLayoutInfoEvent,
32852 &_swigt__p_wxQueryNewPaletteEvent,
32853 &_swigt__p_wxRect,
32854 &_swigt__p_wxRegion,
32855 &_swigt__p_wxSashEvent,
32856 &_swigt__p_wxSashLayoutWindow,
32857 &_swigt__p_wxSashWindow,
32858 &_swigt__p_wxScrollEvent,
32859 &_swigt__p_wxScrollWinEvent,
32860 &_swigt__p_wxScrolledWindow,
32861 &_swigt__p_wxSetCursorEvent,
32862 &_swigt__p_wxShowEvent,
32863 &_swigt__p_wxSingleChoiceDialog,
32864 &_swigt__p_wxSize,
32865 &_swigt__p_wxSizeEvent,
32866 &_swigt__p_wxSizer,
32867 &_swigt__p_wxSizerItem,
32868 &_swigt__p_wxSplashScreen,
32869 &_swigt__p_wxSplashScreenWindow,
32870 &_swigt__p_wxSplitterEvent,
32871 &_swigt__p_wxSplitterWindow,
32872 &_swigt__p_wxStaticBoxSizer,
32873 &_swigt__p_wxStatusBar,
32874 &_swigt__p_wxStdDialogButtonSizer,
32875 &_swigt__p_wxString,
32876 &_swigt__p_wxSysColourChangedEvent,
32877 &_swigt__p_wxTIFFHandler,
32878 &_swigt__p_wxTaskBarIcon,
32879 &_swigt__p_wxTaskBarIconEvent,
32880 &_swigt__p_wxTextEntryDialog,
32881 &_swigt__p_wxTipWindow,
32882 &_swigt__p_wxToolBar,
32883 &_swigt__p_wxTopLevelWindow,
32884 &_swigt__p_wxUpdateUIEvent,
32885 &_swigt__p_wxValidator,
32886 &_swigt__p_wxVisualAttributes,
32887 &_swigt__p_wxWindow,
32888 &_swigt__p_wxWindowCreateEvent,
32889 &_swigt__p_wxWindowDestroyEvent,
32890 &_swigt__p_wxXPMHandler,
32891 };
32892
32893 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32894 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32895 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32896 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32897 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32898 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32899 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32900 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32901 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32902 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32903 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32904 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32905 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32906 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32907 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32908 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32909 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32910 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32911 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32912 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32913 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32914 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32915 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32916 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32917 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32918 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32919 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32920 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32921 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32922 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32923 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32924 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32925 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32926 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32927 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
32928 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32929 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32930 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32931 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32932 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32933 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32934 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32935 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32936 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32937 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32938 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32939 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32940 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32941 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32942 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32943 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32944 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32945 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32946 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32947 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32948 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32949 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32950 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32951 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32952 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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}};
32953 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32954 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32955 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32956 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32957 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32958 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32959 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32960 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32961 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}};
32962 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32963 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32964 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32965 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32966 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32967 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32968 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32969 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32970 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32971 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32972 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32973 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32974 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}};
32975 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32976 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32977 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32978 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32979 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32980 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32981 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32982 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32983 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32986 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32987 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32988 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32989 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32990 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32991 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32992 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32993 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32994 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32995 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32996 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32997 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32998 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32999 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33000 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33001 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33002 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33003 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33004 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
33005 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33006 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33007 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}};
33008 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33009 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33010 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33011 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}};
33012 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33013 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}};
33014 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}};
33015 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33016 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33017 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33018 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}};
33019 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33020 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33021 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33022 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33023 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
33024 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33025 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33026 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33027 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33028 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33029 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33030 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}};
33031 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}};
33032 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33033 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33034 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33035 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33036 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33037 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33038 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}};
33039 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33040 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}};
33041 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33042 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33043 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33044 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33045 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33046 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33047 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33048 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33049 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33050 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33051 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33052 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}};
33053 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33054 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33055 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
33056 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33057 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_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}};
33058
33059 static swig_cast_info *swig_cast_initial[] = {
33060 _swigc__p_bool,
33061 _swigc__p_char,
33062 _swigc__p_form_ops_t,
33063 _swigc__p_int,
33064 _swigc__p_unsigned_char,
33065 _swigc__p_unsigned_int,
33066 _swigc__p_unsigned_long,
33067 _swigc__p_wxANIHandler,
33068 _swigc__p_wxAcceleratorTable,
33069 _swigc__p_wxActivateEvent,
33070 _swigc__p_wxArrayInt,
33071 _swigc__p_wxBMPHandler,
33072 _swigc__p_wxBitmap,
33073 _swigc__p_wxBoxSizer,
33074 _swigc__p_wxCURHandler,
33075 _swigc__p_wxCalculateLayoutEvent,
33076 _swigc__p_wxChildFocusEvent,
33077 _swigc__p_wxClipboardTextEvent,
33078 _swigc__p_wxCloseEvent,
33079 _swigc__p_wxColour,
33080 _swigc__p_wxColourData,
33081 _swigc__p_wxColourDialog,
33082 _swigc__p_wxCommandEvent,
33083 _swigc__p_wxContextMenuEvent,
33084 _swigc__p_wxControl,
33085 _swigc__p_wxControlWithItems,
33086 _swigc__p_wxDC,
33087 _swigc__p_wxDateEvent,
33088 _swigc__p_wxDialog,
33089 _swigc__p_wxDirDialog,
33090 _swigc__p_wxDisplayChangedEvent,
33091 _swigc__p_wxDropFilesEvent,
33092 _swigc__p_wxDuplexMode,
33093 _swigc__p_wxEraseEvent,
33094 _swigc__p_wxEvent,
33095 _swigc__p_wxEvtHandler,
33096 _swigc__p_wxFSFile,
33097 _swigc__p_wxFileDialog,
33098 _swigc__p_wxFileSystem,
33099 _swigc__p_wxFindDialogEvent,
33100 _swigc__p_wxFindReplaceData,
33101 _swigc__p_wxFindReplaceDialog,
33102 _swigc__p_wxFlexGridSizer,
33103 _swigc__p_wxFocusEvent,
33104 _swigc__p_wxFont,
33105 _swigc__p_wxFontData,
33106 _swigc__p_wxFontDialog,
33107 _swigc__p_wxFrame,
33108 _swigc__p_wxGBSizerItem,
33109 _swigc__p_wxGIFHandler,
33110 _swigc__p_wxGridBagSizer,
33111 _swigc__p_wxGridSizer,
33112 _swigc__p_wxHtmlLinkInfo,
33113 _swigc__p_wxICOHandler,
33114 _swigc__p_wxIcon,
33115 _swigc__p_wxIconBundle,
33116 _swigc__p_wxIconizeEvent,
33117 _swigc__p_wxIdleEvent,
33118 _swigc__p_wxImage,
33119 _swigc__p_wxImageHandler,
33120 _swigc__p_wxIndividualLayoutConstraint,
33121 _swigc__p_wxInitDialogEvent,
33122 _swigc__p_wxJPEGHandler,
33123 _swigc__p_wxKeyEvent,
33124 _swigc__p_wxLayoutAlgorithm,
33125 _swigc__p_wxLayoutConstraints,
33126 _swigc__p_wxMDIChildFrame,
33127 _swigc__p_wxMDIClientWindow,
33128 _swigc__p_wxMDIParentFrame,
33129 _swigc__p_wxMaximizeEvent,
33130 _swigc__p_wxMenu,
33131 _swigc__p_wxMenuBar,
33132 _swigc__p_wxMenuEvent,
33133 _swigc__p_wxMenuItem,
33134 _swigc__p_wxMessageDialog,
33135 _swigc__p_wxMiniFrame,
33136 _swigc__p_wxMouseCaptureChangedEvent,
33137 _swigc__p_wxMouseCaptureLostEvent,
33138 _swigc__p_wxMouseEvent,
33139 _swigc__p_wxMoveEvent,
33140 _swigc__p_wxMultiChoiceDialog,
33141 _swigc__p_wxNavigationKeyEvent,
33142 _swigc__p_wxNcPaintEvent,
33143 _swigc__p_wxNotifyEvent,
33144 _swigc__p_wxNumberEntryDialog,
33145 _swigc__p_wxObject,
33146 _swigc__p_wxPCXHandler,
33147 _swigc__p_wxPNGHandler,
33148 _swigc__p_wxPNMHandler,
33149 _swigc__p_wxPageSetupDialog,
33150 _swigc__p_wxPageSetupDialogData,
33151 _swigc__p_wxPaintEvent,
33152 _swigc__p_wxPaletteChangedEvent,
33153 _swigc__p_wxPanel,
33154 _swigc__p_wxPaperSize,
33155 _swigc__p_wxPasswordEntryDialog,
33156 _swigc__p_wxPoint,
33157 _swigc__p_wxPopupWindow,
33158 _swigc__p_wxPreviewCanvas,
33159 _swigc__p_wxPreviewControlBar,
33160 _swigc__p_wxPreviewFrame,
33161 _swigc__p_wxPrintData,
33162 _swigc__p_wxPrintDialog,
33163 _swigc__p_wxPrintDialogData,
33164 _swigc__p_wxPrintPreview,
33165 _swigc__p_wxPrinter,
33166 _swigc__p_wxProgressDialog,
33167 _swigc__p_wxPyApp,
33168 _swigc__p_wxPyCommandEvent,
33169 _swigc__p_wxPyEvent,
33170 _swigc__p_wxPyHtmlListBox,
33171 _swigc__p_wxPyImageHandler,
33172 _swigc__p_wxPyPanel,
33173 _swigc__p_wxPyPopupTransientWindow,
33174 _swigc__p_wxPyPreviewControlBar,
33175 _swigc__p_wxPyPreviewFrame,
33176 _swigc__p_wxPyPrintPreview,
33177 _swigc__p_wxPyPrintout,
33178 _swigc__p_wxPyScrolledWindow,
33179 _swigc__p_wxPySizer,
33180 _swigc__p_wxPyTaskBarIcon,
33181 _swigc__p_wxPyVListBox,
33182 _swigc__p_wxPyVScrolledWindow,
33183 _swigc__p_wxPyValidator,
33184 _swigc__p_wxPyWindow,
33185 _swigc__p_wxQueryLayoutInfoEvent,
33186 _swigc__p_wxQueryNewPaletteEvent,
33187 _swigc__p_wxRect,
33188 _swigc__p_wxRegion,
33189 _swigc__p_wxSashEvent,
33190 _swigc__p_wxSashLayoutWindow,
33191 _swigc__p_wxSashWindow,
33192 _swigc__p_wxScrollEvent,
33193 _swigc__p_wxScrollWinEvent,
33194 _swigc__p_wxScrolledWindow,
33195 _swigc__p_wxSetCursorEvent,
33196 _swigc__p_wxShowEvent,
33197 _swigc__p_wxSingleChoiceDialog,
33198 _swigc__p_wxSize,
33199 _swigc__p_wxSizeEvent,
33200 _swigc__p_wxSizer,
33201 _swigc__p_wxSizerItem,
33202 _swigc__p_wxSplashScreen,
33203 _swigc__p_wxSplashScreenWindow,
33204 _swigc__p_wxSplitterEvent,
33205 _swigc__p_wxSplitterWindow,
33206 _swigc__p_wxStaticBoxSizer,
33207 _swigc__p_wxStatusBar,
33208 _swigc__p_wxStdDialogButtonSizer,
33209 _swigc__p_wxString,
33210 _swigc__p_wxSysColourChangedEvent,
33211 _swigc__p_wxTIFFHandler,
33212 _swigc__p_wxTaskBarIcon,
33213 _swigc__p_wxTaskBarIconEvent,
33214 _swigc__p_wxTextEntryDialog,
33215 _swigc__p_wxTipWindow,
33216 _swigc__p_wxToolBar,
33217 _swigc__p_wxTopLevelWindow,
33218 _swigc__p_wxUpdateUIEvent,
33219 _swigc__p_wxValidator,
33220 _swigc__p_wxVisualAttributes,
33221 _swigc__p_wxWindow,
33222 _swigc__p_wxWindowCreateEvent,
33223 _swigc__p_wxWindowDestroyEvent,
33224 _swigc__p_wxXPMHandler,
33225 };
33226
33227
33228 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33229
33230 static swig_const_info swig_const_table[] = {
33231 {0, 0, 0, 0.0, 0, 0}};
33232
33233 #ifdef __cplusplus
33234 }
33235 #endif
33236 /* -----------------------------------------------------------------------------
33237 * Type initialization:
33238 * This problem is tough by the requirement that no dynamic
33239 * memory is used. Also, since swig_type_info structures store pointers to
33240 * swig_cast_info structures and swig_cast_info structures store pointers back
33241 * to swig_type_info structures, we need some lookup code at initialization.
33242 * The idea is that swig generates all the structures that are needed.
33243 * The runtime then collects these partially filled structures.
33244 * The SWIG_InitializeModule function takes these initial arrays out of
33245 * swig_module, and does all the lookup, filling in the swig_module.types
33246 * array with the correct data and linking the correct swig_cast_info
33247 * structures together.
33248 *
33249 * The generated swig_type_info structures are assigned staticly to an initial
33250 * array. We just loop though that array, and handle each type individually.
33251 * First we lookup if this type has been already loaded, and if so, use the
33252 * loaded structure instead of the generated one. Then we have to fill in the
33253 * cast linked list. The cast data is initially stored in something like a
33254 * two-dimensional array. Each row corresponds to a type (there are the same
33255 * number of rows as there are in the swig_type_initial array). Each entry in
33256 * a column is one of the swig_cast_info structures for that type.
33257 * The cast_initial array is actually an array of arrays, because each row has
33258 * a variable number of columns. So to actually build the cast linked list,
33259 * we find the array of casts associated with the type, and loop through it
33260 * adding the casts to the list. The one last trick we need to do is making
33261 * sure the type pointer in the swig_cast_info struct is correct.
33262 *
33263 * First off, we lookup the cast->type name to see if it is already loaded.
33264 * There are three cases to handle:
33265 * 1) If the cast->type has already been loaded AND the type we are adding
33266 * casting info to has not been loaded (it is in this module), THEN we
33267 * replace the cast->type pointer with the type pointer that has already
33268 * been loaded.
33269 * 2) If BOTH types (the one we are adding casting info to, and the
33270 * cast->type) are loaded, THEN the cast info has already been loaded by
33271 * the previous module so we just ignore it.
33272 * 3) Finally, if cast->type has not already been loaded, then we add that
33273 * swig_cast_info to the linked list (because the cast->type) pointer will
33274 * be correct.
33275 * ----------------------------------------------------------------------------- */
33276
33277 #ifdef __cplusplus
33278 extern "C" {
33279 #if 0
33280 } /* c-mode */
33281 #endif
33282 #endif
33283
33284 #if 0
33285 #define SWIGRUNTIME_DEBUG
33286 #endif
33287
33288 SWIGRUNTIME void
33289 SWIG_InitializeModule(void *clientdata) {
33290 size_t i;
33291 swig_module_info *module_head;
33292 static int init_run = 0;
33293
33294 clientdata = clientdata;
33295
33296 if (init_run) return;
33297 init_run = 1;
33298
33299 /* Initialize the swig_module */
33300 swig_module.type_initial = swig_type_initial;
33301 swig_module.cast_initial = swig_cast_initial;
33302
33303 /* Try and load any already created modules */
33304 module_head = SWIG_GetModule(clientdata);
33305 if (module_head) {
33306 swig_module.next = module_head->next;
33307 module_head->next = &swig_module;
33308 } else {
33309 /* This is the first module loaded */
33310 swig_module.next = &swig_module;
33311 SWIG_SetModule(clientdata, &swig_module);
33312 }
33313
33314 /* Now work on filling in swig_module.types */
33315 #ifdef SWIGRUNTIME_DEBUG
33316 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33317 #endif
33318 for (i = 0; i < swig_module.size; ++i) {
33319 swig_type_info *type = 0;
33320 swig_type_info *ret;
33321 swig_cast_info *cast;
33322
33323 #ifdef SWIGRUNTIME_DEBUG
33324 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33325 #endif
33326
33327 /* if there is another module already loaded */
33328 if (swig_module.next != &swig_module) {
33329 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33330 }
33331 if (type) {
33332 /* Overwrite clientdata field */
33333 #ifdef SWIGRUNTIME_DEBUG
33334 printf("SWIG_InitializeModule: found type %s\n", type->name);
33335 #endif
33336 if (swig_module.type_initial[i]->clientdata) {
33337 type->clientdata = swig_module.type_initial[i]->clientdata;
33338 #ifdef SWIGRUNTIME_DEBUG
33339 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33340 #endif
33341 }
33342 } else {
33343 type = swig_module.type_initial[i];
33344 }
33345
33346 /* Insert casting types */
33347 cast = swig_module.cast_initial[i];
33348 while (cast->type) {
33349 /* Don't need to add information already in the list */
33350 ret = 0;
33351 #ifdef SWIGRUNTIME_DEBUG
33352 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33353 #endif
33354 if (swig_module.next != &swig_module) {
33355 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33356 #ifdef SWIGRUNTIME_DEBUG
33357 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33358 #endif
33359 }
33360 if (ret) {
33361 if (type == swig_module.type_initial[i]) {
33362 #ifdef SWIGRUNTIME_DEBUG
33363 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33364 #endif
33365 cast->type = ret;
33366 ret = 0;
33367 } else {
33368 /* Check for casting already in the list */
33369 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33370 #ifdef SWIGRUNTIME_DEBUG
33371 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33372 #endif
33373 if (!ocast) ret = 0;
33374 }
33375 }
33376
33377 if (!ret) {
33378 #ifdef SWIGRUNTIME_DEBUG
33379 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33380 #endif
33381 if (type->cast) {
33382 type->cast->prev = cast;
33383 cast->next = type->cast;
33384 }
33385 type->cast = cast;
33386 }
33387 cast++;
33388 }
33389 /* Set entry in modules->types array equal to the type */
33390 swig_module.types[i] = type;
33391 }
33392 swig_module.types[i] = 0;
33393
33394 #ifdef SWIGRUNTIME_DEBUG
33395 printf("**** SWIG_InitializeModule: Cast List ******\n");
33396 for (i = 0; i < swig_module.size; ++i) {
33397 int j = 0;
33398 swig_cast_info *cast = swig_module.cast_initial[i];
33399 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33400 while (cast->type) {
33401 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33402 cast++;
33403 ++j;
33404 }
33405 printf("---- Total casts: %d\n",j);
33406 }
33407 printf("**** SWIG_InitializeModule: Cast List ******\n");
33408 #endif
33409 }
33410
33411 /* This function will propagate the clientdata field of type to
33412 * any new swig_type_info structures that have been added into the list
33413 * of equivalent types. It is like calling
33414 * SWIG_TypeClientData(type, clientdata) a second time.
33415 */
33416 SWIGRUNTIME void
33417 SWIG_PropagateClientData(void) {
33418 size_t i;
33419 swig_cast_info *equiv;
33420 static int init_run = 0;
33421
33422 if (init_run) return;
33423 init_run = 1;
33424
33425 for (i = 0; i < swig_module.size; i++) {
33426 if (swig_module.types[i]->clientdata) {
33427 equiv = swig_module.types[i]->cast;
33428 while (equiv) {
33429 if (!equiv->converter) {
33430 if (equiv->type && !equiv->type->clientdata)
33431 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33432 }
33433 equiv = equiv->next;
33434 }
33435 }
33436 }
33437 }
33438
33439 #ifdef __cplusplus
33440 #if 0
33441 {
33442 /* c-mode */
33443 #endif
33444 }
33445 #endif
33446
33447
33448
33449 #ifdef __cplusplus
33450 extern "C" {
33451 #endif
33452
33453 /* Python-specific SWIG API */
33454 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33455 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33456 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33457
33458 /* -----------------------------------------------------------------------------
33459 * global variable support code.
33460 * ----------------------------------------------------------------------------- */
33461
33462 typedef struct swig_globalvar {
33463 char *name; /* Name of global variable */
33464 PyObject *(*get_attr)(void); /* Return the current value */
33465 int (*set_attr)(PyObject *); /* Set the value */
33466 struct swig_globalvar *next;
33467 } swig_globalvar;
33468
33469 typedef struct swig_varlinkobject {
33470 PyObject_HEAD
33471 swig_globalvar *vars;
33472 } swig_varlinkobject;
33473
33474 SWIGINTERN PyObject *
33475 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33476 return PyString_FromString("<Swig global variables>");
33477 }
33478
33479 SWIGINTERN PyObject *
33480 swig_varlink_str(swig_varlinkobject *v) {
33481 PyObject *str = PyString_FromString("(");
33482 swig_globalvar *var;
33483 for (var = v->vars; var; var=var->next) {
33484 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33485 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33486 }
33487 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33488 return str;
33489 }
33490
33491 SWIGINTERN int
33492 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33493 PyObject *str = swig_varlink_str(v);
33494 fprintf(fp,"Swig global variables ");
33495 fprintf(fp,"%s\n", PyString_AsString(str));
33496 Py_DECREF(str);
33497 return 0;
33498 }
33499
33500 SWIGINTERN void
33501 swig_varlink_dealloc(swig_varlinkobject *v) {
33502 swig_globalvar *var = v->vars;
33503 while (var) {
33504 swig_globalvar *n = var->next;
33505 free(var->name);
33506 free(var);
33507 var = n;
33508 }
33509 }
33510
33511 SWIGINTERN PyObject *
33512 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33513 PyObject *res = NULL;
33514 swig_globalvar *var = v->vars;
33515 while (var) {
33516 if (strcmp(var->name,n) == 0) {
33517 res = (*var->get_attr)();
33518 break;
33519 }
33520 var = var->next;
33521 }
33522 if (res == NULL && !PyErr_Occurred()) {
33523 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33524 }
33525 return res;
33526 }
33527
33528 SWIGINTERN int
33529 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33530 int res = 1;
33531 swig_globalvar *var = v->vars;
33532 while (var) {
33533 if (strcmp(var->name,n) == 0) {
33534 res = (*var->set_attr)(p);
33535 break;
33536 }
33537 var = var->next;
33538 }
33539 if (res == 1 && !PyErr_Occurred()) {
33540 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33541 }
33542 return res;
33543 }
33544
33545 SWIGINTERN PyTypeObject*
33546 swig_varlink_type(void) {
33547 static char varlink__doc__[] = "Swig var link object";
33548 static PyTypeObject varlink_type;
33549 static int type_init = 0;
33550 if (!type_init) {
33551 const PyTypeObject tmp
33552 = {
33553 PyObject_HEAD_INIT(NULL)
33554 0, /* Number of items in variable part (ob_size) */
33555 (char *)"swigvarlink", /* Type name (tp_name) */
33556 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33557 0, /* Itemsize (tp_itemsize) */
33558 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33559 (printfunc) swig_varlink_print, /* Print (tp_print) */
33560 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33561 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33562 0, /* tp_compare */
33563 (reprfunc) swig_varlink_repr, /* tp_repr */
33564 0, /* tp_as_number */
33565 0, /* tp_as_sequence */
33566 0, /* tp_as_mapping */
33567 0, /* tp_hash */
33568 0, /* tp_call */
33569 (reprfunc)swig_varlink_str, /* tp_str */
33570 0, /* tp_getattro */
33571 0, /* tp_setattro */
33572 0, /* tp_as_buffer */
33573 0, /* tp_flags */
33574 varlink__doc__, /* tp_doc */
33575 0, /* tp_traverse */
33576 0, /* tp_clear */
33577 0, /* tp_richcompare */
33578 0, /* tp_weaklistoffset */
33579 #if PY_VERSION_HEX >= 0x02020000
33580 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33581 #endif
33582 #if PY_VERSION_HEX >= 0x02030000
33583 0, /* tp_del */
33584 #endif
33585 #ifdef COUNT_ALLOCS
33586 0,0,0,0 /* tp_alloc -> tp_next */
33587 #endif
33588 };
33589 varlink_type = tmp;
33590 varlink_type.ob_type = &PyType_Type;
33591 type_init = 1;
33592 }
33593 return &varlink_type;
33594 }
33595
33596 /* Create a variable linking object for use later */
33597 SWIGINTERN PyObject *
33598 SWIG_Python_newvarlink(void) {
33599 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33600 if (result) {
33601 result->vars = 0;
33602 }
33603 return ((PyObject*) result);
33604 }
33605
33606 SWIGINTERN void
33607 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33608 swig_varlinkobject *v = (swig_varlinkobject *) p;
33609 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33610 if (gv) {
33611 size_t size = strlen(name)+1;
33612 gv->name = (char *)malloc(size);
33613 if (gv->name) {
33614 strncpy(gv->name,name,size);
33615 gv->get_attr = get_attr;
33616 gv->set_attr = set_attr;
33617 gv->next = v->vars;
33618 }
33619 }
33620 v->vars = gv;
33621 }
33622
33623 SWIGINTERN PyObject *
33624 SWIG_globals() {
33625 static PyObject *_SWIG_globals = 0;
33626 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33627 return _SWIG_globals;
33628 }
33629
33630 /* -----------------------------------------------------------------------------
33631 * constants/methods manipulation
33632 * ----------------------------------------------------------------------------- */
33633
33634 /* Install Constants */
33635 SWIGINTERN void
33636 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33637 PyObject *obj = 0;
33638 size_t i;
33639 for (i = 0; constants[i].type; ++i) {
33640 switch(constants[i].type) {
33641 case SWIG_PY_POINTER:
33642 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33643 break;
33644 case SWIG_PY_BINARY:
33645 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33646 break;
33647 default:
33648 obj = 0;
33649 break;
33650 }
33651 if (obj) {
33652 PyDict_SetItemString(d, constants[i].name, obj);
33653 Py_DECREF(obj);
33654 }
33655 }
33656 }
33657
33658 /* -----------------------------------------------------------------------------*/
33659 /* Fix SwigMethods to carry the callback ptrs when needed */
33660 /* -----------------------------------------------------------------------------*/
33661
33662 SWIGINTERN void
33663 SWIG_Python_FixMethods(PyMethodDef *methods,
33664 swig_const_info *const_table,
33665 swig_type_info **types,
33666 swig_type_info **types_initial) {
33667 size_t i;
33668 for (i = 0; methods[i].ml_name; ++i) {
33669 const char *c = methods[i].ml_doc;
33670 if (c && (c = strstr(c, "swig_ptr: "))) {
33671 int j;
33672 swig_const_info *ci = 0;
33673 const char *name = c + 10;
33674 for (j = 0; const_table[j].type; ++j) {
33675 if (strncmp(const_table[j].name, name,
33676 strlen(const_table[j].name)) == 0) {
33677 ci = &(const_table[j]);
33678 break;
33679 }
33680 }
33681 if (ci) {
33682 size_t shift = (ci->ptype) - types;
33683 swig_type_info *ty = types_initial[shift];
33684 size_t ldoc = (c - methods[i].ml_doc);
33685 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33686 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33687 if (ndoc) {
33688 char *buff = ndoc;
33689 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33690 if (ptr) {
33691 strncpy(buff, methods[i].ml_doc, ldoc);
33692 buff += ldoc;
33693 strncpy(buff, "swig_ptr: ", 10);
33694 buff += 10;
33695 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33696 methods[i].ml_doc = ndoc;
33697 }
33698 }
33699 }
33700 }
33701 }
33702 }
33703
33704 #ifdef __cplusplus
33705 }
33706 #endif
33707
33708 /* -----------------------------------------------------------------------------*
33709 * Partial Init method
33710 * -----------------------------------------------------------------------------*/
33711
33712 #ifdef __cplusplus
33713 extern "C"
33714 #endif
33715 SWIGEXPORT void SWIG_init(void) {
33716 PyObject *m, *d;
33717
33718 /* Fix SwigMethods to carry the callback ptrs when needed */
33719 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33720
33721 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33722 d = PyModule_GetDict(m);
33723
33724 SWIG_InitializeModule(0);
33725 SWIG_InstallConstants(d,swig_const_table);
33726
33727
33728 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33729 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33730 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33731 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33732 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33733 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33734 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33735 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33736 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33737 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33738 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33739 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33740 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33741 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33742 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33743 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33744 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33745 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33746 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33747 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33748 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33749 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33750 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33751 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33752 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33753 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33754 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33755 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33756 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33757 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
33758 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33759 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33760 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33761 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33762 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
33763 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
33764 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33765 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33766 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33767 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33768 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33769 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33770 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33771 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33772 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33773 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33774 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33775 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33776 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33777 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33778 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33779 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33780 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33781 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33782 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33783 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33784 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33785 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33786 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33787 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33788 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33789 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33790 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33791 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33792 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33793 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33794 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33795 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33796 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33797 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33798 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33799 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33800 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33801 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33802 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33803 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33804 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33805 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33806 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33807 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33808 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33809 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33810 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33811 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33812 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33813 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33814 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33815 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33816 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33817 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33818 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33819 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33820 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33821 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33822 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33823 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33824 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33825 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33826 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33827 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33828 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33829 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33830 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33831 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33832 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33833
33834 // Map renamed classes back to their common name for OOR
33835 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33836 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33837 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33838
33839 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33840 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33841 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33842 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33843 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33844 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33845 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33846 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33847 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33848 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33849 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33850 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33851 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33852 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
33853 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
33854 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
33855 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
33856 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
33857 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
33858 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
33859 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
33860 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
33861 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
33862 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
33863 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
33864 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
33865 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
33866 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
33867 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
33868 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
33869 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
33870 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33871 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33872 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33873 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33874 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33875 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33876 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33877 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33878 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33879 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33880 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33881 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33882 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33883 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33884 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33885 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33886 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33887 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33888 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33889 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33890 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33891 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33892 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33893 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33894 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33895 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33896 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33897 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33898 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33899 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33900 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33901 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33902 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33903 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33904 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33905 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33906 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33907 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33908 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33909 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33910 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33911 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33912 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33913 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33914 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33915 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33916 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33917 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33918 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33919 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33920 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33921 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33922 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33923 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33924 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33925 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33926 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33927 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33928 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33929 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33930 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33931 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33932 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33933 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33934 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33935
33936 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33937
33938 }
33939