]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
Warning fix.
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
996
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1000
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1004
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1008
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1012
1013
1014 /* Runtime API */
1015
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1019
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1025
1026
1027 /* Runtime API implementation */
1028
1029 /* Error manipulation */
1030
1031 SWIGINTERN void
1032 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
1037 }
1038
1039 SWIGINTERN void
1040 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
1044 }
1045
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1047
1048 /* Set a constant value */
1049
1050 SWIGINTERN void
1051 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
1054 }
1055
1056 /* Append a value to the result obj */
1057
1058 SWIGINTERN PyObject*
1059 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076 #else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
1084 } else {
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
1096 }
1097 return result;
1098 #endif
1099 }
1100
1101 /* Unpack the argument tuple */
1102
1103 SWIGINTERN int
1104 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105 {
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139 }
1140
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144 #else
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146 #endif
1147
1148 /*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151 */
1152 #ifdef __cplusplus
1153 #define SWIG_STATIC_POINTER(var) var
1154 #else
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156 #endif
1157
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168 #ifdef __cplusplus
1169 extern "C" {
1170 #if 0
1171 } /* cc-mode */
1172 #endif
1173 #endif
1174
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1180 # endif
1181 # endif
1182 #endif
1183
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1185 # ifdef Py_None
1186 # undef Py_None
1187 # define Py_None SWIG_Py_None()
1188 # endif
1189 SWIGRUNTIMEINLINE PyObject *
1190 _SWIG_Py_None(void)
1191 {
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195 }
1196 SWIGRUNTIME PyObject *
1197 SWIG_Py_None(void)
1198 {
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201 }
1202 #endif
1203
1204 /* The python void return value */
1205
1206 SWIGRUNTIMEINLINE PyObject *
1207 SWIG_Py_Void(void)
1208 {
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212 }
1213
1214 /* PySwigClientData */
1215
1216 typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223 } PySwigClientData;
1224
1225 SWIGRUNTIMEINLINE int
1226 SWIG_Python_CheckImplicit(swig_type_info *ty)
1227 {
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230 }
1231
1232 SWIGRUNTIMEINLINE PyObject *
1233 SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237 }
1238
1239
1240 SWIGRUNTIME PySwigClientData *
1241 PySwigClientData_New(PyObject* obj)
1242 {
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256 #if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258 #else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260 #endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280 #ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282 #else
1283 data->delargs = 0;
1284 #endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291 }
1292
1293 SWIGRUNTIME void
1294 PySwigClientData_Del(PySwigClientData* data)
1295 {
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299 }
1300
1301 /* =============== PySwigObject =====================*/
1302
1303 typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309 } PySwigObject;
1310
1311 SWIGRUNTIME PyObject *
1312 PySwigObject_long(PySwigObject *v)
1313 {
1314 return PyLong_FromVoidPtr(v->ptr);
1315 }
1316
1317 SWIGRUNTIME PyObject *
1318 PySwigObject_format(const char* fmt, PySwigObject *v)
1319 {
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333 }
1334
1335 SWIGRUNTIME PyObject *
1336 PySwigObject_oct(PySwigObject *v)
1337 {
1338 return PySwigObject_format("%o",v);
1339 }
1340
1341 SWIGRUNTIME PyObject *
1342 PySwigObject_hex(PySwigObject *v)
1343 {
1344 return PySwigObject_format("%x",v);
1345 }
1346
1347 SWIGRUNTIME PyObject *
1348 #ifdef METH_NOARGS
1349 PySwigObject_repr(PySwigObject *v)
1350 #else
1351 PySwigObject_repr(PySwigObject *v, PyObject *args)
1352 #endif
1353 {
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359 #ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361 #else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363 #endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367 }
1368
1369 SWIGRUNTIME int
1370 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371 {
1372 #ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374 #else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376 #endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384 }
1385
1386 SWIGRUNTIME PyObject *
1387 PySwigObject_str(PySwigObject *v)
1388 {
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392 }
1393
1394 SWIGRUNTIME int
1395 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396 {
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400 }
1401
1402 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404 SWIGRUNTIME PyTypeObject*
1405 PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408 }
1409
1410 SWIGRUNTIMEINLINE int
1411 PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414 }
1415
1416 SWIGRUNTIME PyObject *
1417 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419 SWIGRUNTIME void
1420 PySwigObject_dealloc(PyObject *v)
1421 {
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446 #endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451 }
1452
1453 SWIGRUNTIME PyObject*
1454 PySwigObject_append(PyObject* v, PyObject* next)
1455 {
1456 PySwigObject *sobj = (PySwigObject *) v;
1457 #ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461 #endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468 }
1469
1470 SWIGRUNTIME PyObject*
1471 #ifdef METH_NOARGS
1472 PySwigObject_next(PyObject* v)
1473 #else
1474 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475 #endif
1476 {
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484 }
1485
1486 SWIGINTERN PyObject*
1487 #ifdef METH_NOARGS
1488 PySwigObject_disown(PyObject *v)
1489 #else
1490 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491 #endif
1492 {
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496 }
1497
1498 SWIGINTERN PyObject*
1499 #ifdef METH_NOARGS
1500 PySwigObject_acquire(PyObject *v)
1501 #else
1502 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503 #endif
1504 {
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508 }
1509
1510 SWIGINTERN PyObject*
1511 PySwigObject_own(PyObject *v, PyObject *args)
1512 {
1513 PyObject *val = 0;
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516 #else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518 #endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527 #ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533 #else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539 #endif
1540 }
1541 return obj;
1542 }
1543 }
1544
1545 #ifdef METH_O
1546 static PyMethodDef
1547 swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555 };
1556 #else
1557 static PyMethodDef
1558 swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566 };
1567 #endif
1568
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject *
1571 PySwigObject_getattr(PySwigObject *sobj,char *name)
1572 {
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574 }
1575 #endif
1576
1577 SWIGRUNTIME PyTypeObject*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1609 #endif
1610 };
1611
1612 static PyTypeObject pyswigobject_type;
1613 static int type_init = 0;
1614 if (!type_init) {
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626 #else
1627 (getattrfunc)0, /* tp_getattr */
1628 #endif
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1668 #endif
1669 #if PY_VERSION_HEX >= 0x02030000
1670 0, /* tp_del */
1671 #endif
1672 #ifdef COUNT_ALLOCS
1673 0,0,0,0 /* tp_alloc -> tp_next */
1674 #endif
1675 };
1676 pyswigobject_type = tmp;
1677 pyswigobject_type.ob_type = &PyType_Type;
1678 type_init = 1;
1679 }
1680 return &pyswigobject_type;
1681 }
1682
1683 SWIGRUNTIME PyObject *
1684 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1685 {
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
1692 }
1693 return (PyObject *)sobj;
1694 }
1695
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700 typedef struct {
1701 PyObject_HEAD
1702 void *pack;
1703 swig_type_info *ty;
1704 size_t size;
1705 } PySwigPacked;
1706
1707 SWIGRUNTIME int
1708 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1709 {
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
1716 fputs(v->ty->name,fp);
1717 fputs(">", fp);
1718 return 0;
1719 }
1720
1721 SWIGRUNTIME PyObject *
1722 PySwigPacked_repr(PySwigPacked *v)
1723 {
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1727 } else {
1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1729 }
1730 }
1731
1732 SWIGRUNTIME PyObject *
1733 PySwigPacked_str(PySwigPacked *v)
1734 {
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1737 return PyString_FromFormat("%s%s", result, v->ty->name);
1738 } else {
1739 return PyString_FromString(v->ty->name);
1740 }
1741 }
1742
1743 SWIGRUNTIME int
1744 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745 {
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1750 }
1751
1752 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1753
1754 SWIGRUNTIME PyTypeObject*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758 }
1759
1760 SWIGRUNTIMEINLINE int
1761 PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764 }
1765
1766 SWIGRUNTIME void
1767 PySwigPacked_dealloc(PyObject *v)
1768 {
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774 }
1775
1776 SWIGRUNTIME PyTypeObject*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1831 #endif
1832 #if PY_VERSION_HEX >= 0x02030000
1833 0, /* tp_del */
1834 #endif
1835 #ifdef COUNT_ALLOCS
1836 0,0,0,0 /* tp_alloc -> tp_next */
1837 #endif
1838 };
1839 pyswigpacked_type = tmp;
1840 pyswigpacked_type.ob_type = &PyType_Type;
1841 type_init = 1;
1842 }
1843 return &pyswigpacked_type;
1844 }
1845
1846 SWIGRUNTIME PyObject *
1847 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1848 {
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
1851 void *pack = malloc(size);
1852 if (pack) {
1853 memcpy(pack, ptr, size);
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
1860 }
1861 }
1862 return (PyObject *) sobj;
1863 }
1864
1865 SWIGRUNTIME swig_type_info *
1866 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867 {
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
1876 }
1877
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1881
1882 SWIGRUNTIMEINLINE PyObject *
1883 _SWIG_This(void)
1884 {
1885 return PyString_FromString("this");
1886 }
1887
1888 SWIGRUNTIME PyObject *
1889 SWIG_This(void)
1890 {
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893 }
1894
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1896
1897 SWIGRUNTIME PySwigObject *
1898 SWIG_Python_GetSwigThis(PyObject *pyobj)
1899 {
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918 #endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
1922 } else {
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
1925 }
1926 }
1927 }
1928 #else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936 #endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
1943 }
1944 }
1945
1946 /* Acquire a pointer value */
1947
1948 SWIGRUNTIME int
1949 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
1957 }
1958 return 0;
1959 }
1960
1961 /* Convert a pointer value */
1962
1963 SWIGRUNTIME int
1964 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
1988 } else {
1989 if (ptr) *ptr = vptr;
1990 break;
1991 }
1992 }
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
2038 }
2039 }
2040
2041 /* Convert a function ptr value */
2042
2043 SWIGRUNTIME int
2044 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2047 } else {
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
2065 }
2066 }
2067
2068 /* Convert a packed value value */
2069
2070 SWIGRUNTIME int
2071 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
2080 }
2081 return SWIG_OK;
2082 }
2083
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2087
2088 /*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091 */
2092
2093 SWIGRUNTIME PyObject*
2094 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095 {
2096 #if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
2111 }
2112 #else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115 #endif
2116 }
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
2122 }
2123 return inst;
2124 #else
2125 #if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132 #else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
2136 }
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
2143 }
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146 #endif
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149 #endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152 #endif
2153 #endif
2154 }
2155
2156 SWIGRUNTIME void
2157 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158 {
2159 PyObject *dict;
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
2171 #endif
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175 }
2176
2177
2178 SWIGINTERN PyObject *
2179 SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
2187 } else {
2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2189 }
2190 return SWIG_Py_Void();
2191 }
2192 }
2193
2194 /* Create a new pointer object */
2195
2196 SWIGRUNTIME PyObject *
2197 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2198 if (!ptr) {
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
2209 }
2210 }
2211 return robj;
2212 }
2213 }
2214
2215 /* Create a new packed object */
2216
2217 SWIGRUNTIMEINLINE PyObject *
2218 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2220 }
2221
2222 /* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2228 #endif
2229
2230 SWIGRUNTIME swig_module_info *
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237 #else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
2244 #endif
2245 }
2246 return (swig_module_info *) type_pointer;
2247 }
2248
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2252 SWIGINTERN int
2253 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254 {
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
2259 return SWIG_ERROR;
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
2264 return SWIG_ERROR;
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
2272 return SWIG_ERROR;
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
2275 return SWIG_ERROR;
2276 Py_DECREF(o);
2277 return SWIG_OK;
2278 }
2279 #endif
2280
2281 SWIGRUNTIME void
2282 SWIG_Python_DestroyModule(void *vptr)
2283 {
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295 }
2296
2297 SWIGRUNTIME void
2298 SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2306 } else {
2307 Py_XDECREF(pointer);
2308 }
2309 }
2310
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject *
2313 SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
2316 }
2317
2318 SWIGRUNTIME swig_type_info *
2319 SWIG_Python_TypeQuery(const char *type)
2320 {
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338 }
2339
2340 /*
2341 For backward compatibility only
2342 */
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347 SWIGRUNTIME int
2348 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349 {
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370 }
2371
2372 SWIGRUNTIME int
2373 SWIG_Python_ArgFail(int argnum)
2374 {
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383 }
2384
2385 SWIGRUNTIMEINLINE const char *
2386 PySwigObject_GetDesc(PyObject *self)
2387 {
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391 }
2392
2393 SWIGRUNTIME void
2394 SWIG_Python_TypeError(const char *type, PyObject *obj)
2395 {
2396 if (type) {
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406 #endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427 }
2428
2429
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2431 SWIGRUNTIME void *
2432 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442 }
2443
2444
2445 #ifdef __cplusplus
2446 #if 0
2447 { /* cc-mode */
2448 #endif
2449 }
2450 #endif
2451
2452
2453
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2461
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2479 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxColour swig_types[19]
2482 #define SWIGTYPE_p_wxColourData swig_types[20]
2483 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2484 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2485 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2486 #define SWIGTYPE_p_wxControl swig_types[24]
2487 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2488 #define SWIGTYPE_p_wxDC swig_types[26]
2489 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2490 #define SWIGTYPE_p_wxDialog swig_types[28]
2491 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2492 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2495 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2496 #define SWIGTYPE_p_wxEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2498 #define SWIGTYPE_p_wxFSFile swig_types[36]
2499 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2500 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2501 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2502 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2503 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFontData swig_types[45]
2508 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2509 #define SWIGTYPE_p_wxFrame swig_types[47]
2510 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2515 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2516 #define SWIGTYPE_p_wxIcon swig_types[54]
2517 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2518 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2519 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2520 #define SWIGTYPE_p_wxImage swig_types[58]
2521 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2527 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2529 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2530 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2531 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2536 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2537 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2538 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2542 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2544 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxObject swig_types[83]
2546 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2550 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2551 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2552 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2553 #define SWIGTYPE_p_wxPanel swig_types[91]
2554 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2555 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2556 #define SWIGTYPE_p_wxPoint swig_types[94]
2557 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2558 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2559 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2560 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2561 #define SWIGTYPE_p_wxPrintData swig_types[99]
2562 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2563 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2564 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2565 #define SWIGTYPE_p_wxPrinter swig_types[103]
2566 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2570 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2573 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2574 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2575 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2576 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2577 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2578 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2579 #define SWIGTYPE_p_wxPySizer swig_types[117]
2580 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2581 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2582 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2583 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2584 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2585 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2587 #define SWIGTYPE_p_wxRect swig_types[125]
2588 #define SWIGTYPE_p_wxRegion swig_types[126]
2589 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2590 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2591 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2603 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2604 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2605 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2608 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609 #define SWIGTYPE_p_wxString swig_types[147]
2610 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2612 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2613 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2615 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2616 #define SWIGTYPE_p_wxToolBar swig_types[154]
2617 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info *swig_types[164];
2626 static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2629
2630 /* -------- TYPES TABLE (END) -------- */
2631
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2635 # endif
2636 #endif
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2639 #endif
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2642 #endif
2643 #ifndef METH_O
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2645 #endif
2646
2647 /*-----------------------------------------------
2648 @(target):= _windows_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_windows_
2651
2652 #define SWIG_name "_windows_"
2653
2654 #define SWIGVERSION 0x010329
2655
2656
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2659
2660
2661 #include <stdexcept>
2662
2663
2664 namespace swig {
2665 class PyObject_ptr {
2666 protected:
2667 PyObject *_obj;
2668
2669 public:
2670 PyObject_ptr() :_obj(0)
2671 {
2672 }
2673
2674 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2675 {
2676 Py_XINCREF(_obj);
2677 }
2678
2679 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2680 {
2681 if (initial_ref) Py_XINCREF(_obj);
2682 }
2683
2684 PyObject_ptr & operator=(const PyObject_ptr& item)
2685 {
2686 Py_XINCREF(item._obj);
2687 Py_XDECREF(_obj);
2688 _obj = item._obj;
2689 return *this;
2690 }
2691
2692 ~PyObject_ptr()
2693 {
2694 Py_XDECREF(_obj);
2695 }
2696
2697 operator PyObject *() const
2698 {
2699 return _obj;
2700 }
2701
2702 PyObject *operator->() const
2703 {
2704 return _obj;
2705 }
2706 };
2707 }
2708
2709
2710 namespace swig {
2711 struct PyObject_var : PyObject_ptr {
2712 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2713
2714 PyObject_var & operator = (PyObject* obj)
2715 {
2716 Py_XDECREF(_obj);
2717 _obj = obj;
2718 return *this;
2719 }
2720 };
2721 }
2722
2723
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2726
2727
2728 static const wxString wxPyEmptyString(wxEmptyString);
2729 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2730
2731
2732
2733 #include <limits.h>
2734 #ifndef LLONG_MIN
2735 # define LLONG_MIN LONG_LONG_MIN
2736 #endif
2737 #ifndef LLONG_MAX
2738 # define LLONG_MAX LONG_LONG_MAX
2739 #endif
2740 #ifndef ULLONG_MAX
2741 # define ULLONG_MAX ULONG_LONG_MAX
2742 #endif
2743
2744
2745 SWIGINTERN int
2746 SWIG_AsVal_long (PyObject* obj, long* val)
2747 {
2748 if (PyNumber_Check(obj)) {
2749 if (val) *val = PyInt_AsLong(obj);
2750 return SWIG_OK;
2751 }
2752 return SWIG_TypeError;
2753 }
2754
2755
2756 SWIGINTERN int
2757 SWIG_AsVal_int (PyObject * obj, int *val)
2758 {
2759 long v;
2760 int res = SWIG_AsVal_long (obj, &v);
2761 if (SWIG_IsOK(res)) {
2762 if ((v < INT_MIN || v > INT_MAX)) {
2763 return SWIG_OverflowError;
2764 } else {
2765 if (val) *val = static_cast< int >(v);
2766 }
2767 }
2768 return res;
2769 }
2770
2771
2772 SWIGINTERN int
2773 SWIG_AsVal_bool (PyObject *obj, bool *val)
2774 {
2775 if (obj == Py_True) {
2776 if (val) *val = true;
2777 return SWIG_OK;
2778 } else if (obj == Py_False) {
2779 if (val) *val = false;
2780 return SWIG_OK;
2781 } else {
2782 long v = 0;
2783 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2784 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2785 return res;
2786 }
2787 }
2788
2789
2790 #define SWIG_From_long PyInt_FromLong
2791
2792
2793 SWIGINTERNINLINE PyObject *
2794 SWIG_From_int (int value)
2795 {
2796 return SWIG_From_long (value);
2797 }
2798
2799
2800 SWIGINTERN int
2801 SWIG_AsVal_double (PyObject *obj, double* val)
2802 {
2803 if (PyNumber_Check(obj)) {
2804 if (val) *val = PyFloat_AsDouble(obj);
2805 return SWIG_OK;
2806 }
2807 return SWIG_TypeError;
2808 }
2809
2810
2811 #define SWIG_From_double PyFloat_FromDouble
2812
2813 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2814 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2815 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2816 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2817 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2818 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2819
2820
2821 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2822 wxRect r;
2823 self->GetFieldRect(i, r);
2824 return r;
2825 }
2826 static const wxString wxPySplitterNameStr(wxT("splitter"));
2827 static const wxString wxPySashNameStr(wxT("sashWindow"));
2828 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2829
2830 #include <wx/popupwin.h>
2831
2832
2833 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2834 {
2835 public:
2836 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2837 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2838 : wxPopupTransientWindow(parent, style) {}
2839
2840 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2841 DEC_PYCALLBACK__(OnDismiss);
2842 DEC_PYCALLBACK_BOOL_(CanDismiss);
2843 PYPRIVATE;
2844 };
2845
2846
2847 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2848 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2849 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2850
2851
2852 #include <wx/tipwin.h>
2853
2854 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2855 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2856 }
2857
2858 #include <wx/tipwin.h>
2859
2860
2861 #include <wx/vscroll.h>
2862
2863
2864 class wxPyVScrolledWindow : public wxVScrolledWindow
2865 {
2866 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2867 public:
2868 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2869
2870 wxPyVScrolledWindow(wxWindow *parent,
2871 wxWindowID id = wxID_ANY,
2872 const wxPoint& pos = wxDefaultPosition,
2873 const wxSize& size = wxDefaultSize,
2874 long style = 0,
2875 const wxString& name = wxPyPanelNameStr)
2876 : wxVScrolledWindow(parent, id, pos, size, style, name)
2877 {}
2878
2879 // Overridable virtuals
2880
2881 // this function must be overridden in the derived class and it should
2882 // return the height of the given line in pixels
2883 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2884
2885
2886 // this function doesn't have to be overridden but it may be useful to do
2887 // it if calculating the lines heights is a relatively expensive operation
2888 // as it gives the user code a possibility to calculate several of them at
2889 // once
2890 //
2891 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2892 // shouldn't rely on the latter being called for all lines in the interval
2893 // specified here. It is also possible that OnGetLineHeight() will be
2894 // called for the lines outside of this interval, so this is really just a
2895 // hint, not a promise.
2896 //
2897 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2898 // usual
2899 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2900
2901
2902 // when the number of lines changes, we try to estimate the total height
2903 // of all lines which is a rather expensive operation in terms of lines
2904 // access, so if the user code may estimate the average height
2905 // better/faster than we do, it should override this function to implement
2906 // its own logic
2907 //
2908 // this function should return the best guess for the total height it may
2909 // make
2910 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2911
2912
2913 // Also expose some other interesting protected methods
2914
2915
2916 // find the index of the line we need to show at the top of the window such
2917 // that the last (fully or partially) visible line is the given one
2918 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2919 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2920
2921 // get the total height of the lines between lineMin (inclusive) and
2922 // lineMax (exclusive)
2923 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2924 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2925
2926 // update the thumb size shown by the scrollbar
2927 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2928
2929 // remove the scrollbar completely because we don't need it
2930 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2931
2932 PYPRIVATE;
2933 };
2934
2935 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2936
2937 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2938 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2939 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2940
2941
2942 SWIGINTERN int
2943 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2944 {
2945 long v = 0;
2946 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2947 return SWIG_TypeError;
2948 }
2949 else if (val)
2950 *val = (unsigned long)v;
2951 return SWIG_OK;
2952 }
2953
2954
2955 SWIGINTERNINLINE int
2956 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2957 {
2958 unsigned long v;
2959 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2960 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2961 return res;
2962 }
2963
2964
2965 SWIGINTERNINLINE PyObject*
2966 SWIG_From_unsigned_SS_long (unsigned long value)
2967 {
2968 return (value > LONG_MAX) ?
2969 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2970 }
2971
2972
2973 SWIGINTERNINLINE PyObject *
2974 SWIG_From_size_t (size_t value)
2975 {
2976 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2977 }
2978
2979
2980 #include <wx/vlbox.h>
2981
2982 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2983
2984 class wxPyVListBox : public wxVListBox
2985 {
2986 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2987 public:
2988 wxPyVListBox() : wxVListBox() {}
2989
2990 wxPyVListBox(wxWindow *parent,
2991 wxWindowID id = wxID_ANY,
2992 const wxPoint& pos = wxDefaultPosition,
2993 const wxSize& size = wxDefaultSize,
2994 long style = 0,
2995 const wxString& name = wxPyVListBoxNameStr)
2996 : wxVListBox(parent, id, pos, size, style, name)
2997 {}
2998
2999 // Overridable virtuals
3000
3001 // the derived class must implement this function to actually draw the item
3002 // with the given index on the provided DC
3003 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3004 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3005
3006
3007 // the derived class must implement this method to return the height of the
3008 // specified item
3009 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3010 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3011
3012
3013 // this method may be used to draw separators between the lines; note that
3014 // the rectangle may be modified, typically to deflate it a bit before
3015 // passing to OnDrawItem()
3016 //
3017 // the base class version doesn't do anything
3018 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3019 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3020
3021
3022 // this method is used to draw the items background and, maybe, a border
3023 // around it
3024 //
3025 // the base class version implements a reasonable default behaviour which
3026 // consists in drawing the selected item with the standard background
3027 // colour and drawing a border around the item if it is either selected or
3028 // current
3029 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3030 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3031
3032
3033 PYPRIVATE;
3034 };
3035
3036 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3037
3038 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3039 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3040 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3041 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3042
3043
3044 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3045 unsigned long cookie = 0;
3046 int selected = self->GetFirstSelected(cookie);
3047 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3048 PyObject* tup = PyTuple_New(2);
3049 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3050 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3051 wxPyEndBlockThreads(blocked);
3052 return tup;
3053 }
3054 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3055 int selected = self->GetNextSelected(cookie);
3056 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3057 PyObject* tup = PyTuple_New(2);
3058 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3059 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3060 wxPyEndBlockThreads(blocked);
3061 return tup;
3062 }
3063
3064 #include <wx/htmllbox.h>
3065
3066
3067 class wxPyHtmlListBox : public wxHtmlListBox
3068 {
3069 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3070 public:
3071 wxPyHtmlListBox() : wxHtmlListBox() {}
3072
3073 wxPyHtmlListBox(wxWindow *parent,
3074 wxWindowID id = wxID_ANY,
3075 const wxPoint& pos = wxDefaultPosition,
3076 const wxSize& size = wxDefaultSize,
3077 long style = 0,
3078 const wxString& name = wxPyVListBoxNameStr)
3079 : wxHtmlListBox(parent, id, pos, size, style, name)
3080 {}
3081
3082 // Overridable virtuals
3083
3084 // this method must be implemented in the derived class and should return
3085 // the body (i.e. without <html>) of the HTML for the given item
3086 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3087
3088 // this function may be overridden to decorate HTML returned by OnGetItem()
3089 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3090
3091 // These are from wxVListBox
3092 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3093 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3094
3095 // TODO:
3096 // // this method allows to customize the selection appearance: it may be used
3097 // // to specify the colour of the text which normally has the given colour
3098 // // colFg when it is inside the selection
3099 // //
3100 // // by default, the original colour is not used at all and all text has the
3101 // // same (default for this system) colour inside selection
3102 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3103
3104 // // this is the same as GetSelectedTextColour() but allows to customize the
3105 // // background colour -- this is even more rarely used as you can change it
3106 // // globally using SetSelectionBackground()
3107 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3108
3109
3110 // This method may be overriden to handle clicking on a link in
3111 // the listbox. By default, clicking links is ignored.
3112 virtual void OnLinkClicked(size_t n,
3113 const wxHtmlLinkInfo& link);
3114
3115 PYPRIVATE;
3116 };
3117
3118
3119 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3120
3121 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3122 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3123 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3124 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3125
3126
3127 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3128 const wxHtmlLinkInfo& link) {
3129 bool found;
3130 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3131 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3132 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3133 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3134 Py_DECREF(obj);
3135 }
3136 wxPyEndBlockThreads(blocked);
3137 if (! found)
3138 wxPyHtmlListBox::OnLinkClicked(n, link);
3139 }
3140
3141
3142
3143
3144
3145 #ifndef wxHAS_TASK_BAR_ICON
3146 // implement dummy classes for platforms that don't have it
3147
3148 class wxTaskBarIcon : public wxEvtHandler
3149 {
3150 public:
3151 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3152 };
3153
3154
3155 class wxTaskBarIconEvent : public wxEvent
3156 {
3157 public:
3158 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3159 { wxPyRaiseNotImplemented(); }
3160 virtual wxEvent* Clone() const { return NULL; }
3161 bool IsOk() const { return false; }
3162 bool IsIconInstalled() const { return false; }
3163 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3164 bool RemoveIcon() { return false; }
3165 bool PopupMenu(wxMenu *menu) { return false; }
3166 };
3167
3168 enum {
3169 wxEVT_TASKBAR_MOVE = 0,
3170 wxEVT_TASKBAR_LEFT_DOWN = 0,
3171 wxEVT_TASKBAR_LEFT_UP = 0,
3172 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3173 wxEVT_TASKBAR_RIGHT_UP = 0,
3174 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3175 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3176 };
3177
3178
3179 #else
3180 // Otherwise make a class that can virtualize CreatePopupMenu
3181 class wxPyTaskBarIcon : public wxTaskBarIcon
3182 {
3183 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3184 public:
3185 wxPyTaskBarIcon() : wxTaskBarIcon()
3186 {}
3187
3188 wxMenu* CreatePopupMenu() {
3189 wxMenu *rval = NULL;
3190 bool found;
3191 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3192 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3193 PyObject* ro;
3194 wxMenu* ptr;
3195 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3196 if (ro) {
3197 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3198 rval = ptr;
3199 Py_DECREF(ro);
3200 }
3201 }
3202 wxPyEndBlockThreads(blocked);
3203 if (! found)
3204 rval = wxTaskBarIcon::CreatePopupMenu();
3205 return rval;
3206 }
3207
3208 PYPRIVATE;
3209 };
3210
3211 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3212
3213 #endif
3214
3215 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3216 self->RemoveIcon();
3217 delete self;
3218 }
3219 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3220 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3221 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3222 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3223 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3224 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3225
3226 // for compatibility only
3227 #define wxHIDE_READONLY 0
3228
3229 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3230 wxArrayString arr;
3231 self->GetFilenames(arr);
3232 return wxArrayString2PyList_helper(arr);
3233 }
3234 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3235 wxArrayString arr;
3236 self->GetPaths(arr);
3237 return wxArrayString2PyList_helper(arr);
3238 }
3239 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3240 return wxArrayInt2PyList_helper(self->GetSelections());
3241 }
3242 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){
3243 return new wxSingleChoiceDialog(parent, message, caption,
3244 choices, choices_array, NULL, style, pos);
3245 }
3246 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3247
3248 SWIGINTERNINLINE PyObject*
3249 SWIG_From_bool (bool value)
3250 {
3251 return PyBool_FromLong(value ? 1 : 0);
3252 }
3253
3254
3255 #include <wx/mdi.h>
3256
3257 // C++ version of Python aware wxWindow
3258 class wxPyWindow : public wxWindow
3259 {
3260 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3261 public:
3262 wxPyWindow() : wxWindow() {}
3263 wxPyWindow(wxWindow* parent, const wxWindowID id,
3264 const wxPoint& pos = wxDefaultPosition,
3265 const wxSize& size = wxDefaultSize,
3266 long style = 0,
3267 const wxString& name = wxPyPanelNameStr)
3268 : wxWindow(parent, id, pos, size, style, name) {}
3269
3270 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3271
3272 bool DoEraseBackground(wxDC* dc) {
3273 #ifdef __WXMSW__
3274 return wxWindow::DoEraseBackground(dc->GetHDC());
3275 #else
3276 dc->SetBackground(wxBrush(GetBackgroundColour()));
3277 dc->Clear();
3278 return true;
3279 #endif
3280 }
3281
3282 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3283 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3284 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3286
3287 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3290
3291 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3292 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3293
3294 DEC_PYCALLBACK__(InitDialog);
3295 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3296 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3297 DEC_PYCALLBACK_BOOL_(Validate);
3298
3299 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3301 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3302
3303 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3305
3306 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3307 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3308
3309 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3310
3311 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3312
3313 PYPRIVATE;
3314 };
3315
3316 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3317
3318 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3319 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3320 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3322
3323 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3326
3327 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3328 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3329
3330 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3331 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3332 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3333 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3334
3335 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3336 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3337 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3338
3339 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3341
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3343 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3344
3345 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3346
3347 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3348
3349 // C++ version of Python aware wxPanel
3350 class wxPyPanel : public wxPanel
3351 {
3352 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3353 public:
3354 wxPyPanel() : wxPanel() {}
3355 wxPyPanel(wxWindow* parent, const wxWindowID id,
3356 const wxPoint& pos = wxDefaultPosition,
3357 const wxSize& size = wxDefaultSize,
3358 long style = 0,
3359 const wxString& name = wxPyPanelNameStr)
3360 : wxPanel(parent, id, pos, size, style, name) {}
3361
3362 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3363 bool DoEraseBackground(wxDC* dc) {
3364 #ifdef __WXMSW__
3365 return wxWindow::DoEraseBackground(dc->GetHDC());
3366 #else
3367 dc->SetBackground(wxBrush(GetBackgroundColour()));
3368 dc->Clear();
3369 return true;
3370 #endif
3371 }
3372
3373
3374 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3375 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3376 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3377 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3378
3379 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3380 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3381 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3382
3383 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3384 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3385
3386 DEC_PYCALLBACK__(InitDialog);
3387 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3388 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3389 DEC_PYCALLBACK_BOOL_(Validate);
3390
3391 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3392 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3393 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3394
3395 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3396 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3397
3398 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3399 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3400
3401 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3402
3403 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3404
3405 PYPRIVATE;
3406 };
3407
3408 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3409
3410 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3411 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3412 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3413 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3414
3415 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3416 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3417 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3418
3419 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3420 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3421
3422 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3423 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3424 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3425 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3426
3427 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3428 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3429 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3430
3431 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3432 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3433
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3435 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3436
3437 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3438
3439 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3440
3441 // C++ version of Python aware wxScrolledWindow
3442 class wxPyScrolledWindow : public wxScrolledWindow
3443 {
3444 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3445 public:
3446 wxPyScrolledWindow() : wxScrolledWindow() {}
3447 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3448 const wxPoint& pos = wxDefaultPosition,
3449 const wxSize& size = wxDefaultSize,
3450 long style = 0,
3451 const wxString& name = wxPyPanelNameStr)
3452 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3453
3454 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3455 bool DoEraseBackground(wxDC* dc) {
3456 #ifdef __WXMSW__
3457 return wxWindow::DoEraseBackground(dc->GetHDC());
3458 #else
3459 dc->SetBackground(wxBrush(GetBackgroundColour()));
3460 dc->Clear();
3461 return true;
3462 #endif
3463 }
3464
3465 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3466 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3467 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3468 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3469
3470 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3471 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3472 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3473
3474 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3475 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3476
3477 DEC_PYCALLBACK__(InitDialog);
3478 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3479 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3480 DEC_PYCALLBACK_BOOL_(Validate);
3481
3482 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3483 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3484 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3485
3486 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3487 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3488
3489 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3490 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3491
3492 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3493
3494 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3495
3496 PYPRIVATE;
3497 };
3498
3499 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3500
3501 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3502 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3503 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3504 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3505
3506 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3507 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3508 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3509
3510 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3511 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3512
3513 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3514 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3515 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3516 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3517
3518 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3519 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3520 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3521
3522 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3523 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3524
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3526 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3527
3528 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3529
3530 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3531
3532
3533 #include "wx/wxPython/printfw.h"
3534
3535
3536 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3537 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3538 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3539 PyObject* data;
3540 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3541 data = PyString_FromStringAndSize(self->GetPrivData(),
3542 self->GetPrivDataLen());
3543 wxPyEndBlockThreads(blocked);
3544 return data;
3545 }
3546 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3547 if (! PyString_Check(data)) {
3548 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3549 "Expected string object"));
3550 return /* NULL */ ;
3551 }
3552
3553 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3554 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3555 wxPyEndBlockThreads(blocked);
3556 }
3557
3558
3559 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3560
3561 // Since this one would be tough and ugly to do with the Macros...
3562 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3563 bool hadErr = false;
3564 bool found;
3565
3566 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3567 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3568 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3569 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3570 PyObject* val;
3571
3572 val = PyTuple_GetItem(result, 0);
3573 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3574 else hadErr = true;
3575
3576 val = PyTuple_GetItem(result, 1);
3577 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3578 else hadErr = true;
3579
3580 val = PyTuple_GetItem(result, 2);
3581 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3582 else hadErr = true;
3583
3584 val = PyTuple_GetItem(result, 3);
3585 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3586 else hadErr = true;
3587 }
3588 else
3589 hadErr = true;
3590
3591 if (hadErr) {
3592 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3593 PyErr_Print();
3594 }
3595 Py_DECREF(result);
3596 }
3597 wxPyEndBlockThreads(blocked);
3598 if (! found)
3599 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3600 }
3601
3602
3603
3604 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3605 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3606 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3607 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3608 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3609 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3610 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3611
3612
3613
3614
3615
3616 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3617 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3618
3619
3620 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3621 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3622 bool rval=false; \
3623 bool found; \
3624 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3625 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3626 PyObject* win = wxPyMake_wxObject(a,false); \
3627 PyObject* dc = wxPyMake_wxObject(&b,false); \
3628 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3629 Py_DECREF(win); \
3630 Py_DECREF(dc); \
3631 } \
3632 wxPyEndBlockThreads(blocked); \
3633 if (! found) \
3634 rval = PCLASS::CBNAME(a, b); \
3635 return rval; \
3636 }
3637
3638
3639
3640
3641 class wxPyPrintPreview : public wxPrintPreview
3642 {
3643 DECLARE_CLASS(wxPyPrintPreview)
3644 public:
3645 wxPyPrintPreview(wxPyPrintout* printout,
3646 wxPyPrintout* printoutForPrinting,
3647 wxPrintDialogData* data=NULL)
3648 : wxPrintPreview(printout, printoutForPrinting, data)
3649 {}
3650 wxPyPrintPreview(wxPyPrintout* printout,
3651 wxPyPrintout* printoutForPrinting,
3652 wxPrintData* data)
3653 : wxPrintPreview(printout, printoutForPrinting, data)
3654 {}
3655
3656 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3657 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3658 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3659 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3660 DEC_PYCALLBACK_VOID_INT(SetZoom);
3661 DEC_PYCALLBACK_BOOL_BOOL(Print);
3662 DEC_PYCALLBACK_VOID_(DetermineScaling);
3663
3664 PYPRIVATE;
3665 };
3666
3667 // Stupid renamed classes... Fix this in 2.5...
3668 #if defined(__WXMSW__)
3669 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3670 #elif defined(__WXMAC__)
3671 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3672 #else
3673 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3674 #endif
3675
3676 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3677 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3678 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3679 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3680 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3681 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3682 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3683
3684
3685 class wxPyPreviewFrame : public wxPreviewFrame
3686 {
3687 DECLARE_CLASS(wxPyPreviewFrame)
3688 public:
3689 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3690 const wxString& title,
3691 const wxPoint& pos = wxDefaultPosition,
3692 const wxSize& size = wxDefaultSize,
3693 long style = wxDEFAULT_FRAME_STYLE,
3694 const wxString& name = wxPyFrameNameStr)
3695 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3696 {}
3697
3698 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3699 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3700
3701 DEC_PYCALLBACK_VOID_(Initialize);
3702 DEC_PYCALLBACK_VOID_(CreateCanvas);
3703 DEC_PYCALLBACK_VOID_(CreateControlBar);
3704
3705 PYPRIVATE;
3706 };
3707
3708 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3709
3710 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3711 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3712 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3713
3714
3715 class wxPyPreviewControlBar : public wxPreviewControlBar
3716 {
3717 DECLARE_CLASS(wxPyPreviewControlBar)
3718 public:
3719 wxPyPreviewControlBar(wxPrintPreview *preview,
3720 long buttons,
3721 wxWindow *parent,
3722 const wxPoint& pos = wxDefaultPosition,
3723 const wxSize& size = wxDefaultSize,
3724 long style = 0,
3725 const wxString& name = wxPyPanelNameStr)
3726 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3727 {}
3728
3729 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3730
3731 DEC_PYCALLBACK_VOID_(CreateButtons);
3732 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3733
3734 PYPRIVATE;
3735 };
3736
3737 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3738 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3739 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3740
3741 #ifdef __cplusplus
3742 extern "C" {
3743 #endif
3744 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3745 PyObject *resultobj = 0;
3746 wxWindow *arg1 = (wxWindow *) 0 ;
3747 int arg2 = (int) (int)-1 ;
3748 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3749 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3750 wxSize const &arg4_defvalue = wxDefaultSize ;
3751 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3752 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3753 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3754 wxString *arg6 = (wxString *) &arg6_defvalue ;
3755 wxPanel *result = 0 ;
3756 void *argp1 = 0 ;
3757 int res1 = 0 ;
3758 int val2 ;
3759 int ecode2 = 0 ;
3760 wxPoint temp3 ;
3761 wxSize temp4 ;
3762 long val5 ;
3763 int ecode5 = 0 ;
3764 bool temp6 = false ;
3765 PyObject * obj0 = 0 ;
3766 PyObject * obj1 = 0 ;
3767 PyObject * obj2 = 0 ;
3768 PyObject * obj3 = 0 ;
3769 PyObject * obj4 = 0 ;
3770 PyObject * obj5 = 0 ;
3771 char * kwnames[] = {
3772 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3773 };
3774
3775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3777 if (!SWIG_IsOK(res1)) {
3778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3779 }
3780 arg1 = reinterpret_cast< wxWindow * >(argp1);
3781 if (obj1) {
3782 ecode2 = SWIG_AsVal_int(obj1, &val2);
3783 if (!SWIG_IsOK(ecode2)) {
3784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3785 }
3786 arg2 = static_cast< int >(val2);
3787 }
3788 if (obj2) {
3789 {
3790 arg3 = &temp3;
3791 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3792 }
3793 }
3794 if (obj3) {
3795 {
3796 arg4 = &temp4;
3797 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3798 }
3799 }
3800 if (obj4) {
3801 ecode5 = SWIG_AsVal_long(obj4, &val5);
3802 if (!SWIG_IsOK(ecode5)) {
3803 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3804 }
3805 arg5 = static_cast< long >(val5);
3806 }
3807 if (obj5) {
3808 {
3809 arg6 = wxString_in_helper(obj5);
3810 if (arg6 == NULL) SWIG_fail;
3811 temp6 = true;
3812 }
3813 }
3814 {
3815 if (!wxPyCheckForApp()) SWIG_fail;
3816 PyThreadState* __tstate = wxPyBeginAllowThreads();
3817 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3818 wxPyEndAllowThreads(__tstate);
3819 if (PyErr_Occurred()) SWIG_fail;
3820 }
3821 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3822 {
3823 if (temp6)
3824 delete arg6;
3825 }
3826 return resultobj;
3827 fail:
3828 {
3829 if (temp6)
3830 delete arg6;
3831 }
3832 return NULL;
3833 }
3834
3835
3836 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3837 PyObject *resultobj = 0;
3838 wxPanel *result = 0 ;
3839
3840 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3841 {
3842 if (!wxPyCheckForApp()) SWIG_fail;
3843 PyThreadState* __tstate = wxPyBeginAllowThreads();
3844 result = (wxPanel *)new wxPanel();
3845 wxPyEndAllowThreads(__tstate);
3846 if (PyErr_Occurred()) SWIG_fail;
3847 }
3848 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3849 return resultobj;
3850 fail:
3851 return NULL;
3852 }
3853
3854
3855 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3856 PyObject *resultobj = 0;
3857 wxPanel *arg1 = (wxPanel *) 0 ;
3858 wxWindow *arg2 = (wxWindow *) 0 ;
3859 int arg3 = (int) (int)-1 ;
3860 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3861 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3862 wxSize const &arg5_defvalue = wxDefaultSize ;
3863 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3864 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3865 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3866 wxString *arg7 = (wxString *) &arg7_defvalue ;
3867 bool result;
3868 void *argp1 = 0 ;
3869 int res1 = 0 ;
3870 void *argp2 = 0 ;
3871 int res2 = 0 ;
3872 int val3 ;
3873 int ecode3 = 0 ;
3874 wxPoint temp4 ;
3875 wxSize temp5 ;
3876 long val6 ;
3877 int ecode6 = 0 ;
3878 bool temp7 = false ;
3879 PyObject * obj0 = 0 ;
3880 PyObject * obj1 = 0 ;
3881 PyObject * obj2 = 0 ;
3882 PyObject * obj3 = 0 ;
3883 PyObject * obj4 = 0 ;
3884 PyObject * obj5 = 0 ;
3885 PyObject * obj6 = 0 ;
3886 char * kwnames[] = {
3887 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3888 };
3889
3890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3892 if (!SWIG_IsOK(res1)) {
3893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3894 }
3895 arg1 = reinterpret_cast< wxPanel * >(argp1);
3896 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3897 if (!SWIG_IsOK(res2)) {
3898 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3899 }
3900 arg2 = reinterpret_cast< wxWindow * >(argp2);
3901 if (obj2) {
3902 ecode3 = SWIG_AsVal_int(obj2, &val3);
3903 if (!SWIG_IsOK(ecode3)) {
3904 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3905 }
3906 arg3 = static_cast< int >(val3);
3907 }
3908 if (obj3) {
3909 {
3910 arg4 = &temp4;
3911 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3912 }
3913 }
3914 if (obj4) {
3915 {
3916 arg5 = &temp5;
3917 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3918 }
3919 }
3920 if (obj5) {
3921 ecode6 = SWIG_AsVal_long(obj5, &val6);
3922 if (!SWIG_IsOK(ecode6)) {
3923 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3924 }
3925 arg6 = static_cast< long >(val6);
3926 }
3927 if (obj6) {
3928 {
3929 arg7 = wxString_in_helper(obj6);
3930 if (arg7 == NULL) SWIG_fail;
3931 temp7 = true;
3932 }
3933 }
3934 {
3935 PyThreadState* __tstate = wxPyBeginAllowThreads();
3936 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3937 wxPyEndAllowThreads(__tstate);
3938 if (PyErr_Occurred()) SWIG_fail;
3939 }
3940 {
3941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3942 }
3943 {
3944 if (temp7)
3945 delete arg7;
3946 }
3947 return resultobj;
3948 fail:
3949 {
3950 if (temp7)
3951 delete arg7;
3952 }
3953 return NULL;
3954 }
3955
3956
3957 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3958 PyObject *resultobj = 0;
3959 wxPanel *arg1 = (wxPanel *) 0 ;
3960 void *argp1 = 0 ;
3961 int res1 = 0 ;
3962 PyObject *swig_obj[1] ;
3963
3964 if (!args) SWIG_fail;
3965 swig_obj[0] = args;
3966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3967 if (!SWIG_IsOK(res1)) {
3968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3969 }
3970 arg1 = reinterpret_cast< wxPanel * >(argp1);
3971 {
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 (arg1)->SetFocusIgnoringChildren();
3974 wxPyEndAllowThreads(__tstate);
3975 if (PyErr_Occurred()) SWIG_fail;
3976 }
3977 resultobj = SWIG_Py_Void();
3978 return resultobj;
3979 fail:
3980 return NULL;
3981 }
3982
3983
3984 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3985 PyObject *resultobj = 0;
3986 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3987 SwigValueWrapper<wxVisualAttributes > result;
3988 int val1 ;
3989 int ecode1 = 0 ;
3990 PyObject * obj0 = 0 ;
3991 char * kwnames[] = {
3992 (char *) "variant", NULL
3993 };
3994
3995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3996 if (obj0) {
3997 ecode1 = SWIG_AsVal_int(obj0, &val1);
3998 if (!SWIG_IsOK(ecode1)) {
3999 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4000 }
4001 arg1 = static_cast< wxWindowVariant >(val1);
4002 }
4003 {
4004 if (!wxPyCheckForApp()) SWIG_fail;
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
4006 result = wxPanel::GetClassDefaultAttributes(arg1);
4007 wxPyEndAllowThreads(__tstate);
4008 if (PyErr_Occurred()) SWIG_fail;
4009 }
4010 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4011 return resultobj;
4012 fail:
4013 return NULL;
4014 }
4015
4016
4017 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4018 PyObject *obj;
4019 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4020 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4021 return SWIG_Py_Void();
4022 }
4023
4024 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4025 return SWIG_Python_InitShadowInstance(args);
4026 }
4027
4028 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4029 PyObject *resultobj = 0;
4030 wxWindow *arg1 = (wxWindow *) 0 ;
4031 int arg2 = (int) (int)-1 ;
4032 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4033 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4034 wxSize const &arg4_defvalue = wxDefaultSize ;
4035 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4036 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4037 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4038 wxString *arg6 = (wxString *) &arg6_defvalue ;
4039 wxScrolledWindow *result = 0 ;
4040 void *argp1 = 0 ;
4041 int res1 = 0 ;
4042 int val2 ;
4043 int ecode2 = 0 ;
4044 wxPoint temp3 ;
4045 wxSize temp4 ;
4046 long val5 ;
4047 int ecode5 = 0 ;
4048 bool temp6 = false ;
4049 PyObject * obj0 = 0 ;
4050 PyObject * obj1 = 0 ;
4051 PyObject * obj2 = 0 ;
4052 PyObject * obj3 = 0 ;
4053 PyObject * obj4 = 0 ;
4054 PyObject * obj5 = 0 ;
4055 char * kwnames[] = {
4056 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4057 };
4058
4059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4061 if (!SWIG_IsOK(res1)) {
4062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4063 }
4064 arg1 = reinterpret_cast< wxWindow * >(argp1);
4065 if (obj1) {
4066 ecode2 = SWIG_AsVal_int(obj1, &val2);
4067 if (!SWIG_IsOK(ecode2)) {
4068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4069 }
4070 arg2 = static_cast< int >(val2);
4071 }
4072 if (obj2) {
4073 {
4074 arg3 = &temp3;
4075 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4076 }
4077 }
4078 if (obj3) {
4079 {
4080 arg4 = &temp4;
4081 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4082 }
4083 }
4084 if (obj4) {
4085 ecode5 = SWIG_AsVal_long(obj4, &val5);
4086 if (!SWIG_IsOK(ecode5)) {
4087 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4088 }
4089 arg5 = static_cast< long >(val5);
4090 }
4091 if (obj5) {
4092 {
4093 arg6 = wxString_in_helper(obj5);
4094 if (arg6 == NULL) SWIG_fail;
4095 temp6 = true;
4096 }
4097 }
4098 {
4099 if (!wxPyCheckForApp()) SWIG_fail;
4100 PyThreadState* __tstate = wxPyBeginAllowThreads();
4101 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4102 wxPyEndAllowThreads(__tstate);
4103 if (PyErr_Occurred()) SWIG_fail;
4104 }
4105 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4106 {
4107 if (temp6)
4108 delete arg6;
4109 }
4110 return resultobj;
4111 fail:
4112 {
4113 if (temp6)
4114 delete arg6;
4115 }
4116 return NULL;
4117 }
4118
4119
4120 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4121 PyObject *resultobj = 0;
4122 wxScrolledWindow *result = 0 ;
4123
4124 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4125 {
4126 if (!wxPyCheckForApp()) SWIG_fail;
4127 PyThreadState* __tstate = wxPyBeginAllowThreads();
4128 result = (wxScrolledWindow *)new wxScrolledWindow();
4129 wxPyEndAllowThreads(__tstate);
4130 if (PyErr_Occurred()) SWIG_fail;
4131 }
4132 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4133 return resultobj;
4134 fail:
4135 return NULL;
4136 }
4137
4138
4139 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4140 PyObject *resultobj = 0;
4141 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4142 wxWindow *arg2 = (wxWindow *) 0 ;
4143 int arg3 = (int) (int)-1 ;
4144 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4145 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4146 wxSize const &arg5_defvalue = wxDefaultSize ;
4147 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4148 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4149 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4150 wxString *arg7 = (wxString *) &arg7_defvalue ;
4151 bool result;
4152 void *argp1 = 0 ;
4153 int res1 = 0 ;
4154 void *argp2 = 0 ;
4155 int res2 = 0 ;
4156 int val3 ;
4157 int ecode3 = 0 ;
4158 wxPoint temp4 ;
4159 wxSize temp5 ;
4160 long val6 ;
4161 int ecode6 = 0 ;
4162 bool temp7 = false ;
4163 PyObject * obj0 = 0 ;
4164 PyObject * obj1 = 0 ;
4165 PyObject * obj2 = 0 ;
4166 PyObject * obj3 = 0 ;
4167 PyObject * obj4 = 0 ;
4168 PyObject * obj5 = 0 ;
4169 PyObject * obj6 = 0 ;
4170 char * kwnames[] = {
4171 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4172 };
4173
4174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4176 if (!SWIG_IsOK(res1)) {
4177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4178 }
4179 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4180 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4181 if (!SWIG_IsOK(res2)) {
4182 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4183 }
4184 arg2 = reinterpret_cast< wxWindow * >(argp2);
4185 if (obj2) {
4186 ecode3 = SWIG_AsVal_int(obj2, &val3);
4187 if (!SWIG_IsOK(ecode3)) {
4188 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4189 }
4190 arg3 = static_cast< int >(val3);
4191 }
4192 if (obj3) {
4193 {
4194 arg4 = &temp4;
4195 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4196 }
4197 }
4198 if (obj4) {
4199 {
4200 arg5 = &temp5;
4201 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4202 }
4203 }
4204 if (obj5) {
4205 ecode6 = SWIG_AsVal_long(obj5, &val6);
4206 if (!SWIG_IsOK(ecode6)) {
4207 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4208 }
4209 arg6 = static_cast< long >(val6);
4210 }
4211 if (obj6) {
4212 {
4213 arg7 = wxString_in_helper(obj6);
4214 if (arg7 == NULL) SWIG_fail;
4215 temp7 = true;
4216 }
4217 }
4218 {
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 {
4225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4226 }
4227 {
4228 if (temp7)
4229 delete arg7;
4230 }
4231 return resultobj;
4232 fail:
4233 {
4234 if (temp7)
4235 delete arg7;
4236 }
4237 return NULL;
4238 }
4239
4240
4241 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4242 PyObject *resultobj = 0;
4243 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4244 int arg2 ;
4245 int arg3 ;
4246 int arg4 ;
4247 int arg5 ;
4248 int arg6 = (int) 0 ;
4249 int arg7 = (int) 0 ;
4250 bool arg8 = (bool) false ;
4251 void *argp1 = 0 ;
4252 int res1 = 0 ;
4253 int val2 ;
4254 int ecode2 = 0 ;
4255 int val3 ;
4256 int ecode3 = 0 ;
4257 int val4 ;
4258 int ecode4 = 0 ;
4259 int val5 ;
4260 int ecode5 = 0 ;
4261 int val6 ;
4262 int ecode6 = 0 ;
4263 int val7 ;
4264 int ecode7 = 0 ;
4265 bool val8 ;
4266 int ecode8 = 0 ;
4267 PyObject * obj0 = 0 ;
4268 PyObject * obj1 = 0 ;
4269 PyObject * obj2 = 0 ;
4270 PyObject * obj3 = 0 ;
4271 PyObject * obj4 = 0 ;
4272 PyObject * obj5 = 0 ;
4273 PyObject * obj6 = 0 ;
4274 PyObject * obj7 = 0 ;
4275 char * kwnames[] = {
4276 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4277 };
4278
4279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4281 if (!SWIG_IsOK(res1)) {
4282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4283 }
4284 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4285 ecode2 = SWIG_AsVal_int(obj1, &val2);
4286 if (!SWIG_IsOK(ecode2)) {
4287 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4288 }
4289 arg2 = static_cast< int >(val2);
4290 ecode3 = SWIG_AsVal_int(obj2, &val3);
4291 if (!SWIG_IsOK(ecode3)) {
4292 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4293 }
4294 arg3 = static_cast< int >(val3);
4295 ecode4 = SWIG_AsVal_int(obj3, &val4);
4296 if (!SWIG_IsOK(ecode4)) {
4297 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4298 }
4299 arg4 = static_cast< int >(val4);
4300 ecode5 = SWIG_AsVal_int(obj4, &val5);
4301 if (!SWIG_IsOK(ecode5)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4303 }
4304 arg5 = static_cast< int >(val5);
4305 if (obj5) {
4306 ecode6 = SWIG_AsVal_int(obj5, &val6);
4307 if (!SWIG_IsOK(ecode6)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4309 }
4310 arg6 = static_cast< int >(val6);
4311 }
4312 if (obj6) {
4313 ecode7 = SWIG_AsVal_int(obj6, &val7);
4314 if (!SWIG_IsOK(ecode7)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4316 }
4317 arg7 = static_cast< int >(val7);
4318 }
4319 if (obj7) {
4320 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4321 if (!SWIG_IsOK(ecode8)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4323 }
4324 arg8 = static_cast< bool >(val8);
4325 }
4326 {
4327 PyThreadState* __tstate = wxPyBeginAllowThreads();
4328 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4329 wxPyEndAllowThreads(__tstate);
4330 if (PyErr_Occurred()) SWIG_fail;
4331 }
4332 resultobj = SWIG_Py_Void();
4333 return resultobj;
4334 fail:
4335 return NULL;
4336 }
4337
4338
4339 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4340 PyObject *resultobj = 0;
4341 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4342 int arg2 ;
4343 int arg3 ;
4344 void *argp1 = 0 ;
4345 int res1 = 0 ;
4346 int val2 ;
4347 int ecode2 = 0 ;
4348 int val3 ;
4349 int ecode3 = 0 ;
4350 PyObject * obj0 = 0 ;
4351 PyObject * obj1 = 0 ;
4352 PyObject * obj2 = 0 ;
4353 char * kwnames[] = {
4354 (char *) "self",(char *) "x",(char *) "y", NULL
4355 };
4356
4357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4359 if (!SWIG_IsOK(res1)) {
4360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4361 }
4362 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4363 ecode2 = SWIG_AsVal_int(obj1, &val2);
4364 if (!SWIG_IsOK(ecode2)) {
4365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4366 }
4367 arg2 = static_cast< int >(val2);
4368 ecode3 = SWIG_AsVal_int(obj2, &val3);
4369 if (!SWIG_IsOK(ecode3)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4371 }
4372 arg3 = static_cast< int >(val3);
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 (arg1)->Scroll(arg2,arg3);
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
4379 resultobj = SWIG_Py_Void();
4380 return resultobj;
4381 fail:
4382 return NULL;
4383 }
4384
4385
4386 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj = 0;
4388 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4389 int arg2 ;
4390 int result;
4391 void *argp1 = 0 ;
4392 int res1 = 0 ;
4393 int val2 ;
4394 int ecode2 = 0 ;
4395 PyObject * obj0 = 0 ;
4396 PyObject * obj1 = 0 ;
4397 char * kwnames[] = {
4398 (char *) "self",(char *) "orient", NULL
4399 };
4400
4401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4403 if (!SWIG_IsOK(res1)) {
4404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4405 }
4406 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4407 ecode2 = SWIG_AsVal_int(obj1, &val2);
4408 if (!SWIG_IsOK(ecode2)) {
4409 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4410 }
4411 arg2 = static_cast< int >(val2);
4412 {
4413 PyThreadState* __tstate = wxPyBeginAllowThreads();
4414 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4415 wxPyEndAllowThreads(__tstate);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 }
4418 resultobj = SWIG_From_int(static_cast< int >(result));
4419 return resultobj;
4420 fail:
4421 return NULL;
4422 }
4423
4424
4425 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4426 PyObject *resultobj = 0;
4427 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4428 int arg2 ;
4429 int arg3 ;
4430 void *argp1 = 0 ;
4431 int res1 = 0 ;
4432 int val2 ;
4433 int ecode2 = 0 ;
4434 int val3 ;
4435 int ecode3 = 0 ;
4436 PyObject * obj0 = 0 ;
4437 PyObject * obj1 = 0 ;
4438 PyObject * obj2 = 0 ;
4439 char * kwnames[] = {
4440 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4441 };
4442
4443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4445 if (!SWIG_IsOK(res1)) {
4446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4447 }
4448 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4449 ecode2 = SWIG_AsVal_int(obj1, &val2);
4450 if (!SWIG_IsOK(ecode2)) {
4451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4452 }
4453 arg2 = static_cast< int >(val2);
4454 ecode3 = SWIG_AsVal_int(obj2, &val3);
4455 if (!SWIG_IsOK(ecode3)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4457 }
4458 arg3 = static_cast< int >(val3);
4459 {
4460 PyThreadState* __tstate = wxPyBeginAllowThreads();
4461 (arg1)->SetScrollPageSize(arg2,arg3);
4462 wxPyEndAllowThreads(__tstate);
4463 if (PyErr_Occurred()) SWIG_fail;
4464 }
4465 resultobj = SWIG_Py_Void();
4466 return resultobj;
4467 fail:
4468 return NULL;
4469 }
4470
4471
4472 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4473 PyObject *resultobj = 0;
4474 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4475 int arg2 ;
4476 int arg3 ;
4477 void *argp1 = 0 ;
4478 int res1 = 0 ;
4479 int val2 ;
4480 int ecode2 = 0 ;
4481 int val3 ;
4482 int ecode3 = 0 ;
4483 PyObject * obj0 = 0 ;
4484 PyObject * obj1 = 0 ;
4485 PyObject * obj2 = 0 ;
4486 char * kwnames[] = {
4487 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4488 };
4489
4490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4492 if (!SWIG_IsOK(res1)) {
4493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4494 }
4495 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4496 ecode2 = SWIG_AsVal_int(obj1, &val2);
4497 if (!SWIG_IsOK(ecode2)) {
4498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4499 }
4500 arg2 = static_cast< int >(val2);
4501 ecode3 = SWIG_AsVal_int(obj2, &val3);
4502 if (!SWIG_IsOK(ecode3)) {
4503 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4504 }
4505 arg3 = static_cast< int >(val3);
4506 {
4507 PyThreadState* __tstate = wxPyBeginAllowThreads();
4508 (arg1)->SetScrollRate(arg2,arg3);
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 resultobj = SWIG_Py_Void();
4513 return resultobj;
4514 fail:
4515 return NULL;
4516 }
4517
4518
4519 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4520 PyObject *resultobj = 0;
4521 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4522 int *arg2 = (int *) 0 ;
4523 int *arg3 = (int *) 0 ;
4524 void *argp1 = 0 ;
4525 int res1 = 0 ;
4526 int temp2 ;
4527 int res2 = SWIG_TMPOBJ ;
4528 int temp3 ;
4529 int res3 = SWIG_TMPOBJ ;
4530 PyObject *swig_obj[1] ;
4531
4532 arg2 = &temp2;
4533 arg3 = &temp3;
4534 if (!args) SWIG_fail;
4535 swig_obj[0] = args;
4536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4537 if (!SWIG_IsOK(res1)) {
4538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4539 }
4540 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4541 {
4542 PyThreadState* __tstate = wxPyBeginAllowThreads();
4543 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4544 wxPyEndAllowThreads(__tstate);
4545 if (PyErr_Occurred()) SWIG_fail;
4546 }
4547 resultobj = SWIG_Py_Void();
4548 if (SWIG_IsTmpObj(res2)) {
4549 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4550 } else {
4551 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4552 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4553 }
4554 if (SWIG_IsTmpObj(res3)) {
4555 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4556 } else {
4557 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4558 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4559 }
4560 return resultobj;
4561 fail:
4562 return NULL;
4563 }
4564
4565
4566 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4567 PyObject *resultobj = 0;
4568 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4569 bool arg2 ;
4570 bool arg3 ;
4571 void *argp1 = 0 ;
4572 int res1 = 0 ;
4573 bool val2 ;
4574 int ecode2 = 0 ;
4575 bool val3 ;
4576 int ecode3 = 0 ;
4577 PyObject * obj0 = 0 ;
4578 PyObject * obj1 = 0 ;
4579 PyObject * obj2 = 0 ;
4580 char * kwnames[] = {
4581 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4582 };
4583
4584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4586 if (!SWIG_IsOK(res1)) {
4587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4588 }
4589 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4590 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4591 if (!SWIG_IsOK(ecode2)) {
4592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4593 }
4594 arg2 = static_cast< bool >(val2);
4595 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4596 if (!SWIG_IsOK(ecode3)) {
4597 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4598 }
4599 arg3 = static_cast< bool >(val3);
4600 {
4601 PyThreadState* __tstate = wxPyBeginAllowThreads();
4602 (arg1)->EnableScrolling(arg2,arg3);
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 resultobj = SWIG_Py_Void();
4607 return resultobj;
4608 fail:
4609 return NULL;
4610 }
4611
4612
4613 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4614 PyObject *resultobj = 0;
4615 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4616 int *arg2 = (int *) 0 ;
4617 int *arg3 = (int *) 0 ;
4618 void *argp1 = 0 ;
4619 int res1 = 0 ;
4620 int temp2 ;
4621 int res2 = SWIG_TMPOBJ ;
4622 int temp3 ;
4623 int res3 = SWIG_TMPOBJ ;
4624 PyObject *swig_obj[1] ;
4625
4626 arg2 = &temp2;
4627 arg3 = &temp3;
4628 if (!args) SWIG_fail;
4629 swig_obj[0] = args;
4630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4631 if (!SWIG_IsOK(res1)) {
4632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4633 }
4634 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4635 {
4636 PyThreadState* __tstate = wxPyBeginAllowThreads();
4637 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4638 wxPyEndAllowThreads(__tstate);
4639 if (PyErr_Occurred()) SWIG_fail;
4640 }
4641 resultobj = SWIG_Py_Void();
4642 if (SWIG_IsTmpObj(res2)) {
4643 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4644 } else {
4645 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4646 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4647 }
4648 if (SWIG_IsTmpObj(res3)) {
4649 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4650 } else {
4651 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4652 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4653 }
4654 return resultobj;
4655 fail:
4656 return NULL;
4657 }
4658
4659
4660 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4661 PyObject *resultobj = 0;
4662 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4663 double arg2 ;
4664 double arg3 ;
4665 void *argp1 = 0 ;
4666 int res1 = 0 ;
4667 double val2 ;
4668 int ecode2 = 0 ;
4669 double val3 ;
4670 int ecode3 = 0 ;
4671 PyObject * obj0 = 0 ;
4672 PyObject * obj1 = 0 ;
4673 PyObject * obj2 = 0 ;
4674 char * kwnames[] = {
4675 (char *) "self",(char *) "xs",(char *) "ys", NULL
4676 };
4677
4678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4680 if (!SWIG_IsOK(res1)) {
4681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4682 }
4683 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4684 ecode2 = SWIG_AsVal_double(obj1, &val2);
4685 if (!SWIG_IsOK(ecode2)) {
4686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4687 }
4688 arg2 = static_cast< double >(val2);
4689 ecode3 = SWIG_AsVal_double(obj2, &val3);
4690 if (!SWIG_IsOK(ecode3)) {
4691 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4692 }
4693 arg3 = static_cast< double >(val3);
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 (arg1)->SetScale(arg2,arg3);
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 resultobj = SWIG_Py_Void();
4701 return resultobj;
4702 fail:
4703 return NULL;
4704 }
4705
4706
4707 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4708 PyObject *resultobj = 0;
4709 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4710 double result;
4711 void *argp1 = 0 ;
4712 int res1 = 0 ;
4713 PyObject *swig_obj[1] ;
4714
4715 if (!args) SWIG_fail;
4716 swig_obj[0] = args;
4717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4718 if (!SWIG_IsOK(res1)) {
4719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4720 }
4721 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4725 wxPyEndAllowThreads(__tstate);
4726 if (PyErr_Occurred()) SWIG_fail;
4727 }
4728 resultobj = SWIG_From_double(static_cast< double >(result));
4729 return resultobj;
4730 fail:
4731 return NULL;
4732 }
4733
4734
4735 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4736 PyObject *resultobj = 0;
4737 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4738 double result;
4739 void *argp1 = 0 ;
4740 int res1 = 0 ;
4741 PyObject *swig_obj[1] ;
4742
4743 if (!args) SWIG_fail;
4744 swig_obj[0] = args;
4745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4746 if (!SWIG_IsOK(res1)) {
4747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4748 }
4749 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4750 {
4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
4752 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4753 wxPyEndAllowThreads(__tstate);
4754 if (PyErr_Occurred()) SWIG_fail;
4755 }
4756 resultobj = SWIG_From_double(static_cast< double >(result));
4757 return resultobj;
4758 fail:
4759 return NULL;
4760 }
4761
4762
4763 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4764 PyObject *resultobj = 0;
4765 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4766 wxPoint *arg2 = 0 ;
4767 wxPoint result;
4768 void *argp1 = 0 ;
4769 int res1 = 0 ;
4770 wxPoint temp2 ;
4771
4772 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4774 if (!SWIG_IsOK(res1)) {
4775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4776 }
4777 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4778 {
4779 arg2 = &temp2;
4780 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4781 }
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4785 wxPyEndAllowThreads(__tstate);
4786 if (PyErr_Occurred()) SWIG_fail;
4787 }
4788 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4789 return resultobj;
4790 fail:
4791 return NULL;
4792 }
4793
4794
4795 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4796 PyObject *resultobj = 0;
4797 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4798 int arg2 ;
4799 int arg3 ;
4800 int *arg4 = (int *) 0 ;
4801 int *arg5 = (int *) 0 ;
4802 void *argp1 = 0 ;
4803 int res1 = 0 ;
4804 int val2 ;
4805 int ecode2 = 0 ;
4806 int val3 ;
4807 int ecode3 = 0 ;
4808 int temp4 ;
4809 int res4 = SWIG_TMPOBJ ;
4810 int temp5 ;
4811 int res5 = SWIG_TMPOBJ ;
4812
4813 arg4 = &temp4;
4814 arg5 = &temp5;
4815 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4817 if (!SWIG_IsOK(res1)) {
4818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4819 }
4820 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4821 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4822 if (!SWIG_IsOK(ecode2)) {
4823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4824 }
4825 arg2 = static_cast< int >(val2);
4826 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4827 if (!SWIG_IsOK(ecode3)) {
4828 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4829 }
4830 arg3 = static_cast< int >(val3);
4831 {
4832 PyThreadState* __tstate = wxPyBeginAllowThreads();
4833 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4834 wxPyEndAllowThreads(__tstate);
4835 if (PyErr_Occurred()) SWIG_fail;
4836 }
4837 resultobj = SWIG_Py_Void();
4838 if (SWIG_IsTmpObj(res4)) {
4839 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4840 } else {
4841 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4842 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4843 }
4844 if (SWIG_IsTmpObj(res5)) {
4845 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4846 } else {
4847 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4848 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4849 }
4850 return resultobj;
4851 fail:
4852 return NULL;
4853 }
4854
4855
4856 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4857 int argc;
4858 PyObject *argv[4];
4859
4860 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4861 --argc;
4862 if (argc == 2) {
4863 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4864 }
4865 if (argc == 3) {
4866 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4867 }
4868
4869 fail:
4870 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4871 return NULL;
4872 }
4873
4874
4875 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4876 PyObject *resultobj = 0;
4877 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4878 wxPoint *arg2 = 0 ;
4879 wxPoint result;
4880 void *argp1 = 0 ;
4881 int res1 = 0 ;
4882 wxPoint temp2 ;
4883
4884 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4886 if (!SWIG_IsOK(res1)) {
4887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4888 }
4889 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4890 {
4891 arg2 = &temp2;
4892 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4893 }
4894 {
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4897 wxPyEndAllowThreads(__tstate);
4898 if (PyErr_Occurred()) SWIG_fail;
4899 }
4900 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4901 return resultobj;
4902 fail:
4903 return NULL;
4904 }
4905
4906
4907 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4908 PyObject *resultobj = 0;
4909 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4910 int arg2 ;
4911 int arg3 ;
4912 int *arg4 = (int *) 0 ;
4913 int *arg5 = (int *) 0 ;
4914 void *argp1 = 0 ;
4915 int res1 = 0 ;
4916 int val2 ;
4917 int ecode2 = 0 ;
4918 int val3 ;
4919 int ecode3 = 0 ;
4920 int temp4 ;
4921 int res4 = SWIG_TMPOBJ ;
4922 int temp5 ;
4923 int res5 = SWIG_TMPOBJ ;
4924
4925 arg4 = &temp4;
4926 arg5 = &temp5;
4927 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4929 if (!SWIG_IsOK(res1)) {
4930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4931 }
4932 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4933 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4934 if (!SWIG_IsOK(ecode2)) {
4935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4936 }
4937 arg2 = static_cast< int >(val2);
4938 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4939 if (!SWIG_IsOK(ecode3)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4941 }
4942 arg3 = static_cast< int >(val3);
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
4949 resultobj = SWIG_Py_Void();
4950 if (SWIG_IsTmpObj(res4)) {
4951 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4952 } else {
4953 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4954 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4955 }
4956 if (SWIG_IsTmpObj(res5)) {
4957 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4958 } else {
4959 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4960 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4961 }
4962 return resultobj;
4963 fail:
4964 return NULL;
4965 }
4966
4967
4968 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4969 int argc;
4970 PyObject *argv[4];
4971
4972 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4973 --argc;
4974 if (argc == 2) {
4975 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4976 }
4977 if (argc == 3) {
4978 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4979 }
4980
4981 fail:
4982 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4983 return NULL;
4984 }
4985
4986
4987 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4988 PyObject *resultobj = 0;
4989 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4990 void *argp1 = 0 ;
4991 int res1 = 0 ;
4992 PyObject *swig_obj[1] ;
4993
4994 if (!args) SWIG_fail;
4995 swig_obj[0] = args;
4996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4997 if (!SWIG_IsOK(res1)) {
4998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4999 }
5000 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5001 {
5002 PyThreadState* __tstate = wxPyBeginAllowThreads();
5003 (arg1)->AdjustScrollbars();
5004 wxPyEndAllowThreads(__tstate);
5005 if (PyErr_Occurred()) SWIG_fail;
5006 }
5007 resultobj = SWIG_Py_Void();
5008 return resultobj;
5009 fail:
5010 return NULL;
5011 }
5012
5013
5014 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5015 PyObject *resultobj = 0;
5016 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5017 wxScrollWinEvent *arg2 = 0 ;
5018 int result;
5019 void *argp1 = 0 ;
5020 int res1 = 0 ;
5021 void *argp2 = 0 ;
5022 int res2 = 0 ;
5023 PyObject * obj0 = 0 ;
5024 PyObject * obj1 = 0 ;
5025 char * kwnames[] = {
5026 (char *) "self",(char *) "event", NULL
5027 };
5028
5029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5031 if (!SWIG_IsOK(res1)) {
5032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5033 }
5034 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5035 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5036 if (!SWIG_IsOK(res2)) {
5037 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5038 }
5039 if (!argp2) {
5040 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5041 }
5042 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5043 {
5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
5045 result = (int)(arg1)->CalcScrollInc(*arg2);
5046 wxPyEndAllowThreads(__tstate);
5047 if (PyErr_Occurred()) SWIG_fail;
5048 }
5049 resultobj = SWIG_From_int(static_cast< int >(result));
5050 return resultobj;
5051 fail:
5052 return NULL;
5053 }
5054
5055
5056 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5057 PyObject *resultobj = 0;
5058 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5059 wxWindow *arg2 = (wxWindow *) 0 ;
5060 void *argp1 = 0 ;
5061 int res1 = 0 ;
5062 void *argp2 = 0 ;
5063 int res2 = 0 ;
5064 PyObject * obj0 = 0 ;
5065 PyObject * obj1 = 0 ;
5066 char * kwnames[] = {
5067 (char *) "self",(char *) "target", NULL
5068 };
5069
5070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5072 if (!SWIG_IsOK(res1)) {
5073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5074 }
5075 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5076 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5077 if (!SWIG_IsOK(res2)) {
5078 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5079 }
5080 arg2 = reinterpret_cast< wxWindow * >(argp2);
5081 {
5082 PyThreadState* __tstate = wxPyBeginAllowThreads();
5083 (arg1)->SetTargetWindow(arg2);
5084 wxPyEndAllowThreads(__tstate);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 }
5087 resultobj = SWIG_Py_Void();
5088 return resultobj;
5089 fail:
5090 return NULL;
5091 }
5092
5093
5094 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5095 PyObject *resultobj = 0;
5096 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5097 wxWindow *result = 0 ;
5098 void *argp1 = 0 ;
5099 int res1 = 0 ;
5100 PyObject *swig_obj[1] ;
5101
5102 if (!args) SWIG_fail;
5103 swig_obj[0] = args;
5104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5105 if (!SWIG_IsOK(res1)) {
5106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5107 }
5108 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5109 {
5110 PyThreadState* __tstate = wxPyBeginAllowThreads();
5111 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5112 wxPyEndAllowThreads(__tstate);
5113 if (PyErr_Occurred()) SWIG_fail;
5114 }
5115 {
5116 resultobj = wxPyMake_wxObject(result, 0);
5117 }
5118 return resultobj;
5119 fail:
5120 return NULL;
5121 }
5122
5123
5124 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5125 PyObject *resultobj = 0;
5126 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5127 wxDC *arg2 = 0 ;
5128 void *argp1 = 0 ;
5129 int res1 = 0 ;
5130 void *argp2 = 0 ;
5131 int res2 = 0 ;
5132 PyObject * obj0 = 0 ;
5133 PyObject * obj1 = 0 ;
5134 char * kwnames[] = {
5135 (char *) "self",(char *) "dc", NULL
5136 };
5137
5138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5140 if (!SWIG_IsOK(res1)) {
5141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5142 }
5143 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5144 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5145 if (!SWIG_IsOK(res2)) {
5146 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5147 }
5148 if (!argp2) {
5149 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5150 }
5151 arg2 = reinterpret_cast< wxDC * >(argp2);
5152 {
5153 PyThreadState* __tstate = wxPyBeginAllowThreads();
5154 (arg1)->DoPrepareDC(*arg2);
5155 wxPyEndAllowThreads(__tstate);
5156 if (PyErr_Occurred()) SWIG_fail;
5157 }
5158 resultobj = SWIG_Py_Void();
5159 return resultobj;
5160 fail:
5161 return NULL;
5162 }
5163
5164
5165 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5166 PyObject *resultobj = 0;
5167 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5168 SwigValueWrapper<wxVisualAttributes > result;
5169 int val1 ;
5170 int ecode1 = 0 ;
5171 PyObject * obj0 = 0 ;
5172 char * kwnames[] = {
5173 (char *) "variant", NULL
5174 };
5175
5176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5177 if (obj0) {
5178 ecode1 = SWIG_AsVal_int(obj0, &val1);
5179 if (!SWIG_IsOK(ecode1)) {
5180 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5181 }
5182 arg1 = static_cast< wxWindowVariant >(val1);
5183 }
5184 {
5185 if (!wxPyCheckForApp()) SWIG_fail;
5186 PyThreadState* __tstate = wxPyBeginAllowThreads();
5187 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5188 wxPyEndAllowThreads(__tstate);
5189 if (PyErr_Occurred()) SWIG_fail;
5190 }
5191 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5192 return resultobj;
5193 fail:
5194 return NULL;
5195 }
5196
5197
5198 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5199 PyObject *obj;
5200 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5201 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5202 return SWIG_Py_Void();
5203 }
5204
5205 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5206 return SWIG_Python_InitShadowInstance(args);
5207 }
5208
5209 SWIGINTERN int FrameNameStr_set(PyObject *) {
5210 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5211 return 1;
5212 }
5213
5214
5215 SWIGINTERN PyObject *FrameNameStr_get(void) {
5216 PyObject *pyobj = 0;
5217
5218 {
5219 #if wxUSE_UNICODE
5220 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5221 #else
5222 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5223 #endif
5224 }
5225 return pyobj;
5226 }
5227
5228
5229 SWIGINTERN int DialogNameStr_set(PyObject *) {
5230 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5231 return 1;
5232 }
5233
5234
5235 SWIGINTERN PyObject *DialogNameStr_get(void) {
5236 PyObject *pyobj = 0;
5237
5238 {
5239 #if wxUSE_UNICODE
5240 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5241 #else
5242 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5243 #endif
5244 }
5245 return pyobj;
5246 }
5247
5248
5249 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5250 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5251 return 1;
5252 }
5253
5254
5255 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5256 PyObject *pyobj = 0;
5257
5258 {
5259 #if wxUSE_UNICODE
5260 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5261 #else
5262 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5263 #endif
5264 }
5265 return pyobj;
5266 }
5267
5268
5269 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5270 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5271 return 1;
5272 }
5273
5274
5275 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5276 PyObject *pyobj = 0;
5277
5278 {
5279 #if wxUSE_UNICODE
5280 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5281 #else
5282 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5283 #endif
5284 }
5285 return pyobj;
5286 }
5287
5288
5289 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5290 PyObject *resultobj = 0;
5291 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5292 bool arg2 = (bool) true ;
5293 void *argp1 = 0 ;
5294 int res1 = 0 ;
5295 bool val2 ;
5296 int ecode2 = 0 ;
5297 PyObject * obj0 = 0 ;
5298 PyObject * obj1 = 0 ;
5299 char * kwnames[] = {
5300 (char *) "self",(char *) "maximize", NULL
5301 };
5302
5303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5305 if (!SWIG_IsOK(res1)) {
5306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5307 }
5308 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5309 if (obj1) {
5310 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5311 if (!SWIG_IsOK(ecode2)) {
5312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5313 }
5314 arg2 = static_cast< bool >(val2);
5315 }
5316 {
5317 PyThreadState* __tstate = wxPyBeginAllowThreads();
5318 (arg1)->Maximize(arg2);
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 resultobj = SWIG_Py_Void();
5323 return resultobj;
5324 fail:
5325 return NULL;
5326 }
5327
5328
5329 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5330 PyObject *resultobj = 0;
5331 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5332 void *argp1 = 0 ;
5333 int res1 = 0 ;
5334 PyObject *swig_obj[1] ;
5335
5336 if (!args) SWIG_fail;
5337 swig_obj[0] = args;
5338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5339 if (!SWIG_IsOK(res1)) {
5340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5341 }
5342 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5343 {
5344 PyThreadState* __tstate = wxPyBeginAllowThreads();
5345 (arg1)->Restore();
5346 wxPyEndAllowThreads(__tstate);
5347 if (PyErr_Occurred()) SWIG_fail;
5348 }
5349 resultobj = SWIG_Py_Void();
5350 return resultobj;
5351 fail:
5352 return NULL;
5353 }
5354
5355
5356 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5357 PyObject *resultobj = 0;
5358 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5359 bool arg2 = (bool) true ;
5360 void *argp1 = 0 ;
5361 int res1 = 0 ;
5362 bool val2 ;
5363 int ecode2 = 0 ;
5364 PyObject * obj0 = 0 ;
5365 PyObject * obj1 = 0 ;
5366 char * kwnames[] = {
5367 (char *) "self",(char *) "iconize", NULL
5368 };
5369
5370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5372 if (!SWIG_IsOK(res1)) {
5373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5374 }
5375 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5376 if (obj1) {
5377 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5378 if (!SWIG_IsOK(ecode2)) {
5379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5380 }
5381 arg2 = static_cast< bool >(val2);
5382 }
5383 {
5384 PyThreadState* __tstate = wxPyBeginAllowThreads();
5385 (arg1)->Iconize(arg2);
5386 wxPyEndAllowThreads(__tstate);
5387 if (PyErr_Occurred()) SWIG_fail;
5388 }
5389 resultobj = SWIG_Py_Void();
5390 return resultobj;
5391 fail:
5392 return NULL;
5393 }
5394
5395
5396 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5397 PyObject *resultobj = 0;
5398 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5399 bool result;
5400 void *argp1 = 0 ;
5401 int res1 = 0 ;
5402 PyObject *swig_obj[1] ;
5403
5404 if (!args) SWIG_fail;
5405 swig_obj[0] = args;
5406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5407 if (!SWIG_IsOK(res1)) {
5408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5409 }
5410 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 {
5418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5419 }
5420 return resultobj;
5421 fail:
5422 return NULL;
5423 }
5424
5425
5426 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5427 PyObject *resultobj = 0;
5428 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5429 bool result;
5430 void *argp1 = 0 ;
5431 int res1 = 0 ;
5432 PyObject *swig_obj[1] ;
5433
5434 if (!args) SWIG_fail;
5435 swig_obj[0] = args;
5436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5437 if (!SWIG_IsOK(res1)) {
5438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5439 }
5440 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5441 {
5442 PyThreadState* __tstate = wxPyBeginAllowThreads();
5443 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5444 wxPyEndAllowThreads(__tstate);
5445 if (PyErr_Occurred()) SWIG_fail;
5446 }
5447 {
5448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5449 }
5450 return resultobj;
5451 fail:
5452 return NULL;
5453 }
5454
5455
5456 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5457 PyObject *resultobj = 0;
5458 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5459 bool result;
5460 void *argp1 = 0 ;
5461 int res1 = 0 ;
5462 PyObject *swig_obj[1] ;
5463
5464 if (!args) SWIG_fail;
5465 swig_obj[0] = args;
5466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5467 if (!SWIG_IsOK(res1)) {
5468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5469 }
5470 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5474 wxPyEndAllowThreads(__tstate);
5475 if (PyErr_Occurred()) SWIG_fail;
5476 }
5477 {
5478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5479 }
5480 return resultobj;
5481 fail:
5482 return NULL;
5483 }
5484
5485
5486 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5487 PyObject *resultobj = 0;
5488 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5489 wxIcon result;
5490 void *argp1 = 0 ;
5491 int res1 = 0 ;
5492 PyObject *swig_obj[1] ;
5493
5494 if (!args) SWIG_fail;
5495 swig_obj[0] = args;
5496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5497 if (!SWIG_IsOK(res1)) {
5498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5499 }
5500 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5501 {
5502 PyThreadState* __tstate = wxPyBeginAllowThreads();
5503 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5504 wxPyEndAllowThreads(__tstate);
5505 if (PyErr_Occurred()) SWIG_fail;
5506 }
5507 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5508 return resultobj;
5509 fail:
5510 return NULL;
5511 }
5512
5513
5514 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5515 PyObject *resultobj = 0;
5516 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5517 wxIcon *arg2 = 0 ;
5518 void *argp1 = 0 ;
5519 int res1 = 0 ;
5520 void *argp2 = 0 ;
5521 int res2 = 0 ;
5522 PyObject * obj0 = 0 ;
5523 PyObject * obj1 = 0 ;
5524 char * kwnames[] = {
5525 (char *) "self",(char *) "icon", NULL
5526 };
5527
5528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5530 if (!SWIG_IsOK(res1)) {
5531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5532 }
5533 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5534 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5535 if (!SWIG_IsOK(res2)) {
5536 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5537 }
5538 if (!argp2) {
5539 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5540 }
5541 arg2 = reinterpret_cast< wxIcon * >(argp2);
5542 {
5543 PyThreadState* __tstate = wxPyBeginAllowThreads();
5544 (arg1)->SetIcon((wxIcon const &)*arg2);
5545 wxPyEndAllowThreads(__tstate);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 }
5548 resultobj = SWIG_Py_Void();
5549 return resultobj;
5550 fail:
5551 return NULL;
5552 }
5553
5554
5555 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5556 PyObject *resultobj = 0;
5557 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5558 wxIconBundle *arg2 = 0 ;
5559 void *argp1 = 0 ;
5560 int res1 = 0 ;
5561 void *argp2 = 0 ;
5562 int res2 = 0 ;
5563 PyObject * obj0 = 0 ;
5564 PyObject * obj1 = 0 ;
5565 char * kwnames[] = {
5566 (char *) "self",(char *) "icons", NULL
5567 };
5568
5569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5571 if (!SWIG_IsOK(res1)) {
5572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5573 }
5574 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5575 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5576 if (!SWIG_IsOK(res2)) {
5577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5578 }
5579 if (!argp2) {
5580 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5581 }
5582 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5583 {
5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
5585 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5586 wxPyEndAllowThreads(__tstate);
5587 if (PyErr_Occurred()) SWIG_fail;
5588 }
5589 resultobj = SWIG_Py_Void();
5590 return resultobj;
5591 fail:
5592 return NULL;
5593 }
5594
5595
5596 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5597 PyObject *resultobj = 0;
5598 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5599 bool arg2 ;
5600 long arg3 = (long) wxFULLSCREEN_ALL ;
5601 bool result;
5602 void *argp1 = 0 ;
5603 int res1 = 0 ;
5604 bool val2 ;
5605 int ecode2 = 0 ;
5606 long val3 ;
5607 int ecode3 = 0 ;
5608 PyObject * obj0 = 0 ;
5609 PyObject * obj1 = 0 ;
5610 PyObject * obj2 = 0 ;
5611 char * kwnames[] = {
5612 (char *) "self",(char *) "show",(char *) "style", NULL
5613 };
5614
5615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5617 if (!SWIG_IsOK(res1)) {
5618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5619 }
5620 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5621 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5622 if (!SWIG_IsOK(ecode2)) {
5623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5624 }
5625 arg2 = static_cast< bool >(val2);
5626 if (obj2) {
5627 ecode3 = SWIG_AsVal_long(obj2, &val3);
5628 if (!SWIG_IsOK(ecode3)) {
5629 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5630 }
5631 arg3 = static_cast< long >(val3);
5632 }
5633 {
5634 PyThreadState* __tstate = wxPyBeginAllowThreads();
5635 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5636 wxPyEndAllowThreads(__tstate);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 {
5640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5641 }
5642 return resultobj;
5643 fail:
5644 return NULL;
5645 }
5646
5647
5648 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5649 PyObject *resultobj = 0;
5650 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5651 bool result;
5652 void *argp1 = 0 ;
5653 int res1 = 0 ;
5654 PyObject *swig_obj[1] ;
5655
5656 if (!args) SWIG_fail;
5657 swig_obj[0] = args;
5658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5659 if (!SWIG_IsOK(res1)) {
5660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5661 }
5662 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5663 {
5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
5665 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 {
5670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5671 }
5672 return resultobj;
5673 fail:
5674 return NULL;
5675 }
5676
5677
5678 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5679 PyObject *resultobj = 0;
5680 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5681 wxString *arg2 = 0 ;
5682 void *argp1 = 0 ;
5683 int res1 = 0 ;
5684 bool temp2 = false ;
5685 PyObject * obj0 = 0 ;
5686 PyObject * obj1 = 0 ;
5687 char * kwnames[] = {
5688 (char *) "self",(char *) "title", NULL
5689 };
5690
5691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5693 if (!SWIG_IsOK(res1)) {
5694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5695 }
5696 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5697 {
5698 arg2 = wxString_in_helper(obj1);
5699 if (arg2 == NULL) SWIG_fail;
5700 temp2 = true;
5701 }
5702 {
5703 PyThreadState* __tstate = wxPyBeginAllowThreads();
5704 (arg1)->SetTitle((wxString const &)*arg2);
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 resultobj = SWIG_Py_Void();
5709 {
5710 if (temp2)
5711 delete arg2;
5712 }
5713 return resultobj;
5714 fail:
5715 {
5716 if (temp2)
5717 delete arg2;
5718 }
5719 return NULL;
5720 }
5721
5722
5723 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5724 PyObject *resultobj = 0;
5725 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5726 wxString result;
5727 void *argp1 = 0 ;
5728 int res1 = 0 ;
5729 PyObject *swig_obj[1] ;
5730
5731 if (!args) SWIG_fail;
5732 swig_obj[0] = args;
5733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5734 if (!SWIG_IsOK(res1)) {
5735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5736 }
5737 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5741 wxPyEndAllowThreads(__tstate);
5742 if (PyErr_Occurred()) SWIG_fail;
5743 }
5744 {
5745 #if wxUSE_UNICODE
5746 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5747 #else
5748 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5749 #endif
5750 }
5751 return resultobj;
5752 fail:
5753 return NULL;
5754 }
5755
5756
5757 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5758 PyObject *resultobj = 0;
5759 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5760 wxRegion *arg2 = 0 ;
5761 bool result;
5762 void *argp1 = 0 ;
5763 int res1 = 0 ;
5764 void *argp2 = 0 ;
5765 int res2 = 0 ;
5766 PyObject * obj0 = 0 ;
5767 PyObject * obj1 = 0 ;
5768 char * kwnames[] = {
5769 (char *) "self",(char *) "region", NULL
5770 };
5771
5772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5774 if (!SWIG_IsOK(res1)) {
5775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5776 }
5777 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5778 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5779 if (!SWIG_IsOK(res2)) {
5780 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5781 }
5782 if (!argp2) {
5783 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5784 }
5785 arg2 = reinterpret_cast< wxRegion * >(argp2);
5786 {
5787 PyThreadState* __tstate = wxPyBeginAllowThreads();
5788 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5789 wxPyEndAllowThreads(__tstate);
5790 if (PyErr_Occurred()) SWIG_fail;
5791 }
5792 {
5793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5794 }
5795 return resultobj;
5796 fail:
5797 return NULL;
5798 }
5799
5800
5801 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5802 PyObject *resultobj = 0;
5803 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5804 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5805 void *argp1 = 0 ;
5806 int res1 = 0 ;
5807 int val2 ;
5808 int ecode2 = 0 ;
5809 PyObject * obj0 = 0 ;
5810 PyObject * obj1 = 0 ;
5811 char * kwnames[] = {
5812 (char *) "self",(char *) "flags", NULL
5813 };
5814
5815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5817 if (!SWIG_IsOK(res1)) {
5818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5819 }
5820 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5821 if (obj1) {
5822 ecode2 = SWIG_AsVal_int(obj1, &val2);
5823 if (!SWIG_IsOK(ecode2)) {
5824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5825 }
5826 arg2 = static_cast< int >(val2);
5827 }
5828 {
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 (arg1)->RequestUserAttention(arg2);
5831 wxPyEndAllowThreads(__tstate);
5832 if (PyErr_Occurred()) SWIG_fail;
5833 }
5834 resultobj = SWIG_Py_Void();
5835 return resultobj;
5836 fail:
5837 return NULL;
5838 }
5839
5840
5841 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5842 PyObject *resultobj = 0;
5843 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5844 bool result;
5845 void *argp1 = 0 ;
5846 int res1 = 0 ;
5847 PyObject *swig_obj[1] ;
5848
5849 if (!args) SWIG_fail;
5850 swig_obj[0] = args;
5851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5852 if (!SWIG_IsOK(res1)) {
5853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5854 }
5855 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5856 {
5857 PyThreadState* __tstate = wxPyBeginAllowThreads();
5858 result = (bool)(arg1)->IsActive();
5859 wxPyEndAllowThreads(__tstate);
5860 if (PyErr_Occurred()) SWIG_fail;
5861 }
5862 {
5863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5864 }
5865 return resultobj;
5866 fail:
5867 return NULL;
5868 }
5869
5870
5871 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5872 PyObject *resultobj = 0;
5873 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5874 bool arg2 ;
5875 void *argp1 = 0 ;
5876 int res1 = 0 ;
5877 bool val2 ;
5878 int ecode2 = 0 ;
5879 PyObject * obj0 = 0 ;
5880 PyObject * obj1 = 0 ;
5881 char * kwnames[] = {
5882 (char *) "self",(char *) "on", NULL
5883 };
5884
5885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5887 if (!SWIG_IsOK(res1)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5889 }
5890 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5891 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5892 if (!SWIG_IsOK(ecode2)) {
5893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5894 }
5895 arg2 = static_cast< bool >(val2);
5896 {
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 resultobj = SWIG_Py_Void();
5903 return resultobj;
5904 fail:
5905 return NULL;
5906 }
5907
5908
5909 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5910 PyObject *resultobj = 0;
5911 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5912 bool result;
5913 void *argp1 = 0 ;
5914 int res1 = 0 ;
5915 PyObject *swig_obj[1] ;
5916
5917 if (!args) SWIG_fail;
5918 swig_obj[0] = args;
5919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5920 if (!SWIG_IsOK(res1)) {
5921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5922 }
5923 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5924 {
5925 PyThreadState* __tstate = wxPyBeginAllowThreads();
5926 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5927 wxPyEndAllowThreads(__tstate);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 }
5930 {
5931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5932 }
5933 return resultobj;
5934 fail:
5935 return NULL;
5936 }
5937
5938
5939 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5940 PyObject *resultobj = 0;
5941 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5942 int arg2 = (int) wxBOTH ;
5943 void *argp1 = 0 ;
5944 int res1 = 0 ;
5945 int val2 ;
5946 int ecode2 = 0 ;
5947 PyObject * obj0 = 0 ;
5948 PyObject * obj1 = 0 ;
5949 char * kwnames[] = {
5950 (char *) "self",(char *) "dir", NULL
5951 };
5952
5953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
5954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5955 if (!SWIG_IsOK(res1)) {
5956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5957 }
5958 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5959 if (obj1) {
5960 ecode2 = SWIG_AsVal_int(obj1, &val2);
5961 if (!SWIG_IsOK(ecode2)) {
5962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5963 }
5964 arg2 = static_cast< int >(val2);
5965 }
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 (arg1)->CenterOnScreen(arg2);
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 resultobj = SWIG_Py_Void();
5973 return resultobj;
5974 fail:
5975 return NULL;
5976 }
5977
5978
5979 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5980 PyObject *obj;
5981 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5982 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
5983 return SWIG_Py_Void();
5984 }
5985
5986 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5987 PyObject *resultobj = 0;
5988 wxWindow *arg1 = (wxWindow *) 0 ;
5989 int arg2 = (int) (int)-1 ;
5990 wxString const &arg3_defvalue = wxPyEmptyString ;
5991 wxString *arg3 = (wxString *) &arg3_defvalue ;
5992 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5993 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5994 wxSize const &arg5_defvalue = wxDefaultSize ;
5995 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5996 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
5997 wxString const &arg7_defvalue = wxPyFrameNameStr ;
5998 wxString *arg7 = (wxString *) &arg7_defvalue ;
5999 wxFrame *result = 0 ;
6000 void *argp1 = 0 ;
6001 int res1 = 0 ;
6002 int val2 ;
6003 int ecode2 = 0 ;
6004 bool temp3 = false ;
6005 wxPoint temp4 ;
6006 wxSize temp5 ;
6007 long val6 ;
6008 int ecode6 = 0 ;
6009 bool temp7 = false ;
6010 PyObject * obj0 = 0 ;
6011 PyObject * obj1 = 0 ;
6012 PyObject * obj2 = 0 ;
6013 PyObject * obj3 = 0 ;
6014 PyObject * obj4 = 0 ;
6015 PyObject * obj5 = 0 ;
6016 PyObject * obj6 = 0 ;
6017 char * kwnames[] = {
6018 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6019 };
6020
6021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6023 if (!SWIG_IsOK(res1)) {
6024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6025 }
6026 arg1 = reinterpret_cast< wxWindow * >(argp1);
6027 if (obj1) {
6028 ecode2 = SWIG_AsVal_int(obj1, &val2);
6029 if (!SWIG_IsOK(ecode2)) {
6030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6031 }
6032 arg2 = static_cast< int >(val2);
6033 }
6034 if (obj2) {
6035 {
6036 arg3 = wxString_in_helper(obj2);
6037 if (arg3 == NULL) SWIG_fail;
6038 temp3 = true;
6039 }
6040 }
6041 if (obj3) {
6042 {
6043 arg4 = &temp4;
6044 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6045 }
6046 }
6047 if (obj4) {
6048 {
6049 arg5 = &temp5;
6050 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6051 }
6052 }
6053 if (obj5) {
6054 ecode6 = SWIG_AsVal_long(obj5, &val6);
6055 if (!SWIG_IsOK(ecode6)) {
6056 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6057 }
6058 arg6 = static_cast< long >(val6);
6059 }
6060 if (obj6) {
6061 {
6062 arg7 = wxString_in_helper(obj6);
6063 if (arg7 == NULL) SWIG_fail;
6064 temp7 = true;
6065 }
6066 }
6067 {
6068 if (!wxPyCheckForApp()) SWIG_fail;
6069 PyThreadState* __tstate = wxPyBeginAllowThreads();
6070 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6071 wxPyEndAllowThreads(__tstate);
6072 if (PyErr_Occurred()) SWIG_fail;
6073 }
6074 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6075 {
6076 if (temp3)
6077 delete arg3;
6078 }
6079 {
6080 if (temp7)
6081 delete arg7;
6082 }
6083 return resultobj;
6084 fail:
6085 {
6086 if (temp3)
6087 delete arg3;
6088 }
6089 {
6090 if (temp7)
6091 delete arg7;
6092 }
6093 return NULL;
6094 }
6095
6096
6097 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6098 PyObject *resultobj = 0;
6099 wxFrame *result = 0 ;
6100
6101 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6102 {
6103 if (!wxPyCheckForApp()) SWIG_fail;
6104 PyThreadState* __tstate = wxPyBeginAllowThreads();
6105 result = (wxFrame *)new wxFrame();
6106 wxPyEndAllowThreads(__tstate);
6107 if (PyErr_Occurred()) SWIG_fail;
6108 }
6109 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6110 return resultobj;
6111 fail:
6112 return NULL;
6113 }
6114
6115
6116 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6117 PyObject *resultobj = 0;
6118 wxFrame *arg1 = (wxFrame *) 0 ;
6119 wxWindow *arg2 = (wxWindow *) 0 ;
6120 int arg3 = (int) (int)-1 ;
6121 wxString const &arg4_defvalue = wxPyEmptyString ;
6122 wxString *arg4 = (wxString *) &arg4_defvalue ;
6123 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6124 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6125 wxSize const &arg6_defvalue = wxDefaultSize ;
6126 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6127 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6128 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6129 wxString *arg8 = (wxString *) &arg8_defvalue ;
6130 bool result;
6131 void *argp1 = 0 ;
6132 int res1 = 0 ;
6133 void *argp2 = 0 ;
6134 int res2 = 0 ;
6135 int val3 ;
6136 int ecode3 = 0 ;
6137 bool temp4 = false ;
6138 wxPoint temp5 ;
6139 wxSize temp6 ;
6140 long val7 ;
6141 int ecode7 = 0 ;
6142 bool temp8 = false ;
6143 PyObject * obj0 = 0 ;
6144 PyObject * obj1 = 0 ;
6145 PyObject * obj2 = 0 ;
6146 PyObject * obj3 = 0 ;
6147 PyObject * obj4 = 0 ;
6148 PyObject * obj5 = 0 ;
6149 PyObject * obj6 = 0 ;
6150 PyObject * obj7 = 0 ;
6151 char * kwnames[] = {
6152 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6153 };
6154
6155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6157 if (!SWIG_IsOK(res1)) {
6158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6159 }
6160 arg1 = reinterpret_cast< wxFrame * >(argp1);
6161 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6162 if (!SWIG_IsOK(res2)) {
6163 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6164 }
6165 arg2 = reinterpret_cast< wxWindow * >(argp2);
6166 if (obj2) {
6167 ecode3 = SWIG_AsVal_int(obj2, &val3);
6168 if (!SWIG_IsOK(ecode3)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6170 }
6171 arg3 = static_cast< int >(val3);
6172 }
6173 if (obj3) {
6174 {
6175 arg4 = wxString_in_helper(obj3);
6176 if (arg4 == NULL) SWIG_fail;
6177 temp4 = true;
6178 }
6179 }
6180 if (obj4) {
6181 {
6182 arg5 = &temp5;
6183 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6184 }
6185 }
6186 if (obj5) {
6187 {
6188 arg6 = &temp6;
6189 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6190 }
6191 }
6192 if (obj6) {
6193 ecode7 = SWIG_AsVal_long(obj6, &val7);
6194 if (!SWIG_IsOK(ecode7)) {
6195 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6196 }
6197 arg7 = static_cast< long >(val7);
6198 }
6199 if (obj7) {
6200 {
6201 arg8 = wxString_in_helper(obj7);
6202 if (arg8 == NULL) SWIG_fail;
6203 temp8 = true;
6204 }
6205 }
6206 {
6207 PyThreadState* __tstate = wxPyBeginAllowThreads();
6208 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 {
6213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6214 }
6215 {
6216 if (temp4)
6217 delete arg4;
6218 }
6219 {
6220 if (temp8)
6221 delete arg8;
6222 }
6223 return resultobj;
6224 fail:
6225 {
6226 if (temp4)
6227 delete arg4;
6228 }
6229 {
6230 if (temp8)
6231 delete arg8;
6232 }
6233 return NULL;
6234 }
6235
6236
6237 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6238 PyObject *resultobj = 0;
6239 wxFrame *arg1 = (wxFrame *) 0 ;
6240 void *argp1 = 0 ;
6241 int res1 = 0 ;
6242 PyObject *swig_obj[1] ;
6243
6244 if (!args) SWIG_fail;
6245 swig_obj[0] = args;
6246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6247 if (!SWIG_IsOK(res1)) {
6248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6249 }
6250 arg1 = reinterpret_cast< wxFrame * >(argp1);
6251 {
6252 PyThreadState* __tstate = wxPyBeginAllowThreads();
6253 (arg1)->SendSizeEvent();
6254 wxPyEndAllowThreads(__tstate);
6255 if (PyErr_Occurred()) SWIG_fail;
6256 }
6257 resultobj = SWIG_Py_Void();
6258 return resultobj;
6259 fail:
6260 return NULL;
6261 }
6262
6263
6264 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6265 PyObject *resultobj = 0;
6266 wxFrame *arg1 = (wxFrame *) 0 ;
6267 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6268 void *argp1 = 0 ;
6269 int res1 = 0 ;
6270 void *argp2 = 0 ;
6271 int res2 = 0 ;
6272 PyObject * obj0 = 0 ;
6273 PyObject * obj1 = 0 ;
6274 char * kwnames[] = {
6275 (char *) "self",(char *) "menubar", NULL
6276 };
6277
6278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6280 if (!SWIG_IsOK(res1)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6282 }
6283 arg1 = reinterpret_cast< wxFrame * >(argp1);
6284 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6285 if (!SWIG_IsOK(res2)) {
6286 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6287 }
6288 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6289 {
6290 PyThreadState* __tstate = wxPyBeginAllowThreads();
6291 (arg1)->SetMenuBar(arg2);
6292 wxPyEndAllowThreads(__tstate);
6293 if (PyErr_Occurred()) SWIG_fail;
6294 }
6295 resultobj = SWIG_Py_Void();
6296 return resultobj;
6297 fail:
6298 return NULL;
6299 }
6300
6301
6302 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6303 PyObject *resultobj = 0;
6304 wxFrame *arg1 = (wxFrame *) 0 ;
6305 wxMenuBar *result = 0 ;
6306 void *argp1 = 0 ;
6307 int res1 = 0 ;
6308 PyObject *swig_obj[1] ;
6309
6310 if (!args) SWIG_fail;
6311 swig_obj[0] = args;
6312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6313 if (!SWIG_IsOK(res1)) {
6314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6315 }
6316 arg1 = reinterpret_cast< wxFrame * >(argp1);
6317 {
6318 PyThreadState* __tstate = wxPyBeginAllowThreads();
6319 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6320 wxPyEndAllowThreads(__tstate);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
6323 {
6324 resultobj = wxPyMake_wxObject(result, 0);
6325 }
6326 return resultobj;
6327 fail:
6328 return NULL;
6329 }
6330
6331
6332 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6333 PyObject *resultobj = 0;
6334 wxFrame *arg1 = (wxFrame *) 0 ;
6335 int arg2 ;
6336 bool result;
6337 void *argp1 = 0 ;
6338 int res1 = 0 ;
6339 int val2 ;
6340 int ecode2 = 0 ;
6341 PyObject * obj0 = 0 ;
6342 PyObject * obj1 = 0 ;
6343 char * kwnames[] = {
6344 (char *) "self",(char *) "winid", NULL
6345 };
6346
6347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6349 if (!SWIG_IsOK(res1)) {
6350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6351 }
6352 arg1 = reinterpret_cast< wxFrame * >(argp1);
6353 ecode2 = SWIG_AsVal_int(obj1, &val2);
6354 if (!SWIG_IsOK(ecode2)) {
6355 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6356 }
6357 arg2 = static_cast< int >(val2);
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
6360 result = (bool)(arg1)->ProcessCommand(arg2);
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 {
6365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6366 }
6367 return resultobj;
6368 fail:
6369 return NULL;
6370 }
6371
6372
6373 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6374 PyObject *resultobj = 0;
6375 wxFrame *arg1 = (wxFrame *) 0 ;
6376 int arg2 = (int) 1 ;
6377 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6378 int arg4 = (int) 0 ;
6379 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6380 wxString *arg5 = (wxString *) &arg5_defvalue ;
6381 wxStatusBar *result = 0 ;
6382 void *argp1 = 0 ;
6383 int res1 = 0 ;
6384 int val2 ;
6385 int ecode2 = 0 ;
6386 long val3 ;
6387 int ecode3 = 0 ;
6388 int val4 ;
6389 int ecode4 = 0 ;
6390 bool temp5 = false ;
6391 PyObject * obj0 = 0 ;
6392 PyObject * obj1 = 0 ;
6393 PyObject * obj2 = 0 ;
6394 PyObject * obj3 = 0 ;
6395 PyObject * obj4 = 0 ;
6396 char * kwnames[] = {
6397 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6398 };
6399
6400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6402 if (!SWIG_IsOK(res1)) {
6403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6404 }
6405 arg1 = reinterpret_cast< wxFrame * >(argp1);
6406 if (obj1) {
6407 ecode2 = SWIG_AsVal_int(obj1, &val2);
6408 if (!SWIG_IsOK(ecode2)) {
6409 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6410 }
6411 arg2 = static_cast< int >(val2);
6412 }
6413 if (obj2) {
6414 ecode3 = SWIG_AsVal_long(obj2, &val3);
6415 if (!SWIG_IsOK(ecode3)) {
6416 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6417 }
6418 arg3 = static_cast< long >(val3);
6419 }
6420 if (obj3) {
6421 ecode4 = SWIG_AsVal_int(obj3, &val4);
6422 if (!SWIG_IsOK(ecode4)) {
6423 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6424 }
6425 arg4 = static_cast< int >(val4);
6426 }
6427 if (obj4) {
6428 {
6429 arg5 = wxString_in_helper(obj4);
6430 if (arg5 == NULL) SWIG_fail;
6431 temp5 = true;
6432 }
6433 }
6434 {
6435 PyThreadState* __tstate = wxPyBeginAllowThreads();
6436 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6437 wxPyEndAllowThreads(__tstate);
6438 if (PyErr_Occurred()) SWIG_fail;
6439 }
6440 {
6441 resultobj = wxPyMake_wxObject(result, (bool)0);
6442 }
6443 {
6444 if (temp5)
6445 delete arg5;
6446 }
6447 return resultobj;
6448 fail:
6449 {
6450 if (temp5)
6451 delete arg5;
6452 }
6453 return NULL;
6454 }
6455
6456
6457 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6458 PyObject *resultobj = 0;
6459 wxFrame *arg1 = (wxFrame *) 0 ;
6460 wxStatusBar *result = 0 ;
6461 void *argp1 = 0 ;
6462 int res1 = 0 ;
6463 PyObject *swig_obj[1] ;
6464
6465 if (!args) SWIG_fail;
6466 swig_obj[0] = args;
6467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6468 if (!SWIG_IsOK(res1)) {
6469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6470 }
6471 arg1 = reinterpret_cast< wxFrame * >(argp1);
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6475 wxPyEndAllowThreads(__tstate);
6476 if (PyErr_Occurred()) SWIG_fail;
6477 }
6478 {
6479 resultobj = wxPyMake_wxObject(result, (bool)0);
6480 }
6481 return resultobj;
6482 fail:
6483 return NULL;
6484 }
6485
6486
6487 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6488 PyObject *resultobj = 0;
6489 wxFrame *arg1 = (wxFrame *) 0 ;
6490 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6491 void *argp1 = 0 ;
6492 int res1 = 0 ;
6493 void *argp2 = 0 ;
6494 int res2 = 0 ;
6495 PyObject * obj0 = 0 ;
6496 PyObject * obj1 = 0 ;
6497 char * kwnames[] = {
6498 (char *) "self",(char *) "statBar", NULL
6499 };
6500
6501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6503 if (!SWIG_IsOK(res1)) {
6504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6505 }
6506 arg1 = reinterpret_cast< wxFrame * >(argp1);
6507 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6508 if (!SWIG_IsOK(res2)) {
6509 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6510 }
6511 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 (arg1)->SetStatusBar(arg2);
6515 wxPyEndAllowThreads(__tstate);
6516 if (PyErr_Occurred()) SWIG_fail;
6517 }
6518 resultobj = SWIG_Py_Void();
6519 return resultobj;
6520 fail:
6521 return NULL;
6522 }
6523
6524
6525 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6526 PyObject *resultobj = 0;
6527 wxFrame *arg1 = (wxFrame *) 0 ;
6528 wxString *arg2 = 0 ;
6529 int arg3 = (int) 0 ;
6530 void *argp1 = 0 ;
6531 int res1 = 0 ;
6532 bool temp2 = false ;
6533 int val3 ;
6534 int ecode3 = 0 ;
6535 PyObject * obj0 = 0 ;
6536 PyObject * obj1 = 0 ;
6537 PyObject * obj2 = 0 ;
6538 char * kwnames[] = {
6539 (char *) "self",(char *) "text",(char *) "number", NULL
6540 };
6541
6542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6544 if (!SWIG_IsOK(res1)) {
6545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6546 }
6547 arg1 = reinterpret_cast< wxFrame * >(argp1);
6548 {
6549 arg2 = wxString_in_helper(obj1);
6550 if (arg2 == NULL) SWIG_fail;
6551 temp2 = true;
6552 }
6553 if (obj2) {
6554 ecode3 = SWIG_AsVal_int(obj2, &val3);
6555 if (!SWIG_IsOK(ecode3)) {
6556 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6557 }
6558 arg3 = static_cast< int >(val3);
6559 }
6560 {
6561 PyThreadState* __tstate = wxPyBeginAllowThreads();
6562 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6563 wxPyEndAllowThreads(__tstate);
6564 if (PyErr_Occurred()) SWIG_fail;
6565 }
6566 resultobj = SWIG_Py_Void();
6567 {
6568 if (temp2)
6569 delete arg2;
6570 }
6571 return resultobj;
6572 fail:
6573 {
6574 if (temp2)
6575 delete arg2;
6576 }
6577 return NULL;
6578 }
6579
6580
6581 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6582 PyObject *resultobj = 0;
6583 wxFrame *arg1 = (wxFrame *) 0 ;
6584 int arg2 ;
6585 int *arg3 = (int *) 0 ;
6586 void *argp1 = 0 ;
6587 int res1 = 0 ;
6588 PyObject * obj0 = 0 ;
6589 PyObject * obj1 = 0 ;
6590 char * kwnames[] = {
6591 (char *) "self",(char *) "widths", NULL
6592 };
6593
6594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6596 if (!SWIG_IsOK(res1)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6598 }
6599 arg1 = reinterpret_cast< wxFrame * >(argp1);
6600 {
6601 arg2 = PyList_Size(obj1);
6602 arg3 = int_LIST_helper(obj1);
6603 if (arg3 == NULL) SWIG_fail;
6604 }
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6608 wxPyEndAllowThreads(__tstate);
6609 if (PyErr_Occurred()) SWIG_fail;
6610 }
6611 resultobj = SWIG_Py_Void();
6612 {
6613 if (arg3) delete [] arg3;
6614 }
6615 return resultobj;
6616 fail:
6617 {
6618 if (arg3) delete [] arg3;
6619 }
6620 return NULL;
6621 }
6622
6623
6624 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6625 PyObject *resultobj = 0;
6626 wxFrame *arg1 = (wxFrame *) 0 ;
6627 wxString *arg2 = 0 ;
6628 int arg3 = (int) 0 ;
6629 void *argp1 = 0 ;
6630 int res1 = 0 ;
6631 bool temp2 = false ;
6632 int val3 ;
6633 int ecode3 = 0 ;
6634 PyObject * obj0 = 0 ;
6635 PyObject * obj1 = 0 ;
6636 PyObject * obj2 = 0 ;
6637 char * kwnames[] = {
6638 (char *) "self",(char *) "text",(char *) "number", NULL
6639 };
6640
6641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6643 if (!SWIG_IsOK(res1)) {
6644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6645 }
6646 arg1 = reinterpret_cast< wxFrame * >(argp1);
6647 {
6648 arg2 = wxString_in_helper(obj1);
6649 if (arg2 == NULL) SWIG_fail;
6650 temp2 = true;
6651 }
6652 if (obj2) {
6653 ecode3 = SWIG_AsVal_int(obj2, &val3);
6654 if (!SWIG_IsOK(ecode3)) {
6655 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6656 }
6657 arg3 = static_cast< int >(val3);
6658 }
6659 {
6660 PyThreadState* __tstate = wxPyBeginAllowThreads();
6661 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 resultobj = SWIG_Py_Void();
6666 {
6667 if (temp2)
6668 delete arg2;
6669 }
6670 return resultobj;
6671 fail:
6672 {
6673 if (temp2)
6674 delete arg2;
6675 }
6676 return NULL;
6677 }
6678
6679
6680 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6681 PyObject *resultobj = 0;
6682 wxFrame *arg1 = (wxFrame *) 0 ;
6683 int arg2 = (int) 0 ;
6684 void *argp1 = 0 ;
6685 int res1 = 0 ;
6686 int val2 ;
6687 int ecode2 = 0 ;
6688 PyObject * obj0 = 0 ;
6689 PyObject * obj1 = 0 ;
6690 char * kwnames[] = {
6691 (char *) "self",(char *) "number", NULL
6692 };
6693
6694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6696 if (!SWIG_IsOK(res1)) {
6697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6698 }
6699 arg1 = reinterpret_cast< wxFrame * >(argp1);
6700 if (obj1) {
6701 ecode2 = SWIG_AsVal_int(obj1, &val2);
6702 if (!SWIG_IsOK(ecode2)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6704 }
6705 arg2 = static_cast< int >(val2);
6706 }
6707 {
6708 PyThreadState* __tstate = wxPyBeginAllowThreads();
6709 (arg1)->PopStatusText(arg2);
6710 wxPyEndAllowThreads(__tstate);
6711 if (PyErr_Occurred()) SWIG_fail;
6712 }
6713 resultobj = SWIG_Py_Void();
6714 return resultobj;
6715 fail:
6716 return NULL;
6717 }
6718
6719
6720 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6721 PyObject *resultobj = 0;
6722 wxFrame *arg1 = (wxFrame *) 0 ;
6723 int arg2 ;
6724 void *argp1 = 0 ;
6725 int res1 = 0 ;
6726 int val2 ;
6727 int ecode2 = 0 ;
6728 PyObject * obj0 = 0 ;
6729 PyObject * obj1 = 0 ;
6730 char * kwnames[] = {
6731 (char *) "self",(char *) "n", NULL
6732 };
6733
6734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6736 if (!SWIG_IsOK(res1)) {
6737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6738 }
6739 arg1 = reinterpret_cast< wxFrame * >(argp1);
6740 ecode2 = SWIG_AsVal_int(obj1, &val2);
6741 if (!SWIG_IsOK(ecode2)) {
6742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6743 }
6744 arg2 = static_cast< int >(val2);
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 (arg1)->SetStatusBarPane(arg2);
6748 wxPyEndAllowThreads(__tstate);
6749 if (PyErr_Occurred()) SWIG_fail;
6750 }
6751 resultobj = SWIG_Py_Void();
6752 return resultobj;
6753 fail:
6754 return NULL;
6755 }
6756
6757
6758 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6759 PyObject *resultobj = 0;
6760 wxFrame *arg1 = (wxFrame *) 0 ;
6761 int result;
6762 void *argp1 = 0 ;
6763 int res1 = 0 ;
6764 PyObject *swig_obj[1] ;
6765
6766 if (!args) SWIG_fail;
6767 swig_obj[0] = args;
6768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6769 if (!SWIG_IsOK(res1)) {
6770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6771 }
6772 arg1 = reinterpret_cast< wxFrame * >(argp1);
6773 {
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6776 wxPyEndAllowThreads(__tstate);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 }
6779 resultobj = SWIG_From_int(static_cast< int >(result));
6780 return resultobj;
6781 fail:
6782 return NULL;
6783 }
6784
6785
6786 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6787 PyObject *resultobj = 0;
6788 wxFrame *arg1 = (wxFrame *) 0 ;
6789 long arg2 = (long) -1 ;
6790 int arg3 = (int) -1 ;
6791 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6792 wxString *arg4 = (wxString *) &arg4_defvalue ;
6793 wxToolBar *result = 0 ;
6794 void *argp1 = 0 ;
6795 int res1 = 0 ;
6796 long val2 ;
6797 int ecode2 = 0 ;
6798 int val3 ;
6799 int ecode3 = 0 ;
6800 bool temp4 = false ;
6801 PyObject * obj0 = 0 ;
6802 PyObject * obj1 = 0 ;
6803 PyObject * obj2 = 0 ;
6804 PyObject * obj3 = 0 ;
6805 char * kwnames[] = {
6806 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6807 };
6808
6809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6811 if (!SWIG_IsOK(res1)) {
6812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6813 }
6814 arg1 = reinterpret_cast< wxFrame * >(argp1);
6815 if (obj1) {
6816 ecode2 = SWIG_AsVal_long(obj1, &val2);
6817 if (!SWIG_IsOK(ecode2)) {
6818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6819 }
6820 arg2 = static_cast< long >(val2);
6821 }
6822 if (obj2) {
6823 ecode3 = SWIG_AsVal_int(obj2, &val3);
6824 if (!SWIG_IsOK(ecode3)) {
6825 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6826 }
6827 arg3 = static_cast< int >(val3);
6828 }
6829 if (obj3) {
6830 {
6831 arg4 = wxString_in_helper(obj3);
6832 if (arg4 == NULL) SWIG_fail;
6833 temp4 = true;
6834 }
6835 }
6836 {
6837 PyThreadState* __tstate = wxPyBeginAllowThreads();
6838 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
6842 {
6843 resultobj = wxPyMake_wxObject(result, (bool)0);
6844 }
6845 {
6846 if (temp4)
6847 delete arg4;
6848 }
6849 return resultobj;
6850 fail:
6851 {
6852 if (temp4)
6853 delete arg4;
6854 }
6855 return NULL;
6856 }
6857
6858
6859 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6860 PyObject *resultobj = 0;
6861 wxFrame *arg1 = (wxFrame *) 0 ;
6862 wxToolBar *result = 0 ;
6863 void *argp1 = 0 ;
6864 int res1 = 0 ;
6865 PyObject *swig_obj[1] ;
6866
6867 if (!args) SWIG_fail;
6868 swig_obj[0] = args;
6869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6870 if (!SWIG_IsOK(res1)) {
6871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6872 }
6873 arg1 = reinterpret_cast< wxFrame * >(argp1);
6874 {
6875 PyThreadState* __tstate = wxPyBeginAllowThreads();
6876 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6877 wxPyEndAllowThreads(__tstate);
6878 if (PyErr_Occurred()) SWIG_fail;
6879 }
6880 {
6881 resultobj = wxPyMake_wxObject(result, (bool)0);
6882 }
6883 return resultobj;
6884 fail:
6885 return NULL;
6886 }
6887
6888
6889 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6890 PyObject *resultobj = 0;
6891 wxFrame *arg1 = (wxFrame *) 0 ;
6892 wxToolBar *arg2 = (wxToolBar *) 0 ;
6893 void *argp1 = 0 ;
6894 int res1 = 0 ;
6895 void *argp2 = 0 ;
6896 int res2 = 0 ;
6897 PyObject * obj0 = 0 ;
6898 PyObject * obj1 = 0 ;
6899 char * kwnames[] = {
6900 (char *) "self",(char *) "toolbar", NULL
6901 };
6902
6903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6905 if (!SWIG_IsOK(res1)) {
6906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6907 }
6908 arg1 = reinterpret_cast< wxFrame * >(argp1);
6909 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6910 if (!SWIG_IsOK(res2)) {
6911 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6912 }
6913 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6914 {
6915 PyThreadState* __tstate = wxPyBeginAllowThreads();
6916 (arg1)->SetToolBar(arg2);
6917 wxPyEndAllowThreads(__tstate);
6918 if (PyErr_Occurred()) SWIG_fail;
6919 }
6920 resultobj = SWIG_Py_Void();
6921 return resultobj;
6922 fail:
6923 return NULL;
6924 }
6925
6926
6927 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6928 PyObject *resultobj = 0;
6929 wxFrame *arg1 = (wxFrame *) 0 ;
6930 wxString *arg2 = 0 ;
6931 bool arg3 ;
6932 void *argp1 = 0 ;
6933 int res1 = 0 ;
6934 bool temp2 = false ;
6935 bool val3 ;
6936 int ecode3 = 0 ;
6937 PyObject * obj0 = 0 ;
6938 PyObject * obj1 = 0 ;
6939 PyObject * obj2 = 0 ;
6940 char * kwnames[] = {
6941 (char *) "self",(char *) "text",(char *) "show", NULL
6942 };
6943
6944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6946 if (!SWIG_IsOK(res1)) {
6947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6948 }
6949 arg1 = reinterpret_cast< wxFrame * >(argp1);
6950 {
6951 arg2 = wxString_in_helper(obj1);
6952 if (arg2 == NULL) SWIG_fail;
6953 temp2 = true;
6954 }
6955 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6956 if (!SWIG_IsOK(ecode3)) {
6957 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6958 }
6959 arg3 = static_cast< bool >(val3);
6960 {
6961 PyThreadState* __tstate = wxPyBeginAllowThreads();
6962 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
6963 wxPyEndAllowThreads(__tstate);
6964 if (PyErr_Occurred()) SWIG_fail;
6965 }
6966 resultobj = SWIG_Py_Void();
6967 {
6968 if (temp2)
6969 delete arg2;
6970 }
6971 return resultobj;
6972 fail:
6973 {
6974 if (temp2)
6975 delete arg2;
6976 }
6977 return NULL;
6978 }
6979
6980
6981 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6982 PyObject *resultobj = 0;
6983 wxFrame *arg1 = (wxFrame *) 0 ;
6984 wxMenu *arg2 = (wxMenu *) NULL ;
6985 void *argp1 = 0 ;
6986 int res1 = 0 ;
6987 void *argp2 = 0 ;
6988 int res2 = 0 ;
6989 PyObject * obj0 = 0 ;
6990 PyObject * obj1 = 0 ;
6991 char * kwnames[] = {
6992 (char *) "self",(char *) "menu", NULL
6993 };
6994
6995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
6996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6997 if (!SWIG_IsOK(res1)) {
6998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6999 }
7000 arg1 = reinterpret_cast< wxFrame * >(argp1);
7001 if (obj1) {
7002 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7003 if (!SWIG_IsOK(res2)) {
7004 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7005 }
7006 arg2 = reinterpret_cast< wxMenu * >(argp2);
7007 }
7008 {
7009 PyThreadState* __tstate = wxPyBeginAllowThreads();
7010 (arg1)->DoMenuUpdates(arg2);
7011 wxPyEndAllowThreads(__tstate);
7012 if (PyErr_Occurred()) SWIG_fail;
7013 }
7014 resultobj = SWIG_Py_Void();
7015 return resultobj;
7016 fail:
7017 return NULL;
7018 }
7019
7020
7021 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7022 PyObject *resultobj = 0;
7023 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7024 SwigValueWrapper<wxVisualAttributes > result;
7025 int val1 ;
7026 int ecode1 = 0 ;
7027 PyObject * obj0 = 0 ;
7028 char * kwnames[] = {
7029 (char *) "variant", NULL
7030 };
7031
7032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7033 if (obj0) {
7034 ecode1 = SWIG_AsVal_int(obj0, &val1);
7035 if (!SWIG_IsOK(ecode1)) {
7036 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7037 }
7038 arg1 = static_cast< wxWindowVariant >(val1);
7039 }
7040 {
7041 if (!wxPyCheckForApp()) SWIG_fail;
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 result = wxFrame::GetClassDefaultAttributes(arg1);
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7048 return resultobj;
7049 fail:
7050 return NULL;
7051 }
7052
7053
7054 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7055 PyObject *obj;
7056 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7057 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7058 return SWIG_Py_Void();
7059 }
7060
7061 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7062 return SWIG_Python_InitShadowInstance(args);
7063 }
7064
7065 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7066 PyObject *resultobj = 0;
7067 wxWindow *arg1 = (wxWindow *) 0 ;
7068 int arg2 = (int) (int)-1 ;
7069 wxString const &arg3_defvalue = wxPyEmptyString ;
7070 wxString *arg3 = (wxString *) &arg3_defvalue ;
7071 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7072 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7073 wxSize const &arg5_defvalue = wxDefaultSize ;
7074 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7075 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7076 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7077 wxString *arg7 = (wxString *) &arg7_defvalue ;
7078 wxDialog *result = 0 ;
7079 void *argp1 = 0 ;
7080 int res1 = 0 ;
7081 int val2 ;
7082 int ecode2 = 0 ;
7083 bool temp3 = false ;
7084 wxPoint temp4 ;
7085 wxSize temp5 ;
7086 long val6 ;
7087 int ecode6 = 0 ;
7088 bool temp7 = false ;
7089 PyObject * obj0 = 0 ;
7090 PyObject * obj1 = 0 ;
7091 PyObject * obj2 = 0 ;
7092 PyObject * obj3 = 0 ;
7093 PyObject * obj4 = 0 ;
7094 PyObject * obj5 = 0 ;
7095 PyObject * obj6 = 0 ;
7096 char * kwnames[] = {
7097 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7098 };
7099
7100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7102 if (!SWIG_IsOK(res1)) {
7103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7104 }
7105 arg1 = reinterpret_cast< wxWindow * >(argp1);
7106 if (obj1) {
7107 ecode2 = SWIG_AsVal_int(obj1, &val2);
7108 if (!SWIG_IsOK(ecode2)) {
7109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7110 }
7111 arg2 = static_cast< int >(val2);
7112 }
7113 if (obj2) {
7114 {
7115 arg3 = wxString_in_helper(obj2);
7116 if (arg3 == NULL) SWIG_fail;
7117 temp3 = true;
7118 }
7119 }
7120 if (obj3) {
7121 {
7122 arg4 = &temp4;
7123 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7124 }
7125 }
7126 if (obj4) {
7127 {
7128 arg5 = &temp5;
7129 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7130 }
7131 }
7132 if (obj5) {
7133 ecode6 = SWIG_AsVal_long(obj5, &val6);
7134 if (!SWIG_IsOK(ecode6)) {
7135 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7136 }
7137 arg6 = static_cast< long >(val6);
7138 }
7139 if (obj6) {
7140 {
7141 arg7 = wxString_in_helper(obj6);
7142 if (arg7 == NULL) SWIG_fail;
7143 temp7 = true;
7144 }
7145 }
7146 {
7147 if (!wxPyCheckForApp()) SWIG_fail;
7148 PyThreadState* __tstate = wxPyBeginAllowThreads();
7149 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7154 {
7155 if (temp3)
7156 delete arg3;
7157 }
7158 {
7159 if (temp7)
7160 delete arg7;
7161 }
7162 return resultobj;
7163 fail:
7164 {
7165 if (temp3)
7166 delete arg3;
7167 }
7168 {
7169 if (temp7)
7170 delete arg7;
7171 }
7172 return NULL;
7173 }
7174
7175
7176 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7177 PyObject *resultobj = 0;
7178 wxDialog *result = 0 ;
7179
7180 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7181 {
7182 if (!wxPyCheckForApp()) SWIG_fail;
7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
7184 result = (wxDialog *)new wxDialog();
7185 wxPyEndAllowThreads(__tstate);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 }
7188 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7189 return resultobj;
7190 fail:
7191 return NULL;
7192 }
7193
7194
7195 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7196 PyObject *resultobj = 0;
7197 wxDialog *arg1 = (wxDialog *) 0 ;
7198 wxWindow *arg2 = (wxWindow *) 0 ;
7199 int arg3 = (int) (int)-1 ;
7200 wxString const &arg4_defvalue = wxPyEmptyString ;
7201 wxString *arg4 = (wxString *) &arg4_defvalue ;
7202 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7203 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7204 wxSize const &arg6_defvalue = wxDefaultSize ;
7205 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7206 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7207 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7208 wxString *arg8 = (wxString *) &arg8_defvalue ;
7209 bool result;
7210 void *argp1 = 0 ;
7211 int res1 = 0 ;
7212 void *argp2 = 0 ;
7213 int res2 = 0 ;
7214 int val3 ;
7215 int ecode3 = 0 ;
7216 bool temp4 = false ;
7217 wxPoint temp5 ;
7218 wxSize temp6 ;
7219 long val7 ;
7220 int ecode7 = 0 ;
7221 bool temp8 = false ;
7222 PyObject * obj0 = 0 ;
7223 PyObject * obj1 = 0 ;
7224 PyObject * obj2 = 0 ;
7225 PyObject * obj3 = 0 ;
7226 PyObject * obj4 = 0 ;
7227 PyObject * obj5 = 0 ;
7228 PyObject * obj6 = 0 ;
7229 PyObject * obj7 = 0 ;
7230 char * kwnames[] = {
7231 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7232 };
7233
7234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7236 if (!SWIG_IsOK(res1)) {
7237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7238 }
7239 arg1 = reinterpret_cast< wxDialog * >(argp1);
7240 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7241 if (!SWIG_IsOK(res2)) {
7242 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7243 }
7244 arg2 = reinterpret_cast< wxWindow * >(argp2);
7245 if (obj2) {
7246 ecode3 = SWIG_AsVal_int(obj2, &val3);
7247 if (!SWIG_IsOK(ecode3)) {
7248 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7249 }
7250 arg3 = static_cast< int >(val3);
7251 }
7252 if (obj3) {
7253 {
7254 arg4 = wxString_in_helper(obj3);
7255 if (arg4 == NULL) SWIG_fail;
7256 temp4 = true;
7257 }
7258 }
7259 if (obj4) {
7260 {
7261 arg5 = &temp5;
7262 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7263 }
7264 }
7265 if (obj5) {
7266 {
7267 arg6 = &temp6;
7268 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7269 }
7270 }
7271 if (obj6) {
7272 ecode7 = SWIG_AsVal_long(obj6, &val7);
7273 if (!SWIG_IsOK(ecode7)) {
7274 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7275 }
7276 arg7 = static_cast< long >(val7);
7277 }
7278 if (obj7) {
7279 {
7280 arg8 = wxString_in_helper(obj7);
7281 if (arg8 == NULL) SWIG_fail;
7282 temp8 = true;
7283 }
7284 }
7285 {
7286 PyThreadState* __tstate = wxPyBeginAllowThreads();
7287 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7288 wxPyEndAllowThreads(__tstate);
7289 if (PyErr_Occurred()) SWIG_fail;
7290 }
7291 {
7292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7293 }
7294 {
7295 if (temp4)
7296 delete arg4;
7297 }
7298 {
7299 if (temp8)
7300 delete arg8;
7301 }
7302 return resultobj;
7303 fail:
7304 {
7305 if (temp4)
7306 delete arg4;
7307 }
7308 {
7309 if (temp8)
7310 delete arg8;
7311 }
7312 return NULL;
7313 }
7314
7315
7316 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7317 PyObject *resultobj = 0;
7318 wxDialog *arg1 = (wxDialog *) 0 ;
7319 int arg2 ;
7320 void *argp1 = 0 ;
7321 int res1 = 0 ;
7322 int val2 ;
7323 int ecode2 = 0 ;
7324 PyObject * obj0 = 0 ;
7325 PyObject * obj1 = 0 ;
7326 char * kwnames[] = {
7327 (char *) "self",(char *) "returnCode", NULL
7328 };
7329
7330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7332 if (!SWIG_IsOK(res1)) {
7333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7334 }
7335 arg1 = reinterpret_cast< wxDialog * >(argp1);
7336 ecode2 = SWIG_AsVal_int(obj1, &val2);
7337 if (!SWIG_IsOK(ecode2)) {
7338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7339 }
7340 arg2 = static_cast< int >(val2);
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 (arg1)->SetReturnCode(arg2);
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 }
7347 resultobj = SWIG_Py_Void();
7348 return resultobj;
7349 fail:
7350 return NULL;
7351 }
7352
7353
7354 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7355 PyObject *resultobj = 0;
7356 wxDialog *arg1 = (wxDialog *) 0 ;
7357 int result;
7358 void *argp1 = 0 ;
7359 int res1 = 0 ;
7360 PyObject *swig_obj[1] ;
7361
7362 if (!args) SWIG_fail;
7363 swig_obj[0] = args;
7364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7365 if (!SWIG_IsOK(res1)) {
7366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7367 }
7368 arg1 = reinterpret_cast< wxDialog * >(argp1);
7369 {
7370 PyThreadState* __tstate = wxPyBeginAllowThreads();
7371 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7372 wxPyEndAllowThreads(__tstate);
7373 if (PyErr_Occurred()) SWIG_fail;
7374 }
7375 resultobj = SWIG_From_int(static_cast< int >(result));
7376 return resultobj;
7377 fail:
7378 return NULL;
7379 }
7380
7381
7382 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7383 PyObject *resultobj = 0;
7384 wxDialog *arg1 = (wxDialog *) 0 ;
7385 int arg2 ;
7386 void *argp1 = 0 ;
7387 int res1 = 0 ;
7388 int val2 ;
7389 int ecode2 = 0 ;
7390 PyObject * obj0 = 0 ;
7391 PyObject * obj1 = 0 ;
7392 char * kwnames[] = {
7393 (char *) "self",(char *) "affirmativeId", NULL
7394 };
7395
7396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7398 if (!SWIG_IsOK(res1)) {
7399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7400 }
7401 arg1 = reinterpret_cast< wxDialog * >(argp1);
7402 ecode2 = SWIG_AsVal_int(obj1, &val2);
7403 if (!SWIG_IsOK(ecode2)) {
7404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7405 }
7406 arg2 = static_cast< int >(val2);
7407 {
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 (arg1)->SetAffirmativeId(arg2);
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 resultobj = SWIG_Py_Void();
7414 return resultobj;
7415 fail:
7416 return NULL;
7417 }
7418
7419
7420 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7421 PyObject *resultobj = 0;
7422 wxDialog *arg1 = (wxDialog *) 0 ;
7423 int result;
7424 void *argp1 = 0 ;
7425 int res1 = 0 ;
7426 PyObject *swig_obj[1] ;
7427
7428 if (!args) SWIG_fail;
7429 swig_obj[0] = args;
7430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7431 if (!SWIG_IsOK(res1)) {
7432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7433 }
7434 arg1 = reinterpret_cast< wxDialog * >(argp1);
7435 {
7436 PyThreadState* __tstate = wxPyBeginAllowThreads();
7437 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7438 wxPyEndAllowThreads(__tstate);
7439 if (PyErr_Occurred()) SWIG_fail;
7440 }
7441 resultobj = SWIG_From_int(static_cast< int >(result));
7442 return resultobj;
7443 fail:
7444 return NULL;
7445 }
7446
7447
7448 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7449 PyObject *resultobj = 0;
7450 wxDialog *arg1 = (wxDialog *) 0 ;
7451 int arg2 ;
7452 void *argp1 = 0 ;
7453 int res1 = 0 ;
7454 int val2 ;
7455 int ecode2 = 0 ;
7456 PyObject * obj0 = 0 ;
7457 PyObject * obj1 = 0 ;
7458 char * kwnames[] = {
7459 (char *) "self",(char *) "escapeId", NULL
7460 };
7461
7462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7464 if (!SWIG_IsOK(res1)) {
7465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7466 }
7467 arg1 = reinterpret_cast< wxDialog * >(argp1);
7468 ecode2 = SWIG_AsVal_int(obj1, &val2);
7469 if (!SWIG_IsOK(ecode2)) {
7470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7471 }
7472 arg2 = static_cast< int >(val2);
7473 {
7474 PyThreadState* __tstate = wxPyBeginAllowThreads();
7475 (arg1)->SetEscapeId(arg2);
7476 wxPyEndAllowThreads(__tstate);
7477 if (PyErr_Occurred()) SWIG_fail;
7478 }
7479 resultobj = SWIG_Py_Void();
7480 return resultobj;
7481 fail:
7482 return NULL;
7483 }
7484
7485
7486 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7487 PyObject *resultobj = 0;
7488 wxDialog *arg1 = (wxDialog *) 0 ;
7489 int result;
7490 void *argp1 = 0 ;
7491 int res1 = 0 ;
7492 PyObject *swig_obj[1] ;
7493
7494 if (!args) SWIG_fail;
7495 swig_obj[0] = args;
7496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7497 if (!SWIG_IsOK(res1)) {
7498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7499 }
7500 arg1 = reinterpret_cast< wxDialog * >(argp1);
7501 {
7502 PyThreadState* __tstate = wxPyBeginAllowThreads();
7503 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7504 wxPyEndAllowThreads(__tstate);
7505 if (PyErr_Occurred()) SWIG_fail;
7506 }
7507 resultobj = SWIG_From_int(static_cast< int >(result));
7508 return resultobj;
7509 fail:
7510 return NULL;
7511 }
7512
7513
7514 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7515 PyObject *resultobj = 0;
7516 wxDialog *arg1 = (wxDialog *) 0 ;
7517 wxString *arg2 = 0 ;
7518 wxSizer *result = 0 ;
7519 void *argp1 = 0 ;
7520 int res1 = 0 ;
7521 bool temp2 = false ;
7522 PyObject * obj0 = 0 ;
7523 PyObject * obj1 = 0 ;
7524 char * kwnames[] = {
7525 (char *) "self",(char *) "message", NULL
7526 };
7527
7528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7530 if (!SWIG_IsOK(res1)) {
7531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7532 }
7533 arg1 = reinterpret_cast< wxDialog * >(argp1);
7534 {
7535 arg2 = wxString_in_helper(obj1);
7536 if (arg2 == NULL) SWIG_fail;
7537 temp2 = true;
7538 }
7539 {
7540 PyThreadState* __tstate = wxPyBeginAllowThreads();
7541 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 {
7546 resultobj = wxPyMake_wxObject(result, (bool)0);
7547 }
7548 {
7549 if (temp2)
7550 delete arg2;
7551 }
7552 return resultobj;
7553 fail:
7554 {
7555 if (temp2)
7556 delete arg2;
7557 }
7558 return NULL;
7559 }
7560
7561
7562 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7563 PyObject *resultobj = 0;
7564 wxDialog *arg1 = (wxDialog *) 0 ;
7565 long arg2 ;
7566 bool arg3 = (bool) false ;
7567 int arg4 = (int) 0 ;
7568 wxSizer *result = 0 ;
7569 void *argp1 = 0 ;
7570 int res1 = 0 ;
7571 long val2 ;
7572 int ecode2 = 0 ;
7573 bool val3 ;
7574 int ecode3 = 0 ;
7575 int val4 ;
7576 int ecode4 = 0 ;
7577 PyObject * obj0 = 0 ;
7578 PyObject * obj1 = 0 ;
7579 PyObject * obj2 = 0 ;
7580 PyObject * obj3 = 0 ;
7581 char * kwnames[] = {
7582 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7583 };
7584
7585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7587 if (!SWIG_IsOK(res1)) {
7588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7589 }
7590 arg1 = reinterpret_cast< wxDialog * >(argp1);
7591 ecode2 = SWIG_AsVal_long(obj1, &val2);
7592 if (!SWIG_IsOK(ecode2)) {
7593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7594 }
7595 arg2 = static_cast< long >(val2);
7596 if (obj2) {
7597 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7598 if (!SWIG_IsOK(ecode3)) {
7599 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7600 }
7601 arg3 = static_cast< bool >(val3);
7602 }
7603 if (obj3) {
7604 ecode4 = SWIG_AsVal_int(obj3, &val4);
7605 if (!SWIG_IsOK(ecode4)) {
7606 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7607 }
7608 arg4 = static_cast< int >(val4);
7609 }
7610 {
7611 PyThreadState* __tstate = wxPyBeginAllowThreads();
7612 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 {
7617 resultobj = wxPyMake_wxObject(result, (bool)0);
7618 }
7619 return resultobj;
7620 fail:
7621 return NULL;
7622 }
7623
7624
7625 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7626 PyObject *resultobj = 0;
7627 wxDialog *arg1 = (wxDialog *) 0 ;
7628 long arg2 ;
7629 wxStdDialogButtonSizer *result = 0 ;
7630 void *argp1 = 0 ;
7631 int res1 = 0 ;
7632 long val2 ;
7633 int ecode2 = 0 ;
7634 PyObject * obj0 = 0 ;
7635 PyObject * obj1 = 0 ;
7636 char * kwnames[] = {
7637 (char *) "self",(char *) "flags", NULL
7638 };
7639
7640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7642 if (!SWIG_IsOK(res1)) {
7643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7644 }
7645 arg1 = reinterpret_cast< wxDialog * >(argp1);
7646 ecode2 = SWIG_AsVal_long(obj1, &val2);
7647 if (!SWIG_IsOK(ecode2)) {
7648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7649 }
7650 arg2 = static_cast< long >(val2);
7651 {
7652 PyThreadState* __tstate = wxPyBeginAllowThreads();
7653 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7654 wxPyEndAllowThreads(__tstate);
7655 if (PyErr_Occurred()) SWIG_fail;
7656 }
7657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7658 return resultobj;
7659 fail:
7660 return NULL;
7661 }
7662
7663
7664 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7665 PyObject *resultobj = 0;
7666 wxDialog *arg1 = (wxDialog *) 0 ;
7667 bool result;
7668 void *argp1 = 0 ;
7669 int res1 = 0 ;
7670 PyObject *swig_obj[1] ;
7671
7672 if (!args) SWIG_fail;
7673 swig_obj[0] = args;
7674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7675 if (!SWIG_IsOK(res1)) {
7676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7677 }
7678 arg1 = reinterpret_cast< wxDialog * >(argp1);
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 result = (bool)((wxDialog const *)arg1)->IsModal();
7682 wxPyEndAllowThreads(__tstate);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 }
7685 {
7686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7687 }
7688 return resultobj;
7689 fail:
7690 return NULL;
7691 }
7692
7693
7694 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7695 PyObject *resultobj = 0;
7696 wxDialog *arg1 = (wxDialog *) 0 ;
7697 int result;
7698 void *argp1 = 0 ;
7699 int res1 = 0 ;
7700 PyObject *swig_obj[1] ;
7701
7702 if (!args) SWIG_fail;
7703 swig_obj[0] = args;
7704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7705 if (!SWIG_IsOK(res1)) {
7706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7707 }
7708 arg1 = reinterpret_cast< wxDialog * >(argp1);
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 result = (int)(arg1)->ShowModal();
7712 wxPyEndAllowThreads(__tstate);
7713 if (PyErr_Occurred()) SWIG_fail;
7714 }
7715 resultobj = SWIG_From_int(static_cast< int >(result));
7716 return resultobj;
7717 fail:
7718 return NULL;
7719 }
7720
7721
7722 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7723 PyObject *resultobj = 0;
7724 wxDialog *arg1 = (wxDialog *) 0 ;
7725 int arg2 ;
7726 void *argp1 = 0 ;
7727 int res1 = 0 ;
7728 int val2 ;
7729 int ecode2 = 0 ;
7730 PyObject * obj0 = 0 ;
7731 PyObject * obj1 = 0 ;
7732 char * kwnames[] = {
7733 (char *) "self",(char *) "retCode", NULL
7734 };
7735
7736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7738 if (!SWIG_IsOK(res1)) {
7739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7740 }
7741 arg1 = reinterpret_cast< wxDialog * >(argp1);
7742 ecode2 = SWIG_AsVal_int(obj1, &val2);
7743 if (!SWIG_IsOK(ecode2)) {
7744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7745 }
7746 arg2 = static_cast< int >(val2);
7747 {
7748 PyThreadState* __tstate = wxPyBeginAllowThreads();
7749 (arg1)->EndModal(arg2);
7750 wxPyEndAllowThreads(__tstate);
7751 if (PyErr_Occurred()) SWIG_fail;
7752 }
7753 resultobj = SWIG_Py_Void();
7754 return resultobj;
7755 fail:
7756 return NULL;
7757 }
7758
7759
7760 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7761 PyObject *resultobj = 0;
7762 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7763 SwigValueWrapper<wxVisualAttributes > result;
7764 int val1 ;
7765 int ecode1 = 0 ;
7766 PyObject * obj0 = 0 ;
7767 char * kwnames[] = {
7768 (char *) "variant", NULL
7769 };
7770
7771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7772 if (obj0) {
7773 ecode1 = SWIG_AsVal_int(obj0, &val1);
7774 if (!SWIG_IsOK(ecode1)) {
7775 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7776 }
7777 arg1 = static_cast< wxWindowVariant >(val1);
7778 }
7779 {
7780 if (!wxPyCheckForApp()) SWIG_fail;
7781 PyThreadState* __tstate = wxPyBeginAllowThreads();
7782 result = wxDialog::GetClassDefaultAttributes(arg1);
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
7786 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7787 return resultobj;
7788 fail:
7789 return NULL;
7790 }
7791
7792
7793 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7794 PyObject *obj;
7795 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7796 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7797 return SWIG_Py_Void();
7798 }
7799
7800 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7801 return SWIG_Python_InitShadowInstance(args);
7802 }
7803
7804 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7805 PyObject *resultobj = 0;
7806 wxWindow *arg1 = (wxWindow *) 0 ;
7807 int arg2 = (int) (int)-1 ;
7808 wxString const &arg3_defvalue = wxPyEmptyString ;
7809 wxString *arg3 = (wxString *) &arg3_defvalue ;
7810 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7811 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7812 wxSize const &arg5_defvalue = wxDefaultSize ;
7813 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7814 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7815 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7816 wxString *arg7 = (wxString *) &arg7_defvalue ;
7817 wxMiniFrame *result = 0 ;
7818 void *argp1 = 0 ;
7819 int res1 = 0 ;
7820 int val2 ;
7821 int ecode2 = 0 ;
7822 bool temp3 = false ;
7823 wxPoint temp4 ;
7824 wxSize temp5 ;
7825 long val6 ;
7826 int ecode6 = 0 ;
7827 bool temp7 = false ;
7828 PyObject * obj0 = 0 ;
7829 PyObject * obj1 = 0 ;
7830 PyObject * obj2 = 0 ;
7831 PyObject * obj3 = 0 ;
7832 PyObject * obj4 = 0 ;
7833 PyObject * obj5 = 0 ;
7834 PyObject * obj6 = 0 ;
7835 char * kwnames[] = {
7836 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7837 };
7838
7839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7841 if (!SWIG_IsOK(res1)) {
7842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7843 }
7844 arg1 = reinterpret_cast< wxWindow * >(argp1);
7845 if (obj1) {
7846 ecode2 = SWIG_AsVal_int(obj1, &val2);
7847 if (!SWIG_IsOK(ecode2)) {
7848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7849 }
7850 arg2 = static_cast< int >(val2);
7851 }
7852 if (obj2) {
7853 {
7854 arg3 = wxString_in_helper(obj2);
7855 if (arg3 == NULL) SWIG_fail;
7856 temp3 = true;
7857 }
7858 }
7859 if (obj3) {
7860 {
7861 arg4 = &temp4;
7862 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7863 }
7864 }
7865 if (obj4) {
7866 {
7867 arg5 = &temp5;
7868 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7869 }
7870 }
7871 if (obj5) {
7872 ecode6 = SWIG_AsVal_long(obj5, &val6);
7873 if (!SWIG_IsOK(ecode6)) {
7874 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7875 }
7876 arg6 = static_cast< long >(val6);
7877 }
7878 if (obj6) {
7879 {
7880 arg7 = wxString_in_helper(obj6);
7881 if (arg7 == NULL) SWIG_fail;
7882 temp7 = true;
7883 }
7884 }
7885 {
7886 if (!wxPyCheckForApp()) SWIG_fail;
7887 PyThreadState* __tstate = wxPyBeginAllowThreads();
7888 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7893 {
7894 if (temp3)
7895 delete arg3;
7896 }
7897 {
7898 if (temp7)
7899 delete arg7;
7900 }
7901 return resultobj;
7902 fail:
7903 {
7904 if (temp3)
7905 delete arg3;
7906 }
7907 {
7908 if (temp7)
7909 delete arg7;
7910 }
7911 return NULL;
7912 }
7913
7914
7915 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7916 PyObject *resultobj = 0;
7917 wxMiniFrame *result = 0 ;
7918
7919 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7920 {
7921 if (!wxPyCheckForApp()) SWIG_fail;
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 result = (wxMiniFrame *)new wxMiniFrame();
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7928 return resultobj;
7929 fail:
7930 return NULL;
7931 }
7932
7933
7934 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7935 PyObject *resultobj = 0;
7936 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
7937 wxWindow *arg2 = (wxWindow *) 0 ;
7938 int arg3 = (int) (int)-1 ;
7939 wxString const &arg4_defvalue = wxPyEmptyString ;
7940 wxString *arg4 = (wxString *) &arg4_defvalue ;
7941 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7942 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7943 wxSize const &arg6_defvalue = wxDefaultSize ;
7944 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7945 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
7946 wxString const &arg8_defvalue = wxPyFrameNameStr ;
7947 wxString *arg8 = (wxString *) &arg8_defvalue ;
7948 bool result;
7949 void *argp1 = 0 ;
7950 int res1 = 0 ;
7951 void *argp2 = 0 ;
7952 int res2 = 0 ;
7953 int val3 ;
7954 int ecode3 = 0 ;
7955 bool temp4 = false ;
7956 wxPoint temp5 ;
7957 wxSize temp6 ;
7958 long val7 ;
7959 int ecode7 = 0 ;
7960 bool temp8 = false ;
7961 PyObject * obj0 = 0 ;
7962 PyObject * obj1 = 0 ;
7963 PyObject * obj2 = 0 ;
7964 PyObject * obj3 = 0 ;
7965 PyObject * obj4 = 0 ;
7966 PyObject * obj5 = 0 ;
7967 PyObject * obj6 = 0 ;
7968 PyObject * obj7 = 0 ;
7969 char * kwnames[] = {
7970 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7971 };
7972
7973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
7975 if (!SWIG_IsOK(res1)) {
7976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7977 }
7978 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
7979 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7980 if (!SWIG_IsOK(res2)) {
7981 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7982 }
7983 arg2 = reinterpret_cast< wxWindow * >(argp2);
7984 if (obj2) {
7985 ecode3 = SWIG_AsVal_int(obj2, &val3);
7986 if (!SWIG_IsOK(ecode3)) {
7987 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7988 }
7989 arg3 = static_cast< int >(val3);
7990 }
7991 if (obj3) {
7992 {
7993 arg4 = wxString_in_helper(obj3);
7994 if (arg4 == NULL) SWIG_fail;
7995 temp4 = true;
7996 }
7997 }
7998 if (obj4) {
7999 {
8000 arg5 = &temp5;
8001 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8002 }
8003 }
8004 if (obj5) {
8005 {
8006 arg6 = &temp6;
8007 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8008 }
8009 }
8010 if (obj6) {
8011 ecode7 = SWIG_AsVal_long(obj6, &val7);
8012 if (!SWIG_IsOK(ecode7)) {
8013 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8014 }
8015 arg7 = static_cast< long >(val7);
8016 }
8017 if (obj7) {
8018 {
8019 arg8 = wxString_in_helper(obj7);
8020 if (arg8 == NULL) SWIG_fail;
8021 temp8 = true;
8022 }
8023 }
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8027 wxPyEndAllowThreads(__tstate);
8028 if (PyErr_Occurred()) SWIG_fail;
8029 }
8030 {
8031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8032 }
8033 {
8034 if (temp4)
8035 delete arg4;
8036 }
8037 {
8038 if (temp8)
8039 delete arg8;
8040 }
8041 return resultobj;
8042 fail:
8043 {
8044 if (temp4)
8045 delete arg4;
8046 }
8047 {
8048 if (temp8)
8049 delete arg8;
8050 }
8051 return NULL;
8052 }
8053
8054
8055 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8056 PyObject *obj;
8057 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8058 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8059 return SWIG_Py_Void();
8060 }
8061
8062 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8063 return SWIG_Python_InitShadowInstance(args);
8064 }
8065
8066 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8067 PyObject *resultobj = 0;
8068 wxBitmap *arg1 = 0 ;
8069 wxWindow *arg2 = (wxWindow *) 0 ;
8070 int arg3 ;
8071 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8072 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8073 wxSize const &arg5_defvalue = wxDefaultSize ;
8074 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8075 long arg6 = (long) wxNO_BORDER ;
8076 wxSplashScreenWindow *result = 0 ;
8077 void *argp1 = 0 ;
8078 int res1 = 0 ;
8079 void *argp2 = 0 ;
8080 int res2 = 0 ;
8081 int val3 ;
8082 int ecode3 = 0 ;
8083 wxPoint temp4 ;
8084 wxSize temp5 ;
8085 long val6 ;
8086 int ecode6 = 0 ;
8087 PyObject * obj0 = 0 ;
8088 PyObject * obj1 = 0 ;
8089 PyObject * obj2 = 0 ;
8090 PyObject * obj3 = 0 ;
8091 PyObject * obj4 = 0 ;
8092 PyObject * obj5 = 0 ;
8093 char * kwnames[] = {
8094 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8095 };
8096
8097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8098 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8099 if (!SWIG_IsOK(res1)) {
8100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8101 }
8102 if (!argp1) {
8103 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8104 }
8105 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8106 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8107 if (!SWIG_IsOK(res2)) {
8108 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8109 }
8110 arg2 = reinterpret_cast< wxWindow * >(argp2);
8111 ecode3 = SWIG_AsVal_int(obj2, &val3);
8112 if (!SWIG_IsOK(ecode3)) {
8113 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8114 }
8115 arg3 = static_cast< int >(val3);
8116 if (obj3) {
8117 {
8118 arg4 = &temp4;
8119 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8120 }
8121 }
8122 if (obj4) {
8123 {
8124 arg5 = &temp5;
8125 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8126 }
8127 }
8128 if (obj5) {
8129 ecode6 = SWIG_AsVal_long(obj5, &val6);
8130 if (!SWIG_IsOK(ecode6)) {
8131 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8132 }
8133 arg6 = static_cast< long >(val6);
8134 }
8135 {
8136 if (!wxPyCheckForApp()) SWIG_fail;
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8143 return resultobj;
8144 fail:
8145 return NULL;
8146 }
8147
8148
8149 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8150 PyObject *resultobj = 0;
8151 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8152 wxBitmap *arg2 = 0 ;
8153 void *argp1 = 0 ;
8154 int res1 = 0 ;
8155 void *argp2 = 0 ;
8156 int res2 = 0 ;
8157 PyObject * obj0 = 0 ;
8158 PyObject * obj1 = 0 ;
8159 char * kwnames[] = {
8160 (char *) "self",(char *) "bitmap", NULL
8161 };
8162
8163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8165 if (!SWIG_IsOK(res1)) {
8166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8167 }
8168 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8169 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8170 if (!SWIG_IsOK(res2)) {
8171 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8172 }
8173 if (!argp2) {
8174 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8175 }
8176 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8180 wxPyEndAllowThreads(__tstate);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 }
8183 resultobj = SWIG_Py_Void();
8184 return resultobj;
8185 fail:
8186 return NULL;
8187 }
8188
8189
8190 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8191 PyObject *resultobj = 0;
8192 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8193 wxBitmap *result = 0 ;
8194 void *argp1 = 0 ;
8195 int res1 = 0 ;
8196 PyObject *swig_obj[1] ;
8197
8198 if (!args) SWIG_fail;
8199 swig_obj[0] = args;
8200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8201 if (!SWIG_IsOK(res1)) {
8202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8203 }
8204 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8205 {
8206 PyThreadState* __tstate = wxPyBeginAllowThreads();
8207 {
8208 wxBitmap &_result_ref = (arg1)->GetBitmap();
8209 result = (wxBitmap *) &_result_ref;
8210 }
8211 wxPyEndAllowThreads(__tstate);
8212 if (PyErr_Occurred()) SWIG_fail;
8213 }
8214 {
8215 wxBitmap* resultptr = new wxBitmap(*result);
8216 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8217 }
8218 return resultobj;
8219 fail:
8220 return NULL;
8221 }
8222
8223
8224 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8225 PyObject *obj;
8226 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8227 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8228 return SWIG_Py_Void();
8229 }
8230
8231 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8232 return SWIG_Python_InitShadowInstance(args);
8233 }
8234
8235 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8236 PyObject *resultobj = 0;
8237 wxBitmap *arg1 = 0 ;
8238 long arg2 ;
8239 int arg3 ;
8240 wxWindow *arg4 = (wxWindow *) 0 ;
8241 int arg5 = (int) -1 ;
8242 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8243 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8244 wxSize const &arg7_defvalue = wxDefaultSize ;
8245 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8246 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8247 wxSplashScreen *result = 0 ;
8248 void *argp1 = 0 ;
8249 int res1 = 0 ;
8250 long val2 ;
8251 int ecode2 = 0 ;
8252 int val3 ;
8253 int ecode3 = 0 ;
8254 void *argp4 = 0 ;
8255 int res4 = 0 ;
8256 int val5 ;
8257 int ecode5 = 0 ;
8258 wxPoint temp6 ;
8259 wxSize temp7 ;
8260 long val8 ;
8261 int ecode8 = 0 ;
8262 PyObject * obj0 = 0 ;
8263 PyObject * obj1 = 0 ;
8264 PyObject * obj2 = 0 ;
8265 PyObject * obj3 = 0 ;
8266 PyObject * obj4 = 0 ;
8267 PyObject * obj5 = 0 ;
8268 PyObject * obj6 = 0 ;
8269 PyObject * obj7 = 0 ;
8270 char * kwnames[] = {
8271 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8272 };
8273
8274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8275 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8276 if (!SWIG_IsOK(res1)) {
8277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8278 }
8279 if (!argp1) {
8280 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8281 }
8282 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8283 ecode2 = SWIG_AsVal_long(obj1, &val2);
8284 if (!SWIG_IsOK(ecode2)) {
8285 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8286 }
8287 arg2 = static_cast< long >(val2);
8288 ecode3 = SWIG_AsVal_int(obj2, &val3);
8289 if (!SWIG_IsOK(ecode3)) {
8290 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8291 }
8292 arg3 = static_cast< int >(val3);
8293 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8294 if (!SWIG_IsOK(res4)) {
8295 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8296 }
8297 arg4 = reinterpret_cast< wxWindow * >(argp4);
8298 if (obj4) {
8299 ecode5 = SWIG_AsVal_int(obj4, &val5);
8300 if (!SWIG_IsOK(ecode5)) {
8301 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8302 }
8303 arg5 = static_cast< int >(val5);
8304 }
8305 if (obj5) {
8306 {
8307 arg6 = &temp6;
8308 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8309 }
8310 }
8311 if (obj6) {
8312 {
8313 arg7 = &temp7;
8314 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8315 }
8316 }
8317 if (obj7) {
8318 ecode8 = SWIG_AsVal_long(obj7, &val8);
8319 if (!SWIG_IsOK(ecode8)) {
8320 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8321 }
8322 arg8 = static_cast< long >(val8);
8323 }
8324 {
8325 if (!wxPyCheckForApp()) SWIG_fail;
8326 PyThreadState* __tstate = wxPyBeginAllowThreads();
8327 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8328 wxPyEndAllowThreads(__tstate);
8329 if (PyErr_Occurred()) SWIG_fail;
8330 }
8331 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8332 return resultobj;
8333 fail:
8334 return NULL;
8335 }
8336
8337
8338 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8339 PyObject *resultobj = 0;
8340 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8341 long result;
8342 void *argp1 = 0 ;
8343 int res1 = 0 ;
8344 PyObject *swig_obj[1] ;
8345
8346 if (!args) SWIG_fail;
8347 swig_obj[0] = args;
8348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8349 if (!SWIG_IsOK(res1)) {
8350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8351 }
8352 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8353 {
8354 PyThreadState* __tstate = wxPyBeginAllowThreads();
8355 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8356 wxPyEndAllowThreads(__tstate);
8357 if (PyErr_Occurred()) SWIG_fail;
8358 }
8359 resultobj = SWIG_From_long(static_cast< long >(result));
8360 return resultobj;
8361 fail:
8362 return NULL;
8363 }
8364
8365
8366 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8367 PyObject *resultobj = 0;
8368 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8369 wxSplashScreenWindow *result = 0 ;
8370 void *argp1 = 0 ;
8371 int res1 = 0 ;
8372 PyObject *swig_obj[1] ;
8373
8374 if (!args) SWIG_fail;
8375 swig_obj[0] = args;
8376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8377 if (!SWIG_IsOK(res1)) {
8378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8379 }
8380 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8381 {
8382 PyThreadState* __tstate = wxPyBeginAllowThreads();
8383 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8384 wxPyEndAllowThreads(__tstate);
8385 if (PyErr_Occurred()) SWIG_fail;
8386 }
8387 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8388 return resultobj;
8389 fail:
8390 return NULL;
8391 }
8392
8393
8394 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8395 PyObject *resultobj = 0;
8396 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8397 int result;
8398 void *argp1 = 0 ;
8399 int res1 = 0 ;
8400 PyObject *swig_obj[1] ;
8401
8402 if (!args) SWIG_fail;
8403 swig_obj[0] = args;
8404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8405 if (!SWIG_IsOK(res1)) {
8406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8407 }
8408 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8412 wxPyEndAllowThreads(__tstate);
8413 if (PyErr_Occurred()) SWIG_fail;
8414 }
8415 resultobj = SWIG_From_int(static_cast< int >(result));
8416 return resultobj;
8417 fail:
8418 return NULL;
8419 }
8420
8421
8422 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8423 PyObject *obj;
8424 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8425 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8426 return SWIG_Py_Void();
8427 }
8428
8429 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8430 return SWIG_Python_InitShadowInstance(args);
8431 }
8432
8433 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8434 PyObject *resultobj = 0;
8435 wxWindow *arg1 = (wxWindow *) 0 ;
8436 int arg2 = (int) -1 ;
8437 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8438 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8439 wxString *arg4 = (wxString *) &arg4_defvalue ;
8440 wxStatusBar *result = 0 ;
8441 void *argp1 = 0 ;
8442 int res1 = 0 ;
8443 int val2 ;
8444 int ecode2 = 0 ;
8445 long val3 ;
8446 int ecode3 = 0 ;
8447 bool temp4 = false ;
8448 PyObject * obj0 = 0 ;
8449 PyObject * obj1 = 0 ;
8450 PyObject * obj2 = 0 ;
8451 PyObject * obj3 = 0 ;
8452 char * kwnames[] = {
8453 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8454 };
8455
8456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8458 if (!SWIG_IsOK(res1)) {
8459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8460 }
8461 arg1 = reinterpret_cast< wxWindow * >(argp1);
8462 if (obj1) {
8463 ecode2 = SWIG_AsVal_int(obj1, &val2);
8464 if (!SWIG_IsOK(ecode2)) {
8465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8466 }
8467 arg2 = static_cast< int >(val2);
8468 }
8469 if (obj2) {
8470 ecode3 = SWIG_AsVal_long(obj2, &val3);
8471 if (!SWIG_IsOK(ecode3)) {
8472 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8473 }
8474 arg3 = static_cast< long >(val3);
8475 }
8476 if (obj3) {
8477 {
8478 arg4 = wxString_in_helper(obj3);
8479 if (arg4 == NULL) SWIG_fail;
8480 temp4 = true;
8481 }
8482 }
8483 {
8484 if (!wxPyCheckForApp()) SWIG_fail;
8485 PyThreadState* __tstate = wxPyBeginAllowThreads();
8486 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8487 wxPyEndAllowThreads(__tstate);
8488 if (PyErr_Occurred()) SWIG_fail;
8489 }
8490 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8491 {
8492 if (temp4)
8493 delete arg4;
8494 }
8495 return resultobj;
8496 fail:
8497 {
8498 if (temp4)
8499 delete arg4;
8500 }
8501 return NULL;
8502 }
8503
8504
8505 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8506 PyObject *resultobj = 0;
8507 wxStatusBar *result = 0 ;
8508
8509 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8510 {
8511 if (!wxPyCheckForApp()) SWIG_fail;
8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
8513 result = (wxStatusBar *)new wxStatusBar();
8514 wxPyEndAllowThreads(__tstate);
8515 if (PyErr_Occurred()) SWIG_fail;
8516 }
8517 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8518 return resultobj;
8519 fail:
8520 return NULL;
8521 }
8522
8523
8524 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8525 PyObject *resultobj = 0;
8526 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8527 wxWindow *arg2 = (wxWindow *) 0 ;
8528 int arg3 = (int) -1 ;
8529 long arg4 = (long) wxST_SIZEGRIP ;
8530 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8531 wxString *arg5 = (wxString *) &arg5_defvalue ;
8532 bool result;
8533 void *argp1 = 0 ;
8534 int res1 = 0 ;
8535 void *argp2 = 0 ;
8536 int res2 = 0 ;
8537 int val3 ;
8538 int ecode3 = 0 ;
8539 long val4 ;
8540 int ecode4 = 0 ;
8541 bool temp5 = false ;
8542 PyObject * obj0 = 0 ;
8543 PyObject * obj1 = 0 ;
8544 PyObject * obj2 = 0 ;
8545 PyObject * obj3 = 0 ;
8546 PyObject * obj4 = 0 ;
8547 char * kwnames[] = {
8548 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8549 };
8550
8551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8553 if (!SWIG_IsOK(res1)) {
8554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8555 }
8556 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8557 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8558 if (!SWIG_IsOK(res2)) {
8559 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8560 }
8561 arg2 = reinterpret_cast< wxWindow * >(argp2);
8562 if (obj2) {
8563 ecode3 = SWIG_AsVal_int(obj2, &val3);
8564 if (!SWIG_IsOK(ecode3)) {
8565 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8566 }
8567 arg3 = static_cast< int >(val3);
8568 }
8569 if (obj3) {
8570 ecode4 = SWIG_AsVal_long(obj3, &val4);
8571 if (!SWIG_IsOK(ecode4)) {
8572 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8573 }
8574 arg4 = static_cast< long >(val4);
8575 }
8576 if (obj4) {
8577 {
8578 arg5 = wxString_in_helper(obj4);
8579 if (arg5 == NULL) SWIG_fail;
8580 temp5 = true;
8581 }
8582 }
8583 {
8584 PyThreadState* __tstate = wxPyBeginAllowThreads();
8585 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8586 wxPyEndAllowThreads(__tstate);
8587 if (PyErr_Occurred()) SWIG_fail;
8588 }
8589 {
8590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8591 }
8592 {
8593 if (temp5)
8594 delete arg5;
8595 }
8596 return resultobj;
8597 fail:
8598 {
8599 if (temp5)
8600 delete arg5;
8601 }
8602 return NULL;
8603 }
8604
8605
8606 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8607 PyObject *resultobj = 0;
8608 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8609 int arg2 = (int) 1 ;
8610 void *argp1 = 0 ;
8611 int res1 = 0 ;
8612 int val2 ;
8613 int ecode2 = 0 ;
8614 PyObject * obj0 = 0 ;
8615 PyObject * obj1 = 0 ;
8616 char * kwnames[] = {
8617 (char *) "self",(char *) "number", NULL
8618 };
8619
8620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8622 if (!SWIG_IsOK(res1)) {
8623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8624 }
8625 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8626 if (obj1) {
8627 ecode2 = SWIG_AsVal_int(obj1, &val2);
8628 if (!SWIG_IsOK(ecode2)) {
8629 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8630 }
8631 arg2 = static_cast< int >(val2);
8632 }
8633 {
8634 PyThreadState* __tstate = wxPyBeginAllowThreads();
8635 (arg1)->SetFieldsCount(arg2);
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
8639 resultobj = SWIG_Py_Void();
8640 return resultobj;
8641 fail:
8642 return NULL;
8643 }
8644
8645
8646 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8647 PyObject *resultobj = 0;
8648 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8649 int result;
8650 void *argp1 = 0 ;
8651 int res1 = 0 ;
8652 PyObject *swig_obj[1] ;
8653
8654 if (!args) SWIG_fail;
8655 swig_obj[0] = args;
8656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8657 if (!SWIG_IsOK(res1)) {
8658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8659 }
8660 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8664 wxPyEndAllowThreads(__tstate);
8665 if (PyErr_Occurred()) SWIG_fail;
8666 }
8667 resultobj = SWIG_From_int(static_cast< int >(result));
8668 return resultobj;
8669 fail:
8670 return NULL;
8671 }
8672
8673
8674 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8675 PyObject *resultobj = 0;
8676 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8677 wxString *arg2 = 0 ;
8678 int arg3 = (int) 0 ;
8679 void *argp1 = 0 ;
8680 int res1 = 0 ;
8681 bool temp2 = false ;
8682 int val3 ;
8683 int ecode3 = 0 ;
8684 PyObject * obj0 = 0 ;
8685 PyObject * obj1 = 0 ;
8686 PyObject * obj2 = 0 ;
8687 char * kwnames[] = {
8688 (char *) "self",(char *) "text",(char *) "number", NULL
8689 };
8690
8691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8693 if (!SWIG_IsOK(res1)) {
8694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8695 }
8696 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8697 {
8698 arg2 = wxString_in_helper(obj1);
8699 if (arg2 == NULL) SWIG_fail;
8700 temp2 = true;
8701 }
8702 if (obj2) {
8703 ecode3 = SWIG_AsVal_int(obj2, &val3);
8704 if (!SWIG_IsOK(ecode3)) {
8705 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8706 }
8707 arg3 = static_cast< int >(val3);
8708 }
8709 {
8710 PyThreadState* __tstate = wxPyBeginAllowThreads();
8711 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8712 wxPyEndAllowThreads(__tstate);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 }
8715 resultobj = SWIG_Py_Void();
8716 {
8717 if (temp2)
8718 delete arg2;
8719 }
8720 return resultobj;
8721 fail:
8722 {
8723 if (temp2)
8724 delete arg2;
8725 }
8726 return NULL;
8727 }
8728
8729
8730 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8731 PyObject *resultobj = 0;
8732 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8733 int arg2 = (int) 0 ;
8734 wxString result;
8735 void *argp1 = 0 ;
8736 int res1 = 0 ;
8737 int val2 ;
8738 int ecode2 = 0 ;
8739 PyObject * obj0 = 0 ;
8740 PyObject * obj1 = 0 ;
8741 char * kwnames[] = {
8742 (char *) "self",(char *) "number", NULL
8743 };
8744
8745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8747 if (!SWIG_IsOK(res1)) {
8748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8749 }
8750 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8751 if (obj1) {
8752 ecode2 = SWIG_AsVal_int(obj1, &val2);
8753 if (!SWIG_IsOK(ecode2)) {
8754 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8755 }
8756 arg2 = static_cast< int >(val2);
8757 }
8758 {
8759 PyThreadState* __tstate = wxPyBeginAllowThreads();
8760 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 {
8765 #if wxUSE_UNICODE
8766 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8767 #else
8768 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8769 #endif
8770 }
8771 return resultobj;
8772 fail:
8773 return NULL;
8774 }
8775
8776
8777 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8778 PyObject *resultobj = 0;
8779 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8780 wxString *arg2 = 0 ;
8781 int arg3 = (int) 0 ;
8782 void *argp1 = 0 ;
8783 int res1 = 0 ;
8784 bool temp2 = false ;
8785 int val3 ;
8786 int ecode3 = 0 ;
8787 PyObject * obj0 = 0 ;
8788 PyObject * obj1 = 0 ;
8789 PyObject * obj2 = 0 ;
8790 char * kwnames[] = {
8791 (char *) "self",(char *) "text",(char *) "number", NULL
8792 };
8793
8794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8796 if (!SWIG_IsOK(res1)) {
8797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8798 }
8799 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8800 {
8801 arg2 = wxString_in_helper(obj1);
8802 if (arg2 == NULL) SWIG_fail;
8803 temp2 = true;
8804 }
8805 if (obj2) {
8806 ecode3 = SWIG_AsVal_int(obj2, &val3);
8807 if (!SWIG_IsOK(ecode3)) {
8808 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8809 }
8810 arg3 = static_cast< int >(val3);
8811 }
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8815 wxPyEndAllowThreads(__tstate);
8816 if (PyErr_Occurred()) SWIG_fail;
8817 }
8818 resultobj = SWIG_Py_Void();
8819 {
8820 if (temp2)
8821 delete arg2;
8822 }
8823 return resultobj;
8824 fail:
8825 {
8826 if (temp2)
8827 delete arg2;
8828 }
8829 return NULL;
8830 }
8831
8832
8833 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8834 PyObject *resultobj = 0;
8835 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8836 int arg2 = (int) 0 ;
8837 void *argp1 = 0 ;
8838 int res1 = 0 ;
8839 int val2 ;
8840 int ecode2 = 0 ;
8841 PyObject * obj0 = 0 ;
8842 PyObject * obj1 = 0 ;
8843 char * kwnames[] = {
8844 (char *) "self",(char *) "number", NULL
8845 };
8846
8847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8849 if (!SWIG_IsOK(res1)) {
8850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8851 }
8852 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8853 if (obj1) {
8854 ecode2 = SWIG_AsVal_int(obj1, &val2);
8855 if (!SWIG_IsOK(ecode2)) {
8856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8857 }
8858 arg2 = static_cast< int >(val2);
8859 }
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 (arg1)->PopStatusText(arg2);
8863 wxPyEndAllowThreads(__tstate);
8864 if (PyErr_Occurred()) SWIG_fail;
8865 }
8866 resultobj = SWIG_Py_Void();
8867 return resultobj;
8868 fail:
8869 return NULL;
8870 }
8871
8872
8873 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8874 PyObject *resultobj = 0;
8875 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8876 int arg2 ;
8877 int *arg3 = (int *) 0 ;
8878 void *argp1 = 0 ;
8879 int res1 = 0 ;
8880 PyObject * obj0 = 0 ;
8881 PyObject * obj1 = 0 ;
8882 char * kwnames[] = {
8883 (char *) "self",(char *) "widths", NULL
8884 };
8885
8886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8888 if (!SWIG_IsOK(res1)) {
8889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8890 }
8891 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8892 {
8893 arg2 = PyList_Size(obj1);
8894 arg3 = int_LIST_helper(obj1);
8895 if (arg3 == NULL) SWIG_fail;
8896 }
8897 {
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
8899 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8900 wxPyEndAllowThreads(__tstate);
8901 if (PyErr_Occurred()) SWIG_fail;
8902 }
8903 resultobj = SWIG_Py_Void();
8904 {
8905 if (arg3) delete [] arg3;
8906 }
8907 return resultobj;
8908 fail:
8909 {
8910 if (arg3) delete [] arg3;
8911 }
8912 return NULL;
8913 }
8914
8915
8916 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8917 PyObject *resultobj = 0;
8918 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8919 int arg2 ;
8920 int *arg3 = (int *) 0 ;
8921 void *argp1 = 0 ;
8922 int res1 = 0 ;
8923 PyObject * obj0 = 0 ;
8924 PyObject * obj1 = 0 ;
8925 char * kwnames[] = {
8926 (char *) "self",(char *) "styles", NULL
8927 };
8928
8929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8931 if (!SWIG_IsOK(res1)) {
8932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8933 }
8934 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8935 {
8936 arg2 = PyList_Size(obj1);
8937 arg3 = int_LIST_helper(obj1);
8938 if (arg3 == NULL) SWIG_fail;
8939 }
8940 {
8941 PyThreadState* __tstate = wxPyBeginAllowThreads();
8942 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
8943 wxPyEndAllowThreads(__tstate);
8944 if (PyErr_Occurred()) SWIG_fail;
8945 }
8946 resultobj = SWIG_Py_Void();
8947 {
8948 if (arg3) delete [] arg3;
8949 }
8950 return resultobj;
8951 fail:
8952 {
8953 if (arg3) delete [] arg3;
8954 }
8955 return NULL;
8956 }
8957
8958
8959 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8960 PyObject *resultobj = 0;
8961 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8962 int arg2 ;
8963 wxRect result;
8964 void *argp1 = 0 ;
8965 int res1 = 0 ;
8966 int val2 ;
8967 int ecode2 = 0 ;
8968 PyObject * obj0 = 0 ;
8969 PyObject * obj1 = 0 ;
8970 char * kwnames[] = {
8971 (char *) "self",(char *) "i", NULL
8972 };
8973
8974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
8975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8976 if (!SWIG_IsOK(res1)) {
8977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8978 }
8979 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8980 ecode2 = SWIG_AsVal_int(obj1, &val2);
8981 if (!SWIG_IsOK(ecode2)) {
8982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8983 }
8984 arg2 = static_cast< int >(val2);
8985 {
8986 PyThreadState* __tstate = wxPyBeginAllowThreads();
8987 result = wxStatusBar_GetFieldRect(arg1,arg2);
8988 wxPyEndAllowThreads(__tstate);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 }
8991 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
8992 return resultobj;
8993 fail:
8994 return NULL;
8995 }
8996
8997
8998 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8999 PyObject *resultobj = 0;
9000 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9001 int arg2 ;
9002 void *argp1 = 0 ;
9003 int res1 = 0 ;
9004 int val2 ;
9005 int ecode2 = 0 ;
9006 PyObject * obj0 = 0 ;
9007 PyObject * obj1 = 0 ;
9008 char * kwnames[] = {
9009 (char *) "self",(char *) "height", NULL
9010 };
9011
9012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9014 if (!SWIG_IsOK(res1)) {
9015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9016 }
9017 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9018 ecode2 = SWIG_AsVal_int(obj1, &val2);
9019 if (!SWIG_IsOK(ecode2)) {
9020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9021 }
9022 arg2 = static_cast< int >(val2);
9023 {
9024 PyThreadState* __tstate = wxPyBeginAllowThreads();
9025 (arg1)->SetMinHeight(arg2);
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 resultobj = SWIG_Py_Void();
9030 return resultobj;
9031 fail:
9032 return NULL;
9033 }
9034
9035
9036 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9037 PyObject *resultobj = 0;
9038 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9039 int result;
9040 void *argp1 = 0 ;
9041 int res1 = 0 ;
9042 PyObject *swig_obj[1] ;
9043
9044 if (!args) SWIG_fail;
9045 swig_obj[0] = args;
9046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9047 if (!SWIG_IsOK(res1)) {
9048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9049 }
9050 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9051 {
9052 PyThreadState* __tstate = wxPyBeginAllowThreads();
9053 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9054 wxPyEndAllowThreads(__tstate);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
9057 resultobj = SWIG_From_int(static_cast< int >(result));
9058 return resultobj;
9059 fail:
9060 return NULL;
9061 }
9062
9063
9064 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9065 PyObject *resultobj = 0;
9066 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9067 int result;
9068 void *argp1 = 0 ;
9069 int res1 = 0 ;
9070 PyObject *swig_obj[1] ;
9071
9072 if (!args) SWIG_fail;
9073 swig_obj[0] = args;
9074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9075 if (!SWIG_IsOK(res1)) {
9076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9077 }
9078 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9079 {
9080 PyThreadState* __tstate = wxPyBeginAllowThreads();
9081 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9082 wxPyEndAllowThreads(__tstate);
9083 if (PyErr_Occurred()) SWIG_fail;
9084 }
9085 resultobj = SWIG_From_int(static_cast< int >(result));
9086 return resultobj;
9087 fail:
9088 return NULL;
9089 }
9090
9091
9092 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9093 PyObject *resultobj = 0;
9094 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9095 SwigValueWrapper<wxVisualAttributes > result;
9096 int val1 ;
9097 int ecode1 = 0 ;
9098 PyObject * obj0 = 0 ;
9099 char * kwnames[] = {
9100 (char *) "variant", NULL
9101 };
9102
9103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9104 if (obj0) {
9105 ecode1 = SWIG_AsVal_int(obj0, &val1);
9106 if (!SWIG_IsOK(ecode1)) {
9107 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9108 }
9109 arg1 = static_cast< wxWindowVariant >(val1);
9110 }
9111 {
9112 if (!wxPyCheckForApp()) SWIG_fail;
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9115 wxPyEndAllowThreads(__tstate);
9116 if (PyErr_Occurred()) SWIG_fail;
9117 }
9118 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9119 return resultobj;
9120 fail:
9121 return NULL;
9122 }
9123
9124
9125 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9126 PyObject *obj;
9127 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9128 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9129 return SWIG_Py_Void();
9130 }
9131
9132 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9133 return SWIG_Python_InitShadowInstance(args);
9134 }
9135
9136 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9137 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9138 return 1;
9139 }
9140
9141
9142 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9143 PyObject *pyobj = 0;
9144
9145 {
9146 #if wxUSE_UNICODE
9147 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9148 #else
9149 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9150 #endif
9151 }
9152 return pyobj;
9153 }
9154
9155
9156 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9157 PyObject *resultobj = 0;
9158 wxWindow *arg1 = (wxWindow *) 0 ;
9159 int arg2 = (int) -1 ;
9160 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9161 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9162 wxSize const &arg4_defvalue = wxDefaultSize ;
9163 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9164 long arg5 = (long) wxSP_3D ;
9165 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9166 wxString *arg6 = (wxString *) &arg6_defvalue ;
9167 wxSplitterWindow *result = 0 ;
9168 void *argp1 = 0 ;
9169 int res1 = 0 ;
9170 int val2 ;
9171 int ecode2 = 0 ;
9172 wxPoint temp3 ;
9173 wxSize temp4 ;
9174 long val5 ;
9175 int ecode5 = 0 ;
9176 bool temp6 = false ;
9177 PyObject * obj0 = 0 ;
9178 PyObject * obj1 = 0 ;
9179 PyObject * obj2 = 0 ;
9180 PyObject * obj3 = 0 ;
9181 PyObject * obj4 = 0 ;
9182 PyObject * obj5 = 0 ;
9183 char * kwnames[] = {
9184 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9185 };
9186
9187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9189 if (!SWIG_IsOK(res1)) {
9190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9191 }
9192 arg1 = reinterpret_cast< wxWindow * >(argp1);
9193 if (obj1) {
9194 ecode2 = SWIG_AsVal_int(obj1, &val2);
9195 if (!SWIG_IsOK(ecode2)) {
9196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9197 }
9198 arg2 = static_cast< int >(val2);
9199 }
9200 if (obj2) {
9201 {
9202 arg3 = &temp3;
9203 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9204 }
9205 }
9206 if (obj3) {
9207 {
9208 arg4 = &temp4;
9209 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9210 }
9211 }
9212 if (obj4) {
9213 ecode5 = SWIG_AsVal_long(obj4, &val5);
9214 if (!SWIG_IsOK(ecode5)) {
9215 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9216 }
9217 arg5 = static_cast< long >(val5);
9218 }
9219 if (obj5) {
9220 {
9221 arg6 = wxString_in_helper(obj5);
9222 if (arg6 == NULL) SWIG_fail;
9223 temp6 = true;
9224 }
9225 }
9226 {
9227 if (!wxPyCheckForApp()) SWIG_fail;
9228 PyThreadState* __tstate = wxPyBeginAllowThreads();
9229 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9234 {
9235 if (temp6)
9236 delete arg6;
9237 }
9238 return resultobj;
9239 fail:
9240 {
9241 if (temp6)
9242 delete arg6;
9243 }
9244 return NULL;
9245 }
9246
9247
9248 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9249 PyObject *resultobj = 0;
9250 wxSplitterWindow *result = 0 ;
9251
9252 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9253 {
9254 if (!wxPyCheckForApp()) SWIG_fail;
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 result = (wxSplitterWindow *)new wxSplitterWindow();
9257 wxPyEndAllowThreads(__tstate);
9258 if (PyErr_Occurred()) SWIG_fail;
9259 }
9260 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9261 return resultobj;
9262 fail:
9263 return NULL;
9264 }
9265
9266
9267 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9268 PyObject *resultobj = 0;
9269 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9270 wxWindow *arg2 = (wxWindow *) 0 ;
9271 int arg3 = (int) -1 ;
9272 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9273 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9274 wxSize const &arg5_defvalue = wxDefaultSize ;
9275 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9276 long arg6 = (long) wxSP_3D ;
9277 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9278 wxString *arg7 = (wxString *) &arg7_defvalue ;
9279 bool result;
9280 void *argp1 = 0 ;
9281 int res1 = 0 ;
9282 void *argp2 = 0 ;
9283 int res2 = 0 ;
9284 int val3 ;
9285 int ecode3 = 0 ;
9286 wxPoint temp4 ;
9287 wxSize temp5 ;
9288 long val6 ;
9289 int ecode6 = 0 ;
9290 bool temp7 = false ;
9291 PyObject * obj0 = 0 ;
9292 PyObject * obj1 = 0 ;
9293 PyObject * obj2 = 0 ;
9294 PyObject * obj3 = 0 ;
9295 PyObject * obj4 = 0 ;
9296 PyObject * obj5 = 0 ;
9297 PyObject * obj6 = 0 ;
9298 char * kwnames[] = {
9299 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9300 };
9301
9302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9304 if (!SWIG_IsOK(res1)) {
9305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9306 }
9307 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9308 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9309 if (!SWIG_IsOK(res2)) {
9310 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9311 }
9312 arg2 = reinterpret_cast< wxWindow * >(argp2);
9313 if (obj2) {
9314 ecode3 = SWIG_AsVal_int(obj2, &val3);
9315 if (!SWIG_IsOK(ecode3)) {
9316 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9317 }
9318 arg3 = static_cast< int >(val3);
9319 }
9320 if (obj3) {
9321 {
9322 arg4 = &temp4;
9323 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9324 }
9325 }
9326 if (obj4) {
9327 {
9328 arg5 = &temp5;
9329 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9330 }
9331 }
9332 if (obj5) {
9333 ecode6 = SWIG_AsVal_long(obj5, &val6);
9334 if (!SWIG_IsOK(ecode6)) {
9335 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9336 }
9337 arg6 = static_cast< long >(val6);
9338 }
9339 if (obj6) {
9340 {
9341 arg7 = wxString_in_helper(obj6);
9342 if (arg7 == NULL) SWIG_fail;
9343 temp7 = true;
9344 }
9345 }
9346 {
9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
9348 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9349 wxPyEndAllowThreads(__tstate);
9350 if (PyErr_Occurred()) SWIG_fail;
9351 }
9352 {
9353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9354 }
9355 {
9356 if (temp7)
9357 delete arg7;
9358 }
9359 return resultobj;
9360 fail:
9361 {
9362 if (temp7)
9363 delete arg7;
9364 }
9365 return NULL;
9366 }
9367
9368
9369 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9370 PyObject *resultobj = 0;
9371 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9372 wxWindow *result = 0 ;
9373 void *argp1 = 0 ;
9374 int res1 = 0 ;
9375 PyObject *swig_obj[1] ;
9376
9377 if (!args) SWIG_fail;
9378 swig_obj[0] = args;
9379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9380 if (!SWIG_IsOK(res1)) {
9381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9382 }
9383 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9384 {
9385 PyThreadState* __tstate = wxPyBeginAllowThreads();
9386 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9387 wxPyEndAllowThreads(__tstate);
9388 if (PyErr_Occurred()) SWIG_fail;
9389 }
9390 {
9391 resultobj = wxPyMake_wxObject(result, 0);
9392 }
9393 return resultobj;
9394 fail:
9395 return NULL;
9396 }
9397
9398
9399 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9400 PyObject *resultobj = 0;
9401 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9402 wxWindow *result = 0 ;
9403 void *argp1 = 0 ;
9404 int res1 = 0 ;
9405 PyObject *swig_obj[1] ;
9406
9407 if (!args) SWIG_fail;
9408 swig_obj[0] = args;
9409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9410 if (!SWIG_IsOK(res1)) {
9411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9412 }
9413 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9414 {
9415 PyThreadState* __tstate = wxPyBeginAllowThreads();
9416 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9417 wxPyEndAllowThreads(__tstate);
9418 if (PyErr_Occurred()) SWIG_fail;
9419 }
9420 {
9421 resultobj = wxPyMake_wxObject(result, 0);
9422 }
9423 return resultobj;
9424 fail:
9425 return NULL;
9426 }
9427
9428
9429 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9430 PyObject *resultobj = 0;
9431 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9432 int arg2 ;
9433 void *argp1 = 0 ;
9434 int res1 = 0 ;
9435 int val2 ;
9436 int ecode2 = 0 ;
9437 PyObject * obj0 = 0 ;
9438 PyObject * obj1 = 0 ;
9439 char * kwnames[] = {
9440 (char *) "self",(char *) "mode", NULL
9441 };
9442
9443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9445 if (!SWIG_IsOK(res1)) {
9446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9447 }
9448 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9449 ecode2 = SWIG_AsVal_int(obj1, &val2);
9450 if (!SWIG_IsOK(ecode2)) {
9451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9452 }
9453 arg2 = static_cast< int >(val2);
9454 {
9455 PyThreadState* __tstate = wxPyBeginAllowThreads();
9456 (arg1)->SetSplitMode(arg2);
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 resultobj = SWIG_Py_Void();
9461 return resultobj;
9462 fail:
9463 return NULL;
9464 }
9465
9466
9467 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9468 PyObject *resultobj = 0;
9469 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9470 wxSplitMode result;
9471 void *argp1 = 0 ;
9472 int res1 = 0 ;
9473 PyObject *swig_obj[1] ;
9474
9475 if (!args) SWIG_fail;
9476 swig_obj[0] = args;
9477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9478 if (!SWIG_IsOK(res1)) {
9479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9480 }
9481 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9482 {
9483 PyThreadState* __tstate = wxPyBeginAllowThreads();
9484 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9485 wxPyEndAllowThreads(__tstate);
9486 if (PyErr_Occurred()) SWIG_fail;
9487 }
9488 resultobj = SWIG_From_int(static_cast< int >(result));
9489 return resultobj;
9490 fail:
9491 return NULL;
9492 }
9493
9494
9495 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9496 PyObject *resultobj = 0;
9497 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9498 wxWindow *arg2 = (wxWindow *) 0 ;
9499 void *argp1 = 0 ;
9500 int res1 = 0 ;
9501 void *argp2 = 0 ;
9502 int res2 = 0 ;
9503 PyObject * obj0 = 0 ;
9504 PyObject * obj1 = 0 ;
9505 char * kwnames[] = {
9506 (char *) "self",(char *) "window", NULL
9507 };
9508
9509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9511 if (!SWIG_IsOK(res1)) {
9512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9513 }
9514 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9515 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9516 if (!SWIG_IsOK(res2)) {
9517 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9518 }
9519 arg2 = reinterpret_cast< wxWindow * >(argp2);
9520 {
9521 PyThreadState* __tstate = wxPyBeginAllowThreads();
9522 (arg1)->Initialize(arg2);
9523 wxPyEndAllowThreads(__tstate);
9524 if (PyErr_Occurred()) SWIG_fail;
9525 }
9526 resultobj = SWIG_Py_Void();
9527 return resultobj;
9528 fail:
9529 return NULL;
9530 }
9531
9532
9533 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9534 PyObject *resultobj = 0;
9535 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9536 wxWindow *arg2 = (wxWindow *) 0 ;
9537 wxWindow *arg3 = (wxWindow *) 0 ;
9538 int arg4 = (int) 0 ;
9539 bool result;
9540 void *argp1 = 0 ;
9541 int res1 = 0 ;
9542 void *argp2 = 0 ;
9543 int res2 = 0 ;
9544 void *argp3 = 0 ;
9545 int res3 = 0 ;
9546 int val4 ;
9547 int ecode4 = 0 ;
9548 PyObject * obj0 = 0 ;
9549 PyObject * obj1 = 0 ;
9550 PyObject * obj2 = 0 ;
9551 PyObject * obj3 = 0 ;
9552 char * kwnames[] = {
9553 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9554 };
9555
9556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) 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_SplitVertically" "', 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_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9565 }
9566 arg2 = reinterpret_cast< wxWindow * >(argp2);
9567 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9568 if (!SWIG_IsOK(res3)) {
9569 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9570 }
9571 arg3 = reinterpret_cast< wxWindow * >(argp3);
9572 if (obj3) {
9573 ecode4 = SWIG_AsVal_int(obj3, &val4);
9574 if (!SWIG_IsOK(ecode4)) {
9575 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9576 }
9577 arg4 = static_cast< int >(val4);
9578 }
9579 {
9580 PyThreadState* __tstate = wxPyBeginAllowThreads();
9581 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 {
9586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9587 }
9588 return resultobj;
9589 fail:
9590 return NULL;
9591 }
9592
9593
9594 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9595 PyObject *resultobj = 0;
9596 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9597 wxWindow *arg2 = (wxWindow *) 0 ;
9598 wxWindow *arg3 = (wxWindow *) 0 ;
9599 int arg4 = (int) 0 ;
9600 bool result;
9601 void *argp1 = 0 ;
9602 int res1 = 0 ;
9603 void *argp2 = 0 ;
9604 int res2 = 0 ;
9605 void *argp3 = 0 ;
9606 int res3 = 0 ;
9607 int val4 ;
9608 int ecode4 = 0 ;
9609 PyObject * obj0 = 0 ;
9610 PyObject * obj1 = 0 ;
9611 PyObject * obj2 = 0 ;
9612 PyObject * obj3 = 0 ;
9613 char * kwnames[] = {
9614 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9615 };
9616
9617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9619 if (!SWIG_IsOK(res1)) {
9620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9621 }
9622 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9623 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9624 if (!SWIG_IsOK(res2)) {
9625 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9626 }
9627 arg2 = reinterpret_cast< wxWindow * >(argp2);
9628 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9629 if (!SWIG_IsOK(res3)) {
9630 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9631 }
9632 arg3 = reinterpret_cast< wxWindow * >(argp3);
9633 if (obj3) {
9634 ecode4 = SWIG_AsVal_int(obj3, &val4);
9635 if (!SWIG_IsOK(ecode4)) {
9636 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9637 }
9638 arg4 = static_cast< int >(val4);
9639 }
9640 {
9641 PyThreadState* __tstate = wxPyBeginAllowThreads();
9642 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9643 wxPyEndAllowThreads(__tstate);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 }
9646 {
9647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9648 }
9649 return resultobj;
9650 fail:
9651 return NULL;
9652 }
9653
9654
9655 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9656 PyObject *resultobj = 0;
9657 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9658 wxWindow *arg2 = (wxWindow *) NULL ;
9659 bool result;
9660 void *argp1 = 0 ;
9661 int res1 = 0 ;
9662 void *argp2 = 0 ;
9663 int res2 = 0 ;
9664 PyObject * obj0 = 0 ;
9665 PyObject * obj1 = 0 ;
9666 char * kwnames[] = {
9667 (char *) "self",(char *) "toRemove", NULL
9668 };
9669
9670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9672 if (!SWIG_IsOK(res1)) {
9673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9674 }
9675 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9676 if (obj1) {
9677 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9678 if (!SWIG_IsOK(res2)) {
9679 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9680 }
9681 arg2 = reinterpret_cast< wxWindow * >(argp2);
9682 }
9683 {
9684 PyThreadState* __tstate = wxPyBeginAllowThreads();
9685 result = (bool)(arg1)->Unsplit(arg2);
9686 wxPyEndAllowThreads(__tstate);
9687 if (PyErr_Occurred()) SWIG_fail;
9688 }
9689 {
9690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9691 }
9692 return resultobj;
9693 fail:
9694 return NULL;
9695 }
9696
9697
9698 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9699 PyObject *resultobj = 0;
9700 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9701 wxWindow *arg2 = (wxWindow *) 0 ;
9702 wxWindow *arg3 = (wxWindow *) 0 ;
9703 bool result;
9704 void *argp1 = 0 ;
9705 int res1 = 0 ;
9706 void *argp2 = 0 ;
9707 int res2 = 0 ;
9708 void *argp3 = 0 ;
9709 int res3 = 0 ;
9710 PyObject * obj0 = 0 ;
9711 PyObject * obj1 = 0 ;
9712 PyObject * obj2 = 0 ;
9713 char * kwnames[] = {
9714 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9715 };
9716
9717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9719 if (!SWIG_IsOK(res1)) {
9720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9721 }
9722 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9723 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9724 if (!SWIG_IsOK(res2)) {
9725 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9726 }
9727 arg2 = reinterpret_cast< wxWindow * >(argp2);
9728 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9729 if (!SWIG_IsOK(res3)) {
9730 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9731 }
9732 arg3 = reinterpret_cast< wxWindow * >(argp3);
9733 {
9734 PyThreadState* __tstate = wxPyBeginAllowThreads();
9735 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9736 wxPyEndAllowThreads(__tstate);
9737 if (PyErr_Occurred()) SWIG_fail;
9738 }
9739 {
9740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9741 }
9742 return resultobj;
9743 fail:
9744 return NULL;
9745 }
9746
9747
9748 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9749 PyObject *resultobj = 0;
9750 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9751 void *argp1 = 0 ;
9752 int res1 = 0 ;
9753 PyObject *swig_obj[1] ;
9754
9755 if (!args) SWIG_fail;
9756 swig_obj[0] = args;
9757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9758 if (!SWIG_IsOK(res1)) {
9759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9760 }
9761 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9762 {
9763 PyThreadState* __tstate = wxPyBeginAllowThreads();
9764 (arg1)->UpdateSize();
9765 wxPyEndAllowThreads(__tstate);
9766 if (PyErr_Occurred()) SWIG_fail;
9767 }
9768 resultobj = SWIG_Py_Void();
9769 return resultobj;
9770 fail:
9771 return NULL;
9772 }
9773
9774
9775 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9776 PyObject *resultobj = 0;
9777 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9778 bool result;
9779 void *argp1 = 0 ;
9780 int res1 = 0 ;
9781 PyObject *swig_obj[1] ;
9782
9783 if (!args) SWIG_fail;
9784 swig_obj[0] = args;
9785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9786 if (!SWIG_IsOK(res1)) {
9787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9788 }
9789 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 {
9797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9798 }
9799 return resultobj;
9800 fail:
9801 return NULL;
9802 }
9803
9804
9805 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9806 PyObject *resultobj = 0;
9807 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9808 int arg2 ;
9809 void *argp1 = 0 ;
9810 int res1 = 0 ;
9811 int val2 ;
9812 int ecode2 = 0 ;
9813 PyObject * obj0 = 0 ;
9814 PyObject * obj1 = 0 ;
9815 char * kwnames[] = {
9816 (char *) "self",(char *) "width", NULL
9817 };
9818
9819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9821 if (!SWIG_IsOK(res1)) {
9822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9823 }
9824 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9825 ecode2 = SWIG_AsVal_int(obj1, &val2);
9826 if (!SWIG_IsOK(ecode2)) {
9827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9828 }
9829 arg2 = static_cast< int >(val2);
9830 {
9831 PyThreadState* __tstate = wxPyBeginAllowThreads();
9832 (arg1)->SetSashSize(arg2);
9833 wxPyEndAllowThreads(__tstate);
9834 if (PyErr_Occurred()) SWIG_fail;
9835 }
9836 resultobj = SWIG_Py_Void();
9837 return resultobj;
9838 fail:
9839 return NULL;
9840 }
9841
9842
9843 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9844 PyObject *resultobj = 0;
9845 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9846 int arg2 ;
9847 void *argp1 = 0 ;
9848 int res1 = 0 ;
9849 int val2 ;
9850 int ecode2 = 0 ;
9851 PyObject * obj0 = 0 ;
9852 PyObject * obj1 = 0 ;
9853 char * kwnames[] = {
9854 (char *) "self",(char *) "width", NULL
9855 };
9856
9857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9859 if (!SWIG_IsOK(res1)) {
9860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9861 }
9862 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9863 ecode2 = SWIG_AsVal_int(obj1, &val2);
9864 if (!SWIG_IsOK(ecode2)) {
9865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9866 }
9867 arg2 = static_cast< int >(val2);
9868 {
9869 PyThreadState* __tstate = wxPyBeginAllowThreads();
9870 (arg1)->SetBorderSize(arg2);
9871 wxPyEndAllowThreads(__tstate);
9872 if (PyErr_Occurred()) SWIG_fail;
9873 }
9874 resultobj = SWIG_Py_Void();
9875 return resultobj;
9876 fail:
9877 return NULL;
9878 }
9879
9880
9881 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9882 PyObject *resultobj = 0;
9883 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9884 int result;
9885 void *argp1 = 0 ;
9886 int res1 = 0 ;
9887 PyObject *swig_obj[1] ;
9888
9889 if (!args) SWIG_fail;
9890 swig_obj[0] = args;
9891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9892 if (!SWIG_IsOK(res1)) {
9893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9894 }
9895 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9896 {
9897 PyThreadState* __tstate = wxPyBeginAllowThreads();
9898 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9899 wxPyEndAllowThreads(__tstate);
9900 if (PyErr_Occurred()) SWIG_fail;
9901 }
9902 resultobj = SWIG_From_int(static_cast< int >(result));
9903 return resultobj;
9904 fail:
9905 return NULL;
9906 }
9907
9908
9909 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9910 PyObject *resultobj = 0;
9911 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9912 int result;
9913 void *argp1 = 0 ;
9914 int res1 = 0 ;
9915 PyObject *swig_obj[1] ;
9916
9917 if (!args) SWIG_fail;
9918 swig_obj[0] = args;
9919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9920 if (!SWIG_IsOK(res1)) {
9921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9922 }
9923 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9924 {
9925 PyThreadState* __tstate = wxPyBeginAllowThreads();
9926 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9927 wxPyEndAllowThreads(__tstate);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 }
9930 resultobj = SWIG_From_int(static_cast< int >(result));
9931 return resultobj;
9932 fail:
9933 return NULL;
9934 }
9935
9936
9937 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9938 PyObject *resultobj = 0;
9939 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9940 int arg2 ;
9941 bool arg3 = (bool) true ;
9942 void *argp1 = 0 ;
9943 int res1 = 0 ;
9944 int val2 ;
9945 int ecode2 = 0 ;
9946 bool val3 ;
9947 int ecode3 = 0 ;
9948 PyObject * obj0 = 0 ;
9949 PyObject * obj1 = 0 ;
9950 PyObject * obj2 = 0 ;
9951 char * kwnames[] = {
9952 (char *) "self",(char *) "position",(char *) "redraw", NULL
9953 };
9954
9955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9957 if (!SWIG_IsOK(res1)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9959 }
9960 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9961 ecode2 = SWIG_AsVal_int(obj1, &val2);
9962 if (!SWIG_IsOK(ecode2)) {
9963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9964 }
9965 arg2 = static_cast< int >(val2);
9966 if (obj2) {
9967 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9968 if (!SWIG_IsOK(ecode3)) {
9969 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9970 }
9971 arg3 = static_cast< bool >(val3);
9972 }
9973 {
9974 PyThreadState* __tstate = wxPyBeginAllowThreads();
9975 (arg1)->SetSashPosition(arg2,arg3);
9976 wxPyEndAllowThreads(__tstate);
9977 if (PyErr_Occurred()) SWIG_fail;
9978 }
9979 resultobj = SWIG_Py_Void();
9980 return resultobj;
9981 fail:
9982 return NULL;
9983 }
9984
9985
9986 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9987 PyObject *resultobj = 0;
9988 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9989 int result;
9990 void *argp1 = 0 ;
9991 int res1 = 0 ;
9992 PyObject *swig_obj[1] ;
9993
9994 if (!args) SWIG_fail;
9995 swig_obj[0] = args;
9996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9997 if (!SWIG_IsOK(res1)) {
9998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9999 }
10000 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10001 {
10002 PyThreadState* __tstate = wxPyBeginAllowThreads();
10003 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10004 wxPyEndAllowThreads(__tstate);
10005 if (PyErr_Occurred()) SWIG_fail;
10006 }
10007 resultobj = SWIG_From_int(static_cast< int >(result));
10008 return resultobj;
10009 fail:
10010 return NULL;
10011 }
10012
10013
10014 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10015 PyObject *resultobj = 0;
10016 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10017 double arg2 ;
10018 void *argp1 = 0 ;
10019 int res1 = 0 ;
10020 double val2 ;
10021 int ecode2 = 0 ;
10022 PyObject * obj0 = 0 ;
10023 PyObject * obj1 = 0 ;
10024 char * kwnames[] = {
10025 (char *) "self",(char *) "gravity", NULL
10026 };
10027
10028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10030 if (!SWIG_IsOK(res1)) {
10031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10032 }
10033 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10034 ecode2 = SWIG_AsVal_double(obj1, &val2);
10035 if (!SWIG_IsOK(ecode2)) {
10036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10037 }
10038 arg2 = static_cast< double >(val2);
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 (arg1)->SetSashGravity(arg2);
10042 wxPyEndAllowThreads(__tstate);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 }
10045 resultobj = SWIG_Py_Void();
10046 return resultobj;
10047 fail:
10048 return NULL;
10049 }
10050
10051
10052 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10053 PyObject *resultobj = 0;
10054 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10055 double result;
10056 void *argp1 = 0 ;
10057 int res1 = 0 ;
10058 PyObject *swig_obj[1] ;
10059
10060 if (!args) SWIG_fail;
10061 swig_obj[0] = args;
10062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10063 if (!SWIG_IsOK(res1)) {
10064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10065 }
10066 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10067 {
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10070 wxPyEndAllowThreads(__tstate);
10071 if (PyErr_Occurred()) SWIG_fail;
10072 }
10073 resultobj = SWIG_From_double(static_cast< double >(result));
10074 return resultobj;
10075 fail:
10076 return NULL;
10077 }
10078
10079
10080 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10081 PyObject *resultobj = 0;
10082 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10083 int arg2 ;
10084 void *argp1 = 0 ;
10085 int res1 = 0 ;
10086 int val2 ;
10087 int ecode2 = 0 ;
10088 PyObject * obj0 = 0 ;
10089 PyObject * obj1 = 0 ;
10090 char * kwnames[] = {
10091 (char *) "self",(char *) "min", NULL
10092 };
10093
10094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10096 if (!SWIG_IsOK(res1)) {
10097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10098 }
10099 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10100 ecode2 = SWIG_AsVal_int(obj1, &val2);
10101 if (!SWIG_IsOK(ecode2)) {
10102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10103 }
10104 arg2 = static_cast< int >(val2);
10105 {
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 (arg1)->SetMinimumPaneSize(arg2);
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 }
10111 resultobj = SWIG_Py_Void();
10112 return resultobj;
10113 fail:
10114 return NULL;
10115 }
10116
10117
10118 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10119 PyObject *resultobj = 0;
10120 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10121 int result;
10122 void *argp1 = 0 ;
10123 int res1 = 0 ;
10124 PyObject *swig_obj[1] ;
10125
10126 if (!args) SWIG_fail;
10127 swig_obj[0] = args;
10128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10129 if (!SWIG_IsOK(res1)) {
10130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10131 }
10132 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10133 {
10134 PyThreadState* __tstate = wxPyBeginAllowThreads();
10135 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10136 wxPyEndAllowThreads(__tstate);
10137 if (PyErr_Occurred()) SWIG_fail;
10138 }
10139 resultobj = SWIG_From_int(static_cast< int >(result));
10140 return resultobj;
10141 fail:
10142 return NULL;
10143 }
10144
10145
10146 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10147 PyObject *resultobj = 0;
10148 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10149 int arg2 ;
10150 int arg3 ;
10151 int arg4 = (int) 5 ;
10152 bool result;
10153 void *argp1 = 0 ;
10154 int res1 = 0 ;
10155 int val2 ;
10156 int ecode2 = 0 ;
10157 int val3 ;
10158 int ecode3 = 0 ;
10159 int val4 ;
10160 int ecode4 = 0 ;
10161 PyObject * obj0 = 0 ;
10162 PyObject * obj1 = 0 ;
10163 PyObject * obj2 = 0 ;
10164 PyObject * obj3 = 0 ;
10165 char * kwnames[] = {
10166 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10167 };
10168
10169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10171 if (!SWIG_IsOK(res1)) {
10172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10173 }
10174 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10175 ecode2 = SWIG_AsVal_int(obj1, &val2);
10176 if (!SWIG_IsOK(ecode2)) {
10177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10178 }
10179 arg2 = static_cast< int >(val2);
10180 ecode3 = SWIG_AsVal_int(obj2, &val3);
10181 if (!SWIG_IsOK(ecode3)) {
10182 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10183 }
10184 arg3 = static_cast< int >(val3);
10185 if (obj3) {
10186 ecode4 = SWIG_AsVal_int(obj3, &val4);
10187 if (!SWIG_IsOK(ecode4)) {
10188 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10189 }
10190 arg4 = static_cast< int >(val4);
10191 }
10192 {
10193 PyThreadState* __tstate = wxPyBeginAllowThreads();
10194 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10195 wxPyEndAllowThreads(__tstate);
10196 if (PyErr_Occurred()) SWIG_fail;
10197 }
10198 {
10199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10200 }
10201 return resultobj;
10202 fail:
10203 return NULL;
10204 }
10205
10206
10207 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10208 PyObject *resultobj = 0;
10209 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10210 void *argp1 = 0 ;
10211 int res1 = 0 ;
10212 PyObject *swig_obj[1] ;
10213
10214 if (!args) SWIG_fail;
10215 swig_obj[0] = args;
10216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10217 if (!SWIG_IsOK(res1)) {
10218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10219 }
10220 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10221 {
10222 PyThreadState* __tstate = wxPyBeginAllowThreads();
10223 (arg1)->SizeWindows();
10224 wxPyEndAllowThreads(__tstate);
10225 if (PyErr_Occurred()) SWIG_fail;
10226 }
10227 resultobj = SWIG_Py_Void();
10228 return resultobj;
10229 fail:
10230 return NULL;
10231 }
10232
10233
10234 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10235 PyObject *resultobj = 0;
10236 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10237 bool arg2 ;
10238 void *argp1 = 0 ;
10239 int res1 = 0 ;
10240 bool val2 ;
10241 int ecode2 = 0 ;
10242 PyObject * obj0 = 0 ;
10243 PyObject * obj1 = 0 ;
10244 char * kwnames[] = {
10245 (char *) "self",(char *) "needUpdating", NULL
10246 };
10247
10248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10250 if (!SWIG_IsOK(res1)) {
10251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10252 }
10253 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10254 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10255 if (!SWIG_IsOK(ecode2)) {
10256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10257 }
10258 arg2 = static_cast< bool >(val2);
10259 {
10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
10261 (arg1)->SetNeedUpdating(arg2);
10262 wxPyEndAllowThreads(__tstate);
10263 if (PyErr_Occurred()) SWIG_fail;
10264 }
10265 resultobj = SWIG_Py_Void();
10266 return resultobj;
10267 fail:
10268 return NULL;
10269 }
10270
10271
10272 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10273 PyObject *resultobj = 0;
10274 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10275 bool result;
10276 void *argp1 = 0 ;
10277 int res1 = 0 ;
10278 PyObject *swig_obj[1] ;
10279
10280 if (!args) SWIG_fail;
10281 swig_obj[0] = args;
10282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10283 if (!SWIG_IsOK(res1)) {
10284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10285 }
10286 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10287 {
10288 PyThreadState* __tstate = wxPyBeginAllowThreads();
10289 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10290 wxPyEndAllowThreads(__tstate);
10291 if (PyErr_Occurred()) SWIG_fail;
10292 }
10293 {
10294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10295 }
10296 return resultobj;
10297 fail:
10298 return NULL;
10299 }
10300
10301
10302 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10303 PyObject *resultobj = 0;
10304 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10305 SwigValueWrapper<wxVisualAttributes > result;
10306 int val1 ;
10307 int ecode1 = 0 ;
10308 PyObject * obj0 = 0 ;
10309 char * kwnames[] = {
10310 (char *) "variant", NULL
10311 };
10312
10313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10314 if (obj0) {
10315 ecode1 = SWIG_AsVal_int(obj0, &val1);
10316 if (!SWIG_IsOK(ecode1)) {
10317 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10318 }
10319 arg1 = static_cast< wxWindowVariant >(val1);
10320 }
10321 {
10322 if (!wxPyCheckForApp()) SWIG_fail;
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10325 wxPyEndAllowThreads(__tstate);
10326 if (PyErr_Occurred()) SWIG_fail;
10327 }
10328 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10329 return resultobj;
10330 fail:
10331 return NULL;
10332 }
10333
10334
10335 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10336 PyObject *obj;
10337 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10338 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10339 return SWIG_Py_Void();
10340 }
10341
10342 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10343 return SWIG_Python_InitShadowInstance(args);
10344 }
10345
10346 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10347 PyObject *resultobj = 0;
10348 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10349 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10350 wxSplitterEvent *result = 0 ;
10351 int val1 ;
10352 int ecode1 = 0 ;
10353 void *argp2 = 0 ;
10354 int res2 = 0 ;
10355 PyObject * obj0 = 0 ;
10356 PyObject * obj1 = 0 ;
10357 char * kwnames[] = {
10358 (char *) "type",(char *) "splitter", NULL
10359 };
10360
10361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10362 if (obj0) {
10363 ecode1 = SWIG_AsVal_int(obj0, &val1);
10364 if (!SWIG_IsOK(ecode1)) {
10365 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10366 }
10367 arg1 = static_cast< wxEventType >(val1);
10368 }
10369 if (obj1) {
10370 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10371 if (!SWIG_IsOK(res2)) {
10372 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10373 }
10374 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10375 }
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
10378 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10379 wxPyEndAllowThreads(__tstate);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 }
10382 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10383 return resultobj;
10384 fail:
10385 return NULL;
10386 }
10387
10388
10389 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10390 PyObject *resultobj = 0;
10391 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10392 int arg2 ;
10393 void *argp1 = 0 ;
10394 int res1 = 0 ;
10395 int val2 ;
10396 int ecode2 = 0 ;
10397 PyObject * obj0 = 0 ;
10398 PyObject * obj1 = 0 ;
10399 char * kwnames[] = {
10400 (char *) "self",(char *) "pos", NULL
10401 };
10402
10403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10405 if (!SWIG_IsOK(res1)) {
10406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10407 }
10408 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10409 ecode2 = SWIG_AsVal_int(obj1, &val2);
10410 if (!SWIG_IsOK(ecode2)) {
10411 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10412 }
10413 arg2 = static_cast< int >(val2);
10414 {
10415 PyThreadState* __tstate = wxPyBeginAllowThreads();
10416 (arg1)->SetSashPosition(arg2);
10417 wxPyEndAllowThreads(__tstate);
10418 if (PyErr_Occurred()) SWIG_fail;
10419 }
10420 resultobj = SWIG_Py_Void();
10421 return resultobj;
10422 fail:
10423 return NULL;
10424 }
10425
10426
10427 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10428 PyObject *resultobj = 0;
10429 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10430 int result;
10431 void *argp1 = 0 ;
10432 int res1 = 0 ;
10433 PyObject *swig_obj[1] ;
10434
10435 if (!args) SWIG_fail;
10436 swig_obj[0] = args;
10437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10438 if (!SWIG_IsOK(res1)) {
10439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10440 }
10441 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10442 {
10443 PyThreadState* __tstate = wxPyBeginAllowThreads();
10444 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10445 wxPyEndAllowThreads(__tstate);
10446 if (PyErr_Occurred()) SWIG_fail;
10447 }
10448 resultobj = SWIG_From_int(static_cast< int >(result));
10449 return resultobj;
10450 fail:
10451 return NULL;
10452 }
10453
10454
10455 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10456 PyObject *resultobj = 0;
10457 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10458 wxWindow *result = 0 ;
10459 void *argp1 = 0 ;
10460 int res1 = 0 ;
10461 PyObject *swig_obj[1] ;
10462
10463 if (!args) SWIG_fail;
10464 swig_obj[0] = args;
10465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10466 if (!SWIG_IsOK(res1)) {
10467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10468 }
10469 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10470 {
10471 PyThreadState* __tstate = wxPyBeginAllowThreads();
10472 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 {
10477 resultobj = wxPyMake_wxObject(result, 0);
10478 }
10479 return resultobj;
10480 fail:
10481 return NULL;
10482 }
10483
10484
10485 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10486 PyObject *resultobj = 0;
10487 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10488 int result;
10489 void *argp1 = 0 ;
10490 int res1 = 0 ;
10491 PyObject *swig_obj[1] ;
10492
10493 if (!args) SWIG_fail;
10494 swig_obj[0] = args;
10495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10496 if (!SWIG_IsOK(res1)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10498 }
10499 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 resultobj = SWIG_From_int(static_cast< int >(result));
10507 return resultobj;
10508 fail:
10509 return NULL;
10510 }
10511
10512
10513 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10514 PyObject *resultobj = 0;
10515 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10516 int result;
10517 void *argp1 = 0 ;
10518 int res1 = 0 ;
10519 PyObject *swig_obj[1] ;
10520
10521 if (!args) SWIG_fail;
10522 swig_obj[0] = args;
10523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10524 if (!SWIG_IsOK(res1)) {
10525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10526 }
10527 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10528 {
10529 PyThreadState* __tstate = wxPyBeginAllowThreads();
10530 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10531 wxPyEndAllowThreads(__tstate);
10532 if (PyErr_Occurred()) SWIG_fail;
10533 }
10534 resultobj = SWIG_From_int(static_cast< int >(result));
10535 return resultobj;
10536 fail:
10537 return NULL;
10538 }
10539
10540
10541 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10542 PyObject *obj;
10543 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10544 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10545 return SWIG_Py_Void();
10546 }
10547
10548 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10549 return SWIG_Python_InitShadowInstance(args);
10550 }
10551
10552 SWIGINTERN int SashNameStr_set(PyObject *) {
10553 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10554 return 1;
10555 }
10556
10557
10558 SWIGINTERN PyObject *SashNameStr_get(void) {
10559 PyObject *pyobj = 0;
10560
10561 {
10562 #if wxUSE_UNICODE
10563 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10564 #else
10565 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10566 #endif
10567 }
10568 return pyobj;
10569 }
10570
10571
10572 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10573 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10574 return 1;
10575 }
10576
10577
10578 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10579 PyObject *pyobj = 0;
10580
10581 {
10582 #if wxUSE_UNICODE
10583 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10584 #else
10585 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10586 #endif
10587 }
10588 return pyobj;
10589 }
10590
10591
10592 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10593 PyObject *resultobj = 0;
10594 wxWindow *arg1 = (wxWindow *) 0 ;
10595 int arg2 = (int) -1 ;
10596 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10597 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10598 wxSize const &arg4_defvalue = wxDefaultSize ;
10599 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10600 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10601 wxString const &arg6_defvalue = wxPySashNameStr ;
10602 wxString *arg6 = (wxString *) &arg6_defvalue ;
10603 wxSashWindow *result = 0 ;
10604 void *argp1 = 0 ;
10605 int res1 = 0 ;
10606 int val2 ;
10607 int ecode2 = 0 ;
10608 wxPoint temp3 ;
10609 wxSize temp4 ;
10610 long val5 ;
10611 int ecode5 = 0 ;
10612 bool temp6 = false ;
10613 PyObject * obj0 = 0 ;
10614 PyObject * obj1 = 0 ;
10615 PyObject * obj2 = 0 ;
10616 PyObject * obj3 = 0 ;
10617 PyObject * obj4 = 0 ;
10618 PyObject * obj5 = 0 ;
10619 char * kwnames[] = {
10620 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10621 };
10622
10623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10625 if (!SWIG_IsOK(res1)) {
10626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10627 }
10628 arg1 = reinterpret_cast< wxWindow * >(argp1);
10629 if (obj1) {
10630 ecode2 = SWIG_AsVal_int(obj1, &val2);
10631 if (!SWIG_IsOK(ecode2)) {
10632 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10633 }
10634 arg2 = static_cast< int >(val2);
10635 }
10636 if (obj2) {
10637 {
10638 arg3 = &temp3;
10639 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10640 }
10641 }
10642 if (obj3) {
10643 {
10644 arg4 = &temp4;
10645 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10646 }
10647 }
10648 if (obj4) {
10649 ecode5 = SWIG_AsVal_long(obj4, &val5);
10650 if (!SWIG_IsOK(ecode5)) {
10651 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10652 }
10653 arg5 = static_cast< long >(val5);
10654 }
10655 if (obj5) {
10656 {
10657 arg6 = wxString_in_helper(obj5);
10658 if (arg6 == NULL) SWIG_fail;
10659 temp6 = true;
10660 }
10661 }
10662 {
10663 if (!wxPyCheckForApp()) SWIG_fail;
10664 PyThreadState* __tstate = wxPyBeginAllowThreads();
10665 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10666 wxPyEndAllowThreads(__tstate);
10667 if (PyErr_Occurred()) SWIG_fail;
10668 }
10669 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10670 {
10671 if (temp6)
10672 delete arg6;
10673 }
10674 return resultobj;
10675 fail:
10676 {
10677 if (temp6)
10678 delete arg6;
10679 }
10680 return NULL;
10681 }
10682
10683
10684 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10685 PyObject *resultobj = 0;
10686 wxSashWindow *result = 0 ;
10687
10688 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10689 {
10690 if (!wxPyCheckForApp()) SWIG_fail;
10691 PyThreadState* __tstate = wxPyBeginAllowThreads();
10692 result = (wxSashWindow *)new wxSashWindow();
10693 wxPyEndAllowThreads(__tstate);
10694 if (PyErr_Occurred()) SWIG_fail;
10695 }
10696 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10697 return resultobj;
10698 fail:
10699 return NULL;
10700 }
10701
10702
10703 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10704 PyObject *resultobj = 0;
10705 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10706 wxWindow *arg2 = (wxWindow *) 0 ;
10707 int arg3 = (int) -1 ;
10708 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10709 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10710 wxSize const &arg5_defvalue = wxDefaultSize ;
10711 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10712 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10713 wxString const &arg7_defvalue = wxPySashNameStr ;
10714 wxString *arg7 = (wxString *) &arg7_defvalue ;
10715 bool result;
10716 void *argp1 = 0 ;
10717 int res1 = 0 ;
10718 void *argp2 = 0 ;
10719 int res2 = 0 ;
10720 int val3 ;
10721 int ecode3 = 0 ;
10722 wxPoint temp4 ;
10723 wxSize temp5 ;
10724 long val6 ;
10725 int ecode6 = 0 ;
10726 bool temp7 = false ;
10727 PyObject * obj0 = 0 ;
10728 PyObject * obj1 = 0 ;
10729 PyObject * obj2 = 0 ;
10730 PyObject * obj3 = 0 ;
10731 PyObject * obj4 = 0 ;
10732 PyObject * obj5 = 0 ;
10733 PyObject * obj6 = 0 ;
10734 char * kwnames[] = {
10735 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10736 };
10737
10738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10740 if (!SWIG_IsOK(res1)) {
10741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10742 }
10743 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10744 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10745 if (!SWIG_IsOK(res2)) {
10746 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10747 }
10748 arg2 = reinterpret_cast< wxWindow * >(argp2);
10749 if (obj2) {
10750 ecode3 = SWIG_AsVal_int(obj2, &val3);
10751 if (!SWIG_IsOK(ecode3)) {
10752 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10753 }
10754 arg3 = static_cast< int >(val3);
10755 }
10756 if (obj3) {
10757 {
10758 arg4 = &temp4;
10759 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10760 }
10761 }
10762 if (obj4) {
10763 {
10764 arg5 = &temp5;
10765 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10766 }
10767 }
10768 if (obj5) {
10769 ecode6 = SWIG_AsVal_long(obj5, &val6);
10770 if (!SWIG_IsOK(ecode6)) {
10771 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10772 }
10773 arg6 = static_cast< long >(val6);
10774 }
10775 if (obj6) {
10776 {
10777 arg7 = wxString_in_helper(obj6);
10778 if (arg7 == NULL) SWIG_fail;
10779 temp7 = true;
10780 }
10781 }
10782 {
10783 PyThreadState* __tstate = wxPyBeginAllowThreads();
10784 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10785 wxPyEndAllowThreads(__tstate);
10786 if (PyErr_Occurred()) SWIG_fail;
10787 }
10788 {
10789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10790 }
10791 {
10792 if (temp7)
10793 delete arg7;
10794 }
10795 return resultobj;
10796 fail:
10797 {
10798 if (temp7)
10799 delete arg7;
10800 }
10801 return NULL;
10802 }
10803
10804
10805 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10806 PyObject *resultobj = 0;
10807 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10808 wxSashEdgePosition arg2 ;
10809 bool arg3 ;
10810 void *argp1 = 0 ;
10811 int res1 = 0 ;
10812 int val2 ;
10813 int ecode2 = 0 ;
10814 bool val3 ;
10815 int ecode3 = 0 ;
10816 PyObject * obj0 = 0 ;
10817 PyObject * obj1 = 0 ;
10818 PyObject * obj2 = 0 ;
10819 char * kwnames[] = {
10820 (char *) "self",(char *) "edge",(char *) "sash", NULL
10821 };
10822
10823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10825 if (!SWIG_IsOK(res1)) {
10826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10827 }
10828 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10829 ecode2 = SWIG_AsVal_int(obj1, &val2);
10830 if (!SWIG_IsOK(ecode2)) {
10831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10832 }
10833 arg2 = static_cast< wxSashEdgePosition >(val2);
10834 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10835 if (!SWIG_IsOK(ecode3)) {
10836 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10837 }
10838 arg3 = static_cast< bool >(val3);
10839 {
10840 PyThreadState* __tstate = wxPyBeginAllowThreads();
10841 (arg1)->SetSashVisible(arg2,arg3);
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 resultobj = SWIG_Py_Void();
10846 return resultobj;
10847 fail:
10848 return NULL;
10849 }
10850
10851
10852 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10853 PyObject *resultobj = 0;
10854 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10855 wxSashEdgePosition arg2 ;
10856 bool result;
10857 void *argp1 = 0 ;
10858 int res1 = 0 ;
10859 int val2 ;
10860 int ecode2 = 0 ;
10861 PyObject * obj0 = 0 ;
10862 PyObject * obj1 = 0 ;
10863 char * kwnames[] = {
10864 (char *) "self",(char *) "edge", NULL
10865 };
10866
10867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10869 if (!SWIG_IsOK(res1)) {
10870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10871 }
10872 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10873 ecode2 = SWIG_AsVal_int(obj1, &val2);
10874 if (!SWIG_IsOK(ecode2)) {
10875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10876 }
10877 arg2 = static_cast< wxSashEdgePosition >(val2);
10878 {
10879 PyThreadState* __tstate = wxPyBeginAllowThreads();
10880 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10881 wxPyEndAllowThreads(__tstate);
10882 if (PyErr_Occurred()) SWIG_fail;
10883 }
10884 {
10885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10886 }
10887 return resultobj;
10888 fail:
10889 return NULL;
10890 }
10891
10892
10893 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj = 0;
10895 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10896 wxSashEdgePosition arg2 ;
10897 bool arg3 ;
10898 void *argp1 = 0 ;
10899 int res1 = 0 ;
10900 int val2 ;
10901 int ecode2 = 0 ;
10902 bool val3 ;
10903 int ecode3 = 0 ;
10904 PyObject * obj0 = 0 ;
10905 PyObject * obj1 = 0 ;
10906 PyObject * obj2 = 0 ;
10907 char * kwnames[] = {
10908 (char *) "self",(char *) "edge",(char *) "border", NULL
10909 };
10910
10911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10913 if (!SWIG_IsOK(res1)) {
10914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10915 }
10916 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10917 ecode2 = SWIG_AsVal_int(obj1, &val2);
10918 if (!SWIG_IsOK(ecode2)) {
10919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10920 }
10921 arg2 = static_cast< wxSashEdgePosition >(val2);
10922 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10923 if (!SWIG_IsOK(ecode3)) {
10924 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10925 }
10926 arg3 = static_cast< bool >(val3);
10927 {
10928 PyThreadState* __tstate = wxPyBeginAllowThreads();
10929 (arg1)->SetSashBorder(arg2,arg3);
10930 wxPyEndAllowThreads(__tstate);
10931 if (PyErr_Occurred()) SWIG_fail;
10932 }
10933 resultobj = SWIG_Py_Void();
10934 return resultobj;
10935 fail:
10936 return NULL;
10937 }
10938
10939
10940 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10941 PyObject *resultobj = 0;
10942 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10943 wxSashEdgePosition arg2 ;
10944 bool result;
10945 void *argp1 = 0 ;
10946 int res1 = 0 ;
10947 int val2 ;
10948 int ecode2 = 0 ;
10949 PyObject * obj0 = 0 ;
10950 PyObject * obj1 = 0 ;
10951 char * kwnames[] = {
10952 (char *) "self",(char *) "edge", NULL
10953 };
10954
10955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
10956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10957 if (!SWIG_IsOK(res1)) {
10958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10959 }
10960 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10961 ecode2 = SWIG_AsVal_int(obj1, &val2);
10962 if (!SWIG_IsOK(ecode2)) {
10963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10964 }
10965 arg2 = static_cast< wxSashEdgePosition >(val2);
10966 {
10967 PyThreadState* __tstate = wxPyBeginAllowThreads();
10968 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
10969 wxPyEndAllowThreads(__tstate);
10970 if (PyErr_Occurred()) SWIG_fail;
10971 }
10972 {
10973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10974 }
10975 return resultobj;
10976 fail:
10977 return NULL;
10978 }
10979
10980
10981 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10982 PyObject *resultobj = 0;
10983 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10984 wxSashEdgePosition arg2 ;
10985 int result;
10986 void *argp1 = 0 ;
10987 int res1 = 0 ;
10988 int val2 ;
10989 int ecode2 = 0 ;
10990 PyObject * obj0 = 0 ;
10991 PyObject * obj1 = 0 ;
10992 char * kwnames[] = {
10993 (char *) "self",(char *) "edge", NULL
10994 };
10995
10996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
10997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10998 if (!SWIG_IsOK(res1)) {
10999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11000 }
11001 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11002 ecode2 = SWIG_AsVal_int(obj1, &val2);
11003 if (!SWIG_IsOK(ecode2)) {
11004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11005 }
11006 arg2 = static_cast< wxSashEdgePosition >(val2);
11007 {
11008 PyThreadState* __tstate = wxPyBeginAllowThreads();
11009 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11010 wxPyEndAllowThreads(__tstate);
11011 if (PyErr_Occurred()) SWIG_fail;
11012 }
11013 resultobj = SWIG_From_int(static_cast< int >(result));
11014 return resultobj;
11015 fail:
11016 return NULL;
11017 }
11018
11019
11020 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11021 PyObject *resultobj = 0;
11022 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11023 int arg2 ;
11024 void *argp1 = 0 ;
11025 int res1 = 0 ;
11026 int val2 ;
11027 int ecode2 = 0 ;
11028 PyObject * obj0 = 0 ;
11029 PyObject * obj1 = 0 ;
11030 char * kwnames[] = {
11031 (char *) "self",(char *) "width", NULL
11032 };
11033
11034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11036 if (!SWIG_IsOK(res1)) {
11037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11038 }
11039 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11040 ecode2 = SWIG_AsVal_int(obj1, &val2);
11041 if (!SWIG_IsOK(ecode2)) {
11042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11043 }
11044 arg2 = static_cast< int >(val2);
11045 {
11046 PyThreadState* __tstate = wxPyBeginAllowThreads();
11047 (arg1)->SetDefaultBorderSize(arg2);
11048 wxPyEndAllowThreads(__tstate);
11049 if (PyErr_Occurred()) SWIG_fail;
11050 }
11051 resultobj = SWIG_Py_Void();
11052 return resultobj;
11053 fail:
11054 return NULL;
11055 }
11056
11057
11058 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11059 PyObject *resultobj = 0;
11060 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11061 int result;
11062 void *argp1 = 0 ;
11063 int res1 = 0 ;
11064 PyObject *swig_obj[1] ;
11065
11066 if (!args) SWIG_fail;
11067 swig_obj[0] = args;
11068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11069 if (!SWIG_IsOK(res1)) {
11070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11071 }
11072 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11073 {
11074 PyThreadState* __tstate = wxPyBeginAllowThreads();
11075 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11076 wxPyEndAllowThreads(__tstate);
11077 if (PyErr_Occurred()) SWIG_fail;
11078 }
11079 resultobj = SWIG_From_int(static_cast< int >(result));
11080 return resultobj;
11081 fail:
11082 return NULL;
11083 }
11084
11085
11086 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11087 PyObject *resultobj = 0;
11088 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11089 int arg2 ;
11090 void *argp1 = 0 ;
11091 int res1 = 0 ;
11092 int val2 ;
11093 int ecode2 = 0 ;
11094 PyObject * obj0 = 0 ;
11095 PyObject * obj1 = 0 ;
11096 char * kwnames[] = {
11097 (char *) "self",(char *) "width", NULL
11098 };
11099
11100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11102 if (!SWIG_IsOK(res1)) {
11103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11104 }
11105 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11106 ecode2 = SWIG_AsVal_int(obj1, &val2);
11107 if (!SWIG_IsOK(ecode2)) {
11108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11109 }
11110 arg2 = static_cast< int >(val2);
11111 {
11112 PyThreadState* __tstate = wxPyBeginAllowThreads();
11113 (arg1)->SetExtraBorderSize(arg2);
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) SWIG_fail;
11116 }
11117 resultobj = SWIG_Py_Void();
11118 return resultobj;
11119 fail:
11120 return NULL;
11121 }
11122
11123
11124 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11125 PyObject *resultobj = 0;
11126 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11127 int result;
11128 void *argp1 = 0 ;
11129 int res1 = 0 ;
11130 PyObject *swig_obj[1] ;
11131
11132 if (!args) SWIG_fail;
11133 swig_obj[0] = args;
11134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11135 if (!SWIG_IsOK(res1)) {
11136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11137 }
11138 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11139 {
11140 PyThreadState* __tstate = wxPyBeginAllowThreads();
11141 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11142 wxPyEndAllowThreads(__tstate);
11143 if (PyErr_Occurred()) SWIG_fail;
11144 }
11145 resultobj = SWIG_From_int(static_cast< int >(result));
11146 return resultobj;
11147 fail:
11148 return NULL;
11149 }
11150
11151
11152 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11153 PyObject *resultobj = 0;
11154 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11155 int arg2 ;
11156 void *argp1 = 0 ;
11157 int res1 = 0 ;
11158 int val2 ;
11159 int ecode2 = 0 ;
11160 PyObject * obj0 = 0 ;
11161 PyObject * obj1 = 0 ;
11162 char * kwnames[] = {
11163 (char *) "self",(char *) "min", NULL
11164 };
11165
11166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11168 if (!SWIG_IsOK(res1)) {
11169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11170 }
11171 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11172 ecode2 = SWIG_AsVal_int(obj1, &val2);
11173 if (!SWIG_IsOK(ecode2)) {
11174 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11175 }
11176 arg2 = static_cast< int >(val2);
11177 {
11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
11179 (arg1)->SetMinimumSizeX(arg2);
11180 wxPyEndAllowThreads(__tstate);
11181 if (PyErr_Occurred()) SWIG_fail;
11182 }
11183 resultobj = SWIG_Py_Void();
11184 return resultobj;
11185 fail:
11186 return NULL;
11187 }
11188
11189
11190 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11191 PyObject *resultobj = 0;
11192 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11193 int arg2 ;
11194 void *argp1 = 0 ;
11195 int res1 = 0 ;
11196 int val2 ;
11197 int ecode2 = 0 ;
11198 PyObject * obj0 = 0 ;
11199 PyObject * obj1 = 0 ;
11200 char * kwnames[] = {
11201 (char *) "self",(char *) "min", NULL
11202 };
11203
11204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11206 if (!SWIG_IsOK(res1)) {
11207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11208 }
11209 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11210 ecode2 = SWIG_AsVal_int(obj1, &val2);
11211 if (!SWIG_IsOK(ecode2)) {
11212 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11213 }
11214 arg2 = static_cast< int >(val2);
11215 {
11216 PyThreadState* __tstate = wxPyBeginAllowThreads();
11217 (arg1)->SetMinimumSizeY(arg2);
11218 wxPyEndAllowThreads(__tstate);
11219 if (PyErr_Occurred()) SWIG_fail;
11220 }
11221 resultobj = SWIG_Py_Void();
11222 return resultobj;
11223 fail:
11224 return NULL;
11225 }
11226
11227
11228 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11229 PyObject *resultobj = 0;
11230 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11231 int result;
11232 void *argp1 = 0 ;
11233 int res1 = 0 ;
11234 PyObject *swig_obj[1] ;
11235
11236 if (!args) SWIG_fail;
11237 swig_obj[0] = args;
11238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11239 if (!SWIG_IsOK(res1)) {
11240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11241 }
11242 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11246 wxPyEndAllowThreads(__tstate);
11247 if (PyErr_Occurred()) SWIG_fail;
11248 }
11249 resultobj = SWIG_From_int(static_cast< int >(result));
11250 return resultobj;
11251 fail:
11252 return NULL;
11253 }
11254
11255
11256 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11257 PyObject *resultobj = 0;
11258 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11259 int result;
11260 void *argp1 = 0 ;
11261 int res1 = 0 ;
11262 PyObject *swig_obj[1] ;
11263
11264 if (!args) SWIG_fail;
11265 swig_obj[0] = args;
11266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11267 if (!SWIG_IsOK(res1)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11269 }
11270 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11271 {
11272 PyThreadState* __tstate = wxPyBeginAllowThreads();
11273 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11274 wxPyEndAllowThreads(__tstate);
11275 if (PyErr_Occurred()) SWIG_fail;
11276 }
11277 resultobj = SWIG_From_int(static_cast< int >(result));
11278 return resultobj;
11279 fail:
11280 return NULL;
11281 }
11282
11283
11284 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11285 PyObject *resultobj = 0;
11286 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11287 int arg2 ;
11288 void *argp1 = 0 ;
11289 int res1 = 0 ;
11290 int val2 ;
11291 int ecode2 = 0 ;
11292 PyObject * obj0 = 0 ;
11293 PyObject * obj1 = 0 ;
11294 char * kwnames[] = {
11295 (char *) "self",(char *) "max", NULL
11296 };
11297
11298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11300 if (!SWIG_IsOK(res1)) {
11301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11302 }
11303 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11304 ecode2 = SWIG_AsVal_int(obj1, &val2);
11305 if (!SWIG_IsOK(ecode2)) {
11306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11307 }
11308 arg2 = static_cast< int >(val2);
11309 {
11310 PyThreadState* __tstate = wxPyBeginAllowThreads();
11311 (arg1)->SetMaximumSizeX(arg2);
11312 wxPyEndAllowThreads(__tstate);
11313 if (PyErr_Occurred()) SWIG_fail;
11314 }
11315 resultobj = SWIG_Py_Void();
11316 return resultobj;
11317 fail:
11318 return NULL;
11319 }
11320
11321
11322 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11323 PyObject *resultobj = 0;
11324 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11325 int arg2 ;
11326 void *argp1 = 0 ;
11327 int res1 = 0 ;
11328 int val2 ;
11329 int ecode2 = 0 ;
11330 PyObject * obj0 = 0 ;
11331 PyObject * obj1 = 0 ;
11332 char * kwnames[] = {
11333 (char *) "self",(char *) "max", NULL
11334 };
11335
11336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11338 if (!SWIG_IsOK(res1)) {
11339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11340 }
11341 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11342 ecode2 = SWIG_AsVal_int(obj1, &val2);
11343 if (!SWIG_IsOK(ecode2)) {
11344 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11345 }
11346 arg2 = static_cast< int >(val2);
11347 {
11348 PyThreadState* __tstate = wxPyBeginAllowThreads();
11349 (arg1)->SetMaximumSizeY(arg2);
11350 wxPyEndAllowThreads(__tstate);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 resultobj = SWIG_Py_Void();
11354 return resultobj;
11355 fail:
11356 return NULL;
11357 }
11358
11359
11360 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11361 PyObject *resultobj = 0;
11362 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11363 int result;
11364 void *argp1 = 0 ;
11365 int res1 = 0 ;
11366 PyObject *swig_obj[1] ;
11367
11368 if (!args) SWIG_fail;
11369 swig_obj[0] = args;
11370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11371 if (!SWIG_IsOK(res1)) {
11372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11373 }
11374 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11375 {
11376 PyThreadState* __tstate = wxPyBeginAllowThreads();
11377 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11378 wxPyEndAllowThreads(__tstate);
11379 if (PyErr_Occurred()) SWIG_fail;
11380 }
11381 resultobj = SWIG_From_int(static_cast< int >(result));
11382 return resultobj;
11383 fail:
11384 return NULL;
11385 }
11386
11387
11388 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11389 PyObject *resultobj = 0;
11390 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11391 int result;
11392 void *argp1 = 0 ;
11393 int res1 = 0 ;
11394 PyObject *swig_obj[1] ;
11395
11396 if (!args) SWIG_fail;
11397 swig_obj[0] = args;
11398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11399 if (!SWIG_IsOK(res1)) {
11400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11401 }
11402 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11403 {
11404 PyThreadState* __tstate = wxPyBeginAllowThreads();
11405 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11406 wxPyEndAllowThreads(__tstate);
11407 if (PyErr_Occurred()) SWIG_fail;
11408 }
11409 resultobj = SWIG_From_int(static_cast< int >(result));
11410 return resultobj;
11411 fail:
11412 return NULL;
11413 }
11414
11415
11416 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11417 PyObject *resultobj = 0;
11418 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11419 int arg2 ;
11420 int arg3 ;
11421 int arg4 = (int) 2 ;
11422 wxSashEdgePosition result;
11423 void *argp1 = 0 ;
11424 int res1 = 0 ;
11425 int val2 ;
11426 int ecode2 = 0 ;
11427 int val3 ;
11428 int ecode3 = 0 ;
11429 int val4 ;
11430 int ecode4 = 0 ;
11431 PyObject * obj0 = 0 ;
11432 PyObject * obj1 = 0 ;
11433 PyObject * obj2 = 0 ;
11434 PyObject * obj3 = 0 ;
11435 char * kwnames[] = {
11436 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11437 };
11438
11439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11441 if (!SWIG_IsOK(res1)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11443 }
11444 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11445 ecode2 = SWIG_AsVal_int(obj1, &val2);
11446 if (!SWIG_IsOK(ecode2)) {
11447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11448 }
11449 arg2 = static_cast< int >(val2);
11450 ecode3 = SWIG_AsVal_int(obj2, &val3);
11451 if (!SWIG_IsOK(ecode3)) {
11452 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11453 }
11454 arg3 = static_cast< int >(val3);
11455 if (obj3) {
11456 ecode4 = SWIG_AsVal_int(obj3, &val4);
11457 if (!SWIG_IsOK(ecode4)) {
11458 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11459 }
11460 arg4 = static_cast< int >(val4);
11461 }
11462 {
11463 PyThreadState* __tstate = wxPyBeginAllowThreads();
11464 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11465 wxPyEndAllowThreads(__tstate);
11466 if (PyErr_Occurred()) SWIG_fail;
11467 }
11468 resultobj = SWIG_From_int(static_cast< int >(result));
11469 return resultobj;
11470 fail:
11471 return NULL;
11472 }
11473
11474
11475 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11476 PyObject *resultobj = 0;
11477 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11478 void *argp1 = 0 ;
11479 int res1 = 0 ;
11480 PyObject *swig_obj[1] ;
11481
11482 if (!args) SWIG_fail;
11483 swig_obj[0] = args;
11484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11485 if (!SWIG_IsOK(res1)) {
11486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11487 }
11488 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11489 {
11490 PyThreadState* __tstate = wxPyBeginAllowThreads();
11491 (arg1)->SizeWindows();
11492 wxPyEndAllowThreads(__tstate);
11493 if (PyErr_Occurred()) SWIG_fail;
11494 }
11495 resultobj = SWIG_Py_Void();
11496 return resultobj;
11497 fail:
11498 return NULL;
11499 }
11500
11501
11502 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11503 PyObject *obj;
11504 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11505 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11506 return SWIG_Py_Void();
11507 }
11508
11509 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11510 return SWIG_Python_InitShadowInstance(args);
11511 }
11512
11513 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11514 PyObject *resultobj = 0;
11515 int arg1 = (int) 0 ;
11516 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11517 wxSashEvent *result = 0 ;
11518 int val1 ;
11519 int ecode1 = 0 ;
11520 int val2 ;
11521 int ecode2 = 0 ;
11522 PyObject * obj0 = 0 ;
11523 PyObject * obj1 = 0 ;
11524 char * kwnames[] = {
11525 (char *) "id",(char *) "edge", NULL
11526 };
11527
11528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11529 if (obj0) {
11530 ecode1 = SWIG_AsVal_int(obj0, &val1);
11531 if (!SWIG_IsOK(ecode1)) {
11532 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11533 }
11534 arg1 = static_cast< int >(val1);
11535 }
11536 if (obj1) {
11537 ecode2 = SWIG_AsVal_int(obj1, &val2);
11538 if (!SWIG_IsOK(ecode2)) {
11539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11540 }
11541 arg2 = static_cast< wxSashEdgePosition >(val2);
11542 }
11543 {
11544 PyThreadState* __tstate = wxPyBeginAllowThreads();
11545 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11546 wxPyEndAllowThreads(__tstate);
11547 if (PyErr_Occurred()) SWIG_fail;
11548 }
11549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11550 return resultobj;
11551 fail:
11552 return NULL;
11553 }
11554
11555
11556 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11557 PyObject *resultobj = 0;
11558 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11559 wxSashEdgePosition arg2 ;
11560 void *argp1 = 0 ;
11561 int res1 = 0 ;
11562 int val2 ;
11563 int ecode2 = 0 ;
11564 PyObject * obj0 = 0 ;
11565 PyObject * obj1 = 0 ;
11566 char * kwnames[] = {
11567 (char *) "self",(char *) "edge", NULL
11568 };
11569
11570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11572 if (!SWIG_IsOK(res1)) {
11573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11574 }
11575 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11576 ecode2 = SWIG_AsVal_int(obj1, &val2);
11577 if (!SWIG_IsOK(ecode2)) {
11578 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11579 }
11580 arg2 = static_cast< wxSashEdgePosition >(val2);
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 (arg1)->SetEdge(arg2);
11584 wxPyEndAllowThreads(__tstate);
11585 if (PyErr_Occurred()) SWIG_fail;
11586 }
11587 resultobj = SWIG_Py_Void();
11588 return resultobj;
11589 fail:
11590 return NULL;
11591 }
11592
11593
11594 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11595 PyObject *resultobj = 0;
11596 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11597 wxSashEdgePosition result;
11598 void *argp1 = 0 ;
11599 int res1 = 0 ;
11600 PyObject *swig_obj[1] ;
11601
11602 if (!args) SWIG_fail;
11603 swig_obj[0] = args;
11604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11605 if (!SWIG_IsOK(res1)) {
11606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11607 }
11608 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11609 {
11610 PyThreadState* __tstate = wxPyBeginAllowThreads();
11611 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11612 wxPyEndAllowThreads(__tstate);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 }
11615 resultobj = SWIG_From_int(static_cast< int >(result));
11616 return resultobj;
11617 fail:
11618 return NULL;
11619 }
11620
11621
11622 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11623 PyObject *resultobj = 0;
11624 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11625 wxRect *arg2 = 0 ;
11626 void *argp1 = 0 ;
11627 int res1 = 0 ;
11628 wxRect temp2 ;
11629 PyObject * obj0 = 0 ;
11630 PyObject * obj1 = 0 ;
11631 char * kwnames[] = {
11632 (char *) "self",(char *) "rect", NULL
11633 };
11634
11635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11637 if (!SWIG_IsOK(res1)) {
11638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11639 }
11640 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11641 {
11642 arg2 = &temp2;
11643 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11644 }
11645 {
11646 PyThreadState* __tstate = wxPyBeginAllowThreads();
11647 (arg1)->SetDragRect((wxRect const &)*arg2);
11648 wxPyEndAllowThreads(__tstate);
11649 if (PyErr_Occurred()) SWIG_fail;
11650 }
11651 resultobj = SWIG_Py_Void();
11652 return resultobj;
11653 fail:
11654 return NULL;
11655 }
11656
11657
11658 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11659 PyObject *resultobj = 0;
11660 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11661 wxRect result;
11662 void *argp1 = 0 ;
11663 int res1 = 0 ;
11664 PyObject *swig_obj[1] ;
11665
11666 if (!args) SWIG_fail;
11667 swig_obj[0] = args;
11668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11669 if (!SWIG_IsOK(res1)) {
11670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11671 }
11672 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11673 {
11674 PyThreadState* __tstate = wxPyBeginAllowThreads();
11675 result = ((wxSashEvent const *)arg1)->GetDragRect();
11676 wxPyEndAllowThreads(__tstate);
11677 if (PyErr_Occurred()) SWIG_fail;
11678 }
11679 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11680 return resultobj;
11681 fail:
11682 return NULL;
11683 }
11684
11685
11686 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11687 PyObject *resultobj = 0;
11688 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11689 wxSashDragStatus arg2 ;
11690 void *argp1 = 0 ;
11691 int res1 = 0 ;
11692 int val2 ;
11693 int ecode2 = 0 ;
11694 PyObject * obj0 = 0 ;
11695 PyObject * obj1 = 0 ;
11696 char * kwnames[] = {
11697 (char *) "self",(char *) "status", NULL
11698 };
11699
11700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11702 if (!SWIG_IsOK(res1)) {
11703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11704 }
11705 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11706 ecode2 = SWIG_AsVal_int(obj1, &val2);
11707 if (!SWIG_IsOK(ecode2)) {
11708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11709 }
11710 arg2 = static_cast< wxSashDragStatus >(val2);
11711 {
11712 PyThreadState* __tstate = wxPyBeginAllowThreads();
11713 (arg1)->SetDragStatus(arg2);
11714 wxPyEndAllowThreads(__tstate);
11715 if (PyErr_Occurred()) SWIG_fail;
11716 }
11717 resultobj = SWIG_Py_Void();
11718 return resultobj;
11719 fail:
11720 return NULL;
11721 }
11722
11723
11724 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11725 PyObject *resultobj = 0;
11726 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11727 wxSashDragStatus result;
11728 void *argp1 = 0 ;
11729 int res1 = 0 ;
11730 PyObject *swig_obj[1] ;
11731
11732 if (!args) SWIG_fail;
11733 swig_obj[0] = args;
11734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11735 if (!SWIG_IsOK(res1)) {
11736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11737 }
11738 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11739 {
11740 PyThreadState* __tstate = wxPyBeginAllowThreads();
11741 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11742 wxPyEndAllowThreads(__tstate);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
11745 resultobj = SWIG_From_int(static_cast< int >(result));
11746 return resultobj;
11747 fail:
11748 return NULL;
11749 }
11750
11751
11752 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11753 PyObject *obj;
11754 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11755 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11756 return SWIG_Py_Void();
11757 }
11758
11759 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11760 return SWIG_Python_InitShadowInstance(args);
11761 }
11762
11763 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11764 PyObject *resultobj = 0;
11765 int arg1 = (int) 0 ;
11766 wxQueryLayoutInfoEvent *result = 0 ;
11767 int val1 ;
11768 int ecode1 = 0 ;
11769 PyObject * obj0 = 0 ;
11770 char * kwnames[] = {
11771 (char *) "id", NULL
11772 };
11773
11774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11775 if (obj0) {
11776 ecode1 = SWIG_AsVal_int(obj0, &val1);
11777 if (!SWIG_IsOK(ecode1)) {
11778 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11779 }
11780 arg1 = static_cast< int >(val1);
11781 }
11782 {
11783 PyThreadState* __tstate = wxPyBeginAllowThreads();
11784 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11785 wxPyEndAllowThreads(__tstate);
11786 if (PyErr_Occurred()) SWIG_fail;
11787 }
11788 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11789 return resultobj;
11790 fail:
11791 return NULL;
11792 }
11793
11794
11795 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11796 PyObject *resultobj = 0;
11797 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11798 int arg2 ;
11799 void *argp1 = 0 ;
11800 int res1 = 0 ;
11801 int val2 ;
11802 int ecode2 = 0 ;
11803 PyObject * obj0 = 0 ;
11804 PyObject * obj1 = 0 ;
11805 char * kwnames[] = {
11806 (char *) "self",(char *) "length", NULL
11807 };
11808
11809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11811 if (!SWIG_IsOK(res1)) {
11812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11813 }
11814 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11815 ecode2 = SWIG_AsVal_int(obj1, &val2);
11816 if (!SWIG_IsOK(ecode2)) {
11817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11818 }
11819 arg2 = static_cast< int >(val2);
11820 {
11821 PyThreadState* __tstate = wxPyBeginAllowThreads();
11822 (arg1)->SetRequestedLength(arg2);
11823 wxPyEndAllowThreads(__tstate);
11824 if (PyErr_Occurred()) SWIG_fail;
11825 }
11826 resultobj = SWIG_Py_Void();
11827 return resultobj;
11828 fail:
11829 return NULL;
11830 }
11831
11832
11833 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11834 PyObject *resultobj = 0;
11835 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11836 int result;
11837 void *argp1 = 0 ;
11838 int res1 = 0 ;
11839 PyObject *swig_obj[1] ;
11840
11841 if (!args) SWIG_fail;
11842 swig_obj[0] = args;
11843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11844 if (!SWIG_IsOK(res1)) {
11845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11846 }
11847 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11848 {
11849 PyThreadState* __tstate = wxPyBeginAllowThreads();
11850 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11851 wxPyEndAllowThreads(__tstate);
11852 if (PyErr_Occurred()) SWIG_fail;
11853 }
11854 resultobj = SWIG_From_int(static_cast< int >(result));
11855 return resultobj;
11856 fail:
11857 return NULL;
11858 }
11859
11860
11861 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11862 PyObject *resultobj = 0;
11863 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11864 int arg2 ;
11865 void *argp1 = 0 ;
11866 int res1 = 0 ;
11867 int val2 ;
11868 int ecode2 = 0 ;
11869 PyObject * obj0 = 0 ;
11870 PyObject * obj1 = 0 ;
11871 char * kwnames[] = {
11872 (char *) "self",(char *) "flags", NULL
11873 };
11874
11875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11877 if (!SWIG_IsOK(res1)) {
11878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11879 }
11880 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11881 ecode2 = SWIG_AsVal_int(obj1, &val2);
11882 if (!SWIG_IsOK(ecode2)) {
11883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11884 }
11885 arg2 = static_cast< int >(val2);
11886 {
11887 PyThreadState* __tstate = wxPyBeginAllowThreads();
11888 (arg1)->SetFlags(arg2);
11889 wxPyEndAllowThreads(__tstate);
11890 if (PyErr_Occurred()) SWIG_fail;
11891 }
11892 resultobj = SWIG_Py_Void();
11893 return resultobj;
11894 fail:
11895 return NULL;
11896 }
11897
11898
11899 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11900 PyObject *resultobj = 0;
11901 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11902 int result;
11903 void *argp1 = 0 ;
11904 int res1 = 0 ;
11905 PyObject *swig_obj[1] ;
11906
11907 if (!args) SWIG_fail;
11908 swig_obj[0] = args;
11909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11910 if (!SWIG_IsOK(res1)) {
11911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11912 }
11913 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11914 {
11915 PyThreadState* __tstate = wxPyBeginAllowThreads();
11916 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11917 wxPyEndAllowThreads(__tstate);
11918 if (PyErr_Occurred()) SWIG_fail;
11919 }
11920 resultobj = SWIG_From_int(static_cast< int >(result));
11921 return resultobj;
11922 fail:
11923 return NULL;
11924 }
11925
11926
11927 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11928 PyObject *resultobj = 0;
11929 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11930 wxSize *arg2 = 0 ;
11931 void *argp1 = 0 ;
11932 int res1 = 0 ;
11933 wxSize temp2 ;
11934 PyObject * obj0 = 0 ;
11935 PyObject * obj1 = 0 ;
11936 char * kwnames[] = {
11937 (char *) "self",(char *) "size", NULL
11938 };
11939
11940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
11941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11942 if (!SWIG_IsOK(res1)) {
11943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11944 }
11945 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11946 {
11947 arg2 = &temp2;
11948 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11949 }
11950 {
11951 PyThreadState* __tstate = wxPyBeginAllowThreads();
11952 (arg1)->SetSize((wxSize const &)*arg2);
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 resultobj = SWIG_Py_Void();
11957 return resultobj;
11958 fail:
11959 return NULL;
11960 }
11961
11962
11963 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11964 PyObject *resultobj = 0;
11965 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11966 wxSize result;
11967 void *argp1 = 0 ;
11968 int res1 = 0 ;
11969 PyObject *swig_obj[1] ;
11970
11971 if (!args) SWIG_fail;
11972 swig_obj[0] = args;
11973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11974 if (!SWIG_IsOK(res1)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11976 }
11977 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11978 {
11979 PyThreadState* __tstate = wxPyBeginAllowThreads();
11980 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
11985 return resultobj;
11986 fail:
11987 return NULL;
11988 }
11989
11990
11991 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11992 PyObject *resultobj = 0;
11993 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11994 wxLayoutOrientation arg2 ;
11995 void *argp1 = 0 ;
11996 int res1 = 0 ;
11997 int val2 ;
11998 int ecode2 = 0 ;
11999 PyObject * obj0 = 0 ;
12000 PyObject * obj1 = 0 ;
12001 char * kwnames[] = {
12002 (char *) "self",(char *) "orient", NULL
12003 };
12004
12005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12007 if (!SWIG_IsOK(res1)) {
12008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12009 }
12010 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12011 ecode2 = SWIG_AsVal_int(obj1, &val2);
12012 if (!SWIG_IsOK(ecode2)) {
12013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12014 }
12015 arg2 = static_cast< wxLayoutOrientation >(val2);
12016 {
12017 PyThreadState* __tstate = wxPyBeginAllowThreads();
12018 (arg1)->SetOrientation(arg2);
12019 wxPyEndAllowThreads(__tstate);
12020 if (PyErr_Occurred()) SWIG_fail;
12021 }
12022 resultobj = SWIG_Py_Void();
12023 return resultobj;
12024 fail:
12025 return NULL;
12026 }
12027
12028
12029 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12030 PyObject *resultobj = 0;
12031 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12032 wxLayoutOrientation result;
12033 void *argp1 = 0 ;
12034 int res1 = 0 ;
12035 PyObject *swig_obj[1] ;
12036
12037 if (!args) SWIG_fail;
12038 swig_obj[0] = args;
12039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12040 if (!SWIG_IsOK(res1)) {
12041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12042 }
12043 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12044 {
12045 PyThreadState* __tstate = wxPyBeginAllowThreads();
12046 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12047 wxPyEndAllowThreads(__tstate);
12048 if (PyErr_Occurred()) SWIG_fail;
12049 }
12050 resultobj = SWIG_From_int(static_cast< int >(result));
12051 return resultobj;
12052 fail:
12053 return NULL;
12054 }
12055
12056
12057 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12058 PyObject *resultobj = 0;
12059 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12060 wxLayoutAlignment arg2 ;
12061 void *argp1 = 0 ;
12062 int res1 = 0 ;
12063 int val2 ;
12064 int ecode2 = 0 ;
12065 PyObject * obj0 = 0 ;
12066 PyObject * obj1 = 0 ;
12067 char * kwnames[] = {
12068 (char *) "self",(char *) "align", NULL
12069 };
12070
12071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12073 if (!SWIG_IsOK(res1)) {
12074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12075 }
12076 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12077 ecode2 = SWIG_AsVal_int(obj1, &val2);
12078 if (!SWIG_IsOK(ecode2)) {
12079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12080 }
12081 arg2 = static_cast< wxLayoutAlignment >(val2);
12082 {
12083 PyThreadState* __tstate = wxPyBeginAllowThreads();
12084 (arg1)->SetAlignment(arg2);
12085 wxPyEndAllowThreads(__tstate);
12086 if (PyErr_Occurred()) SWIG_fail;
12087 }
12088 resultobj = SWIG_Py_Void();
12089 return resultobj;
12090 fail:
12091 return NULL;
12092 }
12093
12094
12095 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12096 PyObject *resultobj = 0;
12097 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12098 wxLayoutAlignment result;
12099 void *argp1 = 0 ;
12100 int res1 = 0 ;
12101 PyObject *swig_obj[1] ;
12102
12103 if (!args) SWIG_fail;
12104 swig_obj[0] = args;
12105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12106 if (!SWIG_IsOK(res1)) {
12107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12108 }
12109 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12110 {
12111 PyThreadState* __tstate = wxPyBeginAllowThreads();
12112 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12113 wxPyEndAllowThreads(__tstate);
12114 if (PyErr_Occurred()) SWIG_fail;
12115 }
12116 resultobj = SWIG_From_int(static_cast< int >(result));
12117 return resultobj;
12118 fail:
12119 return NULL;
12120 }
12121
12122
12123 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12124 PyObject *obj;
12125 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12126 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12127 return SWIG_Py_Void();
12128 }
12129
12130 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12131 return SWIG_Python_InitShadowInstance(args);
12132 }
12133
12134 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12135 PyObject *resultobj = 0;
12136 int arg1 = (int) 0 ;
12137 wxCalculateLayoutEvent *result = 0 ;
12138 int val1 ;
12139 int ecode1 = 0 ;
12140 PyObject * obj0 = 0 ;
12141 char * kwnames[] = {
12142 (char *) "id", NULL
12143 };
12144
12145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12146 if (obj0) {
12147 ecode1 = SWIG_AsVal_int(obj0, &val1);
12148 if (!SWIG_IsOK(ecode1)) {
12149 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12150 }
12151 arg1 = static_cast< int >(val1);
12152 }
12153 {
12154 PyThreadState* __tstate = wxPyBeginAllowThreads();
12155 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12160 return resultobj;
12161 fail:
12162 return NULL;
12163 }
12164
12165
12166 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12167 PyObject *resultobj = 0;
12168 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12169 int arg2 ;
12170 void *argp1 = 0 ;
12171 int res1 = 0 ;
12172 int val2 ;
12173 int ecode2 = 0 ;
12174 PyObject * obj0 = 0 ;
12175 PyObject * obj1 = 0 ;
12176 char * kwnames[] = {
12177 (char *) "self",(char *) "flags", NULL
12178 };
12179
12180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12182 if (!SWIG_IsOK(res1)) {
12183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12184 }
12185 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12186 ecode2 = SWIG_AsVal_int(obj1, &val2);
12187 if (!SWIG_IsOK(ecode2)) {
12188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12189 }
12190 arg2 = static_cast< int >(val2);
12191 {
12192 PyThreadState* __tstate = wxPyBeginAllowThreads();
12193 (arg1)->SetFlags(arg2);
12194 wxPyEndAllowThreads(__tstate);
12195 if (PyErr_Occurred()) SWIG_fail;
12196 }
12197 resultobj = SWIG_Py_Void();
12198 return resultobj;
12199 fail:
12200 return NULL;
12201 }
12202
12203
12204 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12205 PyObject *resultobj = 0;
12206 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12207 int result;
12208 void *argp1 = 0 ;
12209 int res1 = 0 ;
12210 PyObject *swig_obj[1] ;
12211
12212 if (!args) SWIG_fail;
12213 swig_obj[0] = args;
12214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12215 if (!SWIG_IsOK(res1)) {
12216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12217 }
12218 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12219 {
12220 PyThreadState* __tstate = wxPyBeginAllowThreads();
12221 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 resultobj = SWIG_From_int(static_cast< int >(result));
12226 return resultobj;
12227 fail:
12228 return NULL;
12229 }
12230
12231
12232 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12233 PyObject *resultobj = 0;
12234 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12235 wxRect *arg2 = 0 ;
12236 void *argp1 = 0 ;
12237 int res1 = 0 ;
12238 wxRect temp2 ;
12239 PyObject * obj0 = 0 ;
12240 PyObject * obj1 = 0 ;
12241 char * kwnames[] = {
12242 (char *) "self",(char *) "rect", NULL
12243 };
12244
12245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12247 if (!SWIG_IsOK(res1)) {
12248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12249 }
12250 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12251 {
12252 arg2 = &temp2;
12253 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12254 }
12255 {
12256 PyThreadState* __tstate = wxPyBeginAllowThreads();
12257 (arg1)->SetRect((wxRect const &)*arg2);
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 resultobj = SWIG_Py_Void();
12262 return resultobj;
12263 fail:
12264 return NULL;
12265 }
12266
12267
12268 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12269 PyObject *resultobj = 0;
12270 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12271 wxRect result;
12272 void *argp1 = 0 ;
12273 int res1 = 0 ;
12274 PyObject *swig_obj[1] ;
12275
12276 if (!args) SWIG_fail;
12277 swig_obj[0] = args;
12278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12279 if (!SWIG_IsOK(res1)) {
12280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12281 }
12282 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12283 {
12284 PyThreadState* __tstate = wxPyBeginAllowThreads();
12285 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
12289 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12290 return resultobj;
12291 fail:
12292 return NULL;
12293 }
12294
12295
12296 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12297 PyObject *obj;
12298 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12299 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12300 return SWIG_Py_Void();
12301 }
12302
12303 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12304 return SWIG_Python_InitShadowInstance(args);
12305 }
12306
12307 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12308 PyObject *resultobj = 0;
12309 wxWindow *arg1 = (wxWindow *) 0 ;
12310 int arg2 = (int) -1 ;
12311 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12312 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12313 wxSize const &arg4_defvalue = wxDefaultSize ;
12314 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12315 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12316 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12317 wxString *arg6 = (wxString *) &arg6_defvalue ;
12318 wxSashLayoutWindow *result = 0 ;
12319 void *argp1 = 0 ;
12320 int res1 = 0 ;
12321 int val2 ;
12322 int ecode2 = 0 ;
12323 wxPoint temp3 ;
12324 wxSize temp4 ;
12325 long val5 ;
12326 int ecode5 = 0 ;
12327 bool temp6 = false ;
12328 PyObject * obj0 = 0 ;
12329 PyObject * obj1 = 0 ;
12330 PyObject * obj2 = 0 ;
12331 PyObject * obj3 = 0 ;
12332 PyObject * obj4 = 0 ;
12333 PyObject * obj5 = 0 ;
12334 char * kwnames[] = {
12335 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12336 };
12337
12338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12340 if (!SWIG_IsOK(res1)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12342 }
12343 arg1 = reinterpret_cast< wxWindow * >(argp1);
12344 if (obj1) {
12345 ecode2 = SWIG_AsVal_int(obj1, &val2);
12346 if (!SWIG_IsOK(ecode2)) {
12347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12348 }
12349 arg2 = static_cast< int >(val2);
12350 }
12351 if (obj2) {
12352 {
12353 arg3 = &temp3;
12354 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12355 }
12356 }
12357 if (obj3) {
12358 {
12359 arg4 = &temp4;
12360 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12361 }
12362 }
12363 if (obj4) {
12364 ecode5 = SWIG_AsVal_long(obj4, &val5);
12365 if (!SWIG_IsOK(ecode5)) {
12366 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12367 }
12368 arg5 = static_cast< long >(val5);
12369 }
12370 if (obj5) {
12371 {
12372 arg6 = wxString_in_helper(obj5);
12373 if (arg6 == NULL) SWIG_fail;
12374 temp6 = true;
12375 }
12376 }
12377 {
12378 if (!wxPyCheckForApp()) SWIG_fail;
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12381 wxPyEndAllowThreads(__tstate);
12382 if (PyErr_Occurred()) SWIG_fail;
12383 }
12384 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12385 {
12386 if (temp6)
12387 delete arg6;
12388 }
12389 return resultobj;
12390 fail:
12391 {
12392 if (temp6)
12393 delete arg6;
12394 }
12395 return NULL;
12396 }
12397
12398
12399 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12400 PyObject *resultobj = 0;
12401 wxSashLayoutWindow *result = 0 ;
12402
12403 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12404 {
12405 if (!wxPyCheckForApp()) SWIG_fail;
12406 PyThreadState* __tstate = wxPyBeginAllowThreads();
12407 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12408 wxPyEndAllowThreads(__tstate);
12409 if (PyErr_Occurred()) SWIG_fail;
12410 }
12411 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12412 return resultobj;
12413 fail:
12414 return NULL;
12415 }
12416
12417
12418 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12419 PyObject *resultobj = 0;
12420 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12421 wxWindow *arg2 = (wxWindow *) 0 ;
12422 int arg3 = (int) -1 ;
12423 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12424 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12425 wxSize const &arg5_defvalue = wxDefaultSize ;
12426 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12427 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12428 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12429 wxString *arg7 = (wxString *) &arg7_defvalue ;
12430 bool result;
12431 void *argp1 = 0 ;
12432 int res1 = 0 ;
12433 void *argp2 = 0 ;
12434 int res2 = 0 ;
12435 int val3 ;
12436 int ecode3 = 0 ;
12437 wxPoint temp4 ;
12438 wxSize temp5 ;
12439 long val6 ;
12440 int ecode6 = 0 ;
12441 bool temp7 = false ;
12442 PyObject * obj0 = 0 ;
12443 PyObject * obj1 = 0 ;
12444 PyObject * obj2 = 0 ;
12445 PyObject * obj3 = 0 ;
12446 PyObject * obj4 = 0 ;
12447 PyObject * obj5 = 0 ;
12448 PyObject * obj6 = 0 ;
12449 char * kwnames[] = {
12450 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12451 };
12452
12453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12455 if (!SWIG_IsOK(res1)) {
12456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12457 }
12458 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12459 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12460 if (!SWIG_IsOK(res2)) {
12461 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12462 }
12463 arg2 = reinterpret_cast< wxWindow * >(argp2);
12464 if (obj2) {
12465 ecode3 = SWIG_AsVal_int(obj2, &val3);
12466 if (!SWIG_IsOK(ecode3)) {
12467 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12468 }
12469 arg3 = static_cast< int >(val3);
12470 }
12471 if (obj3) {
12472 {
12473 arg4 = &temp4;
12474 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12475 }
12476 }
12477 if (obj4) {
12478 {
12479 arg5 = &temp5;
12480 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12481 }
12482 }
12483 if (obj5) {
12484 ecode6 = SWIG_AsVal_long(obj5, &val6);
12485 if (!SWIG_IsOK(ecode6)) {
12486 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12487 }
12488 arg6 = static_cast< long >(val6);
12489 }
12490 if (obj6) {
12491 {
12492 arg7 = wxString_in_helper(obj6);
12493 if (arg7 == NULL) SWIG_fail;
12494 temp7 = true;
12495 }
12496 }
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12500 wxPyEndAllowThreads(__tstate);
12501 if (PyErr_Occurred()) SWIG_fail;
12502 }
12503 {
12504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12505 }
12506 {
12507 if (temp7)
12508 delete arg7;
12509 }
12510 return resultobj;
12511 fail:
12512 {
12513 if (temp7)
12514 delete arg7;
12515 }
12516 return NULL;
12517 }
12518
12519
12520 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12521 PyObject *resultobj = 0;
12522 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12523 wxLayoutAlignment result;
12524 void *argp1 = 0 ;
12525 int res1 = 0 ;
12526 PyObject *swig_obj[1] ;
12527
12528 if (!args) SWIG_fail;
12529 swig_obj[0] = args;
12530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12531 if (!SWIG_IsOK(res1)) {
12532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12533 }
12534 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12535 {
12536 PyThreadState* __tstate = wxPyBeginAllowThreads();
12537 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12538 wxPyEndAllowThreads(__tstate);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 }
12541 resultobj = SWIG_From_int(static_cast< int >(result));
12542 return resultobj;
12543 fail:
12544 return NULL;
12545 }
12546
12547
12548 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12549 PyObject *resultobj = 0;
12550 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12551 wxLayoutOrientation result;
12552 void *argp1 = 0 ;
12553 int res1 = 0 ;
12554 PyObject *swig_obj[1] ;
12555
12556 if (!args) SWIG_fail;
12557 swig_obj[0] = args;
12558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12559 if (!SWIG_IsOK(res1)) {
12560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12561 }
12562 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12563 {
12564 PyThreadState* __tstate = wxPyBeginAllowThreads();
12565 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12566 wxPyEndAllowThreads(__tstate);
12567 if (PyErr_Occurred()) SWIG_fail;
12568 }
12569 resultobj = SWIG_From_int(static_cast< int >(result));
12570 return resultobj;
12571 fail:
12572 return NULL;
12573 }
12574
12575
12576 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12577 PyObject *resultobj = 0;
12578 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12579 wxLayoutAlignment arg2 ;
12580 void *argp1 = 0 ;
12581 int res1 = 0 ;
12582 int val2 ;
12583 int ecode2 = 0 ;
12584 PyObject * obj0 = 0 ;
12585 PyObject * obj1 = 0 ;
12586 char * kwnames[] = {
12587 (char *) "self",(char *) "alignment", NULL
12588 };
12589
12590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12592 if (!SWIG_IsOK(res1)) {
12593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12594 }
12595 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12596 ecode2 = SWIG_AsVal_int(obj1, &val2);
12597 if (!SWIG_IsOK(ecode2)) {
12598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12599 }
12600 arg2 = static_cast< wxLayoutAlignment >(val2);
12601 {
12602 PyThreadState* __tstate = wxPyBeginAllowThreads();
12603 (arg1)->SetAlignment(arg2);
12604 wxPyEndAllowThreads(__tstate);
12605 if (PyErr_Occurred()) SWIG_fail;
12606 }
12607 resultobj = SWIG_Py_Void();
12608 return resultobj;
12609 fail:
12610 return NULL;
12611 }
12612
12613
12614 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12615 PyObject *resultobj = 0;
12616 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12617 wxSize *arg2 = 0 ;
12618 void *argp1 = 0 ;
12619 int res1 = 0 ;
12620 wxSize temp2 ;
12621 PyObject * obj0 = 0 ;
12622 PyObject * obj1 = 0 ;
12623 char * kwnames[] = {
12624 (char *) "self",(char *) "size", NULL
12625 };
12626
12627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12629 if (!SWIG_IsOK(res1)) {
12630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12631 }
12632 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12633 {
12634 arg2 = &temp2;
12635 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12636 }
12637 {
12638 PyThreadState* __tstate = wxPyBeginAllowThreads();
12639 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12640 wxPyEndAllowThreads(__tstate);
12641 if (PyErr_Occurred()) SWIG_fail;
12642 }
12643 resultobj = SWIG_Py_Void();
12644 return resultobj;
12645 fail:
12646 return NULL;
12647 }
12648
12649
12650 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12651 PyObject *resultobj = 0;
12652 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12653 wxLayoutOrientation arg2 ;
12654 void *argp1 = 0 ;
12655 int res1 = 0 ;
12656 int val2 ;
12657 int ecode2 = 0 ;
12658 PyObject * obj0 = 0 ;
12659 PyObject * obj1 = 0 ;
12660 char * kwnames[] = {
12661 (char *) "self",(char *) "orientation", NULL
12662 };
12663
12664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12666 if (!SWIG_IsOK(res1)) {
12667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12668 }
12669 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12670 ecode2 = SWIG_AsVal_int(obj1, &val2);
12671 if (!SWIG_IsOK(ecode2)) {
12672 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12673 }
12674 arg2 = static_cast< wxLayoutOrientation >(val2);
12675 {
12676 PyThreadState* __tstate = wxPyBeginAllowThreads();
12677 (arg1)->SetOrientation(arg2);
12678 wxPyEndAllowThreads(__tstate);
12679 if (PyErr_Occurred()) SWIG_fail;
12680 }
12681 resultobj = SWIG_Py_Void();
12682 return resultobj;
12683 fail:
12684 return NULL;
12685 }
12686
12687
12688 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12689 PyObject *obj;
12690 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12691 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12692 return SWIG_Py_Void();
12693 }
12694
12695 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12696 return SWIG_Python_InitShadowInstance(args);
12697 }
12698
12699 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12700 PyObject *resultobj = 0;
12701 wxLayoutAlgorithm *result = 0 ;
12702
12703 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12704 {
12705 PyThreadState* __tstate = wxPyBeginAllowThreads();
12706 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12707 wxPyEndAllowThreads(__tstate);
12708 if (PyErr_Occurred()) SWIG_fail;
12709 }
12710 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12711 return resultobj;
12712 fail:
12713 return NULL;
12714 }
12715
12716
12717 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12718 PyObject *resultobj = 0;
12719 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12720 void *argp1 = 0 ;
12721 int res1 = 0 ;
12722 PyObject *swig_obj[1] ;
12723
12724 if (!args) SWIG_fail;
12725 swig_obj[0] = args;
12726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12727 if (!SWIG_IsOK(res1)) {
12728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12729 }
12730 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12731 {
12732 PyThreadState* __tstate = wxPyBeginAllowThreads();
12733 delete arg1;
12734
12735 wxPyEndAllowThreads(__tstate);
12736 if (PyErr_Occurred()) SWIG_fail;
12737 }
12738 resultobj = SWIG_Py_Void();
12739 return resultobj;
12740 fail:
12741 return NULL;
12742 }
12743
12744
12745 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12746 PyObject *resultobj = 0;
12747 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12748 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12749 wxRect *arg3 = (wxRect *) NULL ;
12750 bool result;
12751 void *argp1 = 0 ;
12752 int res1 = 0 ;
12753 void *argp2 = 0 ;
12754 int res2 = 0 ;
12755 void *argp3 = 0 ;
12756 int res3 = 0 ;
12757 PyObject * obj0 = 0 ;
12758 PyObject * obj1 = 0 ;
12759 PyObject * obj2 = 0 ;
12760 char * kwnames[] = {
12761 (char *) "self",(char *) "frame",(char *) "rect", NULL
12762 };
12763
12764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12766 if (!SWIG_IsOK(res1)) {
12767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12768 }
12769 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12770 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12771 if (!SWIG_IsOK(res2)) {
12772 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12773 }
12774 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12775 if (obj2) {
12776 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12777 if (!SWIG_IsOK(res3)) {
12778 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12779 }
12780 arg3 = reinterpret_cast< wxRect * >(argp3);
12781 }
12782 {
12783 PyThreadState* __tstate = wxPyBeginAllowThreads();
12784 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12785 wxPyEndAllowThreads(__tstate);
12786 if (PyErr_Occurred()) SWIG_fail;
12787 }
12788 {
12789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12790 }
12791 return resultobj;
12792 fail:
12793 return NULL;
12794 }
12795
12796
12797 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12798 PyObject *resultobj = 0;
12799 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12800 wxFrame *arg2 = (wxFrame *) 0 ;
12801 wxWindow *arg3 = (wxWindow *) NULL ;
12802 bool result;
12803 void *argp1 = 0 ;
12804 int res1 = 0 ;
12805 void *argp2 = 0 ;
12806 int res2 = 0 ;
12807 void *argp3 = 0 ;
12808 int res3 = 0 ;
12809 PyObject * obj0 = 0 ;
12810 PyObject * obj1 = 0 ;
12811 PyObject * obj2 = 0 ;
12812 char * kwnames[] = {
12813 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12814 };
12815
12816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12818 if (!SWIG_IsOK(res1)) {
12819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12820 }
12821 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12822 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12823 if (!SWIG_IsOK(res2)) {
12824 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12825 }
12826 arg2 = reinterpret_cast< wxFrame * >(argp2);
12827 if (obj2) {
12828 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12829 if (!SWIG_IsOK(res3)) {
12830 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12831 }
12832 arg3 = reinterpret_cast< wxWindow * >(argp3);
12833 }
12834 {
12835 PyThreadState* __tstate = wxPyBeginAllowThreads();
12836 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12837 wxPyEndAllowThreads(__tstate);
12838 if (PyErr_Occurred()) SWIG_fail;
12839 }
12840 {
12841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12842 }
12843 return resultobj;
12844 fail:
12845 return NULL;
12846 }
12847
12848
12849 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12850 PyObject *resultobj = 0;
12851 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12852 wxWindow *arg2 = (wxWindow *) 0 ;
12853 wxWindow *arg3 = (wxWindow *) NULL ;
12854 bool result;
12855 void *argp1 = 0 ;
12856 int res1 = 0 ;
12857 void *argp2 = 0 ;
12858 int res2 = 0 ;
12859 void *argp3 = 0 ;
12860 int res3 = 0 ;
12861 PyObject * obj0 = 0 ;
12862 PyObject * obj1 = 0 ;
12863 PyObject * obj2 = 0 ;
12864 char * kwnames[] = {
12865 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12866 };
12867
12868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12870 if (!SWIG_IsOK(res1)) {
12871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12872 }
12873 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12874 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12875 if (!SWIG_IsOK(res2)) {
12876 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12877 }
12878 arg2 = reinterpret_cast< wxWindow * >(argp2);
12879 if (obj2) {
12880 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12881 if (!SWIG_IsOK(res3)) {
12882 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12883 }
12884 arg3 = reinterpret_cast< wxWindow * >(argp3);
12885 }
12886 {
12887 PyThreadState* __tstate = wxPyBeginAllowThreads();
12888 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12889 wxPyEndAllowThreads(__tstate);
12890 if (PyErr_Occurred()) SWIG_fail;
12891 }
12892 {
12893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12894 }
12895 return resultobj;
12896 fail:
12897 return NULL;
12898 }
12899
12900
12901 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12902 PyObject *obj;
12903 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12904 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12905 return SWIG_Py_Void();
12906 }
12907
12908 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12909 return SWIG_Python_InitShadowInstance(args);
12910 }
12911
12912 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12913 PyObject *resultobj = 0;
12914 wxWindow *arg1 = (wxWindow *) 0 ;
12915 int arg2 = (int) wxBORDER_NONE ;
12916 wxPopupWindow *result = 0 ;
12917 void *argp1 = 0 ;
12918 int res1 = 0 ;
12919 int val2 ;
12920 int ecode2 = 0 ;
12921 PyObject * obj0 = 0 ;
12922 PyObject * obj1 = 0 ;
12923 char * kwnames[] = {
12924 (char *) "parent",(char *) "flags", NULL
12925 };
12926
12927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12929 if (!SWIG_IsOK(res1)) {
12930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12931 }
12932 arg1 = reinterpret_cast< wxWindow * >(argp1);
12933 if (obj1) {
12934 ecode2 = SWIG_AsVal_int(obj1, &val2);
12935 if (!SWIG_IsOK(ecode2)) {
12936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12937 }
12938 arg2 = static_cast< int >(val2);
12939 }
12940 {
12941 if (!wxPyCheckForApp()) SWIG_fail;
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
12944 wxPyEndAllowThreads(__tstate);
12945 if (PyErr_Occurred()) SWIG_fail;
12946 }
12947 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
12948 return resultobj;
12949 fail:
12950 return NULL;
12951 }
12952
12953
12954 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12955 PyObject *resultobj = 0;
12956 wxPopupWindow *result = 0 ;
12957
12958 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
12959 {
12960 if (!wxPyCheckForApp()) SWIG_fail;
12961 PyThreadState* __tstate = wxPyBeginAllowThreads();
12962 result = (wxPopupWindow *)new wxPopupWindow();
12963 wxPyEndAllowThreads(__tstate);
12964 if (PyErr_Occurred()) SWIG_fail;
12965 }
12966 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
12967 return resultobj;
12968 fail:
12969 return NULL;
12970 }
12971
12972
12973 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12974 PyObject *resultobj = 0;
12975 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
12976 wxWindow *arg2 = (wxWindow *) 0 ;
12977 int arg3 = (int) wxBORDER_NONE ;
12978 bool result;
12979 void *argp1 = 0 ;
12980 int res1 = 0 ;
12981 void *argp2 = 0 ;
12982 int res2 = 0 ;
12983 int val3 ;
12984 int ecode3 = 0 ;
12985 PyObject * obj0 = 0 ;
12986 PyObject * obj1 = 0 ;
12987 PyObject * obj2 = 0 ;
12988 char * kwnames[] = {
12989 (char *) "self",(char *) "parent",(char *) "flags", NULL
12990 };
12991
12992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
12994 if (!SWIG_IsOK(res1)) {
12995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12996 }
12997 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
12998 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12999 if (!SWIG_IsOK(res2)) {
13000 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13001 }
13002 arg2 = reinterpret_cast< wxWindow * >(argp2);
13003 if (obj2) {
13004 ecode3 = SWIG_AsVal_int(obj2, &val3);
13005 if (!SWIG_IsOK(ecode3)) {
13006 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13007 }
13008 arg3 = static_cast< int >(val3);
13009 }
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 result = (bool)(arg1)->Create(arg2,arg3);
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
13016 {
13017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13018 }
13019 return resultobj;
13020 fail:
13021 return NULL;
13022 }
13023
13024
13025 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13026 PyObject *resultobj = 0;
13027 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13028 wxPoint *arg2 = 0 ;
13029 wxSize *arg3 = 0 ;
13030 void *argp1 = 0 ;
13031 int res1 = 0 ;
13032 wxPoint temp2 ;
13033 wxSize temp3 ;
13034 PyObject * obj0 = 0 ;
13035 PyObject * obj1 = 0 ;
13036 PyObject * obj2 = 0 ;
13037 char * kwnames[] = {
13038 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13039 };
13040
13041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13043 if (!SWIG_IsOK(res1)) {
13044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13045 }
13046 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13047 {
13048 arg2 = &temp2;
13049 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13050 }
13051 {
13052 arg3 = &temp3;
13053 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13054 }
13055 {
13056 PyThreadState* __tstate = wxPyBeginAllowThreads();
13057 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13058 wxPyEndAllowThreads(__tstate);
13059 if (PyErr_Occurred()) SWIG_fail;
13060 }
13061 resultobj = SWIG_Py_Void();
13062 return resultobj;
13063 fail:
13064 return NULL;
13065 }
13066
13067
13068 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13069 PyObject *obj;
13070 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13071 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13072 return SWIG_Py_Void();
13073 }
13074
13075 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13076 return SWIG_Python_InitShadowInstance(args);
13077 }
13078
13079 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13080 PyObject *resultobj = 0;
13081 wxWindow *arg1 = (wxWindow *) 0 ;
13082 int arg2 = (int) wxBORDER_NONE ;
13083 wxPyPopupTransientWindow *result = 0 ;
13084 void *argp1 = 0 ;
13085 int res1 = 0 ;
13086 int val2 ;
13087 int ecode2 = 0 ;
13088 PyObject * obj0 = 0 ;
13089 PyObject * obj1 = 0 ;
13090 char * kwnames[] = {
13091 (char *) "parent",(char *) "style", NULL
13092 };
13093
13094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13096 if (!SWIG_IsOK(res1)) {
13097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13098 }
13099 arg1 = reinterpret_cast< wxWindow * >(argp1);
13100 if (obj1) {
13101 ecode2 = SWIG_AsVal_int(obj1, &val2);
13102 if (!SWIG_IsOK(ecode2)) {
13103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13104 }
13105 arg2 = static_cast< int >(val2);
13106 }
13107 {
13108 if (!wxPyCheckForApp()) SWIG_fail;
13109 PyThreadState* __tstate = wxPyBeginAllowThreads();
13110 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13111 wxPyEndAllowThreads(__tstate);
13112 if (PyErr_Occurred()) SWIG_fail;
13113 }
13114 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13115 return resultobj;
13116 fail:
13117 return NULL;
13118 }
13119
13120
13121 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13122 PyObject *resultobj = 0;
13123 wxPyPopupTransientWindow *result = 0 ;
13124
13125 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13126 {
13127 if (!wxPyCheckForApp()) SWIG_fail;
13128 PyThreadState* __tstate = wxPyBeginAllowThreads();
13129 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13130 wxPyEndAllowThreads(__tstate);
13131 if (PyErr_Occurred()) SWIG_fail;
13132 }
13133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13134 return resultobj;
13135 fail:
13136 return NULL;
13137 }
13138
13139
13140 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13141 PyObject *resultobj = 0;
13142 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13143 PyObject *arg2 = (PyObject *) 0 ;
13144 PyObject *arg3 = (PyObject *) 0 ;
13145 void *argp1 = 0 ;
13146 int res1 = 0 ;
13147 PyObject * obj0 = 0 ;
13148 PyObject * obj1 = 0 ;
13149 PyObject * obj2 = 0 ;
13150 char * kwnames[] = {
13151 (char *) "self",(char *) "self",(char *) "_class", NULL
13152 };
13153
13154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13156 if (!SWIG_IsOK(res1)) {
13157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13158 }
13159 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13160 arg2 = obj1;
13161 arg3 = obj2;
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 (arg1)->_setCallbackInfo(arg2,arg3);
13165 wxPyEndAllowThreads(__tstate);
13166 if (PyErr_Occurred()) SWIG_fail;
13167 }
13168 resultobj = SWIG_Py_Void();
13169 return resultobj;
13170 fail:
13171 return NULL;
13172 }
13173
13174
13175 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13176 PyObject *resultobj = 0;
13177 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13178 wxWindow *arg2 = (wxWindow *) NULL ;
13179 void *argp1 = 0 ;
13180 int res1 = 0 ;
13181 void *argp2 = 0 ;
13182 int res2 = 0 ;
13183 PyObject * obj0 = 0 ;
13184 PyObject * obj1 = 0 ;
13185 char * kwnames[] = {
13186 (char *) "self",(char *) "focus", NULL
13187 };
13188
13189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13191 if (!SWIG_IsOK(res1)) {
13192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13193 }
13194 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13195 if (obj1) {
13196 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13197 if (!SWIG_IsOK(res2)) {
13198 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13199 }
13200 arg2 = reinterpret_cast< wxWindow * >(argp2);
13201 }
13202 {
13203 PyThreadState* __tstate = wxPyBeginAllowThreads();
13204 (arg1)->Popup(arg2);
13205 wxPyEndAllowThreads(__tstate);
13206 if (PyErr_Occurred()) SWIG_fail;
13207 }
13208 resultobj = SWIG_Py_Void();
13209 return resultobj;
13210 fail:
13211 return NULL;
13212 }
13213
13214
13215 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13216 PyObject *resultobj = 0;
13217 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13218 void *argp1 = 0 ;
13219 int res1 = 0 ;
13220 PyObject *swig_obj[1] ;
13221
13222 if (!args) SWIG_fail;
13223 swig_obj[0] = args;
13224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13225 if (!SWIG_IsOK(res1)) {
13226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13227 }
13228 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13229 {
13230 PyThreadState* __tstate = wxPyBeginAllowThreads();
13231 (arg1)->Dismiss();
13232 wxPyEndAllowThreads(__tstate);
13233 if (PyErr_Occurred()) SWIG_fail;
13234 }
13235 resultobj = SWIG_Py_Void();
13236 return resultobj;
13237 fail:
13238 return NULL;
13239 }
13240
13241
13242 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13243 PyObject *obj;
13244 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13245 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13246 return SWIG_Py_Void();
13247 }
13248
13249 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13250 return SWIG_Python_InitShadowInstance(args);
13251 }
13252
13253 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj = 0;
13255 wxWindow *arg1 = (wxWindow *) 0 ;
13256 wxString *arg2 = 0 ;
13257 int arg3 = (int) 100 ;
13258 wxRect *arg4 = (wxRect *) NULL ;
13259 wxTipWindow *result = 0 ;
13260 void *argp1 = 0 ;
13261 int res1 = 0 ;
13262 bool temp2 = false ;
13263 int val3 ;
13264 int ecode3 = 0 ;
13265 void *argp4 = 0 ;
13266 int res4 = 0 ;
13267 PyObject * obj0 = 0 ;
13268 PyObject * obj1 = 0 ;
13269 PyObject * obj2 = 0 ;
13270 PyObject * obj3 = 0 ;
13271 char * kwnames[] = {
13272 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13273 };
13274
13275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13277 if (!SWIG_IsOK(res1)) {
13278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13279 }
13280 arg1 = reinterpret_cast< wxWindow * >(argp1);
13281 {
13282 arg2 = wxString_in_helper(obj1);
13283 if (arg2 == NULL) SWIG_fail;
13284 temp2 = true;
13285 }
13286 if (obj2) {
13287 ecode3 = SWIG_AsVal_int(obj2, &val3);
13288 if (!SWIG_IsOK(ecode3)) {
13289 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13290 }
13291 arg3 = static_cast< int >(val3);
13292 }
13293 if (obj3) {
13294 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13295 if (!SWIG_IsOK(res4)) {
13296 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13297 }
13298 arg4 = reinterpret_cast< wxRect * >(argp4);
13299 }
13300 {
13301 if (!wxPyCheckForApp()) SWIG_fail;
13302 PyThreadState* __tstate = wxPyBeginAllowThreads();
13303 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13304 wxPyEndAllowThreads(__tstate);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13308 {
13309 if (temp2)
13310 delete arg2;
13311 }
13312 return resultobj;
13313 fail:
13314 {
13315 if (temp2)
13316 delete arg2;
13317 }
13318 return NULL;
13319 }
13320
13321
13322 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13323 PyObject *resultobj = 0;
13324 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13325 wxRect *arg2 = 0 ;
13326 void *argp1 = 0 ;
13327 int res1 = 0 ;
13328 wxRect temp2 ;
13329 PyObject * obj0 = 0 ;
13330 PyObject * obj1 = 0 ;
13331 char * kwnames[] = {
13332 (char *) "self",(char *) "rectBound", NULL
13333 };
13334
13335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13337 if (!SWIG_IsOK(res1)) {
13338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13339 }
13340 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13341 {
13342 arg2 = &temp2;
13343 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13344 }
13345 {
13346 PyThreadState* __tstate = wxPyBeginAllowThreads();
13347 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13348 wxPyEndAllowThreads(__tstate);
13349 if (PyErr_Occurred()) SWIG_fail;
13350 }
13351 resultobj = SWIG_Py_Void();
13352 return resultobj;
13353 fail:
13354 return NULL;
13355 }
13356
13357
13358 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13359 PyObject *resultobj = 0;
13360 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13361 void *argp1 = 0 ;
13362 int res1 = 0 ;
13363 PyObject *swig_obj[1] ;
13364
13365 if (!args) SWIG_fail;
13366 swig_obj[0] = args;
13367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13368 if (!SWIG_IsOK(res1)) {
13369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13370 }
13371 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13372 {
13373 PyThreadState* __tstate = wxPyBeginAllowThreads();
13374 (arg1)->Close();
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 resultobj = SWIG_Py_Void();
13379 return resultobj;
13380 fail:
13381 return NULL;
13382 }
13383
13384
13385 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13386 PyObject *obj;
13387 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13388 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13389 return SWIG_Py_Void();
13390 }
13391
13392 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13393 return SWIG_Python_InitShadowInstance(args);
13394 }
13395
13396 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13397 PyObject *resultobj = 0;
13398 wxWindow *arg1 = (wxWindow *) 0 ;
13399 int arg2 = (int) wxID_ANY ;
13400 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13401 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13402 wxSize const &arg4_defvalue = wxDefaultSize ;
13403 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13404 long arg5 = (long) 0 ;
13405 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13406 wxString *arg6 = (wxString *) &arg6_defvalue ;
13407 wxPyVScrolledWindow *result = 0 ;
13408 void *argp1 = 0 ;
13409 int res1 = 0 ;
13410 int val2 ;
13411 int ecode2 = 0 ;
13412 wxPoint temp3 ;
13413 wxSize temp4 ;
13414 long val5 ;
13415 int ecode5 = 0 ;
13416 bool temp6 = false ;
13417 PyObject * obj0 = 0 ;
13418 PyObject * obj1 = 0 ;
13419 PyObject * obj2 = 0 ;
13420 PyObject * obj3 = 0 ;
13421 PyObject * obj4 = 0 ;
13422 PyObject * obj5 = 0 ;
13423 char * kwnames[] = {
13424 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13425 };
13426
13427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13429 if (!SWIG_IsOK(res1)) {
13430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13431 }
13432 arg1 = reinterpret_cast< wxWindow * >(argp1);
13433 if (obj1) {
13434 ecode2 = SWIG_AsVal_int(obj1, &val2);
13435 if (!SWIG_IsOK(ecode2)) {
13436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13437 }
13438 arg2 = static_cast< int >(val2);
13439 }
13440 if (obj2) {
13441 {
13442 arg3 = &temp3;
13443 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13444 }
13445 }
13446 if (obj3) {
13447 {
13448 arg4 = &temp4;
13449 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13450 }
13451 }
13452 if (obj4) {
13453 ecode5 = SWIG_AsVal_long(obj4, &val5);
13454 if (!SWIG_IsOK(ecode5)) {
13455 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13456 }
13457 arg5 = static_cast< long >(val5);
13458 }
13459 if (obj5) {
13460 {
13461 arg6 = wxString_in_helper(obj5);
13462 if (arg6 == NULL) SWIG_fail;
13463 temp6 = true;
13464 }
13465 }
13466 {
13467 if (!wxPyCheckForApp()) SWIG_fail;
13468 PyThreadState* __tstate = wxPyBeginAllowThreads();
13469 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13470 wxPyEndAllowThreads(__tstate);
13471 if (PyErr_Occurred()) SWIG_fail;
13472 }
13473 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13474 {
13475 if (temp6)
13476 delete arg6;
13477 }
13478 return resultobj;
13479 fail:
13480 {
13481 if (temp6)
13482 delete arg6;
13483 }
13484 return NULL;
13485 }
13486
13487
13488 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13489 PyObject *resultobj = 0;
13490 wxPyVScrolledWindow *result = 0 ;
13491
13492 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13493 {
13494 if (!wxPyCheckForApp()) SWIG_fail;
13495 PyThreadState* __tstate = wxPyBeginAllowThreads();
13496 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13497 wxPyEndAllowThreads(__tstate);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 }
13500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13501 return resultobj;
13502 fail:
13503 return NULL;
13504 }
13505
13506
13507 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13508 PyObject *resultobj = 0;
13509 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13510 PyObject *arg2 = (PyObject *) 0 ;
13511 PyObject *arg3 = (PyObject *) 0 ;
13512 void *argp1 = 0 ;
13513 int res1 = 0 ;
13514 PyObject * obj0 = 0 ;
13515 PyObject * obj1 = 0 ;
13516 PyObject * obj2 = 0 ;
13517 char * kwnames[] = {
13518 (char *) "self",(char *) "self",(char *) "_class", NULL
13519 };
13520
13521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13523 if (!SWIG_IsOK(res1)) {
13524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13525 }
13526 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13527 arg2 = obj1;
13528 arg3 = obj2;
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
13531 (arg1)->_setCallbackInfo(arg2,arg3);
13532 wxPyEndAllowThreads(__tstate);
13533 if (PyErr_Occurred()) SWIG_fail;
13534 }
13535 resultobj = SWIG_Py_Void();
13536 return resultobj;
13537 fail:
13538 return NULL;
13539 }
13540
13541
13542 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13543 PyObject *resultobj = 0;
13544 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13545 wxWindow *arg2 = (wxWindow *) 0 ;
13546 int arg3 = (int) wxID_ANY ;
13547 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13548 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13549 wxSize const &arg5_defvalue = wxDefaultSize ;
13550 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13551 long arg6 = (long) 0 ;
13552 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13553 wxString *arg7 = (wxString *) &arg7_defvalue ;
13554 bool result;
13555 void *argp1 = 0 ;
13556 int res1 = 0 ;
13557 void *argp2 = 0 ;
13558 int res2 = 0 ;
13559 int val3 ;
13560 int ecode3 = 0 ;
13561 wxPoint temp4 ;
13562 wxSize temp5 ;
13563 long val6 ;
13564 int ecode6 = 0 ;
13565 bool temp7 = false ;
13566 PyObject * obj0 = 0 ;
13567 PyObject * obj1 = 0 ;
13568 PyObject * obj2 = 0 ;
13569 PyObject * obj3 = 0 ;
13570 PyObject * obj4 = 0 ;
13571 PyObject * obj5 = 0 ;
13572 PyObject * obj6 = 0 ;
13573 char * kwnames[] = {
13574 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13575 };
13576
13577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13579 if (!SWIG_IsOK(res1)) {
13580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13581 }
13582 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13583 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13584 if (!SWIG_IsOK(res2)) {
13585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13586 }
13587 arg2 = reinterpret_cast< wxWindow * >(argp2);
13588 if (obj2) {
13589 ecode3 = SWIG_AsVal_int(obj2, &val3);
13590 if (!SWIG_IsOK(ecode3)) {
13591 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13592 }
13593 arg3 = static_cast< int >(val3);
13594 }
13595 if (obj3) {
13596 {
13597 arg4 = &temp4;
13598 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13599 }
13600 }
13601 if (obj4) {
13602 {
13603 arg5 = &temp5;
13604 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13605 }
13606 }
13607 if (obj5) {
13608 ecode6 = SWIG_AsVal_long(obj5, &val6);
13609 if (!SWIG_IsOK(ecode6)) {
13610 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13611 }
13612 arg6 = static_cast< long >(val6);
13613 }
13614 if (obj6) {
13615 {
13616 arg7 = wxString_in_helper(obj6);
13617 if (arg7 == NULL) SWIG_fail;
13618 temp7 = true;
13619 }
13620 }
13621 {
13622 PyThreadState* __tstate = wxPyBeginAllowThreads();
13623 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
13627 {
13628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13629 }
13630 {
13631 if (temp7)
13632 delete arg7;
13633 }
13634 return resultobj;
13635 fail:
13636 {
13637 if (temp7)
13638 delete arg7;
13639 }
13640 return NULL;
13641 }
13642
13643
13644 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13645 PyObject *resultobj = 0;
13646 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13647 size_t arg2 ;
13648 void *argp1 = 0 ;
13649 int res1 = 0 ;
13650 size_t val2 ;
13651 int ecode2 = 0 ;
13652 PyObject * obj0 = 0 ;
13653 PyObject * obj1 = 0 ;
13654 char * kwnames[] = {
13655 (char *) "self",(char *) "count", NULL
13656 };
13657
13658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13660 if (!SWIG_IsOK(res1)) {
13661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13662 }
13663 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13664 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13665 if (!SWIG_IsOK(ecode2)) {
13666 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13667 }
13668 arg2 = static_cast< size_t >(val2);
13669 {
13670 PyThreadState* __tstate = wxPyBeginAllowThreads();
13671 (arg1)->SetLineCount(arg2);
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
13675 resultobj = SWIG_Py_Void();
13676 return resultobj;
13677 fail:
13678 return NULL;
13679 }
13680
13681
13682 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13683 PyObject *resultobj = 0;
13684 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13685 size_t arg2 ;
13686 bool result;
13687 void *argp1 = 0 ;
13688 int res1 = 0 ;
13689 size_t val2 ;
13690 int ecode2 = 0 ;
13691 PyObject * obj0 = 0 ;
13692 PyObject * obj1 = 0 ;
13693 char * kwnames[] = {
13694 (char *) "self",(char *) "line", NULL
13695 };
13696
13697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13699 if (!SWIG_IsOK(res1)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13701 }
13702 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13703 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13704 if (!SWIG_IsOK(ecode2)) {
13705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13706 }
13707 arg2 = static_cast< size_t >(val2);
13708 {
13709 PyThreadState* __tstate = wxPyBeginAllowThreads();
13710 result = (bool)(arg1)->ScrollToLine(arg2);
13711 wxPyEndAllowThreads(__tstate);
13712 if (PyErr_Occurred()) SWIG_fail;
13713 }
13714 {
13715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13716 }
13717 return resultobj;
13718 fail:
13719 return NULL;
13720 }
13721
13722
13723 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13724 PyObject *resultobj = 0;
13725 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13726 size_t arg2 ;
13727 void *argp1 = 0 ;
13728 int res1 = 0 ;
13729 size_t val2 ;
13730 int ecode2 = 0 ;
13731 PyObject * obj0 = 0 ;
13732 PyObject * obj1 = 0 ;
13733 char * kwnames[] = {
13734 (char *) "self",(char *) "line", NULL
13735 };
13736
13737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13739 if (!SWIG_IsOK(res1)) {
13740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13741 }
13742 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13743 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13744 if (!SWIG_IsOK(ecode2)) {
13745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13746 }
13747 arg2 = static_cast< size_t >(val2);
13748 {
13749 PyThreadState* __tstate = wxPyBeginAllowThreads();
13750 (arg1)->RefreshLine(arg2);
13751 wxPyEndAllowThreads(__tstate);
13752 if (PyErr_Occurred()) SWIG_fail;
13753 }
13754 resultobj = SWIG_Py_Void();
13755 return resultobj;
13756 fail:
13757 return NULL;
13758 }
13759
13760
13761 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13762 PyObject *resultobj = 0;
13763 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13764 size_t arg2 ;
13765 size_t arg3 ;
13766 void *argp1 = 0 ;
13767 int res1 = 0 ;
13768 size_t val2 ;
13769 int ecode2 = 0 ;
13770 size_t val3 ;
13771 int ecode3 = 0 ;
13772 PyObject * obj0 = 0 ;
13773 PyObject * obj1 = 0 ;
13774 PyObject * obj2 = 0 ;
13775 char * kwnames[] = {
13776 (char *) "self",(char *) "from",(char *) "to", NULL
13777 };
13778
13779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13781 if (!SWIG_IsOK(res1)) {
13782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13783 }
13784 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13785 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13786 if (!SWIG_IsOK(ecode2)) {
13787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13788 }
13789 arg2 = static_cast< size_t >(val2);
13790 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13791 if (!SWIG_IsOK(ecode3)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13793 }
13794 arg3 = static_cast< size_t >(val3);
13795 {
13796 PyThreadState* __tstate = wxPyBeginAllowThreads();
13797 (arg1)->RefreshLines(arg2,arg3);
13798 wxPyEndAllowThreads(__tstate);
13799 if (PyErr_Occurred()) SWIG_fail;
13800 }
13801 resultobj = SWIG_Py_Void();
13802 return resultobj;
13803 fail:
13804 return NULL;
13805 }
13806
13807
13808 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13809 PyObject *resultobj = 0;
13810 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13811 int arg2 ;
13812 int arg3 ;
13813 int result;
13814 void *argp1 = 0 ;
13815 int res1 = 0 ;
13816 int val2 ;
13817 int ecode2 = 0 ;
13818 int val3 ;
13819 int ecode3 = 0 ;
13820 PyObject * obj0 = 0 ;
13821 PyObject * obj1 = 0 ;
13822 PyObject * obj2 = 0 ;
13823 char * kwnames[] = {
13824 (char *) "self",(char *) "x",(char *) "y", NULL
13825 };
13826
13827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13829 if (!SWIG_IsOK(res1)) {
13830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13831 }
13832 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13833 ecode2 = SWIG_AsVal_int(obj1, &val2);
13834 if (!SWIG_IsOK(ecode2)) {
13835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13836 }
13837 arg2 = static_cast< int >(val2);
13838 ecode3 = SWIG_AsVal_int(obj2, &val3);
13839 if (!SWIG_IsOK(ecode3)) {
13840 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13841 }
13842 arg3 = static_cast< int >(val3);
13843 {
13844 PyThreadState* __tstate = wxPyBeginAllowThreads();
13845 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13846 wxPyEndAllowThreads(__tstate);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 }
13849 resultobj = SWIG_From_int(static_cast< int >(result));
13850 return resultobj;
13851 fail:
13852 return NULL;
13853 }
13854
13855
13856 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13857 PyObject *resultobj = 0;
13858 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13859 wxPoint *arg2 = 0 ;
13860 int result;
13861 void *argp1 = 0 ;
13862 int res1 = 0 ;
13863 wxPoint temp2 ;
13864 PyObject * obj0 = 0 ;
13865 PyObject * obj1 = 0 ;
13866 char * kwnames[] = {
13867 (char *) "self",(char *) "pt", NULL
13868 };
13869
13870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13872 if (!SWIG_IsOK(res1)) {
13873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13874 }
13875 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13876 {
13877 arg2 = &temp2;
13878 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13879 }
13880 {
13881 PyThreadState* __tstate = wxPyBeginAllowThreads();
13882 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13883 wxPyEndAllowThreads(__tstate);
13884 if (PyErr_Occurred()) SWIG_fail;
13885 }
13886 resultobj = SWIG_From_int(static_cast< int >(result));
13887 return resultobj;
13888 fail:
13889 return NULL;
13890 }
13891
13892
13893 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13894 PyObject *resultobj = 0;
13895 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13896 void *argp1 = 0 ;
13897 int res1 = 0 ;
13898 PyObject *swig_obj[1] ;
13899
13900 if (!args) SWIG_fail;
13901 swig_obj[0] = args;
13902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13903 if (!SWIG_IsOK(res1)) {
13904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13905 }
13906 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13907 {
13908 PyThreadState* __tstate = wxPyBeginAllowThreads();
13909 (arg1)->RefreshAll();
13910 wxPyEndAllowThreads(__tstate);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 resultobj = SWIG_Py_Void();
13914 return resultobj;
13915 fail:
13916 return NULL;
13917 }
13918
13919
13920 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13921 PyObject *resultobj = 0;
13922 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13923 size_t result;
13924 void *argp1 = 0 ;
13925 int res1 = 0 ;
13926 PyObject *swig_obj[1] ;
13927
13928 if (!args) SWIG_fail;
13929 swig_obj[0] = args;
13930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13931 if (!SWIG_IsOK(res1)) {
13932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13933 }
13934 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13935 {
13936 PyThreadState* __tstate = wxPyBeginAllowThreads();
13937 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13938 wxPyEndAllowThreads(__tstate);
13939 if (PyErr_Occurred()) SWIG_fail;
13940 }
13941 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13942 return resultobj;
13943 fail:
13944 return NULL;
13945 }
13946
13947
13948 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13949 PyObject *resultobj = 0;
13950 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13951 size_t result;
13952 void *argp1 = 0 ;
13953 int res1 = 0 ;
13954 PyObject *swig_obj[1] ;
13955
13956 if (!args) SWIG_fail;
13957 swig_obj[0] = args;
13958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13959 if (!SWIG_IsOK(res1)) {
13960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13961 }
13962 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13963 {
13964 PyThreadState* __tstate = wxPyBeginAllowThreads();
13965 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13966 wxPyEndAllowThreads(__tstate);
13967 if (PyErr_Occurred()) SWIG_fail;
13968 }
13969 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13970 return resultobj;
13971 fail:
13972 return NULL;
13973 }
13974
13975
13976 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13977 PyObject *resultobj = 0;
13978 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13979 size_t result;
13980 void *argp1 = 0 ;
13981 int res1 = 0 ;
13982 PyObject *swig_obj[1] ;
13983
13984 if (!args) SWIG_fail;
13985 swig_obj[0] = args;
13986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13987 if (!SWIG_IsOK(res1)) {
13988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13989 }
13990 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13991 {
13992 PyThreadState* __tstate = wxPyBeginAllowThreads();
13993 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13994 wxPyEndAllowThreads(__tstate);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 }
13997 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13998 return resultobj;
13999 fail:
14000 return NULL;
14001 }
14002
14003
14004 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14005 PyObject *resultobj = 0;
14006 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14007 size_t arg2 ;
14008 bool result;
14009 void *argp1 = 0 ;
14010 int res1 = 0 ;
14011 size_t val2 ;
14012 int ecode2 = 0 ;
14013 PyObject * obj0 = 0 ;
14014 PyObject * obj1 = 0 ;
14015 char * kwnames[] = {
14016 (char *) "self",(char *) "line", NULL
14017 };
14018
14019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14021 if (!SWIG_IsOK(res1)) {
14022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14023 }
14024 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14025 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14026 if (!SWIG_IsOK(ecode2)) {
14027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14028 }
14029 arg2 = static_cast< size_t >(val2);
14030 {
14031 PyThreadState* __tstate = wxPyBeginAllowThreads();
14032 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14033 wxPyEndAllowThreads(__tstate);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 }
14036 {
14037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14038 }
14039 return resultobj;
14040 fail:
14041 return NULL;
14042 }
14043
14044
14045 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14046 PyObject *resultobj = 0;
14047 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14048 size_t result;
14049 void *argp1 = 0 ;
14050 int res1 = 0 ;
14051 PyObject *swig_obj[1] ;
14052
14053 if (!args) SWIG_fail;
14054 swig_obj[0] = args;
14055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14056 if (!SWIG_IsOK(res1)) {
14057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14058 }
14059 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14060 {
14061 PyThreadState* __tstate = wxPyBeginAllowThreads();
14062 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14063 wxPyEndAllowThreads(__tstate);
14064 if (PyErr_Occurred()) SWIG_fail;
14065 }
14066 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14067 return resultobj;
14068 fail:
14069 return NULL;
14070 }
14071
14072
14073 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14074 PyObject *resultobj = 0;
14075 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14076 size_t result;
14077 void *argp1 = 0 ;
14078 int res1 = 0 ;
14079 PyObject *swig_obj[1] ;
14080
14081 if (!args) SWIG_fail;
14082 swig_obj[0] = args;
14083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14084 if (!SWIG_IsOK(res1)) {
14085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14086 }
14087 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14088 {
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
14090 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14091 wxPyEndAllowThreads(__tstate);
14092 if (PyErr_Occurred()) SWIG_fail;
14093 }
14094 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14095 return resultobj;
14096 fail:
14097 return NULL;
14098 }
14099
14100
14101 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14102 PyObject *resultobj = 0;
14103 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14104 size_t arg2 ;
14105 bool arg3 = (bool) false ;
14106 size_t result;
14107 void *argp1 = 0 ;
14108 int res1 = 0 ;
14109 size_t val2 ;
14110 int ecode2 = 0 ;
14111 bool val3 ;
14112 int ecode3 = 0 ;
14113 PyObject * obj0 = 0 ;
14114 PyObject * obj1 = 0 ;
14115 PyObject * obj2 = 0 ;
14116 char * kwnames[] = {
14117 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14118 };
14119
14120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14122 if (!SWIG_IsOK(res1)) {
14123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14124 }
14125 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14126 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14127 if (!SWIG_IsOK(ecode2)) {
14128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14129 }
14130 arg2 = static_cast< size_t >(val2);
14131 if (obj2) {
14132 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14133 if (!SWIG_IsOK(ecode3)) {
14134 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14135 }
14136 arg3 = static_cast< bool >(val3);
14137 }
14138 {
14139 PyThreadState* __tstate = wxPyBeginAllowThreads();
14140 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14141 wxPyEndAllowThreads(__tstate);
14142 if (PyErr_Occurred()) SWIG_fail;
14143 }
14144 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14145 return resultobj;
14146 fail:
14147 return NULL;
14148 }
14149
14150
14151 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14152 PyObject *resultobj = 0;
14153 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14154 size_t arg2 ;
14155 size_t arg3 ;
14156 int result;
14157 void *argp1 = 0 ;
14158 int res1 = 0 ;
14159 size_t val2 ;
14160 int ecode2 = 0 ;
14161 size_t val3 ;
14162 int ecode3 = 0 ;
14163 PyObject * obj0 = 0 ;
14164 PyObject * obj1 = 0 ;
14165 PyObject * obj2 = 0 ;
14166 char * kwnames[] = {
14167 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14168 };
14169
14170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14172 if (!SWIG_IsOK(res1)) {
14173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14174 }
14175 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14176 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14177 if (!SWIG_IsOK(ecode2)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14179 }
14180 arg2 = static_cast< size_t >(val2);
14181 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14182 if (!SWIG_IsOK(ecode3)) {
14183 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14184 }
14185 arg3 = static_cast< size_t >(val3);
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 resultobj = SWIG_From_int(static_cast< int >(result));
14193 return resultobj;
14194 fail:
14195 return NULL;
14196 }
14197
14198
14199 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14200 PyObject *obj;
14201 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14202 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14203 return SWIG_Py_Void();
14204 }
14205
14206 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14207 return SWIG_Python_InitShadowInstance(args);
14208 }
14209
14210 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14211 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14212 return 1;
14213 }
14214
14215
14216 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14217 PyObject *pyobj = 0;
14218
14219 {
14220 #if wxUSE_UNICODE
14221 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14222 #else
14223 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14224 #endif
14225 }
14226 return pyobj;
14227 }
14228
14229
14230 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14231 PyObject *resultobj = 0;
14232 wxWindow *arg1 = (wxWindow *) 0 ;
14233 int arg2 = (int) wxID_ANY ;
14234 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14235 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14236 wxSize const &arg4_defvalue = wxDefaultSize ;
14237 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14238 long arg5 = (long) 0 ;
14239 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14240 wxString *arg6 = (wxString *) &arg6_defvalue ;
14241 wxPyVListBox *result = 0 ;
14242 void *argp1 = 0 ;
14243 int res1 = 0 ;
14244 int val2 ;
14245 int ecode2 = 0 ;
14246 wxPoint temp3 ;
14247 wxSize temp4 ;
14248 long val5 ;
14249 int ecode5 = 0 ;
14250 bool temp6 = false ;
14251 PyObject * obj0 = 0 ;
14252 PyObject * obj1 = 0 ;
14253 PyObject * obj2 = 0 ;
14254 PyObject * obj3 = 0 ;
14255 PyObject * obj4 = 0 ;
14256 PyObject * obj5 = 0 ;
14257 char * kwnames[] = {
14258 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14259 };
14260
14261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14263 if (!SWIG_IsOK(res1)) {
14264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14265 }
14266 arg1 = reinterpret_cast< wxWindow * >(argp1);
14267 if (obj1) {
14268 ecode2 = SWIG_AsVal_int(obj1, &val2);
14269 if (!SWIG_IsOK(ecode2)) {
14270 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14271 }
14272 arg2 = static_cast< int >(val2);
14273 }
14274 if (obj2) {
14275 {
14276 arg3 = &temp3;
14277 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14278 }
14279 }
14280 if (obj3) {
14281 {
14282 arg4 = &temp4;
14283 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14284 }
14285 }
14286 if (obj4) {
14287 ecode5 = SWIG_AsVal_long(obj4, &val5);
14288 if (!SWIG_IsOK(ecode5)) {
14289 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14290 }
14291 arg5 = static_cast< long >(val5);
14292 }
14293 if (obj5) {
14294 {
14295 arg6 = wxString_in_helper(obj5);
14296 if (arg6 == NULL) SWIG_fail;
14297 temp6 = true;
14298 }
14299 }
14300 {
14301 if (!wxPyCheckForApp()) SWIG_fail;
14302 PyThreadState* __tstate = wxPyBeginAllowThreads();
14303 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14308 {
14309 if (temp6)
14310 delete arg6;
14311 }
14312 return resultobj;
14313 fail:
14314 {
14315 if (temp6)
14316 delete arg6;
14317 }
14318 return NULL;
14319 }
14320
14321
14322 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14323 PyObject *resultobj = 0;
14324 wxPyVListBox *result = 0 ;
14325
14326 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14327 {
14328 if (!wxPyCheckForApp()) SWIG_fail;
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 result = (wxPyVListBox *)new wxPyVListBox();
14331 wxPyEndAllowThreads(__tstate);
14332 if (PyErr_Occurred()) SWIG_fail;
14333 }
14334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14335 return resultobj;
14336 fail:
14337 return NULL;
14338 }
14339
14340
14341 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14342 PyObject *resultobj = 0;
14343 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14344 PyObject *arg2 = (PyObject *) 0 ;
14345 PyObject *arg3 = (PyObject *) 0 ;
14346 void *argp1 = 0 ;
14347 int res1 = 0 ;
14348 PyObject * obj0 = 0 ;
14349 PyObject * obj1 = 0 ;
14350 PyObject * obj2 = 0 ;
14351 char * kwnames[] = {
14352 (char *) "self",(char *) "self",(char *) "_class", NULL
14353 };
14354
14355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14357 if (!SWIG_IsOK(res1)) {
14358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14359 }
14360 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14361 arg2 = obj1;
14362 arg3 = obj2;
14363 {
14364 PyThreadState* __tstate = wxPyBeginAllowThreads();
14365 (arg1)->_setCallbackInfo(arg2,arg3);
14366 wxPyEndAllowThreads(__tstate);
14367 if (PyErr_Occurred()) SWIG_fail;
14368 }
14369 resultobj = SWIG_Py_Void();
14370 return resultobj;
14371 fail:
14372 return NULL;
14373 }
14374
14375
14376 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14377 PyObject *resultobj = 0;
14378 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14379 wxWindow *arg2 = (wxWindow *) 0 ;
14380 int arg3 = (int) wxID_ANY ;
14381 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14382 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14383 wxSize const &arg5_defvalue = wxDefaultSize ;
14384 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14385 long arg6 = (long) 0 ;
14386 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14387 wxString *arg7 = (wxString *) &arg7_defvalue ;
14388 bool result;
14389 void *argp1 = 0 ;
14390 int res1 = 0 ;
14391 void *argp2 = 0 ;
14392 int res2 = 0 ;
14393 int val3 ;
14394 int ecode3 = 0 ;
14395 wxPoint temp4 ;
14396 wxSize temp5 ;
14397 long val6 ;
14398 int ecode6 = 0 ;
14399 bool temp7 = false ;
14400 PyObject * obj0 = 0 ;
14401 PyObject * obj1 = 0 ;
14402 PyObject * obj2 = 0 ;
14403 PyObject * obj3 = 0 ;
14404 PyObject * obj4 = 0 ;
14405 PyObject * obj5 = 0 ;
14406 PyObject * obj6 = 0 ;
14407 char * kwnames[] = {
14408 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14409 };
14410
14411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14413 if (!SWIG_IsOK(res1)) {
14414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14415 }
14416 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14417 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14418 if (!SWIG_IsOK(res2)) {
14419 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14420 }
14421 arg2 = reinterpret_cast< wxWindow * >(argp2);
14422 if (obj2) {
14423 ecode3 = SWIG_AsVal_int(obj2, &val3);
14424 if (!SWIG_IsOK(ecode3)) {
14425 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14426 }
14427 arg3 = static_cast< int >(val3);
14428 }
14429 if (obj3) {
14430 {
14431 arg4 = &temp4;
14432 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14433 }
14434 }
14435 if (obj4) {
14436 {
14437 arg5 = &temp5;
14438 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14439 }
14440 }
14441 if (obj5) {
14442 ecode6 = SWIG_AsVal_long(obj5, &val6);
14443 if (!SWIG_IsOK(ecode6)) {
14444 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14445 }
14446 arg6 = static_cast< long >(val6);
14447 }
14448 if (obj6) {
14449 {
14450 arg7 = wxString_in_helper(obj6);
14451 if (arg7 == NULL) SWIG_fail;
14452 temp7 = true;
14453 }
14454 }
14455 {
14456 PyThreadState* __tstate = wxPyBeginAllowThreads();
14457 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14458 wxPyEndAllowThreads(__tstate);
14459 if (PyErr_Occurred()) SWIG_fail;
14460 }
14461 {
14462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14463 }
14464 {
14465 if (temp7)
14466 delete arg7;
14467 }
14468 return resultobj;
14469 fail:
14470 {
14471 if (temp7)
14472 delete arg7;
14473 }
14474 return NULL;
14475 }
14476
14477
14478 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14479 PyObject *resultobj = 0;
14480 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14481 size_t result;
14482 void *argp1 = 0 ;
14483 int res1 = 0 ;
14484 PyObject *swig_obj[1] ;
14485
14486 if (!args) SWIG_fail;
14487 swig_obj[0] = args;
14488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14489 if (!SWIG_IsOK(res1)) {
14490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14491 }
14492 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14493 {
14494 PyThreadState* __tstate = wxPyBeginAllowThreads();
14495 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14496 wxPyEndAllowThreads(__tstate);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
14499 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14500 return resultobj;
14501 fail:
14502 return NULL;
14503 }
14504
14505
14506 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14507 PyObject *resultobj = 0;
14508 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14509 bool result;
14510 void *argp1 = 0 ;
14511 int res1 = 0 ;
14512 PyObject *swig_obj[1] ;
14513
14514 if (!args) SWIG_fail;
14515 swig_obj[0] = args;
14516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14517 if (!SWIG_IsOK(res1)) {
14518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14519 }
14520 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14521 {
14522 PyThreadState* __tstate = wxPyBeginAllowThreads();
14523 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14524 wxPyEndAllowThreads(__tstate);
14525 if (PyErr_Occurred()) SWIG_fail;
14526 }
14527 {
14528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14529 }
14530 return resultobj;
14531 fail:
14532 return NULL;
14533 }
14534
14535
14536 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14537 PyObject *resultobj = 0;
14538 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14539 int result;
14540 void *argp1 = 0 ;
14541 int res1 = 0 ;
14542 PyObject *swig_obj[1] ;
14543
14544 if (!args) SWIG_fail;
14545 swig_obj[0] = args;
14546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14547 if (!SWIG_IsOK(res1)) {
14548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14549 }
14550 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14551 {
14552 PyThreadState* __tstate = wxPyBeginAllowThreads();
14553 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14554 wxPyEndAllowThreads(__tstate);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 }
14557 resultobj = SWIG_From_int(static_cast< int >(result));
14558 return resultobj;
14559 fail:
14560 return NULL;
14561 }
14562
14563
14564 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14565 PyObject *resultobj = 0;
14566 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14567 size_t arg2 ;
14568 bool result;
14569 void *argp1 = 0 ;
14570 int res1 = 0 ;
14571 size_t val2 ;
14572 int ecode2 = 0 ;
14573 PyObject * obj0 = 0 ;
14574 PyObject * obj1 = 0 ;
14575 char * kwnames[] = {
14576 (char *) "self",(char *) "item", NULL
14577 };
14578
14579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14581 if (!SWIG_IsOK(res1)) {
14582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14583 }
14584 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14585 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14586 if (!SWIG_IsOK(ecode2)) {
14587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14588 }
14589 arg2 = static_cast< size_t >(val2);
14590 {
14591 PyThreadState* __tstate = wxPyBeginAllowThreads();
14592 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14593 wxPyEndAllowThreads(__tstate);
14594 if (PyErr_Occurred()) SWIG_fail;
14595 }
14596 {
14597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14598 }
14599 return resultobj;
14600 fail:
14601 return NULL;
14602 }
14603
14604
14605 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14606 PyObject *resultobj = 0;
14607 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14608 size_t arg2 ;
14609 bool result;
14610 void *argp1 = 0 ;
14611 int res1 = 0 ;
14612 size_t val2 ;
14613 int ecode2 = 0 ;
14614 PyObject * obj0 = 0 ;
14615 PyObject * obj1 = 0 ;
14616 char * kwnames[] = {
14617 (char *) "self",(char *) "item", NULL
14618 };
14619
14620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14622 if (!SWIG_IsOK(res1)) {
14623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14624 }
14625 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14626 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14627 if (!SWIG_IsOK(ecode2)) {
14628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14629 }
14630 arg2 = static_cast< size_t >(val2);
14631 {
14632 PyThreadState* __tstate = wxPyBeginAllowThreads();
14633 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14634 wxPyEndAllowThreads(__tstate);
14635 if (PyErr_Occurred()) SWIG_fail;
14636 }
14637 {
14638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14639 }
14640 return resultobj;
14641 fail:
14642 return NULL;
14643 }
14644
14645
14646 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14647 PyObject *resultobj = 0;
14648 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14649 size_t result;
14650 void *argp1 = 0 ;
14651 int res1 = 0 ;
14652 PyObject *swig_obj[1] ;
14653
14654 if (!args) SWIG_fail;
14655 swig_obj[0] = args;
14656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14657 if (!SWIG_IsOK(res1)) {
14658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14659 }
14660 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14661 {
14662 PyThreadState* __tstate = wxPyBeginAllowThreads();
14663 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14664 wxPyEndAllowThreads(__tstate);
14665 if (PyErr_Occurred()) SWIG_fail;
14666 }
14667 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14668 return resultobj;
14669 fail:
14670 return NULL;
14671 }
14672
14673
14674 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14675 PyObject *resultobj = 0;
14676 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14677 PyObject *result = 0 ;
14678 void *argp1 = 0 ;
14679 int res1 = 0 ;
14680 PyObject *swig_obj[1] ;
14681
14682 if (!args) SWIG_fail;
14683 swig_obj[0] = args;
14684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14685 if (!SWIG_IsOK(res1)) {
14686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14687 }
14688 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14689 {
14690 PyThreadState* __tstate = wxPyBeginAllowThreads();
14691 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14692 wxPyEndAllowThreads(__tstate);
14693 if (PyErr_Occurred()) SWIG_fail;
14694 }
14695 resultobj = result;
14696 return resultobj;
14697 fail:
14698 return NULL;
14699 }
14700
14701
14702 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14703 PyObject *resultobj = 0;
14704 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14705 unsigned long arg2 ;
14706 PyObject *result = 0 ;
14707 void *argp1 = 0 ;
14708 int res1 = 0 ;
14709 unsigned long val2 ;
14710 int ecode2 = 0 ;
14711 PyObject * obj0 = 0 ;
14712 PyObject * obj1 = 0 ;
14713 char * kwnames[] = {
14714 (char *) "self",(char *) "cookie", NULL
14715 };
14716
14717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14719 if (!SWIG_IsOK(res1)) {
14720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14721 }
14722 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14723 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14724 if (!SWIG_IsOK(ecode2)) {
14725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14726 }
14727 arg2 = static_cast< unsigned long >(val2);
14728 {
14729 PyThreadState* __tstate = wxPyBeginAllowThreads();
14730 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14731 wxPyEndAllowThreads(__tstate);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 }
14734 resultobj = result;
14735 return resultobj;
14736 fail:
14737 return NULL;
14738 }
14739
14740
14741 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14742 PyObject *resultobj = 0;
14743 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14744 wxPoint result;
14745 void *argp1 = 0 ;
14746 int res1 = 0 ;
14747 PyObject *swig_obj[1] ;
14748
14749 if (!args) SWIG_fail;
14750 swig_obj[0] = args;
14751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14752 if (!SWIG_IsOK(res1)) {
14753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14754 }
14755 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14756 {
14757 PyThreadState* __tstate = wxPyBeginAllowThreads();
14758 result = ((wxPyVListBox const *)arg1)->GetMargins();
14759 wxPyEndAllowThreads(__tstate);
14760 if (PyErr_Occurred()) SWIG_fail;
14761 }
14762 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14763 return resultobj;
14764 fail:
14765 return NULL;
14766 }
14767
14768
14769 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14770 PyObject *resultobj = 0;
14771 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14772 wxColour *result = 0 ;
14773 void *argp1 = 0 ;
14774 int res1 = 0 ;
14775 PyObject *swig_obj[1] ;
14776
14777 if (!args) SWIG_fail;
14778 swig_obj[0] = args;
14779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14780 if (!SWIG_IsOK(res1)) {
14781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14782 }
14783 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14784 {
14785 PyThreadState* __tstate = wxPyBeginAllowThreads();
14786 {
14787 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14788 result = (wxColour *) &_result_ref;
14789 }
14790 wxPyEndAllowThreads(__tstate);
14791 if (PyErr_Occurred()) SWIG_fail;
14792 }
14793 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14794 return resultobj;
14795 fail:
14796 return NULL;
14797 }
14798
14799
14800 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14801 PyObject *resultobj = 0;
14802 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14803 size_t arg2 ;
14804 void *argp1 = 0 ;
14805 int res1 = 0 ;
14806 size_t val2 ;
14807 int ecode2 = 0 ;
14808 PyObject * obj0 = 0 ;
14809 PyObject * obj1 = 0 ;
14810 char * kwnames[] = {
14811 (char *) "self",(char *) "count", NULL
14812 };
14813
14814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14816 if (!SWIG_IsOK(res1)) {
14817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14818 }
14819 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14820 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14821 if (!SWIG_IsOK(ecode2)) {
14822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14823 }
14824 arg2 = static_cast< size_t >(val2);
14825 {
14826 PyThreadState* __tstate = wxPyBeginAllowThreads();
14827 (arg1)->SetItemCount(arg2);
14828 wxPyEndAllowThreads(__tstate);
14829 if (PyErr_Occurred()) SWIG_fail;
14830 }
14831 resultobj = SWIG_Py_Void();
14832 return resultobj;
14833 fail:
14834 return NULL;
14835 }
14836
14837
14838 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14839 PyObject *resultobj = 0;
14840 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14841 void *argp1 = 0 ;
14842 int res1 = 0 ;
14843 PyObject *swig_obj[1] ;
14844
14845 if (!args) SWIG_fail;
14846 swig_obj[0] = args;
14847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14848 if (!SWIG_IsOK(res1)) {
14849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14850 }
14851 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14852 {
14853 PyThreadState* __tstate = wxPyBeginAllowThreads();
14854 (arg1)->Clear();
14855 wxPyEndAllowThreads(__tstate);
14856 if (PyErr_Occurred()) SWIG_fail;
14857 }
14858 resultobj = SWIG_Py_Void();
14859 return resultobj;
14860 fail:
14861 return NULL;
14862 }
14863
14864
14865 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14866 PyObject *resultobj = 0;
14867 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14868 int arg2 ;
14869 void *argp1 = 0 ;
14870 int res1 = 0 ;
14871 int val2 ;
14872 int ecode2 = 0 ;
14873 PyObject * obj0 = 0 ;
14874 PyObject * obj1 = 0 ;
14875 char * kwnames[] = {
14876 (char *) "self",(char *) "selection", NULL
14877 };
14878
14879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14881 if (!SWIG_IsOK(res1)) {
14882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14883 }
14884 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14885 ecode2 = SWIG_AsVal_int(obj1, &val2);
14886 if (!SWIG_IsOK(ecode2)) {
14887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14888 }
14889 arg2 = static_cast< int >(val2);
14890 {
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
14892 (arg1)->SetSelection(arg2);
14893 wxPyEndAllowThreads(__tstate);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 }
14896 resultobj = SWIG_Py_Void();
14897 return resultobj;
14898 fail:
14899 return NULL;
14900 }
14901
14902
14903 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14904 PyObject *resultobj = 0;
14905 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14906 size_t arg2 ;
14907 bool arg3 = (bool) true ;
14908 bool result;
14909 void *argp1 = 0 ;
14910 int res1 = 0 ;
14911 size_t val2 ;
14912 int ecode2 = 0 ;
14913 bool val3 ;
14914 int ecode3 = 0 ;
14915 PyObject * obj0 = 0 ;
14916 PyObject * obj1 = 0 ;
14917 PyObject * obj2 = 0 ;
14918 char * kwnames[] = {
14919 (char *) "self",(char *) "item",(char *) "select", NULL
14920 };
14921
14922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14924 if (!SWIG_IsOK(res1)) {
14925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14926 }
14927 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14928 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14929 if (!SWIG_IsOK(ecode2)) {
14930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14931 }
14932 arg2 = static_cast< size_t >(val2);
14933 if (obj2) {
14934 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14935 if (!SWIG_IsOK(ecode3)) {
14936 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14937 }
14938 arg3 = static_cast< bool >(val3);
14939 }
14940 {
14941 PyThreadState* __tstate = wxPyBeginAllowThreads();
14942 result = (bool)(arg1)->Select(arg2,arg3);
14943 wxPyEndAllowThreads(__tstate);
14944 if (PyErr_Occurred()) SWIG_fail;
14945 }
14946 {
14947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14948 }
14949 return resultobj;
14950 fail:
14951 return NULL;
14952 }
14953
14954
14955 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14956 PyObject *resultobj = 0;
14957 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14958 size_t arg2 ;
14959 size_t arg3 ;
14960 bool result;
14961 void *argp1 = 0 ;
14962 int res1 = 0 ;
14963 size_t val2 ;
14964 int ecode2 = 0 ;
14965 size_t val3 ;
14966 int ecode3 = 0 ;
14967 PyObject * obj0 = 0 ;
14968 PyObject * obj1 = 0 ;
14969 PyObject * obj2 = 0 ;
14970 char * kwnames[] = {
14971 (char *) "self",(char *) "from",(char *) "to", NULL
14972 };
14973
14974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14976 if (!SWIG_IsOK(res1)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14978 }
14979 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14980 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14981 if (!SWIG_IsOK(ecode2)) {
14982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14983 }
14984 arg2 = static_cast< size_t >(val2);
14985 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14986 if (!SWIG_IsOK(ecode3)) {
14987 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14988 }
14989 arg3 = static_cast< size_t >(val3);
14990 {
14991 PyThreadState* __tstate = wxPyBeginAllowThreads();
14992 result = (bool)(arg1)->SelectRange(arg2,arg3);
14993 wxPyEndAllowThreads(__tstate);
14994 if (PyErr_Occurred()) SWIG_fail;
14995 }
14996 {
14997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14998 }
14999 return resultobj;
15000 fail:
15001 return NULL;
15002 }
15003
15004
15005 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15006 PyObject *resultobj = 0;
15007 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15008 size_t arg2 ;
15009 void *argp1 = 0 ;
15010 int res1 = 0 ;
15011 size_t val2 ;
15012 int ecode2 = 0 ;
15013 PyObject * obj0 = 0 ;
15014 PyObject * obj1 = 0 ;
15015 char * kwnames[] = {
15016 (char *) "self",(char *) "item", NULL
15017 };
15018
15019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15021 if (!SWIG_IsOK(res1)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15023 }
15024 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15025 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15026 if (!SWIG_IsOK(ecode2)) {
15027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15028 }
15029 arg2 = static_cast< size_t >(val2);
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 (arg1)->Toggle(arg2);
15033 wxPyEndAllowThreads(__tstate);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 }
15036 resultobj = SWIG_Py_Void();
15037 return resultobj;
15038 fail:
15039 return NULL;
15040 }
15041
15042
15043 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15044 PyObject *resultobj = 0;
15045 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15046 bool result;
15047 void *argp1 = 0 ;
15048 int res1 = 0 ;
15049 PyObject *swig_obj[1] ;
15050
15051 if (!args) SWIG_fail;
15052 swig_obj[0] = args;
15053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15054 if (!SWIG_IsOK(res1)) {
15055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15056 }
15057 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15058 {
15059 PyThreadState* __tstate = wxPyBeginAllowThreads();
15060 result = (bool)(arg1)->SelectAll();
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
15064 {
15065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15066 }
15067 return resultobj;
15068 fail:
15069 return NULL;
15070 }
15071
15072
15073 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15074 PyObject *resultobj = 0;
15075 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15076 bool result;
15077 void *argp1 = 0 ;
15078 int res1 = 0 ;
15079 PyObject *swig_obj[1] ;
15080
15081 if (!args) SWIG_fail;
15082 swig_obj[0] = args;
15083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15084 if (!SWIG_IsOK(res1)) {
15085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15086 }
15087 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15088 {
15089 PyThreadState* __tstate = wxPyBeginAllowThreads();
15090 result = (bool)(arg1)->DeselectAll();
15091 wxPyEndAllowThreads(__tstate);
15092 if (PyErr_Occurred()) SWIG_fail;
15093 }
15094 {
15095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15096 }
15097 return resultobj;
15098 fail:
15099 return NULL;
15100 }
15101
15102
15103 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15104 PyObject *resultobj = 0;
15105 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15106 wxPoint *arg2 = 0 ;
15107 void *argp1 = 0 ;
15108 int res1 = 0 ;
15109 wxPoint temp2 ;
15110 PyObject * obj0 = 0 ;
15111 PyObject * obj1 = 0 ;
15112 char * kwnames[] = {
15113 (char *) "self",(char *) "pt", NULL
15114 };
15115
15116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15118 if (!SWIG_IsOK(res1)) {
15119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15120 }
15121 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15122 {
15123 arg2 = &temp2;
15124 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15125 }
15126 {
15127 PyThreadState* __tstate = wxPyBeginAllowThreads();
15128 (arg1)->SetMargins((wxPoint const &)*arg2);
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15132 resultobj = SWIG_Py_Void();
15133 return resultobj;
15134 fail:
15135 return NULL;
15136 }
15137
15138
15139 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15140 PyObject *resultobj = 0;
15141 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15142 int arg2 ;
15143 int arg3 ;
15144 void *argp1 = 0 ;
15145 int res1 = 0 ;
15146 int val2 ;
15147 int ecode2 = 0 ;
15148 int val3 ;
15149 int ecode3 = 0 ;
15150 PyObject * obj0 = 0 ;
15151 PyObject * obj1 = 0 ;
15152 PyObject * obj2 = 0 ;
15153 char * kwnames[] = {
15154 (char *) "self",(char *) "x",(char *) "y", NULL
15155 };
15156
15157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15159 if (!SWIG_IsOK(res1)) {
15160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15161 }
15162 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15163 ecode2 = SWIG_AsVal_int(obj1, &val2);
15164 if (!SWIG_IsOK(ecode2)) {
15165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15166 }
15167 arg2 = static_cast< int >(val2);
15168 ecode3 = SWIG_AsVal_int(obj2, &val3);
15169 if (!SWIG_IsOK(ecode3)) {
15170 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15171 }
15172 arg3 = static_cast< int >(val3);
15173 {
15174 PyThreadState* __tstate = wxPyBeginAllowThreads();
15175 (arg1)->SetMargins(arg2,arg3);
15176 wxPyEndAllowThreads(__tstate);
15177 if (PyErr_Occurred()) SWIG_fail;
15178 }
15179 resultobj = SWIG_Py_Void();
15180 return resultobj;
15181 fail:
15182 return NULL;
15183 }
15184
15185
15186 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15187 PyObject *resultobj = 0;
15188 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15189 wxColour *arg2 = 0 ;
15190 void *argp1 = 0 ;
15191 int res1 = 0 ;
15192 wxColour temp2 ;
15193 PyObject * obj0 = 0 ;
15194 PyObject * obj1 = 0 ;
15195 char * kwnames[] = {
15196 (char *) "self",(char *) "col", NULL
15197 };
15198
15199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15201 if (!SWIG_IsOK(res1)) {
15202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15203 }
15204 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15205 {
15206 arg2 = &temp2;
15207 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15208 }
15209 {
15210 PyThreadState* __tstate = wxPyBeginAllowThreads();
15211 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15212 wxPyEndAllowThreads(__tstate);
15213 if (PyErr_Occurred()) SWIG_fail;
15214 }
15215 resultobj = SWIG_Py_Void();
15216 return resultobj;
15217 fail:
15218 return NULL;
15219 }
15220
15221
15222 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15223 PyObject *resultobj = 0;
15224 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15225 wxDC *arg2 = 0 ;
15226 wxRect *arg3 = 0 ;
15227 size_t arg4 ;
15228 void *argp1 = 0 ;
15229 int res1 = 0 ;
15230 void *argp2 = 0 ;
15231 int res2 = 0 ;
15232 wxRect temp3 ;
15233 size_t val4 ;
15234 int ecode4 = 0 ;
15235 PyObject * obj0 = 0 ;
15236 PyObject * obj1 = 0 ;
15237 PyObject * obj2 = 0 ;
15238 PyObject * obj3 = 0 ;
15239 char * kwnames[] = {
15240 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15241 };
15242
15243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15245 if (!SWIG_IsOK(res1)) {
15246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15247 }
15248 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15249 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15250 if (!SWIG_IsOK(res2)) {
15251 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15252 }
15253 if (!argp2) {
15254 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15255 }
15256 arg2 = reinterpret_cast< wxDC * >(argp2);
15257 {
15258 arg3 = &temp3;
15259 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15260 }
15261 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15262 if (!SWIG_IsOK(ecode4)) {
15263 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15264 }
15265 arg4 = static_cast< size_t >(val4);
15266 {
15267 PyThreadState* __tstate = wxPyBeginAllowThreads();
15268 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15269 wxPyEndAllowThreads(__tstate);
15270 if (PyErr_Occurred()) SWIG_fail;
15271 }
15272 resultobj = SWIG_Py_Void();
15273 return resultobj;
15274 fail:
15275 return NULL;
15276 }
15277
15278
15279 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15280 PyObject *resultobj = 0;
15281 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15282 wxDC *arg2 = 0 ;
15283 wxRect *arg3 = 0 ;
15284 size_t arg4 ;
15285 void *argp1 = 0 ;
15286 int res1 = 0 ;
15287 void *argp2 = 0 ;
15288 int res2 = 0 ;
15289 wxRect temp3 ;
15290 size_t val4 ;
15291 int ecode4 = 0 ;
15292 PyObject * obj0 = 0 ;
15293 PyObject * obj1 = 0 ;
15294 PyObject * obj2 = 0 ;
15295 PyObject * obj3 = 0 ;
15296 char * kwnames[] = {
15297 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15298 };
15299
15300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15302 if (!SWIG_IsOK(res1)) {
15303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15304 }
15305 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15306 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15307 if (!SWIG_IsOK(res2)) {
15308 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15309 }
15310 if (!argp2) {
15311 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15312 }
15313 arg2 = reinterpret_cast< wxDC * >(argp2);
15314 {
15315 arg3 = &temp3;
15316 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15317 }
15318 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15319 if (!SWIG_IsOK(ecode4)) {
15320 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15321 }
15322 arg4 = static_cast< size_t >(val4);
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 resultobj = SWIG_Py_Void();
15330 return resultobj;
15331 fail:
15332 return NULL;
15333 }
15334
15335
15336 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15337 PyObject *obj;
15338 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15339 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15340 return SWIG_Py_Void();
15341 }
15342
15343 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15344 return SWIG_Python_InitShadowInstance(args);
15345 }
15346
15347 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15348 PyObject *resultobj = 0;
15349 wxWindow *arg1 = (wxWindow *) 0 ;
15350 int arg2 = (int) wxID_ANY ;
15351 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15352 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15353 wxSize const &arg4_defvalue = wxDefaultSize ;
15354 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15355 long arg5 = (long) 0 ;
15356 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15357 wxString *arg6 = (wxString *) &arg6_defvalue ;
15358 wxPyHtmlListBox *result = 0 ;
15359 void *argp1 = 0 ;
15360 int res1 = 0 ;
15361 int val2 ;
15362 int ecode2 = 0 ;
15363 wxPoint temp3 ;
15364 wxSize temp4 ;
15365 long val5 ;
15366 int ecode5 = 0 ;
15367 bool temp6 = false ;
15368 PyObject * obj0 = 0 ;
15369 PyObject * obj1 = 0 ;
15370 PyObject * obj2 = 0 ;
15371 PyObject * obj3 = 0 ;
15372 PyObject * obj4 = 0 ;
15373 PyObject * obj5 = 0 ;
15374 char * kwnames[] = {
15375 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15376 };
15377
15378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15380 if (!SWIG_IsOK(res1)) {
15381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15382 }
15383 arg1 = reinterpret_cast< wxWindow * >(argp1);
15384 if (obj1) {
15385 ecode2 = SWIG_AsVal_int(obj1, &val2);
15386 if (!SWIG_IsOK(ecode2)) {
15387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15388 }
15389 arg2 = static_cast< int >(val2);
15390 }
15391 if (obj2) {
15392 {
15393 arg3 = &temp3;
15394 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15395 }
15396 }
15397 if (obj3) {
15398 {
15399 arg4 = &temp4;
15400 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15401 }
15402 }
15403 if (obj4) {
15404 ecode5 = SWIG_AsVal_long(obj4, &val5);
15405 if (!SWIG_IsOK(ecode5)) {
15406 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15407 }
15408 arg5 = static_cast< long >(val5);
15409 }
15410 if (obj5) {
15411 {
15412 arg6 = wxString_in_helper(obj5);
15413 if (arg6 == NULL) SWIG_fail;
15414 temp6 = true;
15415 }
15416 }
15417 {
15418 if (!wxPyCheckForApp()) SWIG_fail;
15419 PyThreadState* __tstate = wxPyBeginAllowThreads();
15420 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15421 wxPyEndAllowThreads(__tstate);
15422 if (PyErr_Occurred()) SWIG_fail;
15423 }
15424 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15425 {
15426 if (temp6)
15427 delete arg6;
15428 }
15429 return resultobj;
15430 fail:
15431 {
15432 if (temp6)
15433 delete arg6;
15434 }
15435 return NULL;
15436 }
15437
15438
15439 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15440 PyObject *resultobj = 0;
15441 wxPyHtmlListBox *result = 0 ;
15442
15443 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15444 {
15445 if (!wxPyCheckForApp()) SWIG_fail;
15446 PyThreadState* __tstate = wxPyBeginAllowThreads();
15447 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15452 return resultobj;
15453 fail:
15454 return NULL;
15455 }
15456
15457
15458 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15459 PyObject *resultobj = 0;
15460 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15461 PyObject *arg2 = (PyObject *) 0 ;
15462 PyObject *arg3 = (PyObject *) 0 ;
15463 void *argp1 = 0 ;
15464 int res1 = 0 ;
15465 PyObject * obj0 = 0 ;
15466 PyObject * obj1 = 0 ;
15467 PyObject * obj2 = 0 ;
15468 char * kwnames[] = {
15469 (char *) "self",(char *) "self",(char *) "_class", NULL
15470 };
15471
15472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15474 if (!SWIG_IsOK(res1)) {
15475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15476 }
15477 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15478 arg2 = obj1;
15479 arg3 = obj2;
15480 {
15481 PyThreadState* __tstate = wxPyBeginAllowThreads();
15482 (arg1)->_setCallbackInfo(arg2,arg3);
15483 wxPyEndAllowThreads(__tstate);
15484 if (PyErr_Occurred()) SWIG_fail;
15485 }
15486 resultobj = SWIG_Py_Void();
15487 return resultobj;
15488 fail:
15489 return NULL;
15490 }
15491
15492
15493 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15494 PyObject *resultobj = 0;
15495 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15496 wxWindow *arg2 = (wxWindow *) 0 ;
15497 int arg3 = (int) wxID_ANY ;
15498 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15499 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15500 wxSize const &arg5_defvalue = wxDefaultSize ;
15501 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15502 long arg6 = (long) 0 ;
15503 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15504 wxString *arg7 = (wxString *) &arg7_defvalue ;
15505 bool result;
15506 void *argp1 = 0 ;
15507 int res1 = 0 ;
15508 void *argp2 = 0 ;
15509 int res2 = 0 ;
15510 int val3 ;
15511 int ecode3 = 0 ;
15512 wxPoint temp4 ;
15513 wxSize temp5 ;
15514 long val6 ;
15515 int ecode6 = 0 ;
15516 bool temp7 = false ;
15517 PyObject * obj0 = 0 ;
15518 PyObject * obj1 = 0 ;
15519 PyObject * obj2 = 0 ;
15520 PyObject * obj3 = 0 ;
15521 PyObject * obj4 = 0 ;
15522 PyObject * obj5 = 0 ;
15523 PyObject * obj6 = 0 ;
15524 char * kwnames[] = {
15525 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15526 };
15527
15528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15530 if (!SWIG_IsOK(res1)) {
15531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15532 }
15533 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15534 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15535 if (!SWIG_IsOK(res2)) {
15536 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15537 }
15538 arg2 = reinterpret_cast< wxWindow * >(argp2);
15539 if (obj2) {
15540 ecode3 = SWIG_AsVal_int(obj2, &val3);
15541 if (!SWIG_IsOK(ecode3)) {
15542 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15543 }
15544 arg3 = static_cast< int >(val3);
15545 }
15546 if (obj3) {
15547 {
15548 arg4 = &temp4;
15549 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15550 }
15551 }
15552 if (obj4) {
15553 {
15554 arg5 = &temp5;
15555 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15556 }
15557 }
15558 if (obj5) {
15559 ecode6 = SWIG_AsVal_long(obj5, &val6);
15560 if (!SWIG_IsOK(ecode6)) {
15561 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15562 }
15563 arg6 = static_cast< long >(val6);
15564 }
15565 if (obj6) {
15566 {
15567 arg7 = wxString_in_helper(obj6);
15568 if (arg7 == NULL) SWIG_fail;
15569 temp7 = true;
15570 }
15571 }
15572 {
15573 PyThreadState* __tstate = wxPyBeginAllowThreads();
15574 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15575 wxPyEndAllowThreads(__tstate);
15576 if (PyErr_Occurred()) SWIG_fail;
15577 }
15578 {
15579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15580 }
15581 {
15582 if (temp7)
15583 delete arg7;
15584 }
15585 return resultobj;
15586 fail:
15587 {
15588 if (temp7)
15589 delete arg7;
15590 }
15591 return NULL;
15592 }
15593
15594
15595 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15596 PyObject *resultobj = 0;
15597 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15598 size_t arg2 ;
15599 void *argp1 = 0 ;
15600 int res1 = 0 ;
15601 size_t val2 ;
15602 int ecode2 = 0 ;
15603 PyObject * obj0 = 0 ;
15604 PyObject * obj1 = 0 ;
15605 char * kwnames[] = {
15606 (char *) "self",(char *) "count", NULL
15607 };
15608
15609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15611 if (!SWIG_IsOK(res1)) {
15612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15613 }
15614 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15615 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15616 if (!SWIG_IsOK(ecode2)) {
15617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15618 }
15619 arg2 = static_cast< size_t >(val2);
15620 {
15621 PyThreadState* __tstate = wxPyBeginAllowThreads();
15622 (arg1)->SetItemCount(arg2);
15623 wxPyEndAllowThreads(__tstate);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 }
15626 resultobj = SWIG_Py_Void();
15627 return resultobj;
15628 fail:
15629 return NULL;
15630 }
15631
15632
15633 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15634 PyObject *resultobj = 0;
15635 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15636 wxFileSystem *result = 0 ;
15637 void *argp1 = 0 ;
15638 int res1 = 0 ;
15639 PyObject *swig_obj[1] ;
15640
15641 if (!args) SWIG_fail;
15642 swig_obj[0] = args;
15643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15644 if (!SWIG_IsOK(res1)) {
15645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15646 }
15647 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15648 {
15649 PyThreadState* __tstate = wxPyBeginAllowThreads();
15650 {
15651 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15652 result = (wxFileSystem *) &_result_ref;
15653 }
15654 wxPyEndAllowThreads(__tstate);
15655 if (PyErr_Occurred()) SWIG_fail;
15656 }
15657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15658 return resultobj;
15659 fail:
15660 return NULL;
15661 }
15662
15663
15664 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15665 PyObject *resultobj = 0;
15666 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15667 size_t arg2 ;
15668 wxHtmlLinkInfo *arg3 = 0 ;
15669 void *argp1 = 0 ;
15670 int res1 = 0 ;
15671 size_t val2 ;
15672 int ecode2 = 0 ;
15673 void *argp3 = 0 ;
15674 int res3 = 0 ;
15675 PyObject * obj0 = 0 ;
15676 PyObject * obj1 = 0 ;
15677 PyObject * obj2 = 0 ;
15678 char * kwnames[] = {
15679 (char *) "self",(char *) "n",(char *) "link", NULL
15680 };
15681
15682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15684 if (!SWIG_IsOK(res1)) {
15685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15686 }
15687 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15688 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15689 if (!SWIG_IsOK(ecode2)) {
15690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15691 }
15692 arg2 = static_cast< size_t >(val2);
15693 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15694 if (!SWIG_IsOK(res3)) {
15695 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15696 }
15697 if (!argp3) {
15698 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15699 }
15700 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15701 {
15702 PyThreadState* __tstate = wxPyBeginAllowThreads();
15703 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15704 wxPyEndAllowThreads(__tstate);
15705 if (PyErr_Occurred()) SWIG_fail;
15706 }
15707 resultobj = SWIG_Py_Void();
15708 return resultobj;
15709 fail:
15710 return NULL;
15711 }
15712
15713
15714 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15715 PyObject *obj;
15716 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15717 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15718 return SWIG_Py_Void();
15719 }
15720
15721 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15722 return SWIG_Python_InitShadowInstance(args);
15723 }
15724
15725 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15726 PyObject *resultobj = 0;
15727 wxPyTaskBarIcon *result = 0 ;
15728
15729 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15730 {
15731 if (!wxPyCheckForApp()) SWIG_fail;
15732 PyThreadState* __tstate = wxPyBeginAllowThreads();
15733 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15734 wxPyEndAllowThreads(__tstate);
15735 if (PyErr_Occurred()) SWIG_fail;
15736 }
15737 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15738 return resultobj;
15739 fail:
15740 return NULL;
15741 }
15742
15743
15744 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15745 PyObject *resultobj = 0;
15746 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15747 void *argp1 = 0 ;
15748 int res1 = 0 ;
15749 PyObject *swig_obj[1] ;
15750
15751 if (!args) SWIG_fail;
15752 swig_obj[0] = args;
15753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15754 if (!SWIG_IsOK(res1)) {
15755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15756 }
15757 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15758 {
15759 PyThreadState* __tstate = wxPyBeginAllowThreads();
15760 delete arg1;
15761
15762 wxPyEndAllowThreads(__tstate);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 resultobj = SWIG_Py_Void();
15766 return resultobj;
15767 fail:
15768 return NULL;
15769 }
15770
15771
15772 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15773 PyObject *resultobj = 0;
15774 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15775 PyObject *arg2 = (PyObject *) 0 ;
15776 PyObject *arg3 = (PyObject *) 0 ;
15777 int arg4 ;
15778 void *argp1 = 0 ;
15779 int res1 = 0 ;
15780 int val4 ;
15781 int ecode4 = 0 ;
15782 PyObject * obj0 = 0 ;
15783 PyObject * obj1 = 0 ;
15784 PyObject * obj2 = 0 ;
15785 PyObject * obj3 = 0 ;
15786 char * kwnames[] = {
15787 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15788 };
15789
15790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15792 if (!SWIG_IsOK(res1)) {
15793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15794 }
15795 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15796 arg2 = obj1;
15797 arg3 = obj2;
15798 ecode4 = SWIG_AsVal_int(obj3, &val4);
15799 if (!SWIG_IsOK(ecode4)) {
15800 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15801 }
15802 arg4 = static_cast< int >(val4);
15803 {
15804 PyThreadState* __tstate = wxPyBeginAllowThreads();
15805 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15806 wxPyEndAllowThreads(__tstate);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 }
15809 resultobj = SWIG_Py_Void();
15810 return resultobj;
15811 fail:
15812 return NULL;
15813 }
15814
15815
15816 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15817 PyObject *resultobj = 0;
15818 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15819 void *argp1 = 0 ;
15820 int res1 = 0 ;
15821 PyObject *swig_obj[1] ;
15822
15823 if (!args) SWIG_fail;
15824 swig_obj[0] = args;
15825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15826 if (!SWIG_IsOK(res1)) {
15827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15828 }
15829 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15830 {
15831 PyThreadState* __tstate = wxPyBeginAllowThreads();
15832 wxPyTaskBarIcon_Destroy(arg1);
15833 wxPyEndAllowThreads(__tstate);
15834 if (PyErr_Occurred()) SWIG_fail;
15835 }
15836 resultobj = SWIG_Py_Void();
15837 return resultobj;
15838 fail:
15839 return NULL;
15840 }
15841
15842
15843 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15844 PyObject *resultobj = 0;
15845 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15846 bool result;
15847 void *argp1 = 0 ;
15848 int res1 = 0 ;
15849 PyObject *swig_obj[1] ;
15850
15851 if (!args) SWIG_fail;
15852 swig_obj[0] = args;
15853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15854 if (!SWIG_IsOK(res1)) {
15855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15856 }
15857 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15858 {
15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
15860 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15861 wxPyEndAllowThreads(__tstate);
15862 if (PyErr_Occurred()) SWIG_fail;
15863 }
15864 {
15865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15866 }
15867 return resultobj;
15868 fail:
15869 return NULL;
15870 }
15871
15872
15873 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15874 PyObject *resultobj = 0;
15875 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15876 bool result;
15877 void *argp1 = 0 ;
15878 int res1 = 0 ;
15879 PyObject *swig_obj[1] ;
15880
15881 if (!args) SWIG_fail;
15882 swig_obj[0] = args;
15883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15884 if (!SWIG_IsOK(res1)) {
15885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15886 }
15887 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15888 {
15889 PyThreadState* __tstate = wxPyBeginAllowThreads();
15890 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15891 wxPyEndAllowThreads(__tstate);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 }
15894 {
15895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15896 }
15897 return resultobj;
15898 fail:
15899 return NULL;
15900 }
15901
15902
15903 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15904 PyObject *resultobj = 0;
15905 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15906 wxIcon *arg2 = 0 ;
15907 wxString const &arg3_defvalue = wxPyEmptyString ;
15908 wxString *arg3 = (wxString *) &arg3_defvalue ;
15909 bool result;
15910 void *argp1 = 0 ;
15911 int res1 = 0 ;
15912 void *argp2 = 0 ;
15913 int res2 = 0 ;
15914 bool temp3 = false ;
15915 PyObject * obj0 = 0 ;
15916 PyObject * obj1 = 0 ;
15917 PyObject * obj2 = 0 ;
15918 char * kwnames[] = {
15919 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15920 };
15921
15922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15924 if (!SWIG_IsOK(res1)) {
15925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15926 }
15927 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15928 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15929 if (!SWIG_IsOK(res2)) {
15930 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15931 }
15932 if (!argp2) {
15933 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15934 }
15935 arg2 = reinterpret_cast< wxIcon * >(argp2);
15936 if (obj2) {
15937 {
15938 arg3 = wxString_in_helper(obj2);
15939 if (arg3 == NULL) SWIG_fail;
15940 temp3 = true;
15941 }
15942 }
15943 {
15944 PyThreadState* __tstate = wxPyBeginAllowThreads();
15945 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15946 wxPyEndAllowThreads(__tstate);
15947 if (PyErr_Occurred()) SWIG_fail;
15948 }
15949 {
15950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15951 }
15952 {
15953 if (temp3)
15954 delete arg3;
15955 }
15956 return resultobj;
15957 fail:
15958 {
15959 if (temp3)
15960 delete arg3;
15961 }
15962 return NULL;
15963 }
15964
15965
15966 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15967 PyObject *resultobj = 0;
15968 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15969 bool result;
15970 void *argp1 = 0 ;
15971 int res1 = 0 ;
15972 PyObject *swig_obj[1] ;
15973
15974 if (!args) SWIG_fail;
15975 swig_obj[0] = args;
15976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15977 if (!SWIG_IsOK(res1)) {
15978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15979 }
15980 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15981 {
15982 PyThreadState* __tstate = wxPyBeginAllowThreads();
15983 result = (bool)(arg1)->RemoveIcon();
15984 wxPyEndAllowThreads(__tstate);
15985 if (PyErr_Occurred()) SWIG_fail;
15986 }
15987 {
15988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15989 }
15990 return resultobj;
15991 fail:
15992 return NULL;
15993 }
15994
15995
15996 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15997 PyObject *resultobj = 0;
15998 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15999 wxMenu *arg2 = (wxMenu *) 0 ;
16000 bool result;
16001 void *argp1 = 0 ;
16002 int res1 = 0 ;
16003 void *argp2 = 0 ;
16004 int res2 = 0 ;
16005 PyObject * obj0 = 0 ;
16006 PyObject * obj1 = 0 ;
16007 char * kwnames[] = {
16008 (char *) "self",(char *) "menu", NULL
16009 };
16010
16011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16013 if (!SWIG_IsOK(res1)) {
16014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16015 }
16016 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16017 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16018 if (!SWIG_IsOK(res2)) {
16019 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16020 }
16021 arg2 = reinterpret_cast< wxMenu * >(argp2);
16022 {
16023 PyThreadState* __tstate = wxPyBeginAllowThreads();
16024 result = (bool)(arg1)->PopupMenu(arg2);
16025 wxPyEndAllowThreads(__tstate);
16026 if (PyErr_Occurred()) SWIG_fail;
16027 }
16028 {
16029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16030 }
16031 return resultobj;
16032 fail:
16033 return NULL;
16034 }
16035
16036
16037 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16038 PyObject *obj;
16039 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16040 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16041 return SWIG_Py_Void();
16042 }
16043
16044 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16045 return SWIG_Python_InitShadowInstance(args);
16046 }
16047
16048 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16049 PyObject *resultobj = 0;
16050 wxEventType arg1 ;
16051 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16052 wxTaskBarIconEvent *result = 0 ;
16053 int val1 ;
16054 int ecode1 = 0 ;
16055 void *argp2 = 0 ;
16056 int res2 = 0 ;
16057 PyObject * obj0 = 0 ;
16058 PyObject * obj1 = 0 ;
16059 char * kwnames[] = {
16060 (char *) "evtType",(char *) "tbIcon", NULL
16061 };
16062
16063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16064 ecode1 = SWIG_AsVal_int(obj0, &val1);
16065 if (!SWIG_IsOK(ecode1)) {
16066 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16067 }
16068 arg1 = static_cast< wxEventType >(val1);
16069 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16070 if (!SWIG_IsOK(res2)) {
16071 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16072 }
16073 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16074 {
16075 PyThreadState* __tstate = wxPyBeginAllowThreads();
16076 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16077 wxPyEndAllowThreads(__tstate);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 }
16080 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16081 return resultobj;
16082 fail:
16083 return NULL;
16084 }
16085
16086
16087 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16088 PyObject *obj;
16089 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16090 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16091 return SWIG_Py_Void();
16092 }
16093
16094 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16095 return SWIG_Python_InitShadowInstance(args);
16096 }
16097
16098 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16099 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16100 return 1;
16101 }
16102
16103
16104 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16105 PyObject *pyobj = 0;
16106
16107 {
16108 #if wxUSE_UNICODE
16109 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16110 #else
16111 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16112 #endif
16113 }
16114 return pyobj;
16115 }
16116
16117
16118 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16119 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16120 return 1;
16121 }
16122
16123
16124 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16125 PyObject *pyobj = 0;
16126
16127 {
16128 #if wxUSE_UNICODE
16129 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16130 #else
16131 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16132 #endif
16133 }
16134 return pyobj;
16135 }
16136
16137
16138 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16139 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16140 return 1;
16141 }
16142
16143
16144 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16145 PyObject *pyobj = 0;
16146
16147 {
16148 #if wxUSE_UNICODE
16149 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16150 #else
16151 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16152 #endif
16153 }
16154 return pyobj;
16155 }
16156
16157
16158 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16159 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16160 return 1;
16161 }
16162
16163
16164 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16165 PyObject *pyobj = 0;
16166
16167 {
16168 #if wxUSE_UNICODE
16169 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16170 #else
16171 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16172 #endif
16173 }
16174 return pyobj;
16175 }
16176
16177
16178 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16179 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16180 return 1;
16181 }
16182
16183
16184 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16185 PyObject *pyobj = 0;
16186
16187 {
16188 #if wxUSE_UNICODE
16189 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16190 #else
16191 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16192 #endif
16193 }
16194 return pyobj;
16195 }
16196
16197
16198 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16199 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16200 return 1;
16201 }
16202
16203
16204 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16205 PyObject *pyobj = 0;
16206
16207 {
16208 #if wxUSE_UNICODE
16209 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16210 #else
16211 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16212 #endif
16213 }
16214 return pyobj;
16215 }
16216
16217
16218 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16219 PyObject *resultobj = 0;
16220 wxColourData *result = 0 ;
16221
16222 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16223 {
16224 PyThreadState* __tstate = wxPyBeginAllowThreads();
16225 result = (wxColourData *)new wxColourData();
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16230 return resultobj;
16231 fail:
16232 return NULL;
16233 }
16234
16235
16236 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16237 PyObject *resultobj = 0;
16238 wxColourData *arg1 = (wxColourData *) 0 ;
16239 void *argp1 = 0 ;
16240 int res1 = 0 ;
16241 PyObject *swig_obj[1] ;
16242
16243 if (!args) SWIG_fail;
16244 swig_obj[0] = args;
16245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16246 if (!SWIG_IsOK(res1)) {
16247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16248 }
16249 arg1 = reinterpret_cast< wxColourData * >(argp1);
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
16252 delete arg1;
16253
16254 wxPyEndAllowThreads(__tstate);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
16257 resultobj = SWIG_Py_Void();
16258 return resultobj;
16259 fail:
16260 return NULL;
16261 }
16262
16263
16264 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16265 PyObject *resultobj = 0;
16266 wxColourData *arg1 = (wxColourData *) 0 ;
16267 bool result;
16268 void *argp1 = 0 ;
16269 int res1 = 0 ;
16270 PyObject *swig_obj[1] ;
16271
16272 if (!args) SWIG_fail;
16273 swig_obj[0] = args;
16274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16275 if (!SWIG_IsOK(res1)) {
16276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16277 }
16278 arg1 = reinterpret_cast< wxColourData * >(argp1);
16279 {
16280 PyThreadState* __tstate = wxPyBeginAllowThreads();
16281 result = (bool)(arg1)->GetChooseFull();
16282 wxPyEndAllowThreads(__tstate);
16283 if (PyErr_Occurred()) SWIG_fail;
16284 }
16285 {
16286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16287 }
16288 return resultobj;
16289 fail:
16290 return NULL;
16291 }
16292
16293
16294 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16295 PyObject *resultobj = 0;
16296 wxColourData *arg1 = (wxColourData *) 0 ;
16297 wxColour result;
16298 void *argp1 = 0 ;
16299 int res1 = 0 ;
16300 PyObject *swig_obj[1] ;
16301
16302 if (!args) SWIG_fail;
16303 swig_obj[0] = args;
16304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16305 if (!SWIG_IsOK(res1)) {
16306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16307 }
16308 arg1 = reinterpret_cast< wxColourData * >(argp1);
16309 {
16310 PyThreadState* __tstate = wxPyBeginAllowThreads();
16311 result = (arg1)->GetColour();
16312 wxPyEndAllowThreads(__tstate);
16313 if (PyErr_Occurred()) SWIG_fail;
16314 }
16315 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16316 return resultobj;
16317 fail:
16318 return NULL;
16319 }
16320
16321
16322 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16323 PyObject *resultobj = 0;
16324 wxColourData *arg1 = (wxColourData *) 0 ;
16325 int arg2 ;
16326 wxColour result;
16327 void *argp1 = 0 ;
16328 int res1 = 0 ;
16329 int val2 ;
16330 int ecode2 = 0 ;
16331 PyObject * obj0 = 0 ;
16332 PyObject * obj1 = 0 ;
16333 char * kwnames[] = {
16334 (char *) "self",(char *) "i", NULL
16335 };
16336
16337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16339 if (!SWIG_IsOK(res1)) {
16340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16341 }
16342 arg1 = reinterpret_cast< wxColourData * >(argp1);
16343 ecode2 = SWIG_AsVal_int(obj1, &val2);
16344 if (!SWIG_IsOK(ecode2)) {
16345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16346 }
16347 arg2 = static_cast< int >(val2);
16348 {
16349 PyThreadState* __tstate = wxPyBeginAllowThreads();
16350 result = (arg1)->GetCustomColour(arg2);
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16355 return resultobj;
16356 fail:
16357 return NULL;
16358 }
16359
16360
16361 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16362 PyObject *resultobj = 0;
16363 wxColourData *arg1 = (wxColourData *) 0 ;
16364 int arg2 ;
16365 void *argp1 = 0 ;
16366 int res1 = 0 ;
16367 int val2 ;
16368 int ecode2 = 0 ;
16369 PyObject * obj0 = 0 ;
16370 PyObject * obj1 = 0 ;
16371 char * kwnames[] = {
16372 (char *) "self",(char *) "flag", NULL
16373 };
16374
16375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16377 if (!SWIG_IsOK(res1)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16379 }
16380 arg1 = reinterpret_cast< wxColourData * >(argp1);
16381 ecode2 = SWIG_AsVal_int(obj1, &val2);
16382 if (!SWIG_IsOK(ecode2)) {
16383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16384 }
16385 arg2 = static_cast< int >(val2);
16386 {
16387 PyThreadState* __tstate = wxPyBeginAllowThreads();
16388 (arg1)->SetChooseFull(arg2);
16389 wxPyEndAllowThreads(__tstate);
16390 if (PyErr_Occurred()) SWIG_fail;
16391 }
16392 resultobj = SWIG_Py_Void();
16393 return resultobj;
16394 fail:
16395 return NULL;
16396 }
16397
16398
16399 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16400 PyObject *resultobj = 0;
16401 wxColourData *arg1 = (wxColourData *) 0 ;
16402 wxColour *arg2 = 0 ;
16403 void *argp1 = 0 ;
16404 int res1 = 0 ;
16405 wxColour temp2 ;
16406 PyObject * obj0 = 0 ;
16407 PyObject * obj1 = 0 ;
16408 char * kwnames[] = {
16409 (char *) "self",(char *) "colour", NULL
16410 };
16411
16412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16414 if (!SWIG_IsOK(res1)) {
16415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16416 }
16417 arg1 = reinterpret_cast< wxColourData * >(argp1);
16418 {
16419 arg2 = &temp2;
16420 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16421 }
16422 {
16423 PyThreadState* __tstate = wxPyBeginAllowThreads();
16424 (arg1)->SetColour((wxColour const &)*arg2);
16425 wxPyEndAllowThreads(__tstate);
16426 if (PyErr_Occurred()) SWIG_fail;
16427 }
16428 resultobj = SWIG_Py_Void();
16429 return resultobj;
16430 fail:
16431 return NULL;
16432 }
16433
16434
16435 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16436 PyObject *resultobj = 0;
16437 wxColourData *arg1 = (wxColourData *) 0 ;
16438 int arg2 ;
16439 wxColour *arg3 = 0 ;
16440 void *argp1 = 0 ;
16441 int res1 = 0 ;
16442 int val2 ;
16443 int ecode2 = 0 ;
16444 wxColour temp3 ;
16445 PyObject * obj0 = 0 ;
16446 PyObject * obj1 = 0 ;
16447 PyObject * obj2 = 0 ;
16448 char * kwnames[] = {
16449 (char *) "self",(char *) "i",(char *) "colour", NULL
16450 };
16451
16452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16454 if (!SWIG_IsOK(res1)) {
16455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16456 }
16457 arg1 = reinterpret_cast< wxColourData * >(argp1);
16458 ecode2 = SWIG_AsVal_int(obj1, &val2);
16459 if (!SWIG_IsOK(ecode2)) {
16460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16461 }
16462 arg2 = static_cast< int >(val2);
16463 {
16464 arg3 = &temp3;
16465 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16466 }
16467 {
16468 PyThreadState* __tstate = wxPyBeginAllowThreads();
16469 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16470 wxPyEndAllowThreads(__tstate);
16471 if (PyErr_Occurred()) SWIG_fail;
16472 }
16473 resultobj = SWIG_Py_Void();
16474 return resultobj;
16475 fail:
16476 return NULL;
16477 }
16478
16479
16480 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16481 PyObject *obj;
16482 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16483 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16484 return SWIG_Py_Void();
16485 }
16486
16487 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16488 return SWIG_Python_InitShadowInstance(args);
16489 }
16490
16491 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16492 PyObject *resultobj = 0;
16493 wxWindow *arg1 = (wxWindow *) 0 ;
16494 wxColourData *arg2 = (wxColourData *) NULL ;
16495 wxColourDialog *result = 0 ;
16496 void *argp1 = 0 ;
16497 int res1 = 0 ;
16498 void *argp2 = 0 ;
16499 int res2 = 0 ;
16500 PyObject * obj0 = 0 ;
16501 PyObject * obj1 = 0 ;
16502 char * kwnames[] = {
16503 (char *) "parent",(char *) "data", NULL
16504 };
16505
16506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16508 if (!SWIG_IsOK(res1)) {
16509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16510 }
16511 arg1 = reinterpret_cast< wxWindow * >(argp1);
16512 if (obj1) {
16513 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16514 if (!SWIG_IsOK(res2)) {
16515 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16516 }
16517 arg2 = reinterpret_cast< wxColourData * >(argp2);
16518 }
16519 {
16520 if (!wxPyCheckForApp()) SWIG_fail;
16521 PyThreadState* __tstate = wxPyBeginAllowThreads();
16522 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16523 wxPyEndAllowThreads(__tstate);
16524 if (PyErr_Occurred()) SWIG_fail;
16525 }
16526 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16527 return resultobj;
16528 fail:
16529 return NULL;
16530 }
16531
16532
16533 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16534 PyObject *resultobj = 0;
16535 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16536 wxColourData *result = 0 ;
16537 void *argp1 = 0 ;
16538 int res1 = 0 ;
16539 PyObject *swig_obj[1] ;
16540
16541 if (!args) SWIG_fail;
16542 swig_obj[0] = args;
16543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16544 if (!SWIG_IsOK(res1)) {
16545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16546 }
16547 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16548 {
16549 PyThreadState* __tstate = wxPyBeginAllowThreads();
16550 {
16551 wxColourData &_result_ref = (arg1)->GetColourData();
16552 result = (wxColourData *) &_result_ref;
16553 }
16554 wxPyEndAllowThreads(__tstate);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 }
16557 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16558 return resultobj;
16559 fail:
16560 return NULL;
16561 }
16562
16563
16564 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16565 PyObject *obj;
16566 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16567 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16568 return SWIG_Py_Void();
16569 }
16570
16571 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16572 return SWIG_Python_InitShadowInstance(args);
16573 }
16574
16575 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16576 PyObject *resultobj = 0;
16577 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16578 wxColour const &arg2_defvalue = wxNullColour ;
16579 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16580 wxString const &arg3_defvalue = wxPyEmptyString ;
16581 wxString *arg3 = (wxString *) &arg3_defvalue ;
16582 wxColour result;
16583 void *argp1 = 0 ;
16584 int res1 = 0 ;
16585 wxColour temp2 ;
16586 bool temp3 = false ;
16587 PyObject * obj0 = 0 ;
16588 PyObject * obj1 = 0 ;
16589 PyObject * obj2 = 0 ;
16590 char * kwnames[] = {
16591 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16592 };
16593
16594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16595 if (obj0) {
16596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16597 if (!SWIG_IsOK(res1)) {
16598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16599 }
16600 arg1 = reinterpret_cast< wxWindow * >(argp1);
16601 }
16602 if (obj1) {
16603 {
16604 arg2 = &temp2;
16605 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16606 }
16607 }
16608 if (obj2) {
16609 {
16610 arg3 = wxString_in_helper(obj2);
16611 if (arg3 == NULL) SWIG_fail;
16612 temp3 = true;
16613 }
16614 }
16615 {
16616 PyThreadState* __tstate = wxPyBeginAllowThreads();
16617 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16618 wxPyEndAllowThreads(__tstate);
16619 if (PyErr_Occurred()) SWIG_fail;
16620 }
16621 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16622 {
16623 if (temp3)
16624 delete arg3;
16625 }
16626 return resultobj;
16627 fail:
16628 {
16629 if (temp3)
16630 delete arg3;
16631 }
16632 return NULL;
16633 }
16634
16635
16636 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16637 PyObject *resultobj = 0;
16638 wxWindow *arg1 = (wxWindow *) 0 ;
16639 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16640 wxString *arg2 = (wxString *) &arg2_defvalue ;
16641 wxString const &arg3_defvalue = wxPyEmptyString ;
16642 wxString *arg3 = (wxString *) &arg3_defvalue ;
16643 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16644 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16645 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16646 wxSize const &arg6_defvalue = wxDefaultSize ;
16647 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16648 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16649 wxString *arg7 = (wxString *) &arg7_defvalue ;
16650 wxDirDialog *result = 0 ;
16651 void *argp1 = 0 ;
16652 int res1 = 0 ;
16653 bool temp2 = false ;
16654 bool temp3 = false ;
16655 long val4 ;
16656 int ecode4 = 0 ;
16657 wxPoint temp5 ;
16658 wxSize temp6 ;
16659 bool temp7 = false ;
16660 PyObject * obj0 = 0 ;
16661 PyObject * obj1 = 0 ;
16662 PyObject * obj2 = 0 ;
16663 PyObject * obj3 = 0 ;
16664 PyObject * obj4 = 0 ;
16665 PyObject * obj5 = 0 ;
16666 PyObject * obj6 = 0 ;
16667 char * kwnames[] = {
16668 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16669 };
16670
16671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16673 if (!SWIG_IsOK(res1)) {
16674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16675 }
16676 arg1 = reinterpret_cast< wxWindow * >(argp1);
16677 if (obj1) {
16678 {
16679 arg2 = wxString_in_helper(obj1);
16680 if (arg2 == NULL) SWIG_fail;
16681 temp2 = true;
16682 }
16683 }
16684 if (obj2) {
16685 {
16686 arg3 = wxString_in_helper(obj2);
16687 if (arg3 == NULL) SWIG_fail;
16688 temp3 = true;
16689 }
16690 }
16691 if (obj3) {
16692 ecode4 = SWIG_AsVal_long(obj3, &val4);
16693 if (!SWIG_IsOK(ecode4)) {
16694 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16695 }
16696 arg4 = static_cast< long >(val4);
16697 }
16698 if (obj4) {
16699 {
16700 arg5 = &temp5;
16701 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16702 }
16703 }
16704 if (obj5) {
16705 {
16706 arg6 = &temp6;
16707 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16708 }
16709 }
16710 if (obj6) {
16711 {
16712 arg7 = wxString_in_helper(obj6);
16713 if (arg7 == NULL) SWIG_fail;
16714 temp7 = true;
16715 }
16716 }
16717 {
16718 if (!wxPyCheckForApp()) SWIG_fail;
16719 PyThreadState* __tstate = wxPyBeginAllowThreads();
16720 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16721 wxPyEndAllowThreads(__tstate);
16722 if (PyErr_Occurred()) SWIG_fail;
16723 }
16724 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16725 {
16726 if (temp2)
16727 delete arg2;
16728 }
16729 {
16730 if (temp3)
16731 delete arg3;
16732 }
16733 {
16734 if (temp7)
16735 delete arg7;
16736 }
16737 return resultobj;
16738 fail:
16739 {
16740 if (temp2)
16741 delete arg2;
16742 }
16743 {
16744 if (temp3)
16745 delete arg3;
16746 }
16747 {
16748 if (temp7)
16749 delete arg7;
16750 }
16751 return NULL;
16752 }
16753
16754
16755 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16756 PyObject *resultobj = 0;
16757 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16758 wxString result;
16759 void *argp1 = 0 ;
16760 int res1 = 0 ;
16761 PyObject *swig_obj[1] ;
16762
16763 if (!args) SWIG_fail;
16764 swig_obj[0] = args;
16765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16766 if (!SWIG_IsOK(res1)) {
16767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16768 }
16769 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 result = (arg1)->GetPath();
16773 wxPyEndAllowThreads(__tstate);
16774 if (PyErr_Occurred()) SWIG_fail;
16775 }
16776 {
16777 #if wxUSE_UNICODE
16778 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16779 #else
16780 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16781 #endif
16782 }
16783 return resultobj;
16784 fail:
16785 return NULL;
16786 }
16787
16788
16789 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16790 PyObject *resultobj = 0;
16791 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16792 wxString result;
16793 void *argp1 = 0 ;
16794 int res1 = 0 ;
16795 PyObject *swig_obj[1] ;
16796
16797 if (!args) SWIG_fail;
16798 swig_obj[0] = args;
16799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16800 if (!SWIG_IsOK(res1)) {
16801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16802 }
16803 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16804 {
16805 PyThreadState* __tstate = wxPyBeginAllowThreads();
16806 result = (arg1)->GetMessage();
16807 wxPyEndAllowThreads(__tstate);
16808 if (PyErr_Occurred()) SWIG_fail;
16809 }
16810 {
16811 #if wxUSE_UNICODE
16812 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16813 #else
16814 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16815 #endif
16816 }
16817 return resultobj;
16818 fail:
16819 return NULL;
16820 }
16821
16822
16823 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16824 PyObject *resultobj = 0;
16825 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16826 wxString *arg2 = 0 ;
16827 void *argp1 = 0 ;
16828 int res1 = 0 ;
16829 bool temp2 = false ;
16830 PyObject * obj0 = 0 ;
16831 PyObject * obj1 = 0 ;
16832 char * kwnames[] = {
16833 (char *) "self",(char *) "message", NULL
16834 };
16835
16836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16838 if (!SWIG_IsOK(res1)) {
16839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16840 }
16841 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16842 {
16843 arg2 = wxString_in_helper(obj1);
16844 if (arg2 == NULL) SWIG_fail;
16845 temp2 = true;
16846 }
16847 {
16848 PyThreadState* __tstate = wxPyBeginAllowThreads();
16849 (arg1)->SetMessage((wxString const &)*arg2);
16850 wxPyEndAllowThreads(__tstate);
16851 if (PyErr_Occurred()) SWIG_fail;
16852 }
16853 resultobj = SWIG_Py_Void();
16854 {
16855 if (temp2)
16856 delete arg2;
16857 }
16858 return resultobj;
16859 fail:
16860 {
16861 if (temp2)
16862 delete arg2;
16863 }
16864 return NULL;
16865 }
16866
16867
16868 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16869 PyObject *resultobj = 0;
16870 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16871 wxString *arg2 = 0 ;
16872 void *argp1 = 0 ;
16873 int res1 = 0 ;
16874 bool temp2 = false ;
16875 PyObject * obj0 = 0 ;
16876 PyObject * obj1 = 0 ;
16877 char * kwnames[] = {
16878 (char *) "self",(char *) "path", NULL
16879 };
16880
16881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16883 if (!SWIG_IsOK(res1)) {
16884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16885 }
16886 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16887 {
16888 arg2 = wxString_in_helper(obj1);
16889 if (arg2 == NULL) SWIG_fail;
16890 temp2 = true;
16891 }
16892 {
16893 PyThreadState* __tstate = wxPyBeginAllowThreads();
16894 (arg1)->SetPath((wxString const &)*arg2);
16895 wxPyEndAllowThreads(__tstate);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
16898 resultobj = SWIG_Py_Void();
16899 {
16900 if (temp2)
16901 delete arg2;
16902 }
16903 return resultobj;
16904 fail:
16905 {
16906 if (temp2)
16907 delete arg2;
16908 }
16909 return NULL;
16910 }
16911
16912
16913 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16914 PyObject *obj;
16915 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16916 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16917 return SWIG_Py_Void();
16918 }
16919
16920 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16921 return SWIG_Python_InitShadowInstance(args);
16922 }
16923
16924 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16925 PyObject *resultobj = 0;
16926 wxWindow *arg1 = (wxWindow *) 0 ;
16927 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16928 wxString *arg2 = (wxString *) &arg2_defvalue ;
16929 wxString const &arg3_defvalue = wxPyEmptyString ;
16930 wxString *arg3 = (wxString *) &arg3_defvalue ;
16931 wxString const &arg4_defvalue = wxPyEmptyString ;
16932 wxString *arg4 = (wxString *) &arg4_defvalue ;
16933 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16934 wxString *arg5 = (wxString *) &arg5_defvalue ;
16935 long arg6 = (long) wxFD_DEFAULT_STYLE ;
16936 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16937 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16938 wxFileDialog *result = 0 ;
16939 void *argp1 = 0 ;
16940 int res1 = 0 ;
16941 bool temp2 = false ;
16942 bool temp3 = false ;
16943 bool temp4 = false ;
16944 bool temp5 = false ;
16945 long val6 ;
16946 int ecode6 = 0 ;
16947 wxPoint temp7 ;
16948 PyObject * obj0 = 0 ;
16949 PyObject * obj1 = 0 ;
16950 PyObject * obj2 = 0 ;
16951 PyObject * obj3 = 0 ;
16952 PyObject * obj4 = 0 ;
16953 PyObject * obj5 = 0 ;
16954 PyObject * obj6 = 0 ;
16955 char * kwnames[] = {
16956 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16957 };
16958
16959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16961 if (!SWIG_IsOK(res1)) {
16962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16963 }
16964 arg1 = reinterpret_cast< wxWindow * >(argp1);
16965 if (obj1) {
16966 {
16967 arg2 = wxString_in_helper(obj1);
16968 if (arg2 == NULL) SWIG_fail;
16969 temp2 = true;
16970 }
16971 }
16972 if (obj2) {
16973 {
16974 arg3 = wxString_in_helper(obj2);
16975 if (arg3 == NULL) SWIG_fail;
16976 temp3 = true;
16977 }
16978 }
16979 if (obj3) {
16980 {
16981 arg4 = wxString_in_helper(obj3);
16982 if (arg4 == NULL) SWIG_fail;
16983 temp4 = true;
16984 }
16985 }
16986 if (obj4) {
16987 {
16988 arg5 = wxString_in_helper(obj4);
16989 if (arg5 == NULL) SWIG_fail;
16990 temp5 = true;
16991 }
16992 }
16993 if (obj5) {
16994 ecode6 = SWIG_AsVal_long(obj5, &val6);
16995 if (!SWIG_IsOK(ecode6)) {
16996 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16997 }
16998 arg6 = static_cast< long >(val6);
16999 }
17000 if (obj6) {
17001 {
17002 arg7 = &temp7;
17003 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17004 }
17005 }
17006 {
17007 if (!wxPyCheckForApp()) SWIG_fail;
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17010 wxPyEndAllowThreads(__tstate);
17011 if (PyErr_Occurred()) SWIG_fail;
17012 }
17013 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17014 {
17015 if (temp2)
17016 delete arg2;
17017 }
17018 {
17019 if (temp3)
17020 delete arg3;
17021 }
17022 {
17023 if (temp4)
17024 delete arg4;
17025 }
17026 {
17027 if (temp5)
17028 delete arg5;
17029 }
17030 return resultobj;
17031 fail:
17032 {
17033 if (temp2)
17034 delete arg2;
17035 }
17036 {
17037 if (temp3)
17038 delete arg3;
17039 }
17040 {
17041 if (temp4)
17042 delete arg4;
17043 }
17044 {
17045 if (temp5)
17046 delete arg5;
17047 }
17048 return NULL;
17049 }
17050
17051
17052 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17053 PyObject *resultobj = 0;
17054 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17055 wxString *arg2 = 0 ;
17056 void *argp1 = 0 ;
17057 int res1 = 0 ;
17058 bool temp2 = false ;
17059 PyObject * obj0 = 0 ;
17060 PyObject * obj1 = 0 ;
17061 char * kwnames[] = {
17062 (char *) "self",(char *) "message", NULL
17063 };
17064
17065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17067 if (!SWIG_IsOK(res1)) {
17068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17069 }
17070 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17071 {
17072 arg2 = wxString_in_helper(obj1);
17073 if (arg2 == NULL) SWIG_fail;
17074 temp2 = true;
17075 }
17076 {
17077 PyThreadState* __tstate = wxPyBeginAllowThreads();
17078 (arg1)->SetMessage((wxString const &)*arg2);
17079 wxPyEndAllowThreads(__tstate);
17080 if (PyErr_Occurred()) SWIG_fail;
17081 }
17082 resultobj = SWIG_Py_Void();
17083 {
17084 if (temp2)
17085 delete arg2;
17086 }
17087 return resultobj;
17088 fail:
17089 {
17090 if (temp2)
17091 delete arg2;
17092 }
17093 return NULL;
17094 }
17095
17096
17097 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17098 PyObject *resultobj = 0;
17099 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17100 wxString *arg2 = 0 ;
17101 void *argp1 = 0 ;
17102 int res1 = 0 ;
17103 bool temp2 = false ;
17104 PyObject * obj0 = 0 ;
17105 PyObject * obj1 = 0 ;
17106 char * kwnames[] = {
17107 (char *) "self",(char *) "path", NULL
17108 };
17109
17110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17112 if (!SWIG_IsOK(res1)) {
17113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17114 }
17115 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17116 {
17117 arg2 = wxString_in_helper(obj1);
17118 if (arg2 == NULL) SWIG_fail;
17119 temp2 = true;
17120 }
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 (arg1)->SetPath((wxString const &)*arg2);
17124 wxPyEndAllowThreads(__tstate);
17125 if (PyErr_Occurred()) SWIG_fail;
17126 }
17127 resultobj = SWIG_Py_Void();
17128 {
17129 if (temp2)
17130 delete arg2;
17131 }
17132 return resultobj;
17133 fail:
17134 {
17135 if (temp2)
17136 delete arg2;
17137 }
17138 return NULL;
17139 }
17140
17141
17142 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17143 PyObject *resultobj = 0;
17144 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17145 wxString *arg2 = 0 ;
17146 void *argp1 = 0 ;
17147 int res1 = 0 ;
17148 bool temp2 = false ;
17149 PyObject * obj0 = 0 ;
17150 PyObject * obj1 = 0 ;
17151 char * kwnames[] = {
17152 (char *) "self",(char *) "dir", NULL
17153 };
17154
17155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17157 if (!SWIG_IsOK(res1)) {
17158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17159 }
17160 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17161 {
17162 arg2 = wxString_in_helper(obj1);
17163 if (arg2 == NULL) SWIG_fail;
17164 temp2 = true;
17165 }
17166 {
17167 PyThreadState* __tstate = wxPyBeginAllowThreads();
17168 (arg1)->SetDirectory((wxString const &)*arg2);
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 resultobj = SWIG_Py_Void();
17173 {
17174 if (temp2)
17175 delete arg2;
17176 }
17177 return resultobj;
17178 fail:
17179 {
17180 if (temp2)
17181 delete arg2;
17182 }
17183 return NULL;
17184 }
17185
17186
17187 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17188 PyObject *resultobj = 0;
17189 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17190 wxString *arg2 = 0 ;
17191 void *argp1 = 0 ;
17192 int res1 = 0 ;
17193 bool temp2 = false ;
17194 PyObject * obj0 = 0 ;
17195 PyObject * obj1 = 0 ;
17196 char * kwnames[] = {
17197 (char *) "self",(char *) "name", NULL
17198 };
17199
17200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17202 if (!SWIG_IsOK(res1)) {
17203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17204 }
17205 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17206 {
17207 arg2 = wxString_in_helper(obj1);
17208 if (arg2 == NULL) SWIG_fail;
17209 temp2 = true;
17210 }
17211 {
17212 PyThreadState* __tstate = wxPyBeginAllowThreads();
17213 (arg1)->SetFilename((wxString const &)*arg2);
17214 wxPyEndAllowThreads(__tstate);
17215 if (PyErr_Occurred()) SWIG_fail;
17216 }
17217 resultobj = SWIG_Py_Void();
17218 {
17219 if (temp2)
17220 delete arg2;
17221 }
17222 return resultobj;
17223 fail:
17224 {
17225 if (temp2)
17226 delete arg2;
17227 }
17228 return NULL;
17229 }
17230
17231
17232 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17233 PyObject *resultobj = 0;
17234 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17235 wxString *arg2 = 0 ;
17236 void *argp1 = 0 ;
17237 int res1 = 0 ;
17238 bool temp2 = false ;
17239 PyObject * obj0 = 0 ;
17240 PyObject * obj1 = 0 ;
17241 char * kwnames[] = {
17242 (char *) "self",(char *) "wildCard", NULL
17243 };
17244
17245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17247 if (!SWIG_IsOK(res1)) {
17248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17249 }
17250 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17251 {
17252 arg2 = wxString_in_helper(obj1);
17253 if (arg2 == NULL) SWIG_fail;
17254 temp2 = true;
17255 }
17256 {
17257 PyThreadState* __tstate = wxPyBeginAllowThreads();
17258 (arg1)->SetWildcard((wxString const &)*arg2);
17259 wxPyEndAllowThreads(__tstate);
17260 if (PyErr_Occurred()) SWIG_fail;
17261 }
17262 resultobj = SWIG_Py_Void();
17263 {
17264 if (temp2)
17265 delete arg2;
17266 }
17267 return resultobj;
17268 fail:
17269 {
17270 if (temp2)
17271 delete arg2;
17272 }
17273 return NULL;
17274 }
17275
17276
17277 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17278 PyObject *resultobj = 0;
17279 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17280 int arg2 ;
17281 void *argp1 = 0 ;
17282 int res1 = 0 ;
17283 int val2 ;
17284 int ecode2 = 0 ;
17285 PyObject * obj0 = 0 ;
17286 PyObject * obj1 = 0 ;
17287 char * kwnames[] = {
17288 (char *) "self",(char *) "filterIndex", NULL
17289 };
17290
17291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17293 if (!SWIG_IsOK(res1)) {
17294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17295 }
17296 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17297 ecode2 = SWIG_AsVal_int(obj1, &val2);
17298 if (!SWIG_IsOK(ecode2)) {
17299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17300 }
17301 arg2 = static_cast< int >(val2);
17302 {
17303 PyThreadState* __tstate = wxPyBeginAllowThreads();
17304 (arg1)->SetFilterIndex(arg2);
17305 wxPyEndAllowThreads(__tstate);
17306 if (PyErr_Occurred()) SWIG_fail;
17307 }
17308 resultobj = SWIG_Py_Void();
17309 return resultobj;
17310 fail:
17311 return NULL;
17312 }
17313
17314
17315 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17316 PyObject *resultobj = 0;
17317 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17318 wxString result;
17319 void *argp1 = 0 ;
17320 int res1 = 0 ;
17321 PyObject *swig_obj[1] ;
17322
17323 if (!args) SWIG_fail;
17324 swig_obj[0] = args;
17325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17326 if (!SWIG_IsOK(res1)) {
17327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17328 }
17329 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17330 {
17331 PyThreadState* __tstate = wxPyBeginAllowThreads();
17332 result = ((wxFileDialog const *)arg1)->GetMessage();
17333 wxPyEndAllowThreads(__tstate);
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 {
17337 #if wxUSE_UNICODE
17338 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17339 #else
17340 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17341 #endif
17342 }
17343 return resultobj;
17344 fail:
17345 return NULL;
17346 }
17347
17348
17349 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17350 PyObject *resultobj = 0;
17351 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17352 wxString result;
17353 void *argp1 = 0 ;
17354 int res1 = 0 ;
17355 PyObject *swig_obj[1] ;
17356
17357 if (!args) SWIG_fail;
17358 swig_obj[0] = args;
17359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17360 if (!SWIG_IsOK(res1)) {
17361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17362 }
17363 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17364 {
17365 PyThreadState* __tstate = wxPyBeginAllowThreads();
17366 result = ((wxFileDialog const *)arg1)->GetPath();
17367 wxPyEndAllowThreads(__tstate);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 {
17371 #if wxUSE_UNICODE
17372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17373 #else
17374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17375 #endif
17376 }
17377 return resultobj;
17378 fail:
17379 return NULL;
17380 }
17381
17382
17383 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17384 PyObject *resultobj = 0;
17385 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17386 wxString result;
17387 void *argp1 = 0 ;
17388 int res1 = 0 ;
17389 PyObject *swig_obj[1] ;
17390
17391 if (!args) SWIG_fail;
17392 swig_obj[0] = args;
17393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17394 if (!SWIG_IsOK(res1)) {
17395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17396 }
17397 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 result = ((wxFileDialog const *)arg1)->GetDirectory();
17401 wxPyEndAllowThreads(__tstate);
17402 if (PyErr_Occurred()) SWIG_fail;
17403 }
17404 {
17405 #if wxUSE_UNICODE
17406 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17407 #else
17408 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17409 #endif
17410 }
17411 return resultobj;
17412 fail:
17413 return NULL;
17414 }
17415
17416
17417 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17418 PyObject *resultobj = 0;
17419 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17420 wxString result;
17421 void *argp1 = 0 ;
17422 int res1 = 0 ;
17423 PyObject *swig_obj[1] ;
17424
17425 if (!args) SWIG_fail;
17426 swig_obj[0] = args;
17427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17428 if (!SWIG_IsOK(res1)) {
17429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17430 }
17431 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 result = ((wxFileDialog const *)arg1)->GetFilename();
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 {
17439 #if wxUSE_UNICODE
17440 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17441 #else
17442 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17443 #endif
17444 }
17445 return resultobj;
17446 fail:
17447 return NULL;
17448 }
17449
17450
17451 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17452 PyObject *resultobj = 0;
17453 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17454 wxString result;
17455 void *argp1 = 0 ;
17456 int res1 = 0 ;
17457 PyObject *swig_obj[1] ;
17458
17459 if (!args) SWIG_fail;
17460 swig_obj[0] = args;
17461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17462 if (!SWIG_IsOK(res1)) {
17463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17464 }
17465 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = ((wxFileDialog const *)arg1)->GetWildcard();
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 {
17473 #if wxUSE_UNICODE
17474 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17475 #else
17476 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17477 #endif
17478 }
17479 return resultobj;
17480 fail:
17481 return NULL;
17482 }
17483
17484
17485 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17486 PyObject *resultobj = 0;
17487 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17488 int result;
17489 void *argp1 = 0 ;
17490 int res1 = 0 ;
17491 PyObject *swig_obj[1] ;
17492
17493 if (!args) SWIG_fail;
17494 swig_obj[0] = args;
17495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17496 if (!SWIG_IsOK(res1)) {
17497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17498 }
17499 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17500 {
17501 PyThreadState* __tstate = wxPyBeginAllowThreads();
17502 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17503 wxPyEndAllowThreads(__tstate);
17504 if (PyErr_Occurred()) SWIG_fail;
17505 }
17506 resultobj = SWIG_From_int(static_cast< int >(result));
17507 return resultobj;
17508 fail:
17509 return NULL;
17510 }
17511
17512
17513 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17514 PyObject *resultobj = 0;
17515 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17516 PyObject *result = 0 ;
17517 void *argp1 = 0 ;
17518 int res1 = 0 ;
17519 PyObject *swig_obj[1] ;
17520
17521 if (!args) SWIG_fail;
17522 swig_obj[0] = args;
17523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17524 if (!SWIG_IsOK(res1)) {
17525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17526 }
17527 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17528 {
17529 PyThreadState* __tstate = wxPyBeginAllowThreads();
17530 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17531 wxPyEndAllowThreads(__tstate);
17532 if (PyErr_Occurred()) SWIG_fail;
17533 }
17534 resultobj = result;
17535 return resultobj;
17536 fail:
17537 return NULL;
17538 }
17539
17540
17541 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17542 PyObject *resultobj = 0;
17543 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17544 PyObject *result = 0 ;
17545 void *argp1 = 0 ;
17546 int res1 = 0 ;
17547 PyObject *swig_obj[1] ;
17548
17549 if (!args) SWIG_fail;
17550 swig_obj[0] = args;
17551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17552 if (!SWIG_IsOK(res1)) {
17553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17554 }
17555 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17556 {
17557 PyThreadState* __tstate = wxPyBeginAllowThreads();
17558 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
17562 resultobj = result;
17563 return resultobj;
17564 fail:
17565 return NULL;
17566 }
17567
17568
17569 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17570 PyObject *obj;
17571 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17572 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17573 return SWIG_Py_Void();
17574 }
17575
17576 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17577 return SWIG_Python_InitShadowInstance(args);
17578 }
17579
17580 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17581 PyObject *resultobj = 0;
17582 wxWindow *arg1 = (wxWindow *) 0 ;
17583 wxString *arg2 = 0 ;
17584 wxString *arg3 = 0 ;
17585 int arg4 = (int) 0 ;
17586 wxString *arg5 = (wxString *) NULL ;
17587 long arg6 = (long) wxCHOICEDLG_STYLE ;
17588 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17589 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17590 wxMultiChoiceDialog *result = 0 ;
17591 void *argp1 = 0 ;
17592 int res1 = 0 ;
17593 bool temp2 = false ;
17594 bool temp3 = false ;
17595 long val6 ;
17596 int ecode6 = 0 ;
17597 wxPoint temp7 ;
17598 PyObject * obj0 = 0 ;
17599 PyObject * obj1 = 0 ;
17600 PyObject * obj2 = 0 ;
17601 PyObject * obj3 = 0 ;
17602 PyObject * obj4 = 0 ;
17603 PyObject * obj5 = 0 ;
17604 char * kwnames[] = {
17605 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17606 };
17607
17608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17610 if (!SWIG_IsOK(res1)) {
17611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17612 }
17613 arg1 = reinterpret_cast< wxWindow * >(argp1);
17614 {
17615 arg2 = wxString_in_helper(obj1);
17616 if (arg2 == NULL) SWIG_fail;
17617 temp2 = true;
17618 }
17619 {
17620 arg3 = wxString_in_helper(obj2);
17621 if (arg3 == NULL) SWIG_fail;
17622 temp3 = true;
17623 }
17624 if (obj3) {
17625 {
17626 arg4 = PyList_Size(obj3);
17627 arg5 = wxString_LIST_helper(obj3);
17628 if (arg5 == NULL) SWIG_fail;
17629 }
17630 }
17631 if (obj4) {
17632 ecode6 = SWIG_AsVal_long(obj4, &val6);
17633 if (!SWIG_IsOK(ecode6)) {
17634 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17635 }
17636 arg6 = static_cast< long >(val6);
17637 }
17638 if (obj5) {
17639 {
17640 arg7 = &temp7;
17641 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17642 }
17643 }
17644 {
17645 if (!wxPyCheckForApp()) SWIG_fail;
17646 PyThreadState* __tstate = wxPyBeginAllowThreads();
17647 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17648 wxPyEndAllowThreads(__tstate);
17649 if (PyErr_Occurred()) SWIG_fail;
17650 }
17651 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17652 {
17653 if (temp2)
17654 delete arg2;
17655 }
17656 {
17657 if (temp3)
17658 delete arg3;
17659 }
17660 {
17661 if (arg5) delete [] arg5;
17662 }
17663 return resultobj;
17664 fail:
17665 {
17666 if (temp2)
17667 delete arg2;
17668 }
17669 {
17670 if (temp3)
17671 delete arg3;
17672 }
17673 {
17674 if (arg5) delete [] arg5;
17675 }
17676 return NULL;
17677 }
17678
17679
17680 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17681 PyObject *resultobj = 0;
17682 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17683 wxArrayInt *arg2 = 0 ;
17684 void *argp1 = 0 ;
17685 int res1 = 0 ;
17686 bool temp2 = false ;
17687 PyObject * obj0 = 0 ;
17688 PyObject * obj1 = 0 ;
17689 char * kwnames[] = {
17690 (char *) "self",(char *) "selections", NULL
17691 };
17692
17693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17695 if (!SWIG_IsOK(res1)) {
17696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17697 }
17698 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17699 {
17700 if (! PySequence_Check(obj1)) {
17701 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17702 SWIG_fail;
17703 }
17704 arg2 = new wxArrayInt;
17705 temp2 = true;
17706 int i, len=PySequence_Length(obj1);
17707 for (i=0; i<len; i++) {
17708 PyObject* item = PySequence_GetItem(obj1, i);
17709 PyObject* number = PyNumber_Int(item);
17710 arg2->Add(PyInt_AS_LONG(number));
17711 Py_DECREF(item);
17712 Py_DECREF(number);
17713 }
17714 }
17715 {
17716 PyThreadState* __tstate = wxPyBeginAllowThreads();
17717 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17718 wxPyEndAllowThreads(__tstate);
17719 if (PyErr_Occurred()) SWIG_fail;
17720 }
17721 resultobj = SWIG_Py_Void();
17722 {
17723 if (temp2) delete arg2;
17724 }
17725 return resultobj;
17726 fail:
17727 {
17728 if (temp2) delete arg2;
17729 }
17730 return NULL;
17731 }
17732
17733
17734 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17735 PyObject *resultobj = 0;
17736 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17737 PyObject *result = 0 ;
17738 void *argp1 = 0 ;
17739 int res1 = 0 ;
17740 PyObject *swig_obj[1] ;
17741
17742 if (!args) SWIG_fail;
17743 swig_obj[0] = args;
17744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17745 if (!SWIG_IsOK(res1)) {
17746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17747 }
17748 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17749 {
17750 PyThreadState* __tstate = wxPyBeginAllowThreads();
17751 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
17755 resultobj = result;
17756 return resultobj;
17757 fail:
17758 return NULL;
17759 }
17760
17761
17762 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17763 PyObject *obj;
17764 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17765 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17766 return SWIG_Py_Void();
17767 }
17768
17769 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17770 return SWIG_Python_InitShadowInstance(args);
17771 }
17772
17773 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17774 PyObject *resultobj = 0;
17775 wxWindow *arg1 = (wxWindow *) 0 ;
17776 wxString *arg2 = 0 ;
17777 wxString *arg3 = 0 ;
17778 int arg4 ;
17779 wxString *arg5 = (wxString *) 0 ;
17780 long arg6 = (long) wxCHOICEDLG_STYLE ;
17781 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17782 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17783 wxSingleChoiceDialog *result = 0 ;
17784 void *argp1 = 0 ;
17785 int res1 = 0 ;
17786 bool temp2 = false ;
17787 bool temp3 = false ;
17788 long val6 ;
17789 int ecode6 = 0 ;
17790 wxPoint temp7 ;
17791 PyObject * obj0 = 0 ;
17792 PyObject * obj1 = 0 ;
17793 PyObject * obj2 = 0 ;
17794 PyObject * obj3 = 0 ;
17795 PyObject * obj4 = 0 ;
17796 PyObject * obj5 = 0 ;
17797 char * kwnames[] = {
17798 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17799 };
17800
17801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17803 if (!SWIG_IsOK(res1)) {
17804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17805 }
17806 arg1 = reinterpret_cast< wxWindow * >(argp1);
17807 {
17808 arg2 = wxString_in_helper(obj1);
17809 if (arg2 == NULL) SWIG_fail;
17810 temp2 = true;
17811 }
17812 {
17813 arg3 = wxString_in_helper(obj2);
17814 if (arg3 == NULL) SWIG_fail;
17815 temp3 = true;
17816 }
17817 {
17818 arg4 = PyList_Size(obj3);
17819 arg5 = wxString_LIST_helper(obj3);
17820 if (arg5 == NULL) SWIG_fail;
17821 }
17822 if (obj4) {
17823 ecode6 = SWIG_AsVal_long(obj4, &val6);
17824 if (!SWIG_IsOK(ecode6)) {
17825 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17826 }
17827 arg6 = static_cast< long >(val6);
17828 }
17829 if (obj5) {
17830 {
17831 arg7 = &temp7;
17832 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17833 }
17834 }
17835 {
17836 if (!wxPyCheckForApp()) SWIG_fail;
17837 PyThreadState* __tstate = wxPyBeginAllowThreads();
17838 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17839 wxPyEndAllowThreads(__tstate);
17840 if (PyErr_Occurred()) SWIG_fail;
17841 }
17842 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17843 {
17844 if (temp2)
17845 delete arg2;
17846 }
17847 {
17848 if (temp3)
17849 delete arg3;
17850 }
17851 {
17852 if (arg5) delete [] arg5;
17853 }
17854 return resultobj;
17855 fail:
17856 {
17857 if (temp2)
17858 delete arg2;
17859 }
17860 {
17861 if (temp3)
17862 delete arg3;
17863 }
17864 {
17865 if (arg5) delete [] arg5;
17866 }
17867 return NULL;
17868 }
17869
17870
17871 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17872 PyObject *resultobj = 0;
17873 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17874 int result;
17875 void *argp1 = 0 ;
17876 int res1 = 0 ;
17877 PyObject *swig_obj[1] ;
17878
17879 if (!args) SWIG_fail;
17880 swig_obj[0] = args;
17881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17882 if (!SWIG_IsOK(res1)) {
17883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17884 }
17885 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17886 {
17887 PyThreadState* __tstate = wxPyBeginAllowThreads();
17888 result = (int)(arg1)->GetSelection();
17889 wxPyEndAllowThreads(__tstate);
17890 if (PyErr_Occurred()) SWIG_fail;
17891 }
17892 resultobj = SWIG_From_int(static_cast< int >(result));
17893 return resultobj;
17894 fail:
17895 return NULL;
17896 }
17897
17898
17899 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17900 PyObject *resultobj = 0;
17901 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17902 wxString result;
17903 void *argp1 = 0 ;
17904 int res1 = 0 ;
17905 PyObject *swig_obj[1] ;
17906
17907 if (!args) SWIG_fail;
17908 swig_obj[0] = args;
17909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17910 if (!SWIG_IsOK(res1)) {
17911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17912 }
17913 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17914 {
17915 PyThreadState* __tstate = wxPyBeginAllowThreads();
17916 result = (arg1)->GetStringSelection();
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
17920 {
17921 #if wxUSE_UNICODE
17922 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17923 #else
17924 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17925 #endif
17926 }
17927 return resultobj;
17928 fail:
17929 return NULL;
17930 }
17931
17932
17933 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17934 PyObject *resultobj = 0;
17935 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17936 int arg2 ;
17937 void *argp1 = 0 ;
17938 int res1 = 0 ;
17939 int val2 ;
17940 int ecode2 = 0 ;
17941 PyObject * obj0 = 0 ;
17942 PyObject * obj1 = 0 ;
17943 char * kwnames[] = {
17944 (char *) "self",(char *) "sel", NULL
17945 };
17946
17947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17949 if (!SWIG_IsOK(res1)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17951 }
17952 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17953 ecode2 = SWIG_AsVal_int(obj1, &val2);
17954 if (!SWIG_IsOK(ecode2)) {
17955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17956 }
17957 arg2 = static_cast< int >(val2);
17958 {
17959 PyThreadState* __tstate = wxPyBeginAllowThreads();
17960 (arg1)->SetSelection(arg2);
17961 wxPyEndAllowThreads(__tstate);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 }
17964 resultobj = SWIG_Py_Void();
17965 return resultobj;
17966 fail:
17967 return NULL;
17968 }
17969
17970
17971 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17972 PyObject *obj;
17973 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17974 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
17975 return SWIG_Py_Void();
17976 }
17977
17978 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17979 return SWIG_Python_InitShadowInstance(args);
17980 }
17981
17982 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17983 PyObject *resultobj = 0;
17984 wxWindow *arg1 = (wxWindow *) 0 ;
17985 wxString *arg2 = 0 ;
17986 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
17987 wxString *arg3 = (wxString *) &arg3_defvalue ;
17988 wxString const &arg4_defvalue = wxPyEmptyString ;
17989 wxString *arg4 = (wxString *) &arg4_defvalue ;
17990 long arg5 = (long) wxTextEntryDialogStyle ;
17991 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17992 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17993 wxTextEntryDialog *result = 0 ;
17994 void *argp1 = 0 ;
17995 int res1 = 0 ;
17996 bool temp2 = false ;
17997 bool temp3 = false ;
17998 bool temp4 = false ;
17999 long val5 ;
18000 int ecode5 = 0 ;
18001 wxPoint temp6 ;
18002 PyObject * obj0 = 0 ;
18003 PyObject * obj1 = 0 ;
18004 PyObject * obj2 = 0 ;
18005 PyObject * obj3 = 0 ;
18006 PyObject * obj4 = 0 ;
18007 PyObject * obj5 = 0 ;
18008 char * kwnames[] = {
18009 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18010 };
18011
18012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18014 if (!SWIG_IsOK(res1)) {
18015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18016 }
18017 arg1 = reinterpret_cast< wxWindow * >(argp1);
18018 {
18019 arg2 = wxString_in_helper(obj1);
18020 if (arg2 == NULL) SWIG_fail;
18021 temp2 = true;
18022 }
18023 if (obj2) {
18024 {
18025 arg3 = wxString_in_helper(obj2);
18026 if (arg3 == NULL) SWIG_fail;
18027 temp3 = true;
18028 }
18029 }
18030 if (obj3) {
18031 {
18032 arg4 = wxString_in_helper(obj3);
18033 if (arg4 == NULL) SWIG_fail;
18034 temp4 = true;
18035 }
18036 }
18037 if (obj4) {
18038 ecode5 = SWIG_AsVal_long(obj4, &val5);
18039 if (!SWIG_IsOK(ecode5)) {
18040 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18041 }
18042 arg5 = static_cast< long >(val5);
18043 }
18044 if (obj5) {
18045 {
18046 arg6 = &temp6;
18047 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18048 }
18049 }
18050 {
18051 if (!wxPyCheckForApp()) SWIG_fail;
18052 PyThreadState* __tstate = wxPyBeginAllowThreads();
18053 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18054 wxPyEndAllowThreads(__tstate);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 }
18057 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18058 {
18059 if (temp2)
18060 delete arg2;
18061 }
18062 {
18063 if (temp3)
18064 delete arg3;
18065 }
18066 {
18067 if (temp4)
18068 delete arg4;
18069 }
18070 return resultobj;
18071 fail:
18072 {
18073 if (temp2)
18074 delete arg2;
18075 }
18076 {
18077 if (temp3)
18078 delete arg3;
18079 }
18080 {
18081 if (temp4)
18082 delete arg4;
18083 }
18084 return NULL;
18085 }
18086
18087
18088 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18089 PyObject *resultobj = 0;
18090 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18091 wxString result;
18092 void *argp1 = 0 ;
18093 int res1 = 0 ;
18094 PyObject *swig_obj[1] ;
18095
18096 if (!args) SWIG_fail;
18097 swig_obj[0] = args;
18098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18099 if (!SWIG_IsOK(res1)) {
18100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18101 }
18102 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 result = (arg1)->GetValue();
18106 wxPyEndAllowThreads(__tstate);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 }
18109 {
18110 #if wxUSE_UNICODE
18111 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18112 #else
18113 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18114 #endif
18115 }
18116 return resultobj;
18117 fail:
18118 return NULL;
18119 }
18120
18121
18122 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18123 PyObject *resultobj = 0;
18124 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18125 wxString *arg2 = 0 ;
18126 void *argp1 = 0 ;
18127 int res1 = 0 ;
18128 bool temp2 = false ;
18129 PyObject * obj0 = 0 ;
18130 PyObject * obj1 = 0 ;
18131 char * kwnames[] = {
18132 (char *) "self",(char *) "value", NULL
18133 };
18134
18135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18137 if (!SWIG_IsOK(res1)) {
18138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18139 }
18140 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18141 {
18142 arg2 = wxString_in_helper(obj1);
18143 if (arg2 == NULL) SWIG_fail;
18144 temp2 = true;
18145 }
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 (arg1)->SetValue((wxString const &)*arg2);
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 resultobj = SWIG_Py_Void();
18153 {
18154 if (temp2)
18155 delete arg2;
18156 }
18157 return resultobj;
18158 fail:
18159 {
18160 if (temp2)
18161 delete arg2;
18162 }
18163 return NULL;
18164 }
18165
18166
18167 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18168 PyObject *obj;
18169 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18170 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18171 return SWIG_Py_Void();
18172 }
18173
18174 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18175 return SWIG_Python_InitShadowInstance(args);
18176 }
18177
18178 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18179 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18180 return 1;
18181 }
18182
18183
18184 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18185 PyObject *pyobj = 0;
18186
18187 {
18188 #if wxUSE_UNICODE
18189 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18190 #else
18191 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18192 #endif
18193 }
18194 return pyobj;
18195 }
18196
18197
18198 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18199 PyObject *resultobj = 0;
18200 wxWindow *arg1 = (wxWindow *) 0 ;
18201 wxString *arg2 = 0 ;
18202 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18203 wxString *arg3 = (wxString *) &arg3_defvalue ;
18204 wxString const &arg4_defvalue = wxPyEmptyString ;
18205 wxString *arg4 = (wxString *) &arg4_defvalue ;
18206 long arg5 = (long) wxTextEntryDialogStyle ;
18207 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18208 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18209 wxPasswordEntryDialog *result = 0 ;
18210 void *argp1 = 0 ;
18211 int res1 = 0 ;
18212 bool temp2 = false ;
18213 bool temp3 = false ;
18214 bool temp4 = false ;
18215 long val5 ;
18216 int ecode5 = 0 ;
18217 wxPoint temp6 ;
18218 PyObject * obj0 = 0 ;
18219 PyObject * obj1 = 0 ;
18220 PyObject * obj2 = 0 ;
18221 PyObject * obj3 = 0 ;
18222 PyObject * obj4 = 0 ;
18223 PyObject * obj5 = 0 ;
18224 char * kwnames[] = {
18225 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18226 };
18227
18228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18230 if (!SWIG_IsOK(res1)) {
18231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18232 }
18233 arg1 = reinterpret_cast< wxWindow * >(argp1);
18234 {
18235 arg2 = wxString_in_helper(obj1);
18236 if (arg2 == NULL) SWIG_fail;
18237 temp2 = true;
18238 }
18239 if (obj2) {
18240 {
18241 arg3 = wxString_in_helper(obj2);
18242 if (arg3 == NULL) SWIG_fail;
18243 temp3 = true;
18244 }
18245 }
18246 if (obj3) {
18247 {
18248 arg4 = wxString_in_helper(obj3);
18249 if (arg4 == NULL) SWIG_fail;
18250 temp4 = true;
18251 }
18252 }
18253 if (obj4) {
18254 ecode5 = SWIG_AsVal_long(obj4, &val5);
18255 if (!SWIG_IsOK(ecode5)) {
18256 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18257 }
18258 arg5 = static_cast< long >(val5);
18259 }
18260 if (obj5) {
18261 {
18262 arg6 = &temp6;
18263 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18264 }
18265 }
18266 {
18267 PyThreadState* __tstate = wxPyBeginAllowThreads();
18268 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18269 wxPyEndAllowThreads(__tstate);
18270 if (PyErr_Occurred()) SWIG_fail;
18271 }
18272 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18273 {
18274 if (temp2)
18275 delete arg2;
18276 }
18277 {
18278 if (temp3)
18279 delete arg3;
18280 }
18281 {
18282 if (temp4)
18283 delete arg4;
18284 }
18285 return resultobj;
18286 fail:
18287 {
18288 if (temp2)
18289 delete arg2;
18290 }
18291 {
18292 if (temp3)
18293 delete arg3;
18294 }
18295 {
18296 if (temp4)
18297 delete arg4;
18298 }
18299 return NULL;
18300 }
18301
18302
18303 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18304 PyObject *obj;
18305 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18306 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18307 return SWIG_Py_Void();
18308 }
18309
18310 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18311 return SWIG_Python_InitShadowInstance(args);
18312 }
18313
18314 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18315 PyObject *resultobj = 0;
18316 wxFontData *result = 0 ;
18317
18318 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18319 {
18320 PyThreadState* __tstate = wxPyBeginAllowThreads();
18321 result = (wxFontData *)new wxFontData();
18322 wxPyEndAllowThreads(__tstate);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
18325 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18326 return resultobj;
18327 fail:
18328 return NULL;
18329 }
18330
18331
18332 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18333 PyObject *resultobj = 0;
18334 wxFontData *arg1 = (wxFontData *) 0 ;
18335 void *argp1 = 0 ;
18336 int res1 = 0 ;
18337 PyObject *swig_obj[1] ;
18338
18339 if (!args) SWIG_fail;
18340 swig_obj[0] = args;
18341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18342 if (!SWIG_IsOK(res1)) {
18343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18344 }
18345 arg1 = reinterpret_cast< wxFontData * >(argp1);
18346 {
18347 PyThreadState* __tstate = wxPyBeginAllowThreads();
18348 delete arg1;
18349
18350 wxPyEndAllowThreads(__tstate);
18351 if (PyErr_Occurred()) SWIG_fail;
18352 }
18353 resultobj = SWIG_Py_Void();
18354 return resultobj;
18355 fail:
18356 return NULL;
18357 }
18358
18359
18360 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18361 PyObject *resultobj = 0;
18362 wxFontData *arg1 = (wxFontData *) 0 ;
18363 bool arg2 ;
18364 void *argp1 = 0 ;
18365 int res1 = 0 ;
18366 bool val2 ;
18367 int ecode2 = 0 ;
18368 PyObject * obj0 = 0 ;
18369 PyObject * obj1 = 0 ;
18370 char * kwnames[] = {
18371 (char *) "self",(char *) "enable", NULL
18372 };
18373
18374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18376 if (!SWIG_IsOK(res1)) {
18377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18378 }
18379 arg1 = reinterpret_cast< wxFontData * >(argp1);
18380 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18381 if (!SWIG_IsOK(ecode2)) {
18382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18383 }
18384 arg2 = static_cast< bool >(val2);
18385 {
18386 PyThreadState* __tstate = wxPyBeginAllowThreads();
18387 (arg1)->EnableEffects(arg2);
18388 wxPyEndAllowThreads(__tstate);
18389 if (PyErr_Occurred()) SWIG_fail;
18390 }
18391 resultobj = SWIG_Py_Void();
18392 return resultobj;
18393 fail:
18394 return NULL;
18395 }
18396
18397
18398 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18399 PyObject *resultobj = 0;
18400 wxFontData *arg1 = (wxFontData *) 0 ;
18401 bool result;
18402 void *argp1 = 0 ;
18403 int res1 = 0 ;
18404 PyObject *swig_obj[1] ;
18405
18406 if (!args) SWIG_fail;
18407 swig_obj[0] = args;
18408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18409 if (!SWIG_IsOK(res1)) {
18410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18411 }
18412 arg1 = reinterpret_cast< wxFontData * >(argp1);
18413 {
18414 PyThreadState* __tstate = wxPyBeginAllowThreads();
18415 result = (bool)(arg1)->GetAllowSymbols();
18416 wxPyEndAllowThreads(__tstate);
18417 if (PyErr_Occurred()) SWIG_fail;
18418 }
18419 {
18420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18421 }
18422 return resultobj;
18423 fail:
18424 return NULL;
18425 }
18426
18427
18428 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18429 PyObject *resultobj = 0;
18430 wxFontData *arg1 = (wxFontData *) 0 ;
18431 wxColour result;
18432 void *argp1 = 0 ;
18433 int res1 = 0 ;
18434 PyObject *swig_obj[1] ;
18435
18436 if (!args) SWIG_fail;
18437 swig_obj[0] = args;
18438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18439 if (!SWIG_IsOK(res1)) {
18440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18441 }
18442 arg1 = reinterpret_cast< wxFontData * >(argp1);
18443 {
18444 PyThreadState* __tstate = wxPyBeginAllowThreads();
18445 result = (arg1)->GetColour();
18446 wxPyEndAllowThreads(__tstate);
18447 if (PyErr_Occurred()) SWIG_fail;
18448 }
18449 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18450 return resultobj;
18451 fail:
18452 return NULL;
18453 }
18454
18455
18456 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18457 PyObject *resultobj = 0;
18458 wxFontData *arg1 = (wxFontData *) 0 ;
18459 wxFont result;
18460 void *argp1 = 0 ;
18461 int res1 = 0 ;
18462 PyObject *swig_obj[1] ;
18463
18464 if (!args) SWIG_fail;
18465 swig_obj[0] = args;
18466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18467 if (!SWIG_IsOK(res1)) {
18468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18469 }
18470 arg1 = reinterpret_cast< wxFontData * >(argp1);
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 result = (arg1)->GetChosenFont();
18474 wxPyEndAllowThreads(__tstate);
18475 if (PyErr_Occurred()) SWIG_fail;
18476 }
18477 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18478 return resultobj;
18479 fail:
18480 return NULL;
18481 }
18482
18483
18484 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18485 PyObject *resultobj = 0;
18486 wxFontData *arg1 = (wxFontData *) 0 ;
18487 bool result;
18488 void *argp1 = 0 ;
18489 int res1 = 0 ;
18490 PyObject *swig_obj[1] ;
18491
18492 if (!args) SWIG_fail;
18493 swig_obj[0] = args;
18494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18495 if (!SWIG_IsOK(res1)) {
18496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18497 }
18498 arg1 = reinterpret_cast< wxFontData * >(argp1);
18499 {
18500 PyThreadState* __tstate = wxPyBeginAllowThreads();
18501 result = (bool)(arg1)->GetEnableEffects();
18502 wxPyEndAllowThreads(__tstate);
18503 if (PyErr_Occurred()) SWIG_fail;
18504 }
18505 {
18506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18507 }
18508 return resultobj;
18509 fail:
18510 return NULL;
18511 }
18512
18513
18514 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18515 PyObject *resultobj = 0;
18516 wxFontData *arg1 = (wxFontData *) 0 ;
18517 wxFont result;
18518 void *argp1 = 0 ;
18519 int res1 = 0 ;
18520 PyObject *swig_obj[1] ;
18521
18522 if (!args) SWIG_fail;
18523 swig_obj[0] = args;
18524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18525 if (!SWIG_IsOK(res1)) {
18526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18527 }
18528 arg1 = reinterpret_cast< wxFontData * >(argp1);
18529 {
18530 PyThreadState* __tstate = wxPyBeginAllowThreads();
18531 result = (arg1)->GetInitialFont();
18532 wxPyEndAllowThreads(__tstate);
18533 if (PyErr_Occurred()) SWIG_fail;
18534 }
18535 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18536 return resultobj;
18537 fail:
18538 return NULL;
18539 }
18540
18541
18542 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18543 PyObject *resultobj = 0;
18544 wxFontData *arg1 = (wxFontData *) 0 ;
18545 bool result;
18546 void *argp1 = 0 ;
18547 int res1 = 0 ;
18548 PyObject *swig_obj[1] ;
18549
18550 if (!args) SWIG_fail;
18551 swig_obj[0] = args;
18552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18553 if (!SWIG_IsOK(res1)) {
18554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18555 }
18556 arg1 = reinterpret_cast< wxFontData * >(argp1);
18557 {
18558 PyThreadState* __tstate = wxPyBeginAllowThreads();
18559 result = (bool)(arg1)->GetShowHelp();
18560 wxPyEndAllowThreads(__tstate);
18561 if (PyErr_Occurred()) SWIG_fail;
18562 }
18563 {
18564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18565 }
18566 return resultobj;
18567 fail:
18568 return NULL;
18569 }
18570
18571
18572 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18573 PyObject *resultobj = 0;
18574 wxFontData *arg1 = (wxFontData *) 0 ;
18575 bool arg2 ;
18576 void *argp1 = 0 ;
18577 int res1 = 0 ;
18578 bool val2 ;
18579 int ecode2 = 0 ;
18580 PyObject * obj0 = 0 ;
18581 PyObject * obj1 = 0 ;
18582 char * kwnames[] = {
18583 (char *) "self",(char *) "allowSymbols", NULL
18584 };
18585
18586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18588 if (!SWIG_IsOK(res1)) {
18589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18590 }
18591 arg1 = reinterpret_cast< wxFontData * >(argp1);
18592 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18593 if (!SWIG_IsOK(ecode2)) {
18594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18595 }
18596 arg2 = static_cast< bool >(val2);
18597 {
18598 PyThreadState* __tstate = wxPyBeginAllowThreads();
18599 (arg1)->SetAllowSymbols(arg2);
18600 wxPyEndAllowThreads(__tstate);
18601 if (PyErr_Occurred()) SWIG_fail;
18602 }
18603 resultobj = SWIG_Py_Void();
18604 return resultobj;
18605 fail:
18606 return NULL;
18607 }
18608
18609
18610 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18611 PyObject *resultobj = 0;
18612 wxFontData *arg1 = (wxFontData *) 0 ;
18613 wxFont *arg2 = 0 ;
18614 void *argp1 = 0 ;
18615 int res1 = 0 ;
18616 void *argp2 = 0 ;
18617 int res2 = 0 ;
18618 PyObject * obj0 = 0 ;
18619 PyObject * obj1 = 0 ;
18620 char * kwnames[] = {
18621 (char *) "self",(char *) "font", NULL
18622 };
18623
18624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18626 if (!SWIG_IsOK(res1)) {
18627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18628 }
18629 arg1 = reinterpret_cast< wxFontData * >(argp1);
18630 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18631 if (!SWIG_IsOK(res2)) {
18632 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18633 }
18634 if (!argp2) {
18635 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18636 }
18637 arg2 = reinterpret_cast< wxFont * >(argp2);
18638 {
18639 PyThreadState* __tstate = wxPyBeginAllowThreads();
18640 (arg1)->SetChosenFont((wxFont const &)*arg2);
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 resultobj = SWIG_Py_Void();
18645 return resultobj;
18646 fail:
18647 return NULL;
18648 }
18649
18650
18651 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18652 PyObject *resultobj = 0;
18653 wxFontData *arg1 = (wxFontData *) 0 ;
18654 wxColour *arg2 = 0 ;
18655 void *argp1 = 0 ;
18656 int res1 = 0 ;
18657 wxColour temp2 ;
18658 PyObject * obj0 = 0 ;
18659 PyObject * obj1 = 0 ;
18660 char * kwnames[] = {
18661 (char *) "self",(char *) "colour", NULL
18662 };
18663
18664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18666 if (!SWIG_IsOK(res1)) {
18667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18668 }
18669 arg1 = reinterpret_cast< wxFontData * >(argp1);
18670 {
18671 arg2 = &temp2;
18672 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18673 }
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 (arg1)->SetColour((wxColour const &)*arg2);
18677 wxPyEndAllowThreads(__tstate);
18678 if (PyErr_Occurred()) SWIG_fail;
18679 }
18680 resultobj = SWIG_Py_Void();
18681 return resultobj;
18682 fail:
18683 return NULL;
18684 }
18685
18686
18687 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18688 PyObject *resultobj = 0;
18689 wxFontData *arg1 = (wxFontData *) 0 ;
18690 wxFont *arg2 = 0 ;
18691 void *argp1 = 0 ;
18692 int res1 = 0 ;
18693 void *argp2 = 0 ;
18694 int res2 = 0 ;
18695 PyObject * obj0 = 0 ;
18696 PyObject * obj1 = 0 ;
18697 char * kwnames[] = {
18698 (char *) "self",(char *) "font", NULL
18699 };
18700
18701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18703 if (!SWIG_IsOK(res1)) {
18704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18705 }
18706 arg1 = reinterpret_cast< wxFontData * >(argp1);
18707 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18708 if (!SWIG_IsOK(res2)) {
18709 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18710 }
18711 if (!argp2) {
18712 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18713 }
18714 arg2 = reinterpret_cast< wxFont * >(argp2);
18715 {
18716 PyThreadState* __tstate = wxPyBeginAllowThreads();
18717 (arg1)->SetInitialFont((wxFont const &)*arg2);
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 resultobj = SWIG_Py_Void();
18722 return resultobj;
18723 fail:
18724 return NULL;
18725 }
18726
18727
18728 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18729 PyObject *resultobj = 0;
18730 wxFontData *arg1 = (wxFontData *) 0 ;
18731 int arg2 ;
18732 int arg3 ;
18733 void *argp1 = 0 ;
18734 int res1 = 0 ;
18735 int val2 ;
18736 int ecode2 = 0 ;
18737 int val3 ;
18738 int ecode3 = 0 ;
18739 PyObject * obj0 = 0 ;
18740 PyObject * obj1 = 0 ;
18741 PyObject * obj2 = 0 ;
18742 char * kwnames[] = {
18743 (char *) "self",(char *) "min",(char *) "max", NULL
18744 };
18745
18746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18748 if (!SWIG_IsOK(res1)) {
18749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18750 }
18751 arg1 = reinterpret_cast< wxFontData * >(argp1);
18752 ecode2 = SWIG_AsVal_int(obj1, &val2);
18753 if (!SWIG_IsOK(ecode2)) {
18754 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18755 }
18756 arg2 = static_cast< int >(val2);
18757 ecode3 = SWIG_AsVal_int(obj2, &val3);
18758 if (!SWIG_IsOK(ecode3)) {
18759 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18760 }
18761 arg3 = static_cast< int >(val3);
18762 {
18763 PyThreadState* __tstate = wxPyBeginAllowThreads();
18764 (arg1)->SetRange(arg2,arg3);
18765 wxPyEndAllowThreads(__tstate);
18766 if (PyErr_Occurred()) SWIG_fail;
18767 }
18768 resultobj = SWIG_Py_Void();
18769 return resultobj;
18770 fail:
18771 return NULL;
18772 }
18773
18774
18775 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18776 PyObject *resultobj = 0;
18777 wxFontData *arg1 = (wxFontData *) 0 ;
18778 bool arg2 ;
18779 void *argp1 = 0 ;
18780 int res1 = 0 ;
18781 bool val2 ;
18782 int ecode2 = 0 ;
18783 PyObject * obj0 = 0 ;
18784 PyObject * obj1 = 0 ;
18785 char * kwnames[] = {
18786 (char *) "self",(char *) "showHelp", NULL
18787 };
18788
18789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18791 if (!SWIG_IsOK(res1)) {
18792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18793 }
18794 arg1 = reinterpret_cast< wxFontData * >(argp1);
18795 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18796 if (!SWIG_IsOK(ecode2)) {
18797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18798 }
18799 arg2 = static_cast< bool >(val2);
18800 {
18801 PyThreadState* __tstate = wxPyBeginAllowThreads();
18802 (arg1)->SetShowHelp(arg2);
18803 wxPyEndAllowThreads(__tstate);
18804 if (PyErr_Occurred()) SWIG_fail;
18805 }
18806 resultobj = SWIG_Py_Void();
18807 return resultobj;
18808 fail:
18809 return NULL;
18810 }
18811
18812
18813 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18814 PyObject *obj;
18815 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18816 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18817 return SWIG_Py_Void();
18818 }
18819
18820 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18821 return SWIG_Python_InitShadowInstance(args);
18822 }
18823
18824 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18825 PyObject *resultobj = 0;
18826 wxWindow *arg1 = (wxWindow *) 0 ;
18827 wxFontData *arg2 = 0 ;
18828 wxFontDialog *result = 0 ;
18829 void *argp1 = 0 ;
18830 int res1 = 0 ;
18831 void *argp2 = 0 ;
18832 int res2 = 0 ;
18833 PyObject * obj0 = 0 ;
18834 PyObject * obj1 = 0 ;
18835 char * kwnames[] = {
18836 (char *) "parent",(char *) "data", NULL
18837 };
18838
18839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18841 if (!SWIG_IsOK(res1)) {
18842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18843 }
18844 arg1 = reinterpret_cast< wxWindow * >(argp1);
18845 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18846 if (!SWIG_IsOK(res2)) {
18847 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18848 }
18849 if (!argp2) {
18850 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18851 }
18852 arg2 = reinterpret_cast< wxFontData * >(argp2);
18853 {
18854 if (!wxPyCheckForApp()) SWIG_fail;
18855 PyThreadState* __tstate = wxPyBeginAllowThreads();
18856 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18857 wxPyEndAllowThreads(__tstate);
18858 if (PyErr_Occurred()) SWIG_fail;
18859 }
18860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18861 return resultobj;
18862 fail:
18863 return NULL;
18864 }
18865
18866
18867 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18868 PyObject *resultobj = 0;
18869 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18870 wxFontData *result = 0 ;
18871 void *argp1 = 0 ;
18872 int res1 = 0 ;
18873 PyObject *swig_obj[1] ;
18874
18875 if (!args) SWIG_fail;
18876 swig_obj[0] = args;
18877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
18878 if (!SWIG_IsOK(res1)) {
18879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18880 }
18881 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
18882 {
18883 PyThreadState* __tstate = wxPyBeginAllowThreads();
18884 {
18885 wxFontData &_result_ref = (arg1)->GetFontData();
18886 result = (wxFontData *) &_result_ref;
18887 }
18888 wxPyEndAllowThreads(__tstate);
18889 if (PyErr_Occurred()) SWIG_fail;
18890 }
18891 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
18892 return resultobj;
18893 fail:
18894 return NULL;
18895 }
18896
18897
18898 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18899 PyObject *obj;
18900 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18901 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
18902 return SWIG_Py_Void();
18903 }
18904
18905 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18906 return SWIG_Python_InitShadowInstance(args);
18907 }
18908
18909 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18910 PyObject *resultobj = 0;
18911 wxWindow *arg1 = (wxWindow *) NULL ;
18912 wxFont const &arg2_defvalue = wxNullFont ;
18913 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
18914 wxString const &arg3_defvalue = wxPyEmptyString ;
18915 wxString *arg3 = (wxString *) &arg3_defvalue ;
18916 wxFont result;
18917 void *argp1 = 0 ;
18918 int res1 = 0 ;
18919 void *argp2 = 0 ;
18920 int res2 = 0 ;
18921 bool temp3 = false ;
18922 PyObject * obj0 = 0 ;
18923 PyObject * obj1 = 0 ;
18924 PyObject * obj2 = 0 ;
18925 char * kwnames[] = {
18926 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18927 };
18928
18929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18930 if (obj0) {
18931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18932 if (!SWIG_IsOK(res1)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18934 }
18935 arg1 = reinterpret_cast< wxWindow * >(argp1);
18936 }
18937 if (obj1) {
18938 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18939 if (!SWIG_IsOK(res2)) {
18940 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18941 }
18942 if (!argp2) {
18943 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18944 }
18945 arg2 = reinterpret_cast< wxFont * >(argp2);
18946 }
18947 if (obj2) {
18948 {
18949 arg3 = wxString_in_helper(obj2);
18950 if (arg3 == NULL) SWIG_fail;
18951 temp3 = true;
18952 }
18953 }
18954 {
18955 PyThreadState* __tstate = wxPyBeginAllowThreads();
18956 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
18957 wxPyEndAllowThreads(__tstate);
18958 if (PyErr_Occurred()) SWIG_fail;
18959 }
18960 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18961 {
18962 if (temp3)
18963 delete arg3;
18964 }
18965 return resultobj;
18966 fail:
18967 {
18968 if (temp3)
18969 delete arg3;
18970 }
18971 return NULL;
18972 }
18973
18974
18975 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18976 PyObject *resultobj = 0;
18977 wxWindow *arg1 = (wxWindow *) 0 ;
18978 wxString *arg2 = 0 ;
18979 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
18980 wxString *arg3 = (wxString *) &arg3_defvalue ;
18981 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
18982 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18983 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18984 wxMessageDialog *result = 0 ;
18985 void *argp1 = 0 ;
18986 int res1 = 0 ;
18987 bool temp2 = false ;
18988 bool temp3 = false ;
18989 long val4 ;
18990 int ecode4 = 0 ;
18991 wxPoint temp5 ;
18992 PyObject * obj0 = 0 ;
18993 PyObject * obj1 = 0 ;
18994 PyObject * obj2 = 0 ;
18995 PyObject * obj3 = 0 ;
18996 PyObject * obj4 = 0 ;
18997 char * kwnames[] = {
18998 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18999 };
19000
19001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19003 if (!SWIG_IsOK(res1)) {
19004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19005 }
19006 arg1 = reinterpret_cast< wxWindow * >(argp1);
19007 {
19008 arg2 = wxString_in_helper(obj1);
19009 if (arg2 == NULL) SWIG_fail;
19010 temp2 = true;
19011 }
19012 if (obj2) {
19013 {
19014 arg3 = wxString_in_helper(obj2);
19015 if (arg3 == NULL) SWIG_fail;
19016 temp3 = true;
19017 }
19018 }
19019 if (obj3) {
19020 ecode4 = SWIG_AsVal_long(obj3, &val4);
19021 if (!SWIG_IsOK(ecode4)) {
19022 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19023 }
19024 arg4 = static_cast< long >(val4);
19025 }
19026 if (obj4) {
19027 {
19028 arg5 = &temp5;
19029 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19030 }
19031 }
19032 {
19033 if (!wxPyCheckForApp()) SWIG_fail;
19034 PyThreadState* __tstate = wxPyBeginAllowThreads();
19035 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19036 wxPyEndAllowThreads(__tstate);
19037 if (PyErr_Occurred()) SWIG_fail;
19038 }
19039 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19040 {
19041 if (temp2)
19042 delete arg2;
19043 }
19044 {
19045 if (temp3)
19046 delete arg3;
19047 }
19048 return resultobj;
19049 fail:
19050 {
19051 if (temp2)
19052 delete arg2;
19053 }
19054 {
19055 if (temp3)
19056 delete arg3;
19057 }
19058 return NULL;
19059 }
19060
19061
19062 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19063 PyObject *obj;
19064 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19065 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19066 return SWIG_Py_Void();
19067 }
19068
19069 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19070 return SWIG_Python_InitShadowInstance(args);
19071 }
19072
19073 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19074 PyObject *resultobj = 0;
19075 wxString *arg1 = 0 ;
19076 wxString *arg2 = 0 ;
19077 int arg3 = (int) 100 ;
19078 wxWindow *arg4 = (wxWindow *) NULL ;
19079 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19080 wxProgressDialog *result = 0 ;
19081 bool temp1 = false ;
19082 bool temp2 = false ;
19083 int val3 ;
19084 int ecode3 = 0 ;
19085 void *argp4 = 0 ;
19086 int res4 = 0 ;
19087 int val5 ;
19088 int ecode5 = 0 ;
19089 PyObject * obj0 = 0 ;
19090 PyObject * obj1 = 0 ;
19091 PyObject * obj2 = 0 ;
19092 PyObject * obj3 = 0 ;
19093 PyObject * obj4 = 0 ;
19094 char * kwnames[] = {
19095 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19096 };
19097
19098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19099 {
19100 arg1 = wxString_in_helper(obj0);
19101 if (arg1 == NULL) SWIG_fail;
19102 temp1 = true;
19103 }
19104 {
19105 arg2 = wxString_in_helper(obj1);
19106 if (arg2 == NULL) SWIG_fail;
19107 temp2 = true;
19108 }
19109 if (obj2) {
19110 ecode3 = SWIG_AsVal_int(obj2, &val3);
19111 if (!SWIG_IsOK(ecode3)) {
19112 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19113 }
19114 arg3 = static_cast< int >(val3);
19115 }
19116 if (obj3) {
19117 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19118 if (!SWIG_IsOK(res4)) {
19119 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19120 }
19121 arg4 = reinterpret_cast< wxWindow * >(argp4);
19122 }
19123 if (obj4) {
19124 ecode5 = SWIG_AsVal_int(obj4, &val5);
19125 if (!SWIG_IsOK(ecode5)) {
19126 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19127 }
19128 arg5 = static_cast< int >(val5);
19129 }
19130 {
19131 if (!wxPyCheckForApp()) SWIG_fail;
19132 PyThreadState* __tstate = wxPyBeginAllowThreads();
19133 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19134 wxPyEndAllowThreads(__tstate);
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19138 {
19139 if (temp1)
19140 delete arg1;
19141 }
19142 {
19143 if (temp2)
19144 delete arg2;
19145 }
19146 return resultobj;
19147 fail:
19148 {
19149 if (temp1)
19150 delete arg1;
19151 }
19152 {
19153 if (temp2)
19154 delete arg2;
19155 }
19156 return NULL;
19157 }
19158
19159
19160 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19161 PyObject *resultobj = 0;
19162 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19163 int arg2 ;
19164 wxString const &arg3_defvalue = wxPyEmptyString ;
19165 wxString *arg3 = (wxString *) &arg3_defvalue ;
19166 bool *arg4 = (bool *) 0 ;
19167 bool result;
19168 void *argp1 = 0 ;
19169 int res1 = 0 ;
19170 int val2 ;
19171 int ecode2 = 0 ;
19172 bool temp3 = false ;
19173 bool temp4 ;
19174 int res4 = SWIG_TMPOBJ ;
19175 PyObject * obj0 = 0 ;
19176 PyObject * obj1 = 0 ;
19177 PyObject * obj2 = 0 ;
19178 char * kwnames[] = {
19179 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19180 };
19181
19182 arg4 = &temp4;
19183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19185 if (!SWIG_IsOK(res1)) {
19186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19187 }
19188 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19189 ecode2 = SWIG_AsVal_int(obj1, &val2);
19190 if (!SWIG_IsOK(ecode2)) {
19191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19192 }
19193 arg2 = static_cast< int >(val2);
19194 if (obj2) {
19195 {
19196 arg3 = wxString_in_helper(obj2);
19197 if (arg3 == NULL) SWIG_fail;
19198 temp3 = true;
19199 }
19200 }
19201 {
19202 PyThreadState* __tstate = wxPyBeginAllowThreads();
19203 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19204 wxPyEndAllowThreads(__tstate);
19205 if (PyErr_Occurred()) SWIG_fail;
19206 }
19207 {
19208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19209 }
19210 if (SWIG_IsTmpObj(res4)) {
19211 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19212 } else {
19213 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19214 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19215 }
19216 {
19217 if (temp3)
19218 delete arg3;
19219 }
19220 return resultobj;
19221 fail:
19222 {
19223 if (temp3)
19224 delete arg3;
19225 }
19226 return NULL;
19227 }
19228
19229
19230 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19231 PyObject *resultobj = 0;
19232 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19233 void *argp1 = 0 ;
19234 int res1 = 0 ;
19235 PyObject *swig_obj[1] ;
19236
19237 if (!args) SWIG_fail;
19238 swig_obj[0] = args;
19239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19240 if (!SWIG_IsOK(res1)) {
19241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19242 }
19243 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19244 {
19245 PyThreadState* __tstate = wxPyBeginAllowThreads();
19246 (arg1)->Resume();
19247 wxPyEndAllowThreads(__tstate);
19248 if (PyErr_Occurred()) SWIG_fail;
19249 }
19250 resultobj = SWIG_Py_Void();
19251 return resultobj;
19252 fail:
19253 return NULL;
19254 }
19255
19256
19257 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19258 PyObject *obj;
19259 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19260 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19261 return SWIG_Py_Void();
19262 }
19263
19264 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19265 return SWIG_Python_InitShadowInstance(args);
19266 }
19267
19268 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19269 PyObject *resultobj = 0;
19270 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19271 int arg2 = (int) 0 ;
19272 wxFindDialogEvent *result = 0 ;
19273 int val1 ;
19274 int ecode1 = 0 ;
19275 int val2 ;
19276 int ecode2 = 0 ;
19277 PyObject * obj0 = 0 ;
19278 PyObject * obj1 = 0 ;
19279 char * kwnames[] = {
19280 (char *) "commandType",(char *) "id", NULL
19281 };
19282
19283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19284 if (obj0) {
19285 ecode1 = SWIG_AsVal_int(obj0, &val1);
19286 if (!SWIG_IsOK(ecode1)) {
19287 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19288 }
19289 arg1 = static_cast< wxEventType >(val1);
19290 }
19291 if (obj1) {
19292 ecode2 = SWIG_AsVal_int(obj1, &val2);
19293 if (!SWIG_IsOK(ecode2)) {
19294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19295 }
19296 arg2 = static_cast< int >(val2);
19297 }
19298 {
19299 PyThreadState* __tstate = wxPyBeginAllowThreads();
19300 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19301 wxPyEndAllowThreads(__tstate);
19302 if (PyErr_Occurred()) SWIG_fail;
19303 }
19304 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19305 return resultobj;
19306 fail:
19307 return NULL;
19308 }
19309
19310
19311 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19312 PyObject *resultobj = 0;
19313 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19314 int result;
19315 void *argp1 = 0 ;
19316 int res1 = 0 ;
19317 PyObject *swig_obj[1] ;
19318
19319 if (!args) SWIG_fail;
19320 swig_obj[0] = args;
19321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19322 if (!SWIG_IsOK(res1)) {
19323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19324 }
19325 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19326 {
19327 PyThreadState* __tstate = wxPyBeginAllowThreads();
19328 result = (int)(arg1)->GetFlags();
19329 wxPyEndAllowThreads(__tstate);
19330 if (PyErr_Occurred()) SWIG_fail;
19331 }
19332 resultobj = SWIG_From_int(static_cast< int >(result));
19333 return resultobj;
19334 fail:
19335 return NULL;
19336 }
19337
19338
19339 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19340 PyObject *resultobj = 0;
19341 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19342 wxString *result = 0 ;
19343 void *argp1 = 0 ;
19344 int res1 = 0 ;
19345 PyObject *swig_obj[1] ;
19346
19347 if (!args) SWIG_fail;
19348 swig_obj[0] = args;
19349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19350 if (!SWIG_IsOK(res1)) {
19351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19352 }
19353 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19354 {
19355 PyThreadState* __tstate = wxPyBeginAllowThreads();
19356 {
19357 wxString const &_result_ref = (arg1)->GetFindString();
19358 result = (wxString *) &_result_ref;
19359 }
19360 wxPyEndAllowThreads(__tstate);
19361 if (PyErr_Occurred()) SWIG_fail;
19362 }
19363 {
19364 #if wxUSE_UNICODE
19365 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19366 #else
19367 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19368 #endif
19369 }
19370 return resultobj;
19371 fail:
19372 return NULL;
19373 }
19374
19375
19376 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19377 PyObject *resultobj = 0;
19378 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19379 wxString *result = 0 ;
19380 void *argp1 = 0 ;
19381 int res1 = 0 ;
19382 PyObject *swig_obj[1] ;
19383
19384 if (!args) SWIG_fail;
19385 swig_obj[0] = args;
19386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19387 if (!SWIG_IsOK(res1)) {
19388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19389 }
19390 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19391 {
19392 PyThreadState* __tstate = wxPyBeginAllowThreads();
19393 {
19394 wxString const &_result_ref = (arg1)->GetReplaceString();
19395 result = (wxString *) &_result_ref;
19396 }
19397 wxPyEndAllowThreads(__tstate);
19398 if (PyErr_Occurred()) SWIG_fail;
19399 }
19400 {
19401 #if wxUSE_UNICODE
19402 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19403 #else
19404 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19405 #endif
19406 }
19407 return resultobj;
19408 fail:
19409 return NULL;
19410 }
19411
19412
19413 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19414 PyObject *resultobj = 0;
19415 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19416 wxFindReplaceDialog *result = 0 ;
19417 void *argp1 = 0 ;
19418 int res1 = 0 ;
19419 PyObject *swig_obj[1] ;
19420
19421 if (!args) SWIG_fail;
19422 swig_obj[0] = args;
19423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19424 if (!SWIG_IsOK(res1)) {
19425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19426 }
19427 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19428 {
19429 PyThreadState* __tstate = wxPyBeginAllowThreads();
19430 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19431 wxPyEndAllowThreads(__tstate);
19432 if (PyErr_Occurred()) SWIG_fail;
19433 }
19434 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19435 return resultobj;
19436 fail:
19437 return NULL;
19438 }
19439
19440
19441 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19442 PyObject *resultobj = 0;
19443 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19444 int arg2 ;
19445 void *argp1 = 0 ;
19446 int res1 = 0 ;
19447 int val2 ;
19448 int ecode2 = 0 ;
19449 PyObject * obj0 = 0 ;
19450 PyObject * obj1 = 0 ;
19451 char * kwnames[] = {
19452 (char *) "self",(char *) "flags", NULL
19453 };
19454
19455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19457 if (!SWIG_IsOK(res1)) {
19458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19459 }
19460 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19461 ecode2 = SWIG_AsVal_int(obj1, &val2);
19462 if (!SWIG_IsOK(ecode2)) {
19463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19464 }
19465 arg2 = static_cast< int >(val2);
19466 {
19467 PyThreadState* __tstate = wxPyBeginAllowThreads();
19468 (arg1)->SetFlags(arg2);
19469 wxPyEndAllowThreads(__tstate);
19470 if (PyErr_Occurred()) SWIG_fail;
19471 }
19472 resultobj = SWIG_Py_Void();
19473 return resultobj;
19474 fail:
19475 return NULL;
19476 }
19477
19478
19479 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19480 PyObject *resultobj = 0;
19481 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19482 wxString *arg2 = 0 ;
19483 void *argp1 = 0 ;
19484 int res1 = 0 ;
19485 bool temp2 = false ;
19486 PyObject * obj0 = 0 ;
19487 PyObject * obj1 = 0 ;
19488 char * kwnames[] = {
19489 (char *) "self",(char *) "str", NULL
19490 };
19491
19492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19494 if (!SWIG_IsOK(res1)) {
19495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19496 }
19497 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19498 {
19499 arg2 = wxString_in_helper(obj1);
19500 if (arg2 == NULL) SWIG_fail;
19501 temp2 = true;
19502 }
19503 {
19504 PyThreadState* __tstate = wxPyBeginAllowThreads();
19505 (arg1)->SetFindString((wxString const &)*arg2);
19506 wxPyEndAllowThreads(__tstate);
19507 if (PyErr_Occurred()) SWIG_fail;
19508 }
19509 resultobj = SWIG_Py_Void();
19510 {
19511 if (temp2)
19512 delete arg2;
19513 }
19514 return resultobj;
19515 fail:
19516 {
19517 if (temp2)
19518 delete arg2;
19519 }
19520 return NULL;
19521 }
19522
19523
19524 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19525 PyObject *resultobj = 0;
19526 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19527 wxString *arg2 = 0 ;
19528 void *argp1 = 0 ;
19529 int res1 = 0 ;
19530 bool temp2 = false ;
19531 PyObject * obj0 = 0 ;
19532 PyObject * obj1 = 0 ;
19533 char * kwnames[] = {
19534 (char *) "self",(char *) "str", NULL
19535 };
19536
19537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19539 if (!SWIG_IsOK(res1)) {
19540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19541 }
19542 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19543 {
19544 arg2 = wxString_in_helper(obj1);
19545 if (arg2 == NULL) SWIG_fail;
19546 temp2 = true;
19547 }
19548 {
19549 PyThreadState* __tstate = wxPyBeginAllowThreads();
19550 (arg1)->SetReplaceString((wxString const &)*arg2);
19551 wxPyEndAllowThreads(__tstate);
19552 if (PyErr_Occurred()) SWIG_fail;
19553 }
19554 resultobj = SWIG_Py_Void();
19555 {
19556 if (temp2)
19557 delete arg2;
19558 }
19559 return resultobj;
19560 fail:
19561 {
19562 if (temp2)
19563 delete arg2;
19564 }
19565 return NULL;
19566 }
19567
19568
19569 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19570 PyObject *obj;
19571 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19572 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19573 return SWIG_Py_Void();
19574 }
19575
19576 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19577 return SWIG_Python_InitShadowInstance(args);
19578 }
19579
19580 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19581 PyObject *resultobj = 0;
19582 int arg1 = (int) 0 ;
19583 wxFindReplaceData *result = 0 ;
19584 int val1 ;
19585 int ecode1 = 0 ;
19586 PyObject * obj0 = 0 ;
19587 char * kwnames[] = {
19588 (char *) "flags", NULL
19589 };
19590
19591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19592 if (obj0) {
19593 ecode1 = SWIG_AsVal_int(obj0, &val1);
19594 if (!SWIG_IsOK(ecode1)) {
19595 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19596 }
19597 arg1 = static_cast< int >(val1);
19598 }
19599 {
19600 PyThreadState* __tstate = wxPyBeginAllowThreads();
19601 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19602 wxPyEndAllowThreads(__tstate);
19603 if (PyErr_Occurred()) SWIG_fail;
19604 }
19605 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19606 return resultobj;
19607 fail:
19608 return NULL;
19609 }
19610
19611
19612 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19613 PyObject *resultobj = 0;
19614 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19615 void *argp1 = 0 ;
19616 int res1 = 0 ;
19617 PyObject *swig_obj[1] ;
19618
19619 if (!args) SWIG_fail;
19620 swig_obj[0] = args;
19621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19622 if (!SWIG_IsOK(res1)) {
19623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19624 }
19625 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19626 {
19627 PyThreadState* __tstate = wxPyBeginAllowThreads();
19628 delete arg1;
19629
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
19633 resultobj = SWIG_Py_Void();
19634 return resultobj;
19635 fail:
19636 return NULL;
19637 }
19638
19639
19640 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19641 PyObject *resultobj = 0;
19642 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19643 wxString *result = 0 ;
19644 void *argp1 = 0 ;
19645 int res1 = 0 ;
19646 PyObject *swig_obj[1] ;
19647
19648 if (!args) SWIG_fail;
19649 swig_obj[0] = args;
19650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19651 if (!SWIG_IsOK(res1)) {
19652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19653 }
19654 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19655 {
19656 PyThreadState* __tstate = wxPyBeginAllowThreads();
19657 {
19658 wxString const &_result_ref = (arg1)->GetFindString();
19659 result = (wxString *) &_result_ref;
19660 }
19661 wxPyEndAllowThreads(__tstate);
19662 if (PyErr_Occurred()) SWIG_fail;
19663 }
19664 {
19665 #if wxUSE_UNICODE
19666 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19667 #else
19668 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19669 #endif
19670 }
19671 return resultobj;
19672 fail:
19673 return NULL;
19674 }
19675
19676
19677 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19678 PyObject *resultobj = 0;
19679 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19680 wxString *result = 0 ;
19681 void *argp1 = 0 ;
19682 int res1 = 0 ;
19683 PyObject *swig_obj[1] ;
19684
19685 if (!args) SWIG_fail;
19686 swig_obj[0] = args;
19687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19688 if (!SWIG_IsOK(res1)) {
19689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19690 }
19691 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19692 {
19693 PyThreadState* __tstate = wxPyBeginAllowThreads();
19694 {
19695 wxString const &_result_ref = (arg1)->GetReplaceString();
19696 result = (wxString *) &_result_ref;
19697 }
19698 wxPyEndAllowThreads(__tstate);
19699 if (PyErr_Occurred()) SWIG_fail;
19700 }
19701 {
19702 #if wxUSE_UNICODE
19703 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19704 #else
19705 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19706 #endif
19707 }
19708 return resultobj;
19709 fail:
19710 return NULL;
19711 }
19712
19713
19714 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19715 PyObject *resultobj = 0;
19716 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19717 int result;
19718 void *argp1 = 0 ;
19719 int res1 = 0 ;
19720 PyObject *swig_obj[1] ;
19721
19722 if (!args) SWIG_fail;
19723 swig_obj[0] = args;
19724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19725 if (!SWIG_IsOK(res1)) {
19726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19727 }
19728 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19729 {
19730 PyThreadState* __tstate = wxPyBeginAllowThreads();
19731 result = (int)(arg1)->GetFlags();
19732 wxPyEndAllowThreads(__tstate);
19733 if (PyErr_Occurred()) SWIG_fail;
19734 }
19735 resultobj = SWIG_From_int(static_cast< int >(result));
19736 return resultobj;
19737 fail:
19738 return NULL;
19739 }
19740
19741
19742 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19743 PyObject *resultobj = 0;
19744 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19745 int arg2 ;
19746 void *argp1 = 0 ;
19747 int res1 = 0 ;
19748 int val2 ;
19749 int ecode2 = 0 ;
19750 PyObject * obj0 = 0 ;
19751 PyObject * obj1 = 0 ;
19752 char * kwnames[] = {
19753 (char *) "self",(char *) "flags", NULL
19754 };
19755
19756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19758 if (!SWIG_IsOK(res1)) {
19759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19760 }
19761 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19762 ecode2 = SWIG_AsVal_int(obj1, &val2);
19763 if (!SWIG_IsOK(ecode2)) {
19764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19765 }
19766 arg2 = static_cast< int >(val2);
19767 {
19768 PyThreadState* __tstate = wxPyBeginAllowThreads();
19769 (arg1)->SetFlags(arg2);
19770 wxPyEndAllowThreads(__tstate);
19771 if (PyErr_Occurred()) SWIG_fail;
19772 }
19773 resultobj = SWIG_Py_Void();
19774 return resultobj;
19775 fail:
19776 return NULL;
19777 }
19778
19779
19780 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19781 PyObject *resultobj = 0;
19782 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19783 wxString *arg2 = 0 ;
19784 void *argp1 = 0 ;
19785 int res1 = 0 ;
19786 bool temp2 = false ;
19787 PyObject * obj0 = 0 ;
19788 PyObject * obj1 = 0 ;
19789 char * kwnames[] = {
19790 (char *) "self",(char *) "str", NULL
19791 };
19792
19793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19795 if (!SWIG_IsOK(res1)) {
19796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19797 }
19798 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19799 {
19800 arg2 = wxString_in_helper(obj1);
19801 if (arg2 == NULL) SWIG_fail;
19802 temp2 = true;
19803 }
19804 {
19805 PyThreadState* __tstate = wxPyBeginAllowThreads();
19806 (arg1)->SetFindString((wxString const &)*arg2);
19807 wxPyEndAllowThreads(__tstate);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 }
19810 resultobj = SWIG_Py_Void();
19811 {
19812 if (temp2)
19813 delete arg2;
19814 }
19815 return resultobj;
19816 fail:
19817 {
19818 if (temp2)
19819 delete arg2;
19820 }
19821 return NULL;
19822 }
19823
19824
19825 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19826 PyObject *resultobj = 0;
19827 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19828 wxString *arg2 = 0 ;
19829 void *argp1 = 0 ;
19830 int res1 = 0 ;
19831 bool temp2 = false ;
19832 PyObject * obj0 = 0 ;
19833 PyObject * obj1 = 0 ;
19834 char * kwnames[] = {
19835 (char *) "self",(char *) "str", NULL
19836 };
19837
19838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19840 if (!SWIG_IsOK(res1)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19842 }
19843 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19844 {
19845 arg2 = wxString_in_helper(obj1);
19846 if (arg2 == NULL) SWIG_fail;
19847 temp2 = true;
19848 }
19849 {
19850 PyThreadState* __tstate = wxPyBeginAllowThreads();
19851 (arg1)->SetReplaceString((wxString const &)*arg2);
19852 wxPyEndAllowThreads(__tstate);
19853 if (PyErr_Occurred()) SWIG_fail;
19854 }
19855 resultobj = SWIG_Py_Void();
19856 {
19857 if (temp2)
19858 delete arg2;
19859 }
19860 return resultobj;
19861 fail:
19862 {
19863 if (temp2)
19864 delete arg2;
19865 }
19866 return NULL;
19867 }
19868
19869
19870 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19871 PyObject *obj;
19872 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19873 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
19874 return SWIG_Py_Void();
19875 }
19876
19877 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19878 return SWIG_Python_InitShadowInstance(args);
19879 }
19880
19881 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19882 PyObject *resultobj = 0;
19883 wxWindow *arg1 = (wxWindow *) 0 ;
19884 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19885 wxString *arg3 = 0 ;
19886 int arg4 = (int) 0 ;
19887 wxFindReplaceDialog *result = 0 ;
19888 void *argp1 = 0 ;
19889 int res1 = 0 ;
19890 void *argp2 = 0 ;
19891 int res2 = 0 ;
19892 bool temp3 = false ;
19893 int val4 ;
19894 int ecode4 = 0 ;
19895 PyObject * obj0 = 0 ;
19896 PyObject * obj1 = 0 ;
19897 PyObject * obj2 = 0 ;
19898 PyObject * obj3 = 0 ;
19899 char * kwnames[] = {
19900 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19901 };
19902
19903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19905 if (!SWIG_IsOK(res1)) {
19906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19907 }
19908 arg1 = reinterpret_cast< wxWindow * >(argp1);
19909 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19910 if (!SWIG_IsOK(res2)) {
19911 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19912 }
19913 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19914 {
19915 arg3 = wxString_in_helper(obj2);
19916 if (arg3 == NULL) SWIG_fail;
19917 temp3 = true;
19918 }
19919 if (obj3) {
19920 ecode4 = SWIG_AsVal_int(obj3, &val4);
19921 if (!SWIG_IsOK(ecode4)) {
19922 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19923 }
19924 arg4 = static_cast< int >(val4);
19925 }
19926 {
19927 if (!wxPyCheckForApp()) SWIG_fail;
19928 PyThreadState* __tstate = wxPyBeginAllowThreads();
19929 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
19934 {
19935 if (temp3)
19936 delete arg3;
19937 }
19938 return resultobj;
19939 fail:
19940 {
19941 if (temp3)
19942 delete arg3;
19943 }
19944 return NULL;
19945 }
19946
19947
19948 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19949 PyObject *resultobj = 0;
19950 wxFindReplaceDialog *result = 0 ;
19951
19952 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
19953 {
19954 if (!wxPyCheckForApp()) SWIG_fail;
19955 PyThreadState* __tstate = wxPyBeginAllowThreads();
19956 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
19957 wxPyEndAllowThreads(__tstate);
19958 if (PyErr_Occurred()) SWIG_fail;
19959 }
19960 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
19961 return resultobj;
19962 fail:
19963 return NULL;
19964 }
19965
19966
19967 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19968 PyObject *resultobj = 0;
19969 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19970 wxWindow *arg2 = (wxWindow *) 0 ;
19971 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
19972 wxString *arg4 = 0 ;
19973 int arg5 = (int) 0 ;
19974 bool result;
19975 void *argp1 = 0 ;
19976 int res1 = 0 ;
19977 void *argp2 = 0 ;
19978 int res2 = 0 ;
19979 void *argp3 = 0 ;
19980 int res3 = 0 ;
19981 bool temp4 = false ;
19982 int val5 ;
19983 int ecode5 = 0 ;
19984 PyObject * obj0 = 0 ;
19985 PyObject * obj1 = 0 ;
19986 PyObject * obj2 = 0 ;
19987 PyObject * obj3 = 0 ;
19988 PyObject * obj4 = 0 ;
19989 char * kwnames[] = {
19990 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19991 };
19992
19993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19995 if (!SWIG_IsOK(res1)) {
19996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19997 }
19998 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19999 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20000 if (!SWIG_IsOK(res2)) {
20001 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20002 }
20003 arg2 = reinterpret_cast< wxWindow * >(argp2);
20004 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20005 if (!SWIG_IsOK(res3)) {
20006 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20007 }
20008 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20009 {
20010 arg4 = wxString_in_helper(obj3);
20011 if (arg4 == NULL) SWIG_fail;
20012 temp4 = true;
20013 }
20014 if (obj4) {
20015 ecode5 = SWIG_AsVal_int(obj4, &val5);
20016 if (!SWIG_IsOK(ecode5)) {
20017 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20018 }
20019 arg5 = static_cast< int >(val5);
20020 }
20021 {
20022 PyThreadState* __tstate = wxPyBeginAllowThreads();
20023 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 {
20028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20029 }
20030 {
20031 if (temp4)
20032 delete arg4;
20033 }
20034 return resultobj;
20035 fail:
20036 {
20037 if (temp4)
20038 delete arg4;
20039 }
20040 return NULL;
20041 }
20042
20043
20044 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20045 PyObject *resultobj = 0;
20046 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20047 wxFindReplaceData *result = 0 ;
20048 void *argp1 = 0 ;
20049 int res1 = 0 ;
20050 PyObject *swig_obj[1] ;
20051
20052 if (!args) SWIG_fail;
20053 swig_obj[0] = args;
20054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20055 if (!SWIG_IsOK(res1)) {
20056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20057 }
20058 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20059 {
20060 PyThreadState* __tstate = wxPyBeginAllowThreads();
20061 result = (wxFindReplaceData *)(arg1)->GetData();
20062 wxPyEndAllowThreads(__tstate);
20063 if (PyErr_Occurred()) SWIG_fail;
20064 }
20065 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20066 return resultobj;
20067 fail:
20068 return NULL;
20069 }
20070
20071
20072 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20073 PyObject *resultobj = 0;
20074 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20075 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20076 void *argp1 = 0 ;
20077 int res1 = 0 ;
20078 void *argp2 = 0 ;
20079 int res2 = 0 ;
20080 PyObject * obj0 = 0 ;
20081 PyObject * obj1 = 0 ;
20082 char * kwnames[] = {
20083 (char *) "self",(char *) "data", NULL
20084 };
20085
20086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20088 if (!SWIG_IsOK(res1)) {
20089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20090 }
20091 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20092 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20093 if (!SWIG_IsOK(res2)) {
20094 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20095 }
20096 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20097 {
20098 PyThreadState* __tstate = wxPyBeginAllowThreads();
20099 (arg1)->SetData(arg2);
20100 wxPyEndAllowThreads(__tstate);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 }
20103 resultobj = SWIG_Py_Void();
20104 return resultobj;
20105 fail:
20106 return NULL;
20107 }
20108
20109
20110 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20111 PyObject *obj;
20112 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20113 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20114 return SWIG_Py_Void();
20115 }
20116
20117 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20118 return SWIG_Python_InitShadowInstance(args);
20119 }
20120
20121 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20122 PyObject *resultobj = 0;
20123 wxWindow *arg1 = (wxWindow *) 0 ;
20124 int arg2 = (int) (int)-1 ;
20125 wxString const &arg3_defvalue = wxPyEmptyString ;
20126 wxString *arg3 = (wxString *) &arg3_defvalue ;
20127 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20128 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20129 wxSize const &arg5_defvalue = wxDefaultSize ;
20130 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20131 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20132 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20133 wxString *arg7 = (wxString *) &arg7_defvalue ;
20134 wxMDIParentFrame *result = 0 ;
20135 void *argp1 = 0 ;
20136 int res1 = 0 ;
20137 int val2 ;
20138 int ecode2 = 0 ;
20139 bool temp3 = false ;
20140 wxPoint temp4 ;
20141 wxSize temp5 ;
20142 long val6 ;
20143 int ecode6 = 0 ;
20144 bool temp7 = false ;
20145 PyObject * obj0 = 0 ;
20146 PyObject * obj1 = 0 ;
20147 PyObject * obj2 = 0 ;
20148 PyObject * obj3 = 0 ;
20149 PyObject * obj4 = 0 ;
20150 PyObject * obj5 = 0 ;
20151 PyObject * obj6 = 0 ;
20152 char * kwnames[] = {
20153 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20154 };
20155
20156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20158 if (!SWIG_IsOK(res1)) {
20159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20160 }
20161 arg1 = reinterpret_cast< wxWindow * >(argp1);
20162 if (obj1) {
20163 ecode2 = SWIG_AsVal_int(obj1, &val2);
20164 if (!SWIG_IsOK(ecode2)) {
20165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20166 }
20167 arg2 = static_cast< int >(val2);
20168 }
20169 if (obj2) {
20170 {
20171 arg3 = wxString_in_helper(obj2);
20172 if (arg3 == NULL) SWIG_fail;
20173 temp3 = true;
20174 }
20175 }
20176 if (obj3) {
20177 {
20178 arg4 = &temp4;
20179 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20180 }
20181 }
20182 if (obj4) {
20183 {
20184 arg5 = &temp5;
20185 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20186 }
20187 }
20188 if (obj5) {
20189 ecode6 = SWIG_AsVal_long(obj5, &val6);
20190 if (!SWIG_IsOK(ecode6)) {
20191 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20192 }
20193 arg6 = static_cast< long >(val6);
20194 }
20195 if (obj6) {
20196 {
20197 arg7 = wxString_in_helper(obj6);
20198 if (arg7 == NULL) SWIG_fail;
20199 temp7 = true;
20200 }
20201 }
20202 {
20203 if (!wxPyCheckForApp()) SWIG_fail;
20204 PyThreadState* __tstate = wxPyBeginAllowThreads();
20205 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20206 wxPyEndAllowThreads(__tstate);
20207 if (PyErr_Occurred()) SWIG_fail;
20208 }
20209 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20210 {
20211 if (temp3)
20212 delete arg3;
20213 }
20214 {
20215 if (temp7)
20216 delete arg7;
20217 }
20218 return resultobj;
20219 fail:
20220 {
20221 if (temp3)
20222 delete arg3;
20223 }
20224 {
20225 if (temp7)
20226 delete arg7;
20227 }
20228 return NULL;
20229 }
20230
20231
20232 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20233 PyObject *resultobj = 0;
20234 wxMDIParentFrame *result = 0 ;
20235
20236 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20237 {
20238 if (!wxPyCheckForApp()) SWIG_fail;
20239 PyThreadState* __tstate = wxPyBeginAllowThreads();
20240 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20241 wxPyEndAllowThreads(__tstate);
20242 if (PyErr_Occurred()) SWIG_fail;
20243 }
20244 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20245 return resultobj;
20246 fail:
20247 return NULL;
20248 }
20249
20250
20251 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20252 PyObject *resultobj = 0;
20253 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20254 wxWindow *arg2 = (wxWindow *) 0 ;
20255 int arg3 = (int) (int)-1 ;
20256 wxString const &arg4_defvalue = wxPyEmptyString ;
20257 wxString *arg4 = (wxString *) &arg4_defvalue ;
20258 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20259 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20260 wxSize const &arg6_defvalue = wxDefaultSize ;
20261 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20262 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20263 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20264 wxString *arg8 = (wxString *) &arg8_defvalue ;
20265 bool result;
20266 void *argp1 = 0 ;
20267 int res1 = 0 ;
20268 void *argp2 = 0 ;
20269 int res2 = 0 ;
20270 int val3 ;
20271 int ecode3 = 0 ;
20272 bool temp4 = false ;
20273 wxPoint temp5 ;
20274 wxSize temp6 ;
20275 long val7 ;
20276 int ecode7 = 0 ;
20277 bool temp8 = false ;
20278 PyObject * obj0 = 0 ;
20279 PyObject * obj1 = 0 ;
20280 PyObject * obj2 = 0 ;
20281 PyObject * obj3 = 0 ;
20282 PyObject * obj4 = 0 ;
20283 PyObject * obj5 = 0 ;
20284 PyObject * obj6 = 0 ;
20285 PyObject * obj7 = 0 ;
20286 char * kwnames[] = {
20287 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20288 };
20289
20290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20292 if (!SWIG_IsOK(res1)) {
20293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20294 }
20295 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20296 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20297 if (!SWIG_IsOK(res2)) {
20298 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20299 }
20300 arg2 = reinterpret_cast< wxWindow * >(argp2);
20301 if (obj2) {
20302 ecode3 = SWIG_AsVal_int(obj2, &val3);
20303 if (!SWIG_IsOK(ecode3)) {
20304 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20305 }
20306 arg3 = static_cast< int >(val3);
20307 }
20308 if (obj3) {
20309 {
20310 arg4 = wxString_in_helper(obj3);
20311 if (arg4 == NULL) SWIG_fail;
20312 temp4 = true;
20313 }
20314 }
20315 if (obj4) {
20316 {
20317 arg5 = &temp5;
20318 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20319 }
20320 }
20321 if (obj5) {
20322 {
20323 arg6 = &temp6;
20324 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20325 }
20326 }
20327 if (obj6) {
20328 ecode7 = SWIG_AsVal_long(obj6, &val7);
20329 if (!SWIG_IsOK(ecode7)) {
20330 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20331 }
20332 arg7 = static_cast< long >(val7);
20333 }
20334 if (obj7) {
20335 {
20336 arg8 = wxString_in_helper(obj7);
20337 if (arg8 == NULL) SWIG_fail;
20338 temp8 = true;
20339 }
20340 }
20341 {
20342 PyThreadState* __tstate = wxPyBeginAllowThreads();
20343 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20344 wxPyEndAllowThreads(__tstate);
20345 if (PyErr_Occurred()) SWIG_fail;
20346 }
20347 {
20348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20349 }
20350 {
20351 if (temp4)
20352 delete arg4;
20353 }
20354 {
20355 if (temp8)
20356 delete arg8;
20357 }
20358 return resultobj;
20359 fail:
20360 {
20361 if (temp4)
20362 delete arg4;
20363 }
20364 {
20365 if (temp8)
20366 delete arg8;
20367 }
20368 return NULL;
20369 }
20370
20371
20372 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20373 PyObject *resultobj = 0;
20374 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20375 void *argp1 = 0 ;
20376 int res1 = 0 ;
20377 PyObject *swig_obj[1] ;
20378
20379 if (!args) SWIG_fail;
20380 swig_obj[0] = args;
20381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20382 if (!SWIG_IsOK(res1)) {
20383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20384 }
20385 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20386 {
20387 PyThreadState* __tstate = wxPyBeginAllowThreads();
20388 (arg1)->ActivateNext();
20389 wxPyEndAllowThreads(__tstate);
20390 if (PyErr_Occurred()) SWIG_fail;
20391 }
20392 resultobj = SWIG_Py_Void();
20393 return resultobj;
20394 fail:
20395 return NULL;
20396 }
20397
20398
20399 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20400 PyObject *resultobj = 0;
20401 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20402 void *argp1 = 0 ;
20403 int res1 = 0 ;
20404 PyObject *swig_obj[1] ;
20405
20406 if (!args) SWIG_fail;
20407 swig_obj[0] = args;
20408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20409 if (!SWIG_IsOK(res1)) {
20410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20411 }
20412 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20413 {
20414 PyThreadState* __tstate = wxPyBeginAllowThreads();
20415 (arg1)->ActivatePrevious();
20416 wxPyEndAllowThreads(__tstate);
20417 if (PyErr_Occurred()) SWIG_fail;
20418 }
20419 resultobj = SWIG_Py_Void();
20420 return resultobj;
20421 fail:
20422 return NULL;
20423 }
20424
20425
20426 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20427 PyObject *resultobj = 0;
20428 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20429 void *argp1 = 0 ;
20430 int res1 = 0 ;
20431 PyObject *swig_obj[1] ;
20432
20433 if (!args) SWIG_fail;
20434 swig_obj[0] = args;
20435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20436 if (!SWIG_IsOK(res1)) {
20437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20438 }
20439 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20440 {
20441 PyThreadState* __tstate = wxPyBeginAllowThreads();
20442 (arg1)->ArrangeIcons();
20443 wxPyEndAllowThreads(__tstate);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 }
20446 resultobj = SWIG_Py_Void();
20447 return resultobj;
20448 fail:
20449 return NULL;
20450 }
20451
20452
20453 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20454 PyObject *resultobj = 0;
20455 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20456 void *argp1 = 0 ;
20457 int res1 = 0 ;
20458 PyObject *swig_obj[1] ;
20459
20460 if (!args) SWIG_fail;
20461 swig_obj[0] = args;
20462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20463 if (!SWIG_IsOK(res1)) {
20464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20465 }
20466 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20467 {
20468 PyThreadState* __tstate = wxPyBeginAllowThreads();
20469 (arg1)->Cascade();
20470 wxPyEndAllowThreads(__tstate);
20471 if (PyErr_Occurred()) SWIG_fail;
20472 }
20473 resultobj = SWIG_Py_Void();
20474 return resultobj;
20475 fail:
20476 return NULL;
20477 }
20478
20479
20480 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20481 PyObject *resultobj = 0;
20482 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20483 wxMDIChildFrame *result = 0 ;
20484 void *argp1 = 0 ;
20485 int res1 = 0 ;
20486 PyObject *swig_obj[1] ;
20487
20488 if (!args) SWIG_fail;
20489 swig_obj[0] = args;
20490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20491 if (!SWIG_IsOK(res1)) {
20492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20493 }
20494 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20495 {
20496 PyThreadState* __tstate = wxPyBeginAllowThreads();
20497 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20498 wxPyEndAllowThreads(__tstate);
20499 if (PyErr_Occurred()) SWIG_fail;
20500 }
20501 {
20502 resultobj = wxPyMake_wxObject(result, (bool)0);
20503 }
20504 return resultobj;
20505 fail:
20506 return NULL;
20507 }
20508
20509
20510 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20511 PyObject *resultobj = 0;
20512 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20513 wxMDIClientWindow *result = 0 ;
20514 void *argp1 = 0 ;
20515 int res1 = 0 ;
20516 PyObject *swig_obj[1] ;
20517
20518 if (!args) SWIG_fail;
20519 swig_obj[0] = args;
20520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20521 if (!SWIG_IsOK(res1)) {
20522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20523 }
20524 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20525 {
20526 PyThreadState* __tstate = wxPyBeginAllowThreads();
20527 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20528 wxPyEndAllowThreads(__tstate);
20529 if (PyErr_Occurred()) SWIG_fail;
20530 }
20531 {
20532 resultobj = wxPyMake_wxObject(result, (bool)0);
20533 }
20534 return resultobj;
20535 fail:
20536 return NULL;
20537 }
20538
20539
20540 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20541 PyObject *resultobj = 0;
20542 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20543 wxWindow *result = 0 ;
20544 void *argp1 = 0 ;
20545 int res1 = 0 ;
20546 PyObject *swig_obj[1] ;
20547
20548 if (!args) SWIG_fail;
20549 swig_obj[0] = args;
20550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20551 if (!SWIG_IsOK(res1)) {
20552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20553 }
20554 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20555 {
20556 PyThreadState* __tstate = wxPyBeginAllowThreads();
20557 result = (wxWindow *)(arg1)->GetToolBar();
20558 wxPyEndAllowThreads(__tstate);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 }
20561 {
20562 resultobj = wxPyMake_wxObject(result, 0);
20563 }
20564 return resultobj;
20565 fail:
20566 return NULL;
20567 }
20568
20569
20570 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20571 PyObject *resultobj = 0;
20572 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20573 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20574 void *argp1 = 0 ;
20575 int res1 = 0 ;
20576 int val2 ;
20577 int ecode2 = 0 ;
20578 PyObject * obj0 = 0 ;
20579 PyObject * obj1 = 0 ;
20580 char * kwnames[] = {
20581 (char *) "self",(char *) "orient", NULL
20582 };
20583
20584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20586 if (!SWIG_IsOK(res1)) {
20587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20588 }
20589 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20590 if (obj1) {
20591 ecode2 = SWIG_AsVal_int(obj1, &val2);
20592 if (!SWIG_IsOK(ecode2)) {
20593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20594 }
20595 arg2 = static_cast< wxOrientation >(val2);
20596 }
20597 {
20598 PyThreadState* __tstate = wxPyBeginAllowThreads();
20599 (arg1)->Tile(arg2);
20600 wxPyEndAllowThreads(__tstate);
20601 if (PyErr_Occurred()) SWIG_fail;
20602 }
20603 resultobj = SWIG_Py_Void();
20604 return resultobj;
20605 fail:
20606 return NULL;
20607 }
20608
20609
20610 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20611 PyObject *obj;
20612 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20613 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20614 return SWIG_Py_Void();
20615 }
20616
20617 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20618 return SWIG_Python_InitShadowInstance(args);
20619 }
20620
20621 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20622 PyObject *resultobj = 0;
20623 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20624 int arg2 = (int) (int)-1 ;
20625 wxString const &arg3_defvalue = wxPyEmptyString ;
20626 wxString *arg3 = (wxString *) &arg3_defvalue ;
20627 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20628 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20629 wxSize const &arg5_defvalue = wxDefaultSize ;
20630 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20631 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20632 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20633 wxString *arg7 = (wxString *) &arg7_defvalue ;
20634 wxMDIChildFrame *result = 0 ;
20635 void *argp1 = 0 ;
20636 int res1 = 0 ;
20637 int val2 ;
20638 int ecode2 = 0 ;
20639 bool temp3 = false ;
20640 wxPoint temp4 ;
20641 wxSize temp5 ;
20642 long val6 ;
20643 int ecode6 = 0 ;
20644 bool temp7 = false ;
20645 PyObject * obj0 = 0 ;
20646 PyObject * obj1 = 0 ;
20647 PyObject * obj2 = 0 ;
20648 PyObject * obj3 = 0 ;
20649 PyObject * obj4 = 0 ;
20650 PyObject * obj5 = 0 ;
20651 PyObject * obj6 = 0 ;
20652 char * kwnames[] = {
20653 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20654 };
20655
20656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20658 if (!SWIG_IsOK(res1)) {
20659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20660 }
20661 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20662 if (obj1) {
20663 ecode2 = SWIG_AsVal_int(obj1, &val2);
20664 if (!SWIG_IsOK(ecode2)) {
20665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20666 }
20667 arg2 = static_cast< int >(val2);
20668 }
20669 if (obj2) {
20670 {
20671 arg3 = wxString_in_helper(obj2);
20672 if (arg3 == NULL) SWIG_fail;
20673 temp3 = true;
20674 }
20675 }
20676 if (obj3) {
20677 {
20678 arg4 = &temp4;
20679 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20680 }
20681 }
20682 if (obj4) {
20683 {
20684 arg5 = &temp5;
20685 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20686 }
20687 }
20688 if (obj5) {
20689 ecode6 = SWIG_AsVal_long(obj5, &val6);
20690 if (!SWIG_IsOK(ecode6)) {
20691 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20692 }
20693 arg6 = static_cast< long >(val6);
20694 }
20695 if (obj6) {
20696 {
20697 arg7 = wxString_in_helper(obj6);
20698 if (arg7 == NULL) SWIG_fail;
20699 temp7 = true;
20700 }
20701 }
20702 {
20703 if (!wxPyCheckForApp()) SWIG_fail;
20704 PyThreadState* __tstate = wxPyBeginAllowThreads();
20705 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20706 wxPyEndAllowThreads(__tstate);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20710 {
20711 if (temp3)
20712 delete arg3;
20713 }
20714 {
20715 if (temp7)
20716 delete arg7;
20717 }
20718 return resultobj;
20719 fail:
20720 {
20721 if (temp3)
20722 delete arg3;
20723 }
20724 {
20725 if (temp7)
20726 delete arg7;
20727 }
20728 return NULL;
20729 }
20730
20731
20732 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20733 PyObject *resultobj = 0;
20734 wxMDIChildFrame *result = 0 ;
20735
20736 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20737 {
20738 if (!wxPyCheckForApp()) SWIG_fail;
20739 PyThreadState* __tstate = wxPyBeginAllowThreads();
20740 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20741 wxPyEndAllowThreads(__tstate);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 }
20744 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20745 return resultobj;
20746 fail:
20747 return NULL;
20748 }
20749
20750
20751 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20752 PyObject *resultobj = 0;
20753 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20754 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20755 int arg3 = (int) (int)-1 ;
20756 wxString const &arg4_defvalue = wxPyEmptyString ;
20757 wxString *arg4 = (wxString *) &arg4_defvalue ;
20758 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20759 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20760 wxSize const &arg6_defvalue = wxDefaultSize ;
20761 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20762 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20763 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20764 wxString *arg8 = (wxString *) &arg8_defvalue ;
20765 bool result;
20766 void *argp1 = 0 ;
20767 int res1 = 0 ;
20768 void *argp2 = 0 ;
20769 int res2 = 0 ;
20770 int val3 ;
20771 int ecode3 = 0 ;
20772 bool temp4 = false ;
20773 wxPoint temp5 ;
20774 wxSize temp6 ;
20775 long val7 ;
20776 int ecode7 = 0 ;
20777 bool temp8 = false ;
20778 PyObject * obj0 = 0 ;
20779 PyObject * obj1 = 0 ;
20780 PyObject * obj2 = 0 ;
20781 PyObject * obj3 = 0 ;
20782 PyObject * obj4 = 0 ;
20783 PyObject * obj5 = 0 ;
20784 PyObject * obj6 = 0 ;
20785 PyObject * obj7 = 0 ;
20786 char * kwnames[] = {
20787 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20788 };
20789
20790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20792 if (!SWIG_IsOK(res1)) {
20793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20794 }
20795 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20796 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20797 if (!SWIG_IsOK(res2)) {
20798 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20799 }
20800 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20801 if (obj2) {
20802 ecode3 = SWIG_AsVal_int(obj2, &val3);
20803 if (!SWIG_IsOK(ecode3)) {
20804 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20805 }
20806 arg3 = static_cast< int >(val3);
20807 }
20808 if (obj3) {
20809 {
20810 arg4 = wxString_in_helper(obj3);
20811 if (arg4 == NULL) SWIG_fail;
20812 temp4 = true;
20813 }
20814 }
20815 if (obj4) {
20816 {
20817 arg5 = &temp5;
20818 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20819 }
20820 }
20821 if (obj5) {
20822 {
20823 arg6 = &temp6;
20824 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20825 }
20826 }
20827 if (obj6) {
20828 ecode7 = SWIG_AsVal_long(obj6, &val7);
20829 if (!SWIG_IsOK(ecode7)) {
20830 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20831 }
20832 arg7 = static_cast< long >(val7);
20833 }
20834 if (obj7) {
20835 {
20836 arg8 = wxString_in_helper(obj7);
20837 if (arg8 == NULL) SWIG_fail;
20838 temp8 = true;
20839 }
20840 }
20841 {
20842 PyThreadState* __tstate = wxPyBeginAllowThreads();
20843 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20844 wxPyEndAllowThreads(__tstate);
20845 if (PyErr_Occurred()) SWIG_fail;
20846 }
20847 {
20848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20849 }
20850 {
20851 if (temp4)
20852 delete arg4;
20853 }
20854 {
20855 if (temp8)
20856 delete arg8;
20857 }
20858 return resultobj;
20859 fail:
20860 {
20861 if (temp4)
20862 delete arg4;
20863 }
20864 {
20865 if (temp8)
20866 delete arg8;
20867 }
20868 return NULL;
20869 }
20870
20871
20872 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20873 PyObject *resultobj = 0;
20874 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20875 void *argp1 = 0 ;
20876 int res1 = 0 ;
20877 PyObject *swig_obj[1] ;
20878
20879 if (!args) SWIG_fail;
20880 swig_obj[0] = args;
20881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20882 if (!SWIG_IsOK(res1)) {
20883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20884 }
20885 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20886 {
20887 PyThreadState* __tstate = wxPyBeginAllowThreads();
20888 (arg1)->Activate();
20889 wxPyEndAllowThreads(__tstate);
20890 if (PyErr_Occurred()) SWIG_fail;
20891 }
20892 resultobj = SWIG_Py_Void();
20893 return resultobj;
20894 fail:
20895 return NULL;
20896 }
20897
20898
20899 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20900 PyObject *obj;
20901 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20902 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
20903 return SWIG_Py_Void();
20904 }
20905
20906 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20907 return SWIG_Python_InitShadowInstance(args);
20908 }
20909
20910 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20911 PyObject *resultobj = 0;
20912 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20913 long arg2 = (long) 0 ;
20914 wxMDIClientWindow *result = 0 ;
20915 void *argp1 = 0 ;
20916 int res1 = 0 ;
20917 long val2 ;
20918 int ecode2 = 0 ;
20919 PyObject * obj0 = 0 ;
20920 PyObject * obj1 = 0 ;
20921 char * kwnames[] = {
20922 (char *) "parent",(char *) "style", NULL
20923 };
20924
20925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
20926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20927 if (!SWIG_IsOK(res1)) {
20928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20929 }
20930 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20931 if (obj1) {
20932 ecode2 = SWIG_AsVal_long(obj1, &val2);
20933 if (!SWIG_IsOK(ecode2)) {
20934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20935 }
20936 arg2 = static_cast< long >(val2);
20937 }
20938 {
20939 if (!wxPyCheckForApp()) SWIG_fail;
20940 PyThreadState* __tstate = wxPyBeginAllowThreads();
20941 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
20942 wxPyEndAllowThreads(__tstate);
20943 if (PyErr_Occurred()) SWIG_fail;
20944 }
20945 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
20946 return resultobj;
20947 fail:
20948 return NULL;
20949 }
20950
20951
20952 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20953 PyObject *resultobj = 0;
20954 wxMDIClientWindow *result = 0 ;
20955
20956 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
20957 {
20958 if (!wxPyCheckForApp()) SWIG_fail;
20959 PyThreadState* __tstate = wxPyBeginAllowThreads();
20960 result = (wxMDIClientWindow *)new wxMDIClientWindow();
20961 wxPyEndAllowThreads(__tstate);
20962 if (PyErr_Occurred()) SWIG_fail;
20963 }
20964 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
20965 return resultobj;
20966 fail:
20967 return NULL;
20968 }
20969
20970
20971 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20972 PyObject *resultobj = 0;
20973 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
20974 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20975 long arg3 = (long) 0 ;
20976 bool result;
20977 void *argp1 = 0 ;
20978 int res1 = 0 ;
20979 void *argp2 = 0 ;
20980 int res2 = 0 ;
20981 long val3 ;
20982 int ecode3 = 0 ;
20983 PyObject * obj0 = 0 ;
20984 PyObject * obj1 = 0 ;
20985 PyObject * obj2 = 0 ;
20986 char * kwnames[] = {
20987 (char *) "self",(char *) "parent",(char *) "style", NULL
20988 };
20989
20990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
20992 if (!SWIG_IsOK(res1)) {
20993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20994 }
20995 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
20996 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20997 if (!SWIG_IsOK(res2)) {
20998 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20999 }
21000 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21001 if (obj2) {
21002 ecode3 = SWIG_AsVal_long(obj2, &val3);
21003 if (!SWIG_IsOK(ecode3)) {
21004 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21005 }
21006 arg3 = static_cast< long >(val3);
21007 }
21008 {
21009 PyThreadState* __tstate = wxPyBeginAllowThreads();
21010 result = (bool)(arg1)->Create(arg2,arg3);
21011 wxPyEndAllowThreads(__tstate);
21012 if (PyErr_Occurred()) SWIG_fail;
21013 }
21014 {
21015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21016 }
21017 return resultobj;
21018 fail:
21019 return NULL;
21020 }
21021
21022
21023 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21024 PyObject *obj;
21025 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21026 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21027 return SWIG_Py_Void();
21028 }
21029
21030 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21031 return SWIG_Python_InitShadowInstance(args);
21032 }
21033
21034 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21035 PyObject *resultobj = 0;
21036 wxWindow *arg1 = (wxWindow *) 0 ;
21037 int arg2 = (int) (int)-1 ;
21038 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21039 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21040 wxSize const &arg4_defvalue = wxDefaultSize ;
21041 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21042 long arg5 = (long) 0 ;
21043 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21044 wxString *arg6 = (wxString *) &arg6_defvalue ;
21045 wxPyWindow *result = 0 ;
21046 void *argp1 = 0 ;
21047 int res1 = 0 ;
21048 int val2 ;
21049 int ecode2 = 0 ;
21050 wxPoint temp3 ;
21051 wxSize temp4 ;
21052 long val5 ;
21053 int ecode5 = 0 ;
21054 bool temp6 = false ;
21055 PyObject * obj0 = 0 ;
21056 PyObject * obj1 = 0 ;
21057 PyObject * obj2 = 0 ;
21058 PyObject * obj3 = 0 ;
21059 PyObject * obj4 = 0 ;
21060 PyObject * obj5 = 0 ;
21061 char * kwnames[] = {
21062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21063 };
21064
21065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21067 if (!SWIG_IsOK(res1)) {
21068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21069 }
21070 arg1 = reinterpret_cast< wxWindow * >(argp1);
21071 if (obj1) {
21072 ecode2 = SWIG_AsVal_int(obj1, &val2);
21073 if (!SWIG_IsOK(ecode2)) {
21074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21075 }
21076 arg2 = static_cast< int >(val2);
21077 }
21078 if (obj2) {
21079 {
21080 arg3 = &temp3;
21081 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21082 }
21083 }
21084 if (obj3) {
21085 {
21086 arg4 = &temp4;
21087 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21088 }
21089 }
21090 if (obj4) {
21091 ecode5 = SWIG_AsVal_long(obj4, &val5);
21092 if (!SWIG_IsOK(ecode5)) {
21093 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21094 }
21095 arg5 = static_cast< long >(val5);
21096 }
21097 if (obj5) {
21098 {
21099 arg6 = wxString_in_helper(obj5);
21100 if (arg6 == NULL) SWIG_fail;
21101 temp6 = true;
21102 }
21103 }
21104 {
21105 if (!wxPyCheckForApp()) SWIG_fail;
21106 PyThreadState* __tstate = wxPyBeginAllowThreads();
21107 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21108 wxPyEndAllowThreads(__tstate);
21109 if (PyErr_Occurred()) SWIG_fail;
21110 }
21111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21112 {
21113 if (temp6)
21114 delete arg6;
21115 }
21116 return resultobj;
21117 fail:
21118 {
21119 if (temp6)
21120 delete arg6;
21121 }
21122 return NULL;
21123 }
21124
21125
21126 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21127 PyObject *resultobj = 0;
21128 wxPyWindow *result = 0 ;
21129
21130 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21131 {
21132 if (!wxPyCheckForApp()) SWIG_fail;
21133 PyThreadState* __tstate = wxPyBeginAllowThreads();
21134 result = (wxPyWindow *)new wxPyWindow();
21135 wxPyEndAllowThreads(__tstate);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 }
21138 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21139 return resultobj;
21140 fail:
21141 return NULL;
21142 }
21143
21144
21145 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21146 PyObject *resultobj = 0;
21147 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21148 PyObject *arg2 = (PyObject *) 0 ;
21149 PyObject *arg3 = (PyObject *) 0 ;
21150 void *argp1 = 0 ;
21151 int res1 = 0 ;
21152 PyObject * obj0 = 0 ;
21153 PyObject * obj1 = 0 ;
21154 PyObject * obj2 = 0 ;
21155 char * kwnames[] = {
21156 (char *) "self",(char *) "self",(char *) "_class", NULL
21157 };
21158
21159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21161 if (!SWIG_IsOK(res1)) {
21162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21163 }
21164 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21165 arg2 = obj1;
21166 arg3 = obj2;
21167 {
21168 PyThreadState* __tstate = wxPyBeginAllowThreads();
21169 (arg1)->_setCallbackInfo(arg2,arg3);
21170 wxPyEndAllowThreads(__tstate);
21171 if (PyErr_Occurred()) SWIG_fail;
21172 }
21173 resultobj = SWIG_Py_Void();
21174 return resultobj;
21175 fail:
21176 return NULL;
21177 }
21178
21179
21180 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21181 PyObject *resultobj = 0;
21182 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21183 wxSize *arg2 = 0 ;
21184 void *argp1 = 0 ;
21185 int res1 = 0 ;
21186 wxSize temp2 ;
21187 PyObject * obj0 = 0 ;
21188 PyObject * obj1 = 0 ;
21189 char * kwnames[] = {
21190 (char *) "self",(char *) "size", NULL
21191 };
21192
21193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21195 if (!SWIG_IsOK(res1)) {
21196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21197 }
21198 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21199 {
21200 arg2 = &temp2;
21201 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21202 }
21203 {
21204 PyThreadState* __tstate = wxPyBeginAllowThreads();
21205 (arg1)->SetBestSize((wxSize const &)*arg2);
21206 wxPyEndAllowThreads(__tstate);
21207 if (PyErr_Occurred()) SWIG_fail;
21208 }
21209 resultobj = SWIG_Py_Void();
21210 return resultobj;
21211 fail:
21212 return NULL;
21213 }
21214
21215
21216 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21217 PyObject *resultobj = 0;
21218 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21219 wxDC *arg2 = (wxDC *) 0 ;
21220 bool result;
21221 void *argp1 = 0 ;
21222 int res1 = 0 ;
21223 void *argp2 = 0 ;
21224 int res2 = 0 ;
21225 PyObject * obj0 = 0 ;
21226 PyObject * obj1 = 0 ;
21227 char * kwnames[] = {
21228 (char *) "self",(char *) "dc", NULL
21229 };
21230
21231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21233 if (!SWIG_IsOK(res1)) {
21234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21235 }
21236 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21237 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21238 if (!SWIG_IsOK(res2)) {
21239 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21240 }
21241 arg2 = reinterpret_cast< wxDC * >(argp2);
21242 {
21243 PyThreadState* __tstate = wxPyBeginAllowThreads();
21244 result = (bool)(arg1)->DoEraseBackground(arg2);
21245 wxPyEndAllowThreads(__tstate);
21246 if (PyErr_Occurred()) SWIG_fail;
21247 }
21248 {
21249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21250 }
21251 return resultobj;
21252 fail:
21253 return NULL;
21254 }
21255
21256
21257 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21258 PyObject *resultobj = 0;
21259 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21260 int arg2 ;
21261 int arg3 ;
21262 int arg4 ;
21263 int arg5 ;
21264 void *argp1 = 0 ;
21265 int res1 = 0 ;
21266 int val2 ;
21267 int ecode2 = 0 ;
21268 int val3 ;
21269 int ecode3 = 0 ;
21270 int val4 ;
21271 int ecode4 = 0 ;
21272 int val5 ;
21273 int ecode5 = 0 ;
21274 PyObject * obj0 = 0 ;
21275 PyObject * obj1 = 0 ;
21276 PyObject * obj2 = 0 ;
21277 PyObject * obj3 = 0 ;
21278 PyObject * obj4 = 0 ;
21279 char * kwnames[] = {
21280 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21281 };
21282
21283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21285 if (!SWIG_IsOK(res1)) {
21286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21287 }
21288 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21289 ecode2 = SWIG_AsVal_int(obj1, &val2);
21290 if (!SWIG_IsOK(ecode2)) {
21291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21292 }
21293 arg2 = static_cast< int >(val2);
21294 ecode3 = SWIG_AsVal_int(obj2, &val3);
21295 if (!SWIG_IsOK(ecode3)) {
21296 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21297 }
21298 arg3 = static_cast< int >(val3);
21299 ecode4 = SWIG_AsVal_int(obj3, &val4);
21300 if (!SWIG_IsOK(ecode4)) {
21301 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21302 }
21303 arg4 = static_cast< int >(val4);
21304 ecode5 = SWIG_AsVal_int(obj4, &val5);
21305 if (!SWIG_IsOK(ecode5)) {
21306 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21307 }
21308 arg5 = static_cast< int >(val5);
21309 {
21310 PyThreadState* __tstate = wxPyBeginAllowThreads();
21311 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21312 wxPyEndAllowThreads(__tstate);
21313 if (PyErr_Occurred()) SWIG_fail;
21314 }
21315 resultobj = SWIG_Py_Void();
21316 return resultobj;
21317 fail:
21318 return NULL;
21319 }
21320
21321
21322 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21323 PyObject *resultobj = 0;
21324 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21325 int arg2 ;
21326 int arg3 ;
21327 int arg4 ;
21328 int arg5 ;
21329 int arg6 = (int) wxSIZE_AUTO ;
21330 void *argp1 = 0 ;
21331 int res1 = 0 ;
21332 int val2 ;
21333 int ecode2 = 0 ;
21334 int val3 ;
21335 int ecode3 = 0 ;
21336 int val4 ;
21337 int ecode4 = 0 ;
21338 int val5 ;
21339 int ecode5 = 0 ;
21340 int val6 ;
21341 int ecode6 = 0 ;
21342 PyObject * obj0 = 0 ;
21343 PyObject * obj1 = 0 ;
21344 PyObject * obj2 = 0 ;
21345 PyObject * obj3 = 0 ;
21346 PyObject * obj4 = 0 ;
21347 PyObject * obj5 = 0 ;
21348 char * kwnames[] = {
21349 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21350 };
21351
21352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21354 if (!SWIG_IsOK(res1)) {
21355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21356 }
21357 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21358 ecode2 = SWIG_AsVal_int(obj1, &val2);
21359 if (!SWIG_IsOK(ecode2)) {
21360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21361 }
21362 arg2 = static_cast< int >(val2);
21363 ecode3 = SWIG_AsVal_int(obj2, &val3);
21364 if (!SWIG_IsOK(ecode3)) {
21365 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21366 }
21367 arg3 = static_cast< int >(val3);
21368 ecode4 = SWIG_AsVal_int(obj3, &val4);
21369 if (!SWIG_IsOK(ecode4)) {
21370 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21371 }
21372 arg4 = static_cast< int >(val4);
21373 ecode5 = SWIG_AsVal_int(obj4, &val5);
21374 if (!SWIG_IsOK(ecode5)) {
21375 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21376 }
21377 arg5 = static_cast< int >(val5);
21378 if (obj5) {
21379 ecode6 = SWIG_AsVal_int(obj5, &val6);
21380 if (!SWIG_IsOK(ecode6)) {
21381 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21382 }
21383 arg6 = static_cast< int >(val6);
21384 }
21385 {
21386 PyThreadState* __tstate = wxPyBeginAllowThreads();
21387 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21388 wxPyEndAllowThreads(__tstate);
21389 if (PyErr_Occurred()) SWIG_fail;
21390 }
21391 resultobj = SWIG_Py_Void();
21392 return resultobj;
21393 fail:
21394 return NULL;
21395 }
21396
21397
21398 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21399 PyObject *resultobj = 0;
21400 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21401 int arg2 ;
21402 int arg3 ;
21403 void *argp1 = 0 ;
21404 int res1 = 0 ;
21405 int val2 ;
21406 int ecode2 = 0 ;
21407 int val3 ;
21408 int ecode3 = 0 ;
21409 PyObject * obj0 = 0 ;
21410 PyObject * obj1 = 0 ;
21411 PyObject * obj2 = 0 ;
21412 char * kwnames[] = {
21413 (char *) "self",(char *) "width",(char *) "height", NULL
21414 };
21415
21416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21418 if (!SWIG_IsOK(res1)) {
21419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21420 }
21421 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21422 ecode2 = SWIG_AsVal_int(obj1, &val2);
21423 if (!SWIG_IsOK(ecode2)) {
21424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21425 }
21426 arg2 = static_cast< int >(val2);
21427 ecode3 = SWIG_AsVal_int(obj2, &val3);
21428 if (!SWIG_IsOK(ecode3)) {
21429 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21430 }
21431 arg3 = static_cast< int >(val3);
21432 {
21433 PyThreadState* __tstate = wxPyBeginAllowThreads();
21434 (arg1)->DoSetClientSize(arg2,arg3);
21435 wxPyEndAllowThreads(__tstate);
21436 if (PyErr_Occurred()) SWIG_fail;
21437 }
21438 resultobj = SWIG_Py_Void();
21439 return resultobj;
21440 fail:
21441 return NULL;
21442 }
21443
21444
21445 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21446 PyObject *resultobj = 0;
21447 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21448 int arg2 ;
21449 int arg3 ;
21450 void *argp1 = 0 ;
21451 int res1 = 0 ;
21452 int val2 ;
21453 int ecode2 = 0 ;
21454 int val3 ;
21455 int ecode3 = 0 ;
21456 PyObject * obj0 = 0 ;
21457 PyObject * obj1 = 0 ;
21458 PyObject * obj2 = 0 ;
21459 char * kwnames[] = {
21460 (char *) "self",(char *) "x",(char *) "y", NULL
21461 };
21462
21463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21465 if (!SWIG_IsOK(res1)) {
21466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21467 }
21468 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21469 ecode2 = SWIG_AsVal_int(obj1, &val2);
21470 if (!SWIG_IsOK(ecode2)) {
21471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21472 }
21473 arg2 = static_cast< int >(val2);
21474 ecode3 = SWIG_AsVal_int(obj2, &val3);
21475 if (!SWIG_IsOK(ecode3)) {
21476 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21477 }
21478 arg3 = static_cast< int >(val3);
21479 {
21480 PyThreadState* __tstate = wxPyBeginAllowThreads();
21481 (arg1)->DoSetVirtualSize(arg2,arg3);
21482 wxPyEndAllowThreads(__tstate);
21483 if (PyErr_Occurred()) SWIG_fail;
21484 }
21485 resultobj = SWIG_Py_Void();
21486 return resultobj;
21487 fail:
21488 return NULL;
21489 }
21490
21491
21492 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21493 PyObject *resultobj = 0;
21494 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21495 int *arg2 = (int *) 0 ;
21496 int *arg3 = (int *) 0 ;
21497 void *argp1 = 0 ;
21498 int res1 = 0 ;
21499 int temp2 ;
21500 int res2 = SWIG_TMPOBJ ;
21501 int temp3 ;
21502 int res3 = SWIG_TMPOBJ ;
21503 PyObject *swig_obj[1] ;
21504
21505 arg2 = &temp2;
21506 arg3 = &temp3;
21507 if (!args) SWIG_fail;
21508 swig_obj[0] = args;
21509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21510 if (!SWIG_IsOK(res1)) {
21511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21512 }
21513 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21514 {
21515 PyThreadState* __tstate = wxPyBeginAllowThreads();
21516 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21517 wxPyEndAllowThreads(__tstate);
21518 if (PyErr_Occurred()) SWIG_fail;
21519 }
21520 resultobj = SWIG_Py_Void();
21521 if (SWIG_IsTmpObj(res2)) {
21522 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21523 } else {
21524 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21525 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21526 }
21527 if (SWIG_IsTmpObj(res3)) {
21528 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21529 } else {
21530 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21531 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21532 }
21533 return resultobj;
21534 fail:
21535 return NULL;
21536 }
21537
21538
21539 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21540 PyObject *resultobj = 0;
21541 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21542 int *arg2 = (int *) 0 ;
21543 int *arg3 = (int *) 0 ;
21544 void *argp1 = 0 ;
21545 int res1 = 0 ;
21546 int temp2 ;
21547 int res2 = SWIG_TMPOBJ ;
21548 int temp3 ;
21549 int res3 = SWIG_TMPOBJ ;
21550 PyObject *swig_obj[1] ;
21551
21552 arg2 = &temp2;
21553 arg3 = &temp3;
21554 if (!args) SWIG_fail;
21555 swig_obj[0] = args;
21556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21557 if (!SWIG_IsOK(res1)) {
21558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21559 }
21560 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21561 {
21562 PyThreadState* __tstate = wxPyBeginAllowThreads();
21563 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21564 wxPyEndAllowThreads(__tstate);
21565 if (PyErr_Occurred()) SWIG_fail;
21566 }
21567 resultobj = SWIG_Py_Void();
21568 if (SWIG_IsTmpObj(res2)) {
21569 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21570 } else {
21571 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21572 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21573 }
21574 if (SWIG_IsTmpObj(res3)) {
21575 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21576 } else {
21577 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21578 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21579 }
21580 return resultobj;
21581 fail:
21582 return NULL;
21583 }
21584
21585
21586 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21587 PyObject *resultobj = 0;
21588 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21589 int *arg2 = (int *) 0 ;
21590 int *arg3 = (int *) 0 ;
21591 void *argp1 = 0 ;
21592 int res1 = 0 ;
21593 int temp2 ;
21594 int res2 = SWIG_TMPOBJ ;
21595 int temp3 ;
21596 int res3 = SWIG_TMPOBJ ;
21597 PyObject *swig_obj[1] ;
21598
21599 arg2 = &temp2;
21600 arg3 = &temp3;
21601 if (!args) SWIG_fail;
21602 swig_obj[0] = args;
21603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21604 if (!SWIG_IsOK(res1)) {
21605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21606 }
21607 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21608 {
21609 PyThreadState* __tstate = wxPyBeginAllowThreads();
21610 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21611 wxPyEndAllowThreads(__tstate);
21612 if (PyErr_Occurred()) SWIG_fail;
21613 }
21614 resultobj = SWIG_Py_Void();
21615 if (SWIG_IsTmpObj(res2)) {
21616 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21617 } else {
21618 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21619 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21620 }
21621 if (SWIG_IsTmpObj(res3)) {
21622 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21623 } else {
21624 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21625 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21626 }
21627 return resultobj;
21628 fail:
21629 return NULL;
21630 }
21631
21632
21633 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21634 PyObject *resultobj = 0;
21635 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21636 wxSize result;
21637 void *argp1 = 0 ;
21638 int res1 = 0 ;
21639 PyObject *swig_obj[1] ;
21640
21641 if (!args) SWIG_fail;
21642 swig_obj[0] = args;
21643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21644 if (!SWIG_IsOK(res1)) {
21645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21646 }
21647 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21648 {
21649 PyThreadState* __tstate = wxPyBeginAllowThreads();
21650 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21651 wxPyEndAllowThreads(__tstate);
21652 if (PyErr_Occurred()) SWIG_fail;
21653 }
21654 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21655 return resultobj;
21656 fail:
21657 return NULL;
21658 }
21659
21660
21661 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21662 PyObject *resultobj = 0;
21663 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21664 wxSize result;
21665 void *argp1 = 0 ;
21666 int res1 = 0 ;
21667 PyObject *swig_obj[1] ;
21668
21669 if (!args) SWIG_fail;
21670 swig_obj[0] = args;
21671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21672 if (!SWIG_IsOK(res1)) {
21673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21674 }
21675 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21676 {
21677 PyThreadState* __tstate = wxPyBeginAllowThreads();
21678 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21679 wxPyEndAllowThreads(__tstate);
21680 if (PyErr_Occurred()) SWIG_fail;
21681 }
21682 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21683 return resultobj;
21684 fail:
21685 return NULL;
21686 }
21687
21688
21689 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21690 PyObject *resultobj = 0;
21691 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21692 SwigValueWrapper<wxVisualAttributes > result;
21693 void *argp1 = 0 ;
21694 int res1 = 0 ;
21695 PyObject *swig_obj[1] ;
21696
21697 if (!args) SWIG_fail;
21698 swig_obj[0] = args;
21699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21700 if (!SWIG_IsOK(res1)) {
21701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21702 }
21703 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21704 {
21705 PyThreadState* __tstate = wxPyBeginAllowThreads();
21706 result = (arg1)->GetDefaultAttributes();
21707 wxPyEndAllowThreads(__tstate);
21708 if (PyErr_Occurred()) SWIG_fail;
21709 }
21710 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21711 return resultobj;
21712 fail:
21713 return NULL;
21714 }
21715
21716
21717 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21718 PyObject *resultobj = 0;
21719 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21720 void *argp1 = 0 ;
21721 int res1 = 0 ;
21722 PyObject *swig_obj[1] ;
21723
21724 if (!args) SWIG_fail;
21725 swig_obj[0] = args;
21726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21727 if (!SWIG_IsOK(res1)) {
21728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21729 }
21730 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21731 {
21732 PyThreadState* __tstate = wxPyBeginAllowThreads();
21733 (arg1)->OnInternalIdle();
21734 wxPyEndAllowThreads(__tstate);
21735 if (PyErr_Occurred()) SWIG_fail;
21736 }
21737 resultobj = SWIG_Py_Void();
21738 return resultobj;
21739 fail:
21740 return NULL;
21741 }
21742
21743
21744 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21745 PyObject *obj;
21746 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21747 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21748 return SWIG_Py_Void();
21749 }
21750
21751 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21752 return SWIG_Python_InitShadowInstance(args);
21753 }
21754
21755 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21756 PyObject *resultobj = 0;
21757 wxWindow *arg1 = (wxWindow *) 0 ;
21758 int arg2 = (int) (int)-1 ;
21759 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21760 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21761 wxSize const &arg4_defvalue = wxDefaultSize ;
21762 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21763 long arg5 = (long) 0 ;
21764 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21765 wxString *arg6 = (wxString *) &arg6_defvalue ;
21766 wxPyPanel *result = 0 ;
21767 void *argp1 = 0 ;
21768 int res1 = 0 ;
21769 int val2 ;
21770 int ecode2 = 0 ;
21771 wxPoint temp3 ;
21772 wxSize temp4 ;
21773 long val5 ;
21774 int ecode5 = 0 ;
21775 bool temp6 = false ;
21776 PyObject * obj0 = 0 ;
21777 PyObject * obj1 = 0 ;
21778 PyObject * obj2 = 0 ;
21779 PyObject * obj3 = 0 ;
21780 PyObject * obj4 = 0 ;
21781 PyObject * obj5 = 0 ;
21782 char * kwnames[] = {
21783 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21784 };
21785
21786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21788 if (!SWIG_IsOK(res1)) {
21789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21790 }
21791 arg1 = reinterpret_cast< wxWindow * >(argp1);
21792 if (obj1) {
21793 ecode2 = SWIG_AsVal_int(obj1, &val2);
21794 if (!SWIG_IsOK(ecode2)) {
21795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21796 }
21797 arg2 = static_cast< int >(val2);
21798 }
21799 if (obj2) {
21800 {
21801 arg3 = &temp3;
21802 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21803 }
21804 }
21805 if (obj3) {
21806 {
21807 arg4 = &temp4;
21808 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21809 }
21810 }
21811 if (obj4) {
21812 ecode5 = SWIG_AsVal_long(obj4, &val5);
21813 if (!SWIG_IsOK(ecode5)) {
21814 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21815 }
21816 arg5 = static_cast< long >(val5);
21817 }
21818 if (obj5) {
21819 {
21820 arg6 = wxString_in_helper(obj5);
21821 if (arg6 == NULL) SWIG_fail;
21822 temp6 = true;
21823 }
21824 }
21825 {
21826 if (!wxPyCheckForApp()) SWIG_fail;
21827 PyThreadState* __tstate = wxPyBeginAllowThreads();
21828 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21829 wxPyEndAllowThreads(__tstate);
21830 if (PyErr_Occurred()) SWIG_fail;
21831 }
21832 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21833 {
21834 if (temp6)
21835 delete arg6;
21836 }
21837 return resultobj;
21838 fail:
21839 {
21840 if (temp6)
21841 delete arg6;
21842 }
21843 return NULL;
21844 }
21845
21846
21847 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21848 PyObject *resultobj = 0;
21849 wxPyPanel *result = 0 ;
21850
21851 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
21852 {
21853 if (!wxPyCheckForApp()) SWIG_fail;
21854 PyThreadState* __tstate = wxPyBeginAllowThreads();
21855 result = (wxPyPanel *)new wxPyPanel();
21856 wxPyEndAllowThreads(__tstate);
21857 if (PyErr_Occurred()) SWIG_fail;
21858 }
21859 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
21860 return resultobj;
21861 fail:
21862 return NULL;
21863 }
21864
21865
21866 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21867 PyObject *resultobj = 0;
21868 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21869 PyObject *arg2 = (PyObject *) 0 ;
21870 PyObject *arg3 = (PyObject *) 0 ;
21871 void *argp1 = 0 ;
21872 int res1 = 0 ;
21873 PyObject * obj0 = 0 ;
21874 PyObject * obj1 = 0 ;
21875 PyObject * obj2 = 0 ;
21876 char * kwnames[] = {
21877 (char *) "self",(char *) "self",(char *) "_class", NULL
21878 };
21879
21880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21882 if (!SWIG_IsOK(res1)) {
21883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21884 }
21885 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21886 arg2 = obj1;
21887 arg3 = obj2;
21888 {
21889 PyThreadState* __tstate = wxPyBeginAllowThreads();
21890 (arg1)->_setCallbackInfo(arg2,arg3);
21891 wxPyEndAllowThreads(__tstate);
21892 if (PyErr_Occurred()) SWIG_fail;
21893 }
21894 resultobj = SWIG_Py_Void();
21895 return resultobj;
21896 fail:
21897 return NULL;
21898 }
21899
21900
21901 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21902 PyObject *resultobj = 0;
21903 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21904 wxSize *arg2 = 0 ;
21905 void *argp1 = 0 ;
21906 int res1 = 0 ;
21907 wxSize temp2 ;
21908 PyObject * obj0 = 0 ;
21909 PyObject * obj1 = 0 ;
21910 char * kwnames[] = {
21911 (char *) "self",(char *) "size", NULL
21912 };
21913
21914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21916 if (!SWIG_IsOK(res1)) {
21917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21918 }
21919 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21920 {
21921 arg2 = &temp2;
21922 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21923 }
21924 {
21925 PyThreadState* __tstate = wxPyBeginAllowThreads();
21926 (arg1)->SetBestSize((wxSize const &)*arg2);
21927 wxPyEndAllowThreads(__tstate);
21928 if (PyErr_Occurred()) SWIG_fail;
21929 }
21930 resultobj = SWIG_Py_Void();
21931 return resultobj;
21932 fail:
21933 return NULL;
21934 }
21935
21936
21937 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21938 PyObject *resultobj = 0;
21939 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21940 wxDC *arg2 = (wxDC *) 0 ;
21941 bool result;
21942 void *argp1 = 0 ;
21943 int res1 = 0 ;
21944 void *argp2 = 0 ;
21945 int res2 = 0 ;
21946 PyObject * obj0 = 0 ;
21947 PyObject * obj1 = 0 ;
21948 char * kwnames[] = {
21949 (char *) "self",(char *) "dc", NULL
21950 };
21951
21952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21954 if (!SWIG_IsOK(res1)) {
21955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21956 }
21957 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21958 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21959 if (!SWIG_IsOK(res2)) {
21960 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21961 }
21962 arg2 = reinterpret_cast< wxDC * >(argp2);
21963 {
21964 PyThreadState* __tstate = wxPyBeginAllowThreads();
21965 result = (bool)(arg1)->DoEraseBackground(arg2);
21966 wxPyEndAllowThreads(__tstate);
21967 if (PyErr_Occurred()) SWIG_fail;
21968 }
21969 {
21970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21971 }
21972 return resultobj;
21973 fail:
21974 return NULL;
21975 }
21976
21977
21978 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21979 PyObject *resultobj = 0;
21980 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21981 int arg2 ;
21982 int arg3 ;
21983 int arg4 ;
21984 int arg5 ;
21985 void *argp1 = 0 ;
21986 int res1 = 0 ;
21987 int val2 ;
21988 int ecode2 = 0 ;
21989 int val3 ;
21990 int ecode3 = 0 ;
21991 int val4 ;
21992 int ecode4 = 0 ;
21993 int val5 ;
21994 int ecode5 = 0 ;
21995 PyObject * obj0 = 0 ;
21996 PyObject * obj1 = 0 ;
21997 PyObject * obj2 = 0 ;
21998 PyObject * obj3 = 0 ;
21999 PyObject * obj4 = 0 ;
22000 char * kwnames[] = {
22001 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22002 };
22003
22004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22006 if (!SWIG_IsOK(res1)) {
22007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22008 }
22009 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22010 ecode2 = SWIG_AsVal_int(obj1, &val2);
22011 if (!SWIG_IsOK(ecode2)) {
22012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22013 }
22014 arg2 = static_cast< int >(val2);
22015 ecode3 = SWIG_AsVal_int(obj2, &val3);
22016 if (!SWIG_IsOK(ecode3)) {
22017 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22018 }
22019 arg3 = static_cast< int >(val3);
22020 ecode4 = SWIG_AsVal_int(obj3, &val4);
22021 if (!SWIG_IsOK(ecode4)) {
22022 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22023 }
22024 arg4 = static_cast< int >(val4);
22025 ecode5 = SWIG_AsVal_int(obj4, &val5);
22026 if (!SWIG_IsOK(ecode5)) {
22027 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22028 }
22029 arg5 = static_cast< int >(val5);
22030 {
22031 PyThreadState* __tstate = wxPyBeginAllowThreads();
22032 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22033 wxPyEndAllowThreads(__tstate);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 }
22036 resultobj = SWIG_Py_Void();
22037 return resultobj;
22038 fail:
22039 return NULL;
22040 }
22041
22042
22043 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22044 PyObject *resultobj = 0;
22045 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22046 int arg2 ;
22047 int arg3 ;
22048 int arg4 ;
22049 int arg5 ;
22050 int arg6 = (int) wxSIZE_AUTO ;
22051 void *argp1 = 0 ;
22052 int res1 = 0 ;
22053 int val2 ;
22054 int ecode2 = 0 ;
22055 int val3 ;
22056 int ecode3 = 0 ;
22057 int val4 ;
22058 int ecode4 = 0 ;
22059 int val5 ;
22060 int ecode5 = 0 ;
22061 int val6 ;
22062 int ecode6 = 0 ;
22063 PyObject * obj0 = 0 ;
22064 PyObject * obj1 = 0 ;
22065 PyObject * obj2 = 0 ;
22066 PyObject * obj3 = 0 ;
22067 PyObject * obj4 = 0 ;
22068 PyObject * obj5 = 0 ;
22069 char * kwnames[] = {
22070 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22071 };
22072
22073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22075 if (!SWIG_IsOK(res1)) {
22076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22077 }
22078 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22079 ecode2 = SWIG_AsVal_int(obj1, &val2);
22080 if (!SWIG_IsOK(ecode2)) {
22081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22082 }
22083 arg2 = static_cast< int >(val2);
22084 ecode3 = SWIG_AsVal_int(obj2, &val3);
22085 if (!SWIG_IsOK(ecode3)) {
22086 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22087 }
22088 arg3 = static_cast< int >(val3);
22089 ecode4 = SWIG_AsVal_int(obj3, &val4);
22090 if (!SWIG_IsOK(ecode4)) {
22091 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22092 }
22093 arg4 = static_cast< int >(val4);
22094 ecode5 = SWIG_AsVal_int(obj4, &val5);
22095 if (!SWIG_IsOK(ecode5)) {
22096 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22097 }
22098 arg5 = static_cast< int >(val5);
22099 if (obj5) {
22100 ecode6 = SWIG_AsVal_int(obj5, &val6);
22101 if (!SWIG_IsOK(ecode6)) {
22102 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22103 }
22104 arg6 = static_cast< int >(val6);
22105 }
22106 {
22107 PyThreadState* __tstate = wxPyBeginAllowThreads();
22108 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22109 wxPyEndAllowThreads(__tstate);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 }
22112 resultobj = SWIG_Py_Void();
22113 return resultobj;
22114 fail:
22115 return NULL;
22116 }
22117
22118
22119 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22120 PyObject *resultobj = 0;
22121 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22122 int arg2 ;
22123 int arg3 ;
22124 void *argp1 = 0 ;
22125 int res1 = 0 ;
22126 int val2 ;
22127 int ecode2 = 0 ;
22128 int val3 ;
22129 int ecode3 = 0 ;
22130 PyObject * obj0 = 0 ;
22131 PyObject * obj1 = 0 ;
22132 PyObject * obj2 = 0 ;
22133 char * kwnames[] = {
22134 (char *) "self",(char *) "width",(char *) "height", NULL
22135 };
22136
22137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22139 if (!SWIG_IsOK(res1)) {
22140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22141 }
22142 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22143 ecode2 = SWIG_AsVal_int(obj1, &val2);
22144 if (!SWIG_IsOK(ecode2)) {
22145 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22146 }
22147 arg2 = static_cast< int >(val2);
22148 ecode3 = SWIG_AsVal_int(obj2, &val3);
22149 if (!SWIG_IsOK(ecode3)) {
22150 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22151 }
22152 arg3 = static_cast< int >(val3);
22153 {
22154 PyThreadState* __tstate = wxPyBeginAllowThreads();
22155 (arg1)->DoSetClientSize(arg2,arg3);
22156 wxPyEndAllowThreads(__tstate);
22157 if (PyErr_Occurred()) SWIG_fail;
22158 }
22159 resultobj = SWIG_Py_Void();
22160 return resultobj;
22161 fail:
22162 return NULL;
22163 }
22164
22165
22166 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22167 PyObject *resultobj = 0;
22168 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22169 int arg2 ;
22170 int arg3 ;
22171 void *argp1 = 0 ;
22172 int res1 = 0 ;
22173 int val2 ;
22174 int ecode2 = 0 ;
22175 int val3 ;
22176 int ecode3 = 0 ;
22177 PyObject * obj0 = 0 ;
22178 PyObject * obj1 = 0 ;
22179 PyObject * obj2 = 0 ;
22180 char * kwnames[] = {
22181 (char *) "self",(char *) "x",(char *) "y", NULL
22182 };
22183
22184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22186 if (!SWIG_IsOK(res1)) {
22187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22188 }
22189 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22190 ecode2 = SWIG_AsVal_int(obj1, &val2);
22191 if (!SWIG_IsOK(ecode2)) {
22192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22193 }
22194 arg2 = static_cast< int >(val2);
22195 ecode3 = SWIG_AsVal_int(obj2, &val3);
22196 if (!SWIG_IsOK(ecode3)) {
22197 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22198 }
22199 arg3 = static_cast< int >(val3);
22200 {
22201 PyThreadState* __tstate = wxPyBeginAllowThreads();
22202 (arg1)->DoSetVirtualSize(arg2,arg3);
22203 wxPyEndAllowThreads(__tstate);
22204 if (PyErr_Occurred()) SWIG_fail;
22205 }
22206 resultobj = SWIG_Py_Void();
22207 return resultobj;
22208 fail:
22209 return NULL;
22210 }
22211
22212
22213 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22214 PyObject *resultobj = 0;
22215 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22216 int *arg2 = (int *) 0 ;
22217 int *arg3 = (int *) 0 ;
22218 void *argp1 = 0 ;
22219 int res1 = 0 ;
22220 int temp2 ;
22221 int res2 = SWIG_TMPOBJ ;
22222 int temp3 ;
22223 int res3 = SWIG_TMPOBJ ;
22224 PyObject *swig_obj[1] ;
22225
22226 arg2 = &temp2;
22227 arg3 = &temp3;
22228 if (!args) SWIG_fail;
22229 swig_obj[0] = args;
22230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22231 if (!SWIG_IsOK(res1)) {
22232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22233 }
22234 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22235 {
22236 PyThreadState* __tstate = wxPyBeginAllowThreads();
22237 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22238 wxPyEndAllowThreads(__tstate);
22239 if (PyErr_Occurred()) SWIG_fail;
22240 }
22241 resultobj = SWIG_Py_Void();
22242 if (SWIG_IsTmpObj(res2)) {
22243 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22244 } else {
22245 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22246 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22247 }
22248 if (SWIG_IsTmpObj(res3)) {
22249 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22250 } else {
22251 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22252 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22253 }
22254 return resultobj;
22255 fail:
22256 return NULL;
22257 }
22258
22259
22260 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22261 PyObject *resultobj = 0;
22262 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22263 int *arg2 = (int *) 0 ;
22264 int *arg3 = (int *) 0 ;
22265 void *argp1 = 0 ;
22266 int res1 = 0 ;
22267 int temp2 ;
22268 int res2 = SWIG_TMPOBJ ;
22269 int temp3 ;
22270 int res3 = SWIG_TMPOBJ ;
22271 PyObject *swig_obj[1] ;
22272
22273 arg2 = &temp2;
22274 arg3 = &temp3;
22275 if (!args) SWIG_fail;
22276 swig_obj[0] = args;
22277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22278 if (!SWIG_IsOK(res1)) {
22279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22280 }
22281 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22282 {
22283 PyThreadState* __tstate = wxPyBeginAllowThreads();
22284 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22285 wxPyEndAllowThreads(__tstate);
22286 if (PyErr_Occurred()) SWIG_fail;
22287 }
22288 resultobj = SWIG_Py_Void();
22289 if (SWIG_IsTmpObj(res2)) {
22290 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22291 } else {
22292 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22293 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22294 }
22295 if (SWIG_IsTmpObj(res3)) {
22296 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22297 } else {
22298 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22299 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22300 }
22301 return resultobj;
22302 fail:
22303 return NULL;
22304 }
22305
22306
22307 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22308 PyObject *resultobj = 0;
22309 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22310 int *arg2 = (int *) 0 ;
22311 int *arg3 = (int *) 0 ;
22312 void *argp1 = 0 ;
22313 int res1 = 0 ;
22314 int temp2 ;
22315 int res2 = SWIG_TMPOBJ ;
22316 int temp3 ;
22317 int res3 = SWIG_TMPOBJ ;
22318 PyObject *swig_obj[1] ;
22319
22320 arg2 = &temp2;
22321 arg3 = &temp3;
22322 if (!args) SWIG_fail;
22323 swig_obj[0] = args;
22324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22325 if (!SWIG_IsOK(res1)) {
22326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22327 }
22328 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22329 {
22330 PyThreadState* __tstate = wxPyBeginAllowThreads();
22331 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
22335 resultobj = SWIG_Py_Void();
22336 if (SWIG_IsTmpObj(res2)) {
22337 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22338 } else {
22339 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22340 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22341 }
22342 if (SWIG_IsTmpObj(res3)) {
22343 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22344 } else {
22345 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22346 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22347 }
22348 return resultobj;
22349 fail:
22350 return NULL;
22351 }
22352
22353
22354 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22355 PyObject *resultobj = 0;
22356 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22357 wxSize result;
22358 void *argp1 = 0 ;
22359 int res1 = 0 ;
22360 PyObject *swig_obj[1] ;
22361
22362 if (!args) SWIG_fail;
22363 swig_obj[0] = args;
22364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22365 if (!SWIG_IsOK(res1)) {
22366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22367 }
22368 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22369 {
22370 PyThreadState* __tstate = wxPyBeginAllowThreads();
22371 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22372 wxPyEndAllowThreads(__tstate);
22373 if (PyErr_Occurred()) SWIG_fail;
22374 }
22375 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22376 return resultobj;
22377 fail:
22378 return NULL;
22379 }
22380
22381
22382 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22383 PyObject *resultobj = 0;
22384 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22385 wxSize result;
22386 void *argp1 = 0 ;
22387 int res1 = 0 ;
22388 PyObject *swig_obj[1] ;
22389
22390 if (!args) SWIG_fail;
22391 swig_obj[0] = args;
22392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22393 if (!SWIG_IsOK(res1)) {
22394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22395 }
22396 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22397 {
22398 PyThreadState* __tstate = wxPyBeginAllowThreads();
22399 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22400 wxPyEndAllowThreads(__tstate);
22401 if (PyErr_Occurred()) SWIG_fail;
22402 }
22403 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22404 return resultobj;
22405 fail:
22406 return NULL;
22407 }
22408
22409
22410 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22411 PyObject *resultobj = 0;
22412 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22413 SwigValueWrapper<wxVisualAttributes > result;
22414 void *argp1 = 0 ;
22415 int res1 = 0 ;
22416 PyObject *swig_obj[1] ;
22417
22418 if (!args) SWIG_fail;
22419 swig_obj[0] = args;
22420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22421 if (!SWIG_IsOK(res1)) {
22422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22423 }
22424 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22425 {
22426 PyThreadState* __tstate = wxPyBeginAllowThreads();
22427 result = (arg1)->GetDefaultAttributes();
22428 wxPyEndAllowThreads(__tstate);
22429 if (PyErr_Occurred()) SWIG_fail;
22430 }
22431 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22432 return resultobj;
22433 fail:
22434 return NULL;
22435 }
22436
22437
22438 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22439 PyObject *resultobj = 0;
22440 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22441 void *argp1 = 0 ;
22442 int res1 = 0 ;
22443 PyObject *swig_obj[1] ;
22444
22445 if (!args) SWIG_fail;
22446 swig_obj[0] = args;
22447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22448 if (!SWIG_IsOK(res1)) {
22449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22450 }
22451 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22452 {
22453 PyThreadState* __tstate = wxPyBeginAllowThreads();
22454 (arg1)->OnInternalIdle();
22455 wxPyEndAllowThreads(__tstate);
22456 if (PyErr_Occurred()) SWIG_fail;
22457 }
22458 resultobj = SWIG_Py_Void();
22459 return resultobj;
22460 fail:
22461 return NULL;
22462 }
22463
22464
22465 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22466 PyObject *obj;
22467 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22468 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22469 return SWIG_Py_Void();
22470 }
22471
22472 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22473 return SWIG_Python_InitShadowInstance(args);
22474 }
22475
22476 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22477 PyObject *resultobj = 0;
22478 wxWindow *arg1 = (wxWindow *) 0 ;
22479 int arg2 = (int) (int)-1 ;
22480 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22481 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22482 wxSize const &arg4_defvalue = wxDefaultSize ;
22483 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22484 long arg5 = (long) 0 ;
22485 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22486 wxString *arg6 = (wxString *) &arg6_defvalue ;
22487 wxPyScrolledWindow *result = 0 ;
22488 void *argp1 = 0 ;
22489 int res1 = 0 ;
22490 int val2 ;
22491 int ecode2 = 0 ;
22492 wxPoint temp3 ;
22493 wxSize temp4 ;
22494 long val5 ;
22495 int ecode5 = 0 ;
22496 bool temp6 = false ;
22497 PyObject * obj0 = 0 ;
22498 PyObject * obj1 = 0 ;
22499 PyObject * obj2 = 0 ;
22500 PyObject * obj3 = 0 ;
22501 PyObject * obj4 = 0 ;
22502 PyObject * obj5 = 0 ;
22503 char * kwnames[] = {
22504 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22505 };
22506
22507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22509 if (!SWIG_IsOK(res1)) {
22510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22511 }
22512 arg1 = reinterpret_cast< wxWindow * >(argp1);
22513 if (obj1) {
22514 ecode2 = SWIG_AsVal_int(obj1, &val2);
22515 if (!SWIG_IsOK(ecode2)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22517 }
22518 arg2 = static_cast< int >(val2);
22519 }
22520 if (obj2) {
22521 {
22522 arg3 = &temp3;
22523 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22524 }
22525 }
22526 if (obj3) {
22527 {
22528 arg4 = &temp4;
22529 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22530 }
22531 }
22532 if (obj4) {
22533 ecode5 = SWIG_AsVal_long(obj4, &val5);
22534 if (!SWIG_IsOK(ecode5)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22536 }
22537 arg5 = static_cast< long >(val5);
22538 }
22539 if (obj5) {
22540 {
22541 arg6 = wxString_in_helper(obj5);
22542 if (arg6 == NULL) SWIG_fail;
22543 temp6 = true;
22544 }
22545 }
22546 {
22547 if (!wxPyCheckForApp()) SWIG_fail;
22548 PyThreadState* __tstate = wxPyBeginAllowThreads();
22549 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22554 {
22555 if (temp6)
22556 delete arg6;
22557 }
22558 return resultobj;
22559 fail:
22560 {
22561 if (temp6)
22562 delete arg6;
22563 }
22564 return NULL;
22565 }
22566
22567
22568 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22569 PyObject *resultobj = 0;
22570 wxPyScrolledWindow *result = 0 ;
22571
22572 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22573 {
22574 if (!wxPyCheckForApp()) SWIG_fail;
22575 PyThreadState* __tstate = wxPyBeginAllowThreads();
22576 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22577 wxPyEndAllowThreads(__tstate);
22578 if (PyErr_Occurred()) SWIG_fail;
22579 }
22580 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22581 return resultobj;
22582 fail:
22583 return NULL;
22584 }
22585
22586
22587 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22588 PyObject *resultobj = 0;
22589 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22590 PyObject *arg2 = (PyObject *) 0 ;
22591 PyObject *arg3 = (PyObject *) 0 ;
22592 void *argp1 = 0 ;
22593 int res1 = 0 ;
22594 PyObject * obj0 = 0 ;
22595 PyObject * obj1 = 0 ;
22596 PyObject * obj2 = 0 ;
22597 char * kwnames[] = {
22598 (char *) "self",(char *) "self",(char *) "_class", NULL
22599 };
22600
22601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22603 if (!SWIG_IsOK(res1)) {
22604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22605 }
22606 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22607 arg2 = obj1;
22608 arg3 = obj2;
22609 {
22610 PyThreadState* __tstate = wxPyBeginAllowThreads();
22611 (arg1)->_setCallbackInfo(arg2,arg3);
22612 wxPyEndAllowThreads(__tstate);
22613 if (PyErr_Occurred()) SWIG_fail;
22614 }
22615 resultobj = SWIG_Py_Void();
22616 return resultobj;
22617 fail:
22618 return NULL;
22619 }
22620
22621
22622 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22623 PyObject *resultobj = 0;
22624 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22625 wxSize *arg2 = 0 ;
22626 void *argp1 = 0 ;
22627 int res1 = 0 ;
22628 wxSize temp2 ;
22629 PyObject * obj0 = 0 ;
22630 PyObject * obj1 = 0 ;
22631 char * kwnames[] = {
22632 (char *) "self",(char *) "size", NULL
22633 };
22634
22635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22637 if (!SWIG_IsOK(res1)) {
22638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22639 }
22640 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22641 {
22642 arg2 = &temp2;
22643 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22644 }
22645 {
22646 PyThreadState* __tstate = wxPyBeginAllowThreads();
22647 (arg1)->SetBestSize((wxSize const &)*arg2);
22648 wxPyEndAllowThreads(__tstate);
22649 if (PyErr_Occurred()) SWIG_fail;
22650 }
22651 resultobj = SWIG_Py_Void();
22652 return resultobj;
22653 fail:
22654 return NULL;
22655 }
22656
22657
22658 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22659 PyObject *resultobj = 0;
22660 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22661 wxDC *arg2 = (wxDC *) 0 ;
22662 bool result;
22663 void *argp1 = 0 ;
22664 int res1 = 0 ;
22665 void *argp2 = 0 ;
22666 int res2 = 0 ;
22667 PyObject * obj0 = 0 ;
22668 PyObject * obj1 = 0 ;
22669 char * kwnames[] = {
22670 (char *) "self",(char *) "dc", NULL
22671 };
22672
22673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22675 if (!SWIG_IsOK(res1)) {
22676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22677 }
22678 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22679 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22680 if (!SWIG_IsOK(res2)) {
22681 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22682 }
22683 arg2 = reinterpret_cast< wxDC * >(argp2);
22684 {
22685 PyThreadState* __tstate = wxPyBeginAllowThreads();
22686 result = (bool)(arg1)->DoEraseBackground(arg2);
22687 wxPyEndAllowThreads(__tstate);
22688 if (PyErr_Occurred()) SWIG_fail;
22689 }
22690 {
22691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22692 }
22693 return resultobj;
22694 fail:
22695 return NULL;
22696 }
22697
22698
22699 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22700 PyObject *resultobj = 0;
22701 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22702 int arg2 ;
22703 int arg3 ;
22704 int arg4 ;
22705 int arg5 ;
22706 void *argp1 = 0 ;
22707 int res1 = 0 ;
22708 int val2 ;
22709 int ecode2 = 0 ;
22710 int val3 ;
22711 int ecode3 = 0 ;
22712 int val4 ;
22713 int ecode4 = 0 ;
22714 int val5 ;
22715 int ecode5 = 0 ;
22716 PyObject * obj0 = 0 ;
22717 PyObject * obj1 = 0 ;
22718 PyObject * obj2 = 0 ;
22719 PyObject * obj3 = 0 ;
22720 PyObject * obj4 = 0 ;
22721 char * kwnames[] = {
22722 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22723 };
22724
22725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22727 if (!SWIG_IsOK(res1)) {
22728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22729 }
22730 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22731 ecode2 = SWIG_AsVal_int(obj1, &val2);
22732 if (!SWIG_IsOK(ecode2)) {
22733 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22734 }
22735 arg2 = static_cast< int >(val2);
22736 ecode3 = SWIG_AsVal_int(obj2, &val3);
22737 if (!SWIG_IsOK(ecode3)) {
22738 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22739 }
22740 arg3 = static_cast< int >(val3);
22741 ecode4 = SWIG_AsVal_int(obj3, &val4);
22742 if (!SWIG_IsOK(ecode4)) {
22743 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22744 }
22745 arg4 = static_cast< int >(val4);
22746 ecode5 = SWIG_AsVal_int(obj4, &val5);
22747 if (!SWIG_IsOK(ecode5)) {
22748 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22749 }
22750 arg5 = static_cast< int >(val5);
22751 {
22752 PyThreadState* __tstate = wxPyBeginAllowThreads();
22753 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22754 wxPyEndAllowThreads(__tstate);
22755 if (PyErr_Occurred()) SWIG_fail;
22756 }
22757 resultobj = SWIG_Py_Void();
22758 return resultobj;
22759 fail:
22760 return NULL;
22761 }
22762
22763
22764 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22765 PyObject *resultobj = 0;
22766 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22767 int arg2 ;
22768 int arg3 ;
22769 int arg4 ;
22770 int arg5 ;
22771 int arg6 = (int) wxSIZE_AUTO ;
22772 void *argp1 = 0 ;
22773 int res1 = 0 ;
22774 int val2 ;
22775 int ecode2 = 0 ;
22776 int val3 ;
22777 int ecode3 = 0 ;
22778 int val4 ;
22779 int ecode4 = 0 ;
22780 int val5 ;
22781 int ecode5 = 0 ;
22782 int val6 ;
22783 int ecode6 = 0 ;
22784 PyObject * obj0 = 0 ;
22785 PyObject * obj1 = 0 ;
22786 PyObject * obj2 = 0 ;
22787 PyObject * obj3 = 0 ;
22788 PyObject * obj4 = 0 ;
22789 PyObject * obj5 = 0 ;
22790 char * kwnames[] = {
22791 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22792 };
22793
22794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22796 if (!SWIG_IsOK(res1)) {
22797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22798 }
22799 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22800 ecode2 = SWIG_AsVal_int(obj1, &val2);
22801 if (!SWIG_IsOK(ecode2)) {
22802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22803 }
22804 arg2 = static_cast< int >(val2);
22805 ecode3 = SWIG_AsVal_int(obj2, &val3);
22806 if (!SWIG_IsOK(ecode3)) {
22807 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22808 }
22809 arg3 = static_cast< int >(val3);
22810 ecode4 = SWIG_AsVal_int(obj3, &val4);
22811 if (!SWIG_IsOK(ecode4)) {
22812 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22813 }
22814 arg4 = static_cast< int >(val4);
22815 ecode5 = SWIG_AsVal_int(obj4, &val5);
22816 if (!SWIG_IsOK(ecode5)) {
22817 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22818 }
22819 arg5 = static_cast< int >(val5);
22820 if (obj5) {
22821 ecode6 = SWIG_AsVal_int(obj5, &val6);
22822 if (!SWIG_IsOK(ecode6)) {
22823 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22824 }
22825 arg6 = static_cast< int >(val6);
22826 }
22827 {
22828 PyThreadState* __tstate = wxPyBeginAllowThreads();
22829 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22830 wxPyEndAllowThreads(__tstate);
22831 if (PyErr_Occurred()) SWIG_fail;
22832 }
22833 resultobj = SWIG_Py_Void();
22834 return resultobj;
22835 fail:
22836 return NULL;
22837 }
22838
22839
22840 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22841 PyObject *resultobj = 0;
22842 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22843 int arg2 ;
22844 int arg3 ;
22845 void *argp1 = 0 ;
22846 int res1 = 0 ;
22847 int val2 ;
22848 int ecode2 = 0 ;
22849 int val3 ;
22850 int ecode3 = 0 ;
22851 PyObject * obj0 = 0 ;
22852 PyObject * obj1 = 0 ;
22853 PyObject * obj2 = 0 ;
22854 char * kwnames[] = {
22855 (char *) "self",(char *) "width",(char *) "height", NULL
22856 };
22857
22858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22860 if (!SWIG_IsOK(res1)) {
22861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22862 }
22863 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22864 ecode2 = SWIG_AsVal_int(obj1, &val2);
22865 if (!SWIG_IsOK(ecode2)) {
22866 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22867 }
22868 arg2 = static_cast< int >(val2);
22869 ecode3 = SWIG_AsVal_int(obj2, &val3);
22870 if (!SWIG_IsOK(ecode3)) {
22871 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22872 }
22873 arg3 = static_cast< int >(val3);
22874 {
22875 PyThreadState* __tstate = wxPyBeginAllowThreads();
22876 (arg1)->DoSetClientSize(arg2,arg3);
22877 wxPyEndAllowThreads(__tstate);
22878 if (PyErr_Occurred()) SWIG_fail;
22879 }
22880 resultobj = SWIG_Py_Void();
22881 return resultobj;
22882 fail:
22883 return NULL;
22884 }
22885
22886
22887 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22888 PyObject *resultobj = 0;
22889 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22890 int arg2 ;
22891 int arg3 ;
22892 void *argp1 = 0 ;
22893 int res1 = 0 ;
22894 int val2 ;
22895 int ecode2 = 0 ;
22896 int val3 ;
22897 int ecode3 = 0 ;
22898 PyObject * obj0 = 0 ;
22899 PyObject * obj1 = 0 ;
22900 PyObject * obj2 = 0 ;
22901 char * kwnames[] = {
22902 (char *) "self",(char *) "x",(char *) "y", NULL
22903 };
22904
22905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22907 if (!SWIG_IsOK(res1)) {
22908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22909 }
22910 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22911 ecode2 = SWIG_AsVal_int(obj1, &val2);
22912 if (!SWIG_IsOK(ecode2)) {
22913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22914 }
22915 arg2 = static_cast< int >(val2);
22916 ecode3 = SWIG_AsVal_int(obj2, &val3);
22917 if (!SWIG_IsOK(ecode3)) {
22918 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22919 }
22920 arg3 = static_cast< int >(val3);
22921 {
22922 PyThreadState* __tstate = wxPyBeginAllowThreads();
22923 (arg1)->DoSetVirtualSize(arg2,arg3);
22924 wxPyEndAllowThreads(__tstate);
22925 if (PyErr_Occurred()) SWIG_fail;
22926 }
22927 resultobj = SWIG_Py_Void();
22928 return resultobj;
22929 fail:
22930 return NULL;
22931 }
22932
22933
22934 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22935 PyObject *resultobj = 0;
22936 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22937 int *arg2 = (int *) 0 ;
22938 int *arg3 = (int *) 0 ;
22939 void *argp1 = 0 ;
22940 int res1 = 0 ;
22941 int temp2 ;
22942 int res2 = SWIG_TMPOBJ ;
22943 int temp3 ;
22944 int res3 = SWIG_TMPOBJ ;
22945 PyObject *swig_obj[1] ;
22946
22947 arg2 = &temp2;
22948 arg3 = &temp3;
22949 if (!args) SWIG_fail;
22950 swig_obj[0] = args;
22951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22952 if (!SWIG_IsOK(res1)) {
22953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22954 }
22955 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22956 {
22957 PyThreadState* __tstate = wxPyBeginAllowThreads();
22958 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
22959 wxPyEndAllowThreads(__tstate);
22960 if (PyErr_Occurred()) SWIG_fail;
22961 }
22962 resultobj = SWIG_Py_Void();
22963 if (SWIG_IsTmpObj(res2)) {
22964 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22965 } else {
22966 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22967 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22968 }
22969 if (SWIG_IsTmpObj(res3)) {
22970 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22971 } else {
22972 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22973 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22974 }
22975 return resultobj;
22976 fail:
22977 return NULL;
22978 }
22979
22980
22981 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22982 PyObject *resultobj = 0;
22983 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22984 int *arg2 = (int *) 0 ;
22985 int *arg3 = (int *) 0 ;
22986 void *argp1 = 0 ;
22987 int res1 = 0 ;
22988 int temp2 ;
22989 int res2 = SWIG_TMPOBJ ;
22990 int temp3 ;
22991 int res3 = SWIG_TMPOBJ ;
22992 PyObject *swig_obj[1] ;
22993
22994 arg2 = &temp2;
22995 arg3 = &temp3;
22996 if (!args) SWIG_fail;
22997 swig_obj[0] = args;
22998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22999 if (!SWIG_IsOK(res1)) {
23000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23001 }
23002 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23003 {
23004 PyThreadState* __tstate = wxPyBeginAllowThreads();
23005 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23006 wxPyEndAllowThreads(__tstate);
23007 if (PyErr_Occurred()) SWIG_fail;
23008 }
23009 resultobj = SWIG_Py_Void();
23010 if (SWIG_IsTmpObj(res2)) {
23011 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23012 } else {
23013 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23014 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23015 }
23016 if (SWIG_IsTmpObj(res3)) {
23017 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23018 } else {
23019 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23020 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23021 }
23022 return resultobj;
23023 fail:
23024 return NULL;
23025 }
23026
23027
23028 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23029 PyObject *resultobj = 0;
23030 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23031 int *arg2 = (int *) 0 ;
23032 int *arg3 = (int *) 0 ;
23033 void *argp1 = 0 ;
23034 int res1 = 0 ;
23035 int temp2 ;
23036 int res2 = SWIG_TMPOBJ ;
23037 int temp3 ;
23038 int res3 = SWIG_TMPOBJ ;
23039 PyObject *swig_obj[1] ;
23040
23041 arg2 = &temp2;
23042 arg3 = &temp3;
23043 if (!args) SWIG_fail;
23044 swig_obj[0] = args;
23045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23046 if (!SWIG_IsOK(res1)) {
23047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23048 }
23049 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23050 {
23051 PyThreadState* __tstate = wxPyBeginAllowThreads();
23052 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23053 wxPyEndAllowThreads(__tstate);
23054 if (PyErr_Occurred()) SWIG_fail;
23055 }
23056 resultobj = SWIG_Py_Void();
23057 if (SWIG_IsTmpObj(res2)) {
23058 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23059 } else {
23060 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23061 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23062 }
23063 if (SWIG_IsTmpObj(res3)) {
23064 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23065 } else {
23066 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23067 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23068 }
23069 return resultobj;
23070 fail:
23071 return NULL;
23072 }
23073
23074
23075 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23076 PyObject *resultobj = 0;
23077 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23078 wxSize result;
23079 void *argp1 = 0 ;
23080 int res1 = 0 ;
23081 PyObject *swig_obj[1] ;
23082
23083 if (!args) SWIG_fail;
23084 swig_obj[0] = args;
23085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23086 if (!SWIG_IsOK(res1)) {
23087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23088 }
23089 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23090 {
23091 PyThreadState* __tstate = wxPyBeginAllowThreads();
23092 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23093 wxPyEndAllowThreads(__tstate);
23094 if (PyErr_Occurred()) SWIG_fail;
23095 }
23096 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23097 return resultobj;
23098 fail:
23099 return NULL;
23100 }
23101
23102
23103 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23104 PyObject *resultobj = 0;
23105 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23106 wxSize result;
23107 void *argp1 = 0 ;
23108 int res1 = 0 ;
23109 PyObject *swig_obj[1] ;
23110
23111 if (!args) SWIG_fail;
23112 swig_obj[0] = args;
23113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23114 if (!SWIG_IsOK(res1)) {
23115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23116 }
23117 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23118 {
23119 PyThreadState* __tstate = wxPyBeginAllowThreads();
23120 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23121 wxPyEndAllowThreads(__tstate);
23122 if (PyErr_Occurred()) SWIG_fail;
23123 }
23124 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23125 return resultobj;
23126 fail:
23127 return NULL;
23128 }
23129
23130
23131 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23132 PyObject *resultobj = 0;
23133 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23134 SwigValueWrapper<wxVisualAttributes > result;
23135 void *argp1 = 0 ;
23136 int res1 = 0 ;
23137 PyObject *swig_obj[1] ;
23138
23139 if (!args) SWIG_fail;
23140 swig_obj[0] = args;
23141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23142 if (!SWIG_IsOK(res1)) {
23143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23144 }
23145 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23146 {
23147 PyThreadState* __tstate = wxPyBeginAllowThreads();
23148 result = (arg1)->GetDefaultAttributes();
23149 wxPyEndAllowThreads(__tstate);
23150 if (PyErr_Occurred()) SWIG_fail;
23151 }
23152 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23153 return resultobj;
23154 fail:
23155 return NULL;
23156 }
23157
23158
23159 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23160 PyObject *resultobj = 0;
23161 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23162 void *argp1 = 0 ;
23163 int res1 = 0 ;
23164 PyObject *swig_obj[1] ;
23165
23166 if (!args) SWIG_fail;
23167 swig_obj[0] = args;
23168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23169 if (!SWIG_IsOK(res1)) {
23170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23171 }
23172 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23173 {
23174 PyThreadState* __tstate = wxPyBeginAllowThreads();
23175 (arg1)->OnInternalIdle();
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
23179 resultobj = SWIG_Py_Void();
23180 return resultobj;
23181 fail:
23182 return NULL;
23183 }
23184
23185
23186 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23187 PyObject *obj;
23188 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23189 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23190 return SWIG_Py_Void();
23191 }
23192
23193 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23194 return SWIG_Python_InitShadowInstance(args);
23195 }
23196
23197 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23198 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23199 return 1;
23200 }
23201
23202
23203 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23204 PyObject *pyobj = 0;
23205
23206 {
23207 #if wxUSE_UNICODE
23208 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23209 #else
23210 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23211 #endif
23212 }
23213 return pyobj;
23214 }
23215
23216
23217 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23218 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23219 return 1;
23220 }
23221
23222
23223 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23224 PyObject *pyobj = 0;
23225
23226 {
23227 #if wxUSE_UNICODE
23228 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23229 #else
23230 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23231 #endif
23232 }
23233 return pyobj;
23234 }
23235
23236
23237 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23238 PyObject *resultobj = 0;
23239 wxPrintData *result = 0 ;
23240
23241 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23242 {
23243 PyThreadState* __tstate = wxPyBeginAllowThreads();
23244 result = (wxPrintData *)new wxPrintData();
23245 wxPyEndAllowThreads(__tstate);
23246 if (PyErr_Occurred()) SWIG_fail;
23247 }
23248 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23249 return resultobj;
23250 fail:
23251 return NULL;
23252 }
23253
23254
23255 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23256 PyObject *resultobj = 0;
23257 wxPrintData *arg1 = 0 ;
23258 wxPrintData *result = 0 ;
23259 void *argp1 = 0 ;
23260 int res1 = 0 ;
23261
23262 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23264 if (!SWIG_IsOK(res1)) {
23265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23266 }
23267 if (!argp1) {
23268 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23269 }
23270 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23271 {
23272 PyThreadState* __tstate = wxPyBeginAllowThreads();
23273 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23274 wxPyEndAllowThreads(__tstate);
23275 if (PyErr_Occurred()) SWIG_fail;
23276 }
23277 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23278 return resultobj;
23279 fail:
23280 return NULL;
23281 }
23282
23283
23284 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23285 int argc;
23286 PyObject *argv[2];
23287
23288 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23289 --argc;
23290 if (argc == 0) {
23291 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23292 }
23293 if (argc == 1) {
23294 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23295 }
23296
23297 fail:
23298 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23299 return NULL;
23300 }
23301
23302
23303 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23304 PyObject *resultobj = 0;
23305 wxPrintData *arg1 = (wxPrintData *) 0 ;
23306 void *argp1 = 0 ;
23307 int res1 = 0 ;
23308 PyObject *swig_obj[1] ;
23309
23310 if (!args) SWIG_fail;
23311 swig_obj[0] = args;
23312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23313 if (!SWIG_IsOK(res1)) {
23314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23315 }
23316 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23317 {
23318 PyThreadState* __tstate = wxPyBeginAllowThreads();
23319 delete arg1;
23320
23321 wxPyEndAllowThreads(__tstate);
23322 if (PyErr_Occurred()) SWIG_fail;
23323 }
23324 resultobj = SWIG_Py_Void();
23325 return resultobj;
23326 fail:
23327 return NULL;
23328 }
23329
23330
23331 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23332 PyObject *resultobj = 0;
23333 wxPrintData *arg1 = (wxPrintData *) 0 ;
23334 int result;
23335 void *argp1 = 0 ;
23336 int res1 = 0 ;
23337 PyObject *swig_obj[1] ;
23338
23339 if (!args) SWIG_fail;
23340 swig_obj[0] = args;
23341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23342 if (!SWIG_IsOK(res1)) {
23343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23344 }
23345 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23346 {
23347 PyThreadState* __tstate = wxPyBeginAllowThreads();
23348 result = (int)(arg1)->GetNoCopies();
23349 wxPyEndAllowThreads(__tstate);
23350 if (PyErr_Occurred()) SWIG_fail;
23351 }
23352 resultobj = SWIG_From_int(static_cast< int >(result));
23353 return resultobj;
23354 fail:
23355 return NULL;
23356 }
23357
23358
23359 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23360 PyObject *resultobj = 0;
23361 wxPrintData *arg1 = (wxPrintData *) 0 ;
23362 bool result;
23363 void *argp1 = 0 ;
23364 int res1 = 0 ;
23365 PyObject *swig_obj[1] ;
23366
23367 if (!args) SWIG_fail;
23368 swig_obj[0] = args;
23369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23370 if (!SWIG_IsOK(res1)) {
23371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23372 }
23373 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23374 {
23375 PyThreadState* __tstate = wxPyBeginAllowThreads();
23376 result = (bool)(arg1)->GetCollate();
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
23380 {
23381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23382 }
23383 return resultobj;
23384 fail:
23385 return NULL;
23386 }
23387
23388
23389 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23390 PyObject *resultobj = 0;
23391 wxPrintData *arg1 = (wxPrintData *) 0 ;
23392 int result;
23393 void *argp1 = 0 ;
23394 int res1 = 0 ;
23395 PyObject *swig_obj[1] ;
23396
23397 if (!args) SWIG_fail;
23398 swig_obj[0] = args;
23399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23400 if (!SWIG_IsOK(res1)) {
23401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23402 }
23403 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23404 {
23405 PyThreadState* __tstate = wxPyBeginAllowThreads();
23406 result = (int)(arg1)->GetOrientation();
23407 wxPyEndAllowThreads(__tstate);
23408 if (PyErr_Occurred()) SWIG_fail;
23409 }
23410 resultobj = SWIG_From_int(static_cast< int >(result));
23411 return resultobj;
23412 fail:
23413 return NULL;
23414 }
23415
23416
23417 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23418 PyObject *resultobj = 0;
23419 wxPrintData *arg1 = (wxPrintData *) 0 ;
23420 bool result;
23421 void *argp1 = 0 ;
23422 int res1 = 0 ;
23423 PyObject *swig_obj[1] ;
23424
23425 if (!args) SWIG_fail;
23426 swig_obj[0] = args;
23427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23428 if (!SWIG_IsOK(res1)) {
23429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23430 }
23431 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 result = (bool)(arg1)->Ok();
23435 wxPyEndAllowThreads(__tstate);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
23438 {
23439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23440 }
23441 return resultobj;
23442 fail:
23443 return NULL;
23444 }
23445
23446
23447 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23448 PyObject *resultobj = 0;
23449 wxPrintData *arg1 = (wxPrintData *) 0 ;
23450 wxString *result = 0 ;
23451 void *argp1 = 0 ;
23452 int res1 = 0 ;
23453 PyObject *swig_obj[1] ;
23454
23455 if (!args) SWIG_fail;
23456 swig_obj[0] = args;
23457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23458 if (!SWIG_IsOK(res1)) {
23459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23460 }
23461 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23462 {
23463 PyThreadState* __tstate = wxPyBeginAllowThreads();
23464 {
23465 wxString const &_result_ref = (arg1)->GetPrinterName();
23466 result = (wxString *) &_result_ref;
23467 }
23468 wxPyEndAllowThreads(__tstate);
23469 if (PyErr_Occurred()) SWIG_fail;
23470 }
23471 {
23472 #if wxUSE_UNICODE
23473 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23474 #else
23475 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23476 #endif
23477 }
23478 return resultobj;
23479 fail:
23480 return NULL;
23481 }
23482
23483
23484 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23485 PyObject *resultobj = 0;
23486 wxPrintData *arg1 = (wxPrintData *) 0 ;
23487 bool result;
23488 void *argp1 = 0 ;
23489 int res1 = 0 ;
23490 PyObject *swig_obj[1] ;
23491
23492 if (!args) SWIG_fail;
23493 swig_obj[0] = args;
23494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23495 if (!SWIG_IsOK(res1)) {
23496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23497 }
23498 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23499 {
23500 PyThreadState* __tstate = wxPyBeginAllowThreads();
23501 result = (bool)(arg1)->GetColour();
23502 wxPyEndAllowThreads(__tstate);
23503 if (PyErr_Occurred()) SWIG_fail;
23504 }
23505 {
23506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23507 }
23508 return resultobj;
23509 fail:
23510 return NULL;
23511 }
23512
23513
23514 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23515 PyObject *resultobj = 0;
23516 wxPrintData *arg1 = (wxPrintData *) 0 ;
23517 wxDuplexMode result;
23518 void *argp1 = 0 ;
23519 int res1 = 0 ;
23520 PyObject *swig_obj[1] ;
23521
23522 if (!args) SWIG_fail;
23523 swig_obj[0] = args;
23524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23525 if (!SWIG_IsOK(res1)) {
23526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23527 }
23528 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23529 {
23530 PyThreadState* __tstate = wxPyBeginAllowThreads();
23531 result = (wxDuplexMode)(arg1)->GetDuplex();
23532 wxPyEndAllowThreads(__tstate);
23533 if (PyErr_Occurred()) SWIG_fail;
23534 }
23535 resultobj = SWIG_From_int(static_cast< int >(result));
23536 return resultobj;
23537 fail:
23538 return NULL;
23539 }
23540
23541
23542 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23543 PyObject *resultobj = 0;
23544 wxPrintData *arg1 = (wxPrintData *) 0 ;
23545 wxPaperSize result;
23546 void *argp1 = 0 ;
23547 int res1 = 0 ;
23548 PyObject *swig_obj[1] ;
23549
23550 if (!args) SWIG_fail;
23551 swig_obj[0] = args;
23552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23553 if (!SWIG_IsOK(res1)) {
23554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23555 }
23556 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23557 {
23558 PyThreadState* __tstate = wxPyBeginAllowThreads();
23559 result = (wxPaperSize)(arg1)->GetPaperId();
23560 wxPyEndAllowThreads(__tstate);
23561 if (PyErr_Occurred()) SWIG_fail;
23562 }
23563 resultobj = SWIG_From_int(static_cast< int >(result));
23564 return resultobj;
23565 fail:
23566 return NULL;
23567 }
23568
23569
23570 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23571 PyObject *resultobj = 0;
23572 wxPrintData *arg1 = (wxPrintData *) 0 ;
23573 wxSize *result = 0 ;
23574 void *argp1 = 0 ;
23575 int res1 = 0 ;
23576 PyObject *swig_obj[1] ;
23577
23578 if (!args) SWIG_fail;
23579 swig_obj[0] = args;
23580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23581 if (!SWIG_IsOK(res1)) {
23582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23583 }
23584 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23585 {
23586 PyThreadState* __tstate = wxPyBeginAllowThreads();
23587 {
23588 wxSize const &_result_ref = (arg1)->GetPaperSize();
23589 result = (wxSize *) &_result_ref;
23590 }
23591 wxPyEndAllowThreads(__tstate);
23592 if (PyErr_Occurred()) SWIG_fail;
23593 }
23594 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23595 return resultobj;
23596 fail:
23597 return NULL;
23598 }
23599
23600
23601 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23602 PyObject *resultobj = 0;
23603 wxPrintData *arg1 = (wxPrintData *) 0 ;
23604 int result;
23605 void *argp1 = 0 ;
23606 int res1 = 0 ;
23607 PyObject *swig_obj[1] ;
23608
23609 if (!args) SWIG_fail;
23610 swig_obj[0] = args;
23611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23612 if (!SWIG_IsOK(res1)) {
23613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23614 }
23615 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23616 {
23617 PyThreadState* __tstate = wxPyBeginAllowThreads();
23618 result = (int)(arg1)->GetQuality();
23619 wxPyEndAllowThreads(__tstate);
23620 if (PyErr_Occurred()) SWIG_fail;
23621 }
23622 resultobj = SWIG_From_int(static_cast< int >(result));
23623 return resultobj;
23624 fail:
23625 return NULL;
23626 }
23627
23628
23629 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23630 PyObject *resultobj = 0;
23631 wxPrintData *arg1 = (wxPrintData *) 0 ;
23632 wxPrintBin result;
23633 void *argp1 = 0 ;
23634 int res1 = 0 ;
23635 PyObject *swig_obj[1] ;
23636
23637 if (!args) SWIG_fail;
23638 swig_obj[0] = args;
23639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23640 if (!SWIG_IsOK(res1)) {
23641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23642 }
23643 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23644 {
23645 PyThreadState* __tstate = wxPyBeginAllowThreads();
23646 result = (wxPrintBin)(arg1)->GetBin();
23647 wxPyEndAllowThreads(__tstate);
23648 if (PyErr_Occurred()) SWIG_fail;
23649 }
23650 resultobj = SWIG_From_int(static_cast< int >(result));
23651 return resultobj;
23652 fail:
23653 return NULL;
23654 }
23655
23656
23657 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23658 PyObject *resultobj = 0;
23659 wxPrintData *arg1 = (wxPrintData *) 0 ;
23660 wxPrintMode result;
23661 void *argp1 = 0 ;
23662 int res1 = 0 ;
23663 PyObject *swig_obj[1] ;
23664
23665 if (!args) SWIG_fail;
23666 swig_obj[0] = args;
23667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23668 if (!SWIG_IsOK(res1)) {
23669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23670 }
23671 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23672 {
23673 PyThreadState* __tstate = wxPyBeginAllowThreads();
23674 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23675 wxPyEndAllowThreads(__tstate);
23676 if (PyErr_Occurred()) SWIG_fail;
23677 }
23678 resultobj = SWIG_From_int(static_cast< int >(result));
23679 return resultobj;
23680 fail:
23681 return NULL;
23682 }
23683
23684
23685 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23686 PyObject *resultobj = 0;
23687 wxPrintData *arg1 = (wxPrintData *) 0 ;
23688 int arg2 ;
23689 void *argp1 = 0 ;
23690 int res1 = 0 ;
23691 int val2 ;
23692 int ecode2 = 0 ;
23693 PyObject * obj0 = 0 ;
23694 PyObject * obj1 = 0 ;
23695 char * kwnames[] = {
23696 (char *) "self",(char *) "v", NULL
23697 };
23698
23699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23701 if (!SWIG_IsOK(res1)) {
23702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23703 }
23704 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23705 ecode2 = SWIG_AsVal_int(obj1, &val2);
23706 if (!SWIG_IsOK(ecode2)) {
23707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23708 }
23709 arg2 = static_cast< int >(val2);
23710 {
23711 PyThreadState* __tstate = wxPyBeginAllowThreads();
23712 (arg1)->SetNoCopies(arg2);
23713 wxPyEndAllowThreads(__tstate);
23714 if (PyErr_Occurred()) SWIG_fail;
23715 }
23716 resultobj = SWIG_Py_Void();
23717 return resultobj;
23718 fail:
23719 return NULL;
23720 }
23721
23722
23723 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23724 PyObject *resultobj = 0;
23725 wxPrintData *arg1 = (wxPrintData *) 0 ;
23726 bool arg2 ;
23727 void *argp1 = 0 ;
23728 int res1 = 0 ;
23729 bool val2 ;
23730 int ecode2 = 0 ;
23731 PyObject * obj0 = 0 ;
23732 PyObject * obj1 = 0 ;
23733 char * kwnames[] = {
23734 (char *) "self",(char *) "flag", NULL
23735 };
23736
23737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23739 if (!SWIG_IsOK(res1)) {
23740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23741 }
23742 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23743 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23744 if (!SWIG_IsOK(ecode2)) {
23745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23746 }
23747 arg2 = static_cast< bool >(val2);
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 (arg1)->SetCollate(arg2);
23751 wxPyEndAllowThreads(__tstate);
23752 if (PyErr_Occurred()) SWIG_fail;
23753 }
23754 resultobj = SWIG_Py_Void();
23755 return resultobj;
23756 fail:
23757 return NULL;
23758 }
23759
23760
23761 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23762 PyObject *resultobj = 0;
23763 wxPrintData *arg1 = (wxPrintData *) 0 ;
23764 int arg2 ;
23765 void *argp1 = 0 ;
23766 int res1 = 0 ;
23767 int val2 ;
23768 int ecode2 = 0 ;
23769 PyObject * obj0 = 0 ;
23770 PyObject * obj1 = 0 ;
23771 char * kwnames[] = {
23772 (char *) "self",(char *) "orient", NULL
23773 };
23774
23775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23777 if (!SWIG_IsOK(res1)) {
23778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23779 }
23780 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23781 ecode2 = SWIG_AsVal_int(obj1, &val2);
23782 if (!SWIG_IsOK(ecode2)) {
23783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23784 }
23785 arg2 = static_cast< int >(val2);
23786 {
23787 PyThreadState* __tstate = wxPyBeginAllowThreads();
23788 (arg1)->SetOrientation(arg2);
23789 wxPyEndAllowThreads(__tstate);
23790 if (PyErr_Occurred()) SWIG_fail;
23791 }
23792 resultobj = SWIG_Py_Void();
23793 return resultobj;
23794 fail:
23795 return NULL;
23796 }
23797
23798
23799 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23800 PyObject *resultobj = 0;
23801 wxPrintData *arg1 = (wxPrintData *) 0 ;
23802 wxString *arg2 = 0 ;
23803 void *argp1 = 0 ;
23804 int res1 = 0 ;
23805 bool temp2 = false ;
23806 PyObject * obj0 = 0 ;
23807 PyObject * obj1 = 0 ;
23808 char * kwnames[] = {
23809 (char *) "self",(char *) "name", NULL
23810 };
23811
23812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23814 if (!SWIG_IsOK(res1)) {
23815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23816 }
23817 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23818 {
23819 arg2 = wxString_in_helper(obj1);
23820 if (arg2 == NULL) SWIG_fail;
23821 temp2 = true;
23822 }
23823 {
23824 PyThreadState* __tstate = wxPyBeginAllowThreads();
23825 (arg1)->SetPrinterName((wxString const &)*arg2);
23826 wxPyEndAllowThreads(__tstate);
23827 if (PyErr_Occurred()) SWIG_fail;
23828 }
23829 resultobj = SWIG_Py_Void();
23830 {
23831 if (temp2)
23832 delete arg2;
23833 }
23834 return resultobj;
23835 fail:
23836 {
23837 if (temp2)
23838 delete arg2;
23839 }
23840 return NULL;
23841 }
23842
23843
23844 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23845 PyObject *resultobj = 0;
23846 wxPrintData *arg1 = (wxPrintData *) 0 ;
23847 bool arg2 ;
23848 void *argp1 = 0 ;
23849 int res1 = 0 ;
23850 bool val2 ;
23851 int ecode2 = 0 ;
23852 PyObject * obj0 = 0 ;
23853 PyObject * obj1 = 0 ;
23854 char * kwnames[] = {
23855 (char *) "self",(char *) "colour", NULL
23856 };
23857
23858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
23859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23860 if (!SWIG_IsOK(res1)) {
23861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23862 }
23863 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23864 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23865 if (!SWIG_IsOK(ecode2)) {
23866 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23867 }
23868 arg2 = static_cast< bool >(val2);
23869 {
23870 PyThreadState* __tstate = wxPyBeginAllowThreads();
23871 (arg1)->SetColour(arg2);
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 resultobj = SWIG_Py_Void();
23876 return resultobj;
23877 fail:
23878 return NULL;
23879 }
23880
23881
23882 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23883 PyObject *resultobj = 0;
23884 wxPrintData *arg1 = (wxPrintData *) 0 ;
23885 wxDuplexMode arg2 ;
23886 void *argp1 = 0 ;
23887 int res1 = 0 ;
23888 int val2 ;
23889 int ecode2 = 0 ;
23890 PyObject * obj0 = 0 ;
23891 PyObject * obj1 = 0 ;
23892 char * kwnames[] = {
23893 (char *) "self",(char *) "duplex", NULL
23894 };
23895
23896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
23897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23898 if (!SWIG_IsOK(res1)) {
23899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23900 }
23901 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23902 ecode2 = SWIG_AsVal_int(obj1, &val2);
23903 if (!SWIG_IsOK(ecode2)) {
23904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23905 }
23906 arg2 = static_cast< wxDuplexMode >(val2);
23907 {
23908 PyThreadState* __tstate = wxPyBeginAllowThreads();
23909 (arg1)->SetDuplex(arg2);
23910 wxPyEndAllowThreads(__tstate);
23911 if (PyErr_Occurred()) SWIG_fail;
23912 }
23913 resultobj = SWIG_Py_Void();
23914 return resultobj;
23915 fail:
23916 return NULL;
23917 }
23918
23919
23920 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23921 PyObject *resultobj = 0;
23922 wxPrintData *arg1 = (wxPrintData *) 0 ;
23923 wxPaperSize arg2 ;
23924 void *argp1 = 0 ;
23925 int res1 = 0 ;
23926 int val2 ;
23927 int ecode2 = 0 ;
23928 PyObject * obj0 = 0 ;
23929 PyObject * obj1 = 0 ;
23930 char * kwnames[] = {
23931 (char *) "self",(char *) "sizeId", NULL
23932 };
23933
23934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
23935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23936 if (!SWIG_IsOK(res1)) {
23937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23938 }
23939 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23940 ecode2 = SWIG_AsVal_int(obj1, &val2);
23941 if (!SWIG_IsOK(ecode2)) {
23942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23943 }
23944 arg2 = static_cast< wxPaperSize >(val2);
23945 {
23946 PyThreadState* __tstate = wxPyBeginAllowThreads();
23947 (arg1)->SetPaperId(arg2);
23948 wxPyEndAllowThreads(__tstate);
23949 if (PyErr_Occurred()) SWIG_fail;
23950 }
23951 resultobj = SWIG_Py_Void();
23952 return resultobj;
23953 fail:
23954 return NULL;
23955 }
23956
23957
23958 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23959 PyObject *resultobj = 0;
23960 wxPrintData *arg1 = (wxPrintData *) 0 ;
23961 wxSize *arg2 = 0 ;
23962 void *argp1 = 0 ;
23963 int res1 = 0 ;
23964 wxSize temp2 ;
23965 PyObject * obj0 = 0 ;
23966 PyObject * obj1 = 0 ;
23967 char * kwnames[] = {
23968 (char *) "self",(char *) "sz", NULL
23969 };
23970
23971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
23972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23973 if (!SWIG_IsOK(res1)) {
23974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23975 }
23976 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23977 {
23978 arg2 = &temp2;
23979 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23980 }
23981 {
23982 PyThreadState* __tstate = wxPyBeginAllowThreads();
23983 (arg1)->SetPaperSize((wxSize const &)*arg2);
23984 wxPyEndAllowThreads(__tstate);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 }
23987 resultobj = SWIG_Py_Void();
23988 return resultobj;
23989 fail:
23990 return NULL;
23991 }
23992
23993
23994 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23995 PyObject *resultobj = 0;
23996 wxPrintData *arg1 = (wxPrintData *) 0 ;
23997 int arg2 ;
23998 void *argp1 = 0 ;
23999 int res1 = 0 ;
24000 int val2 ;
24001 int ecode2 = 0 ;
24002 PyObject * obj0 = 0 ;
24003 PyObject * obj1 = 0 ;
24004 char * kwnames[] = {
24005 (char *) "self",(char *) "quality", NULL
24006 };
24007
24008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24010 if (!SWIG_IsOK(res1)) {
24011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24012 }
24013 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24014 ecode2 = SWIG_AsVal_int(obj1, &val2);
24015 if (!SWIG_IsOK(ecode2)) {
24016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24017 }
24018 arg2 = static_cast< int >(val2);
24019 {
24020 PyThreadState* __tstate = wxPyBeginAllowThreads();
24021 (arg1)->SetQuality(arg2);
24022 wxPyEndAllowThreads(__tstate);
24023 if (PyErr_Occurred()) SWIG_fail;
24024 }
24025 resultobj = SWIG_Py_Void();
24026 return resultobj;
24027 fail:
24028 return NULL;
24029 }
24030
24031
24032 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24033 PyObject *resultobj = 0;
24034 wxPrintData *arg1 = (wxPrintData *) 0 ;
24035 wxPrintBin arg2 ;
24036 void *argp1 = 0 ;
24037 int res1 = 0 ;
24038 int val2 ;
24039 int ecode2 = 0 ;
24040 PyObject * obj0 = 0 ;
24041 PyObject * obj1 = 0 ;
24042 char * kwnames[] = {
24043 (char *) "self",(char *) "bin", NULL
24044 };
24045
24046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24048 if (!SWIG_IsOK(res1)) {
24049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24050 }
24051 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24052 ecode2 = SWIG_AsVal_int(obj1, &val2);
24053 if (!SWIG_IsOK(ecode2)) {
24054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24055 }
24056 arg2 = static_cast< wxPrintBin >(val2);
24057 {
24058 PyThreadState* __tstate = wxPyBeginAllowThreads();
24059 (arg1)->SetBin(arg2);
24060 wxPyEndAllowThreads(__tstate);
24061 if (PyErr_Occurred()) SWIG_fail;
24062 }
24063 resultobj = SWIG_Py_Void();
24064 return resultobj;
24065 fail:
24066 return NULL;
24067 }
24068
24069
24070 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24071 PyObject *resultobj = 0;
24072 wxPrintData *arg1 = (wxPrintData *) 0 ;
24073 wxPrintMode arg2 ;
24074 void *argp1 = 0 ;
24075 int res1 = 0 ;
24076 int val2 ;
24077 int ecode2 = 0 ;
24078 PyObject * obj0 = 0 ;
24079 PyObject * obj1 = 0 ;
24080 char * kwnames[] = {
24081 (char *) "self",(char *) "printMode", NULL
24082 };
24083
24084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24086 if (!SWIG_IsOK(res1)) {
24087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24088 }
24089 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24090 ecode2 = SWIG_AsVal_int(obj1, &val2);
24091 if (!SWIG_IsOK(ecode2)) {
24092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24093 }
24094 arg2 = static_cast< wxPrintMode >(val2);
24095 {
24096 PyThreadState* __tstate = wxPyBeginAllowThreads();
24097 (arg1)->SetPrintMode(arg2);
24098 wxPyEndAllowThreads(__tstate);
24099 if (PyErr_Occurred()) SWIG_fail;
24100 }
24101 resultobj = SWIG_Py_Void();
24102 return resultobj;
24103 fail:
24104 return NULL;
24105 }
24106
24107
24108 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24109 PyObject *resultobj = 0;
24110 wxPrintData *arg1 = (wxPrintData *) 0 ;
24111 wxString result;
24112 void *argp1 = 0 ;
24113 int res1 = 0 ;
24114 PyObject *swig_obj[1] ;
24115
24116 if (!args) SWIG_fail;
24117 swig_obj[0] = args;
24118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24119 if (!SWIG_IsOK(res1)) {
24120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24121 }
24122 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24123 {
24124 PyThreadState* __tstate = wxPyBeginAllowThreads();
24125 result = ((wxPrintData const *)arg1)->GetFilename();
24126 wxPyEndAllowThreads(__tstate);
24127 if (PyErr_Occurred()) SWIG_fail;
24128 }
24129 {
24130 #if wxUSE_UNICODE
24131 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24132 #else
24133 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24134 #endif
24135 }
24136 return resultobj;
24137 fail:
24138 return NULL;
24139 }
24140
24141
24142 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24143 PyObject *resultobj = 0;
24144 wxPrintData *arg1 = (wxPrintData *) 0 ;
24145 wxString *arg2 = 0 ;
24146 void *argp1 = 0 ;
24147 int res1 = 0 ;
24148 bool temp2 = false ;
24149 PyObject * obj0 = 0 ;
24150 PyObject * obj1 = 0 ;
24151 char * kwnames[] = {
24152 (char *) "self",(char *) "filename", NULL
24153 };
24154
24155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24157 if (!SWIG_IsOK(res1)) {
24158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24159 }
24160 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24161 {
24162 arg2 = wxString_in_helper(obj1);
24163 if (arg2 == NULL) SWIG_fail;
24164 temp2 = true;
24165 }
24166 {
24167 PyThreadState* __tstate = wxPyBeginAllowThreads();
24168 (arg1)->SetFilename((wxString const &)*arg2);
24169 wxPyEndAllowThreads(__tstate);
24170 if (PyErr_Occurred()) SWIG_fail;
24171 }
24172 resultobj = SWIG_Py_Void();
24173 {
24174 if (temp2)
24175 delete arg2;
24176 }
24177 return resultobj;
24178 fail:
24179 {
24180 if (temp2)
24181 delete arg2;
24182 }
24183 return NULL;
24184 }
24185
24186
24187 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24188 PyObject *resultobj = 0;
24189 wxPrintData *arg1 = (wxPrintData *) 0 ;
24190 PyObject *result = 0 ;
24191 void *argp1 = 0 ;
24192 int res1 = 0 ;
24193 PyObject *swig_obj[1] ;
24194
24195 if (!args) SWIG_fail;
24196 swig_obj[0] = args;
24197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24198 if (!SWIG_IsOK(res1)) {
24199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24200 }
24201 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24202 {
24203 PyThreadState* __tstate = wxPyBeginAllowThreads();
24204 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24205 wxPyEndAllowThreads(__tstate);
24206 if (PyErr_Occurred()) SWIG_fail;
24207 }
24208 resultobj = result;
24209 return resultobj;
24210 fail:
24211 return NULL;
24212 }
24213
24214
24215 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24216 PyObject *resultobj = 0;
24217 wxPrintData *arg1 = (wxPrintData *) 0 ;
24218 PyObject *arg2 = (PyObject *) 0 ;
24219 void *argp1 = 0 ;
24220 int res1 = 0 ;
24221 PyObject * obj0 = 0 ;
24222 PyObject * obj1 = 0 ;
24223 char * kwnames[] = {
24224 (char *) "self",(char *) "data", NULL
24225 };
24226
24227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24229 if (!SWIG_IsOK(res1)) {
24230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24231 }
24232 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24233 arg2 = obj1;
24234 {
24235 PyThreadState* __tstate = wxPyBeginAllowThreads();
24236 wxPrintData_SetPrivData(arg1,arg2);
24237 wxPyEndAllowThreads(__tstate);
24238 if (PyErr_Occurred()) SWIG_fail;
24239 }
24240 resultobj = SWIG_Py_Void();
24241 return resultobj;
24242 fail:
24243 return NULL;
24244 }
24245
24246
24247 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24248 PyObject *obj;
24249 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24250 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24251 return SWIG_Py_Void();
24252 }
24253
24254 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24255 return SWIG_Python_InitShadowInstance(args);
24256 }
24257
24258 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24259 PyObject *resultobj = 0;
24260 wxPageSetupDialogData *result = 0 ;
24261
24262 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24263 {
24264 PyThreadState* __tstate = wxPyBeginAllowThreads();
24265 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24266 wxPyEndAllowThreads(__tstate);
24267 if (PyErr_Occurred()) SWIG_fail;
24268 }
24269 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24270 return resultobj;
24271 fail:
24272 return NULL;
24273 }
24274
24275
24276 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24277 PyObject *resultobj = 0;
24278 wxPageSetupDialogData *arg1 = 0 ;
24279 wxPageSetupDialogData *result = 0 ;
24280 void *argp1 = 0 ;
24281 int res1 = 0 ;
24282
24283 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24285 if (!SWIG_IsOK(res1)) {
24286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24287 }
24288 if (!argp1) {
24289 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24290 }
24291 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24292 {
24293 PyThreadState* __tstate = wxPyBeginAllowThreads();
24294 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24295 wxPyEndAllowThreads(__tstate);
24296 if (PyErr_Occurred()) SWIG_fail;
24297 }
24298 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24299 return resultobj;
24300 fail:
24301 return NULL;
24302 }
24303
24304
24305 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24306 PyObject *resultobj = 0;
24307 wxPrintData *arg1 = 0 ;
24308 wxPageSetupDialogData *result = 0 ;
24309 void *argp1 = 0 ;
24310 int res1 = 0 ;
24311
24312 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24314 if (!SWIG_IsOK(res1)) {
24315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24316 }
24317 if (!argp1) {
24318 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24319 }
24320 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24321 {
24322 PyThreadState* __tstate = wxPyBeginAllowThreads();
24323 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24324 wxPyEndAllowThreads(__tstate);
24325 if (PyErr_Occurred()) SWIG_fail;
24326 }
24327 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24328 return resultobj;
24329 fail:
24330 return NULL;
24331 }
24332
24333
24334 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24335 int argc;
24336 PyObject *argv[2];
24337
24338 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24339 --argc;
24340 if (argc == 0) {
24341 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24342 }
24343 if (argc == 1) {
24344 int _v = 0;
24345 {
24346 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24347 _v = SWIG_CheckState(res);
24348 }
24349 if (!_v) goto check_2;
24350 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24351 }
24352 check_2:
24353
24354 if (argc == 1) {
24355 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24356 }
24357
24358 fail:
24359 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24360 return NULL;
24361 }
24362
24363
24364 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24365 PyObject *resultobj = 0;
24366 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24367 void *argp1 = 0 ;
24368 int res1 = 0 ;
24369 PyObject *swig_obj[1] ;
24370
24371 if (!args) SWIG_fail;
24372 swig_obj[0] = args;
24373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24374 if (!SWIG_IsOK(res1)) {
24375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24376 }
24377 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24378 {
24379 PyThreadState* __tstate = wxPyBeginAllowThreads();
24380 delete arg1;
24381
24382 wxPyEndAllowThreads(__tstate);
24383 if (PyErr_Occurred()) SWIG_fail;
24384 }
24385 resultobj = SWIG_Py_Void();
24386 return resultobj;
24387 fail:
24388 return NULL;
24389 }
24390
24391
24392 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24393 PyObject *resultobj = 0;
24394 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24395 bool arg2 ;
24396 void *argp1 = 0 ;
24397 int res1 = 0 ;
24398 bool val2 ;
24399 int ecode2 = 0 ;
24400 PyObject * obj0 = 0 ;
24401 PyObject * obj1 = 0 ;
24402 char * kwnames[] = {
24403 (char *) "self",(char *) "flag", NULL
24404 };
24405
24406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24408 if (!SWIG_IsOK(res1)) {
24409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24410 }
24411 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24412 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24413 if (!SWIG_IsOK(ecode2)) {
24414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24415 }
24416 arg2 = static_cast< bool >(val2);
24417 {
24418 PyThreadState* __tstate = wxPyBeginAllowThreads();
24419 (arg1)->EnableHelp(arg2);
24420 wxPyEndAllowThreads(__tstate);
24421 if (PyErr_Occurred()) SWIG_fail;
24422 }
24423 resultobj = SWIG_Py_Void();
24424 return resultobj;
24425 fail:
24426 return NULL;
24427 }
24428
24429
24430 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24431 PyObject *resultobj = 0;
24432 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24433 bool arg2 ;
24434 void *argp1 = 0 ;
24435 int res1 = 0 ;
24436 bool val2 ;
24437 int ecode2 = 0 ;
24438 PyObject * obj0 = 0 ;
24439 PyObject * obj1 = 0 ;
24440 char * kwnames[] = {
24441 (char *) "self",(char *) "flag", NULL
24442 };
24443
24444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24446 if (!SWIG_IsOK(res1)) {
24447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24448 }
24449 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24450 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24451 if (!SWIG_IsOK(ecode2)) {
24452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24453 }
24454 arg2 = static_cast< bool >(val2);
24455 {
24456 PyThreadState* __tstate = wxPyBeginAllowThreads();
24457 (arg1)->EnableMargins(arg2);
24458 wxPyEndAllowThreads(__tstate);
24459 if (PyErr_Occurred()) SWIG_fail;
24460 }
24461 resultobj = SWIG_Py_Void();
24462 return resultobj;
24463 fail:
24464 return NULL;
24465 }
24466
24467
24468 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24469 PyObject *resultobj = 0;
24470 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24471 bool arg2 ;
24472 void *argp1 = 0 ;
24473 int res1 = 0 ;
24474 bool val2 ;
24475 int ecode2 = 0 ;
24476 PyObject * obj0 = 0 ;
24477 PyObject * obj1 = 0 ;
24478 char * kwnames[] = {
24479 (char *) "self",(char *) "flag", NULL
24480 };
24481
24482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24484 if (!SWIG_IsOK(res1)) {
24485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24486 }
24487 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24488 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24489 if (!SWIG_IsOK(ecode2)) {
24490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24491 }
24492 arg2 = static_cast< bool >(val2);
24493 {
24494 PyThreadState* __tstate = wxPyBeginAllowThreads();
24495 (arg1)->EnableOrientation(arg2);
24496 wxPyEndAllowThreads(__tstate);
24497 if (PyErr_Occurred()) SWIG_fail;
24498 }
24499 resultobj = SWIG_Py_Void();
24500 return resultobj;
24501 fail:
24502 return NULL;
24503 }
24504
24505
24506 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24507 PyObject *resultobj = 0;
24508 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24509 bool arg2 ;
24510 void *argp1 = 0 ;
24511 int res1 = 0 ;
24512 bool val2 ;
24513 int ecode2 = 0 ;
24514 PyObject * obj0 = 0 ;
24515 PyObject * obj1 = 0 ;
24516 char * kwnames[] = {
24517 (char *) "self",(char *) "flag", NULL
24518 };
24519
24520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24522 if (!SWIG_IsOK(res1)) {
24523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24524 }
24525 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24526 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24527 if (!SWIG_IsOK(ecode2)) {
24528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24529 }
24530 arg2 = static_cast< bool >(val2);
24531 {
24532 PyThreadState* __tstate = wxPyBeginAllowThreads();
24533 (arg1)->EnablePaper(arg2);
24534 wxPyEndAllowThreads(__tstate);
24535 if (PyErr_Occurred()) SWIG_fail;
24536 }
24537 resultobj = SWIG_Py_Void();
24538 return resultobj;
24539 fail:
24540 return NULL;
24541 }
24542
24543
24544 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24545 PyObject *resultobj = 0;
24546 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24547 bool arg2 ;
24548 void *argp1 = 0 ;
24549 int res1 = 0 ;
24550 bool val2 ;
24551 int ecode2 = 0 ;
24552 PyObject * obj0 = 0 ;
24553 PyObject * obj1 = 0 ;
24554 char * kwnames[] = {
24555 (char *) "self",(char *) "flag", NULL
24556 };
24557
24558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24560 if (!SWIG_IsOK(res1)) {
24561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24562 }
24563 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24564 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24565 if (!SWIG_IsOK(ecode2)) {
24566 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24567 }
24568 arg2 = static_cast< bool >(val2);
24569 {
24570 PyThreadState* __tstate = wxPyBeginAllowThreads();
24571 (arg1)->EnablePrinter(arg2);
24572 wxPyEndAllowThreads(__tstate);
24573 if (PyErr_Occurred()) SWIG_fail;
24574 }
24575 resultobj = SWIG_Py_Void();
24576 return resultobj;
24577 fail:
24578 return NULL;
24579 }
24580
24581
24582 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24583 PyObject *resultobj = 0;
24584 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24585 bool result;
24586 void *argp1 = 0 ;
24587 int res1 = 0 ;
24588 PyObject *swig_obj[1] ;
24589
24590 if (!args) SWIG_fail;
24591 swig_obj[0] = args;
24592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24593 if (!SWIG_IsOK(res1)) {
24594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24595 }
24596 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24597 {
24598 PyThreadState* __tstate = wxPyBeginAllowThreads();
24599 result = (bool)(arg1)->GetDefaultMinMargins();
24600 wxPyEndAllowThreads(__tstate);
24601 if (PyErr_Occurred()) SWIG_fail;
24602 }
24603 {
24604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24605 }
24606 return resultobj;
24607 fail:
24608 return NULL;
24609 }
24610
24611
24612 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24613 PyObject *resultobj = 0;
24614 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24615 bool result;
24616 void *argp1 = 0 ;
24617 int res1 = 0 ;
24618 PyObject *swig_obj[1] ;
24619
24620 if (!args) SWIG_fail;
24621 swig_obj[0] = args;
24622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24623 if (!SWIG_IsOK(res1)) {
24624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24625 }
24626 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24627 {
24628 PyThreadState* __tstate = wxPyBeginAllowThreads();
24629 result = (bool)(arg1)->GetEnableMargins();
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 {
24634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24635 }
24636 return resultobj;
24637 fail:
24638 return NULL;
24639 }
24640
24641
24642 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24643 PyObject *resultobj = 0;
24644 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24645 bool result;
24646 void *argp1 = 0 ;
24647 int res1 = 0 ;
24648 PyObject *swig_obj[1] ;
24649
24650 if (!args) SWIG_fail;
24651 swig_obj[0] = args;
24652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24653 if (!SWIG_IsOK(res1)) {
24654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24655 }
24656 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24657 {
24658 PyThreadState* __tstate = wxPyBeginAllowThreads();
24659 result = (bool)(arg1)->GetEnableOrientation();
24660 wxPyEndAllowThreads(__tstate);
24661 if (PyErr_Occurred()) SWIG_fail;
24662 }
24663 {
24664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24665 }
24666 return resultobj;
24667 fail:
24668 return NULL;
24669 }
24670
24671
24672 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24673 PyObject *resultobj = 0;
24674 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24675 bool result;
24676 void *argp1 = 0 ;
24677 int res1 = 0 ;
24678 PyObject *swig_obj[1] ;
24679
24680 if (!args) SWIG_fail;
24681 swig_obj[0] = args;
24682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24683 if (!SWIG_IsOK(res1)) {
24684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24685 }
24686 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24687 {
24688 PyThreadState* __tstate = wxPyBeginAllowThreads();
24689 result = (bool)(arg1)->GetEnablePaper();
24690 wxPyEndAllowThreads(__tstate);
24691 if (PyErr_Occurred()) SWIG_fail;
24692 }
24693 {
24694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24695 }
24696 return resultobj;
24697 fail:
24698 return NULL;
24699 }
24700
24701
24702 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24703 PyObject *resultobj = 0;
24704 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24705 bool result;
24706 void *argp1 = 0 ;
24707 int res1 = 0 ;
24708 PyObject *swig_obj[1] ;
24709
24710 if (!args) SWIG_fail;
24711 swig_obj[0] = args;
24712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24713 if (!SWIG_IsOK(res1)) {
24714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24715 }
24716 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24717 {
24718 PyThreadState* __tstate = wxPyBeginAllowThreads();
24719 result = (bool)(arg1)->GetEnablePrinter();
24720 wxPyEndAllowThreads(__tstate);
24721 if (PyErr_Occurred()) SWIG_fail;
24722 }
24723 {
24724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24725 }
24726 return resultobj;
24727 fail:
24728 return NULL;
24729 }
24730
24731
24732 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24733 PyObject *resultobj = 0;
24734 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24735 bool result;
24736 void *argp1 = 0 ;
24737 int res1 = 0 ;
24738 PyObject *swig_obj[1] ;
24739
24740 if (!args) SWIG_fail;
24741 swig_obj[0] = args;
24742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24743 if (!SWIG_IsOK(res1)) {
24744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24745 }
24746 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24747 {
24748 PyThreadState* __tstate = wxPyBeginAllowThreads();
24749 result = (bool)(arg1)->GetEnableHelp();
24750 wxPyEndAllowThreads(__tstate);
24751 if (PyErr_Occurred()) SWIG_fail;
24752 }
24753 {
24754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24755 }
24756 return resultobj;
24757 fail:
24758 return NULL;
24759 }
24760
24761
24762 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24763 PyObject *resultobj = 0;
24764 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24765 bool result;
24766 void *argp1 = 0 ;
24767 int res1 = 0 ;
24768 PyObject *swig_obj[1] ;
24769
24770 if (!args) SWIG_fail;
24771 swig_obj[0] = args;
24772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24773 if (!SWIG_IsOK(res1)) {
24774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24775 }
24776 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24777 {
24778 PyThreadState* __tstate = wxPyBeginAllowThreads();
24779 result = (bool)(arg1)->GetDefaultInfo();
24780 wxPyEndAllowThreads(__tstate);
24781 if (PyErr_Occurred()) SWIG_fail;
24782 }
24783 {
24784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24785 }
24786 return resultobj;
24787 fail:
24788 return NULL;
24789 }
24790
24791
24792 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24793 PyObject *resultobj = 0;
24794 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24795 wxPoint result;
24796 void *argp1 = 0 ;
24797 int res1 = 0 ;
24798 PyObject *swig_obj[1] ;
24799
24800 if (!args) SWIG_fail;
24801 swig_obj[0] = args;
24802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24803 if (!SWIG_IsOK(res1)) {
24804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24805 }
24806 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24807 {
24808 PyThreadState* __tstate = wxPyBeginAllowThreads();
24809 result = (arg1)->GetMarginTopLeft();
24810 wxPyEndAllowThreads(__tstate);
24811 if (PyErr_Occurred()) SWIG_fail;
24812 }
24813 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24814 return resultobj;
24815 fail:
24816 return NULL;
24817 }
24818
24819
24820 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24821 PyObject *resultobj = 0;
24822 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24823 wxPoint 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_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24833 }
24834 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24835 {
24836 PyThreadState* __tstate = wxPyBeginAllowThreads();
24837 result = (arg1)->GetMarginBottomRight();
24838 wxPyEndAllowThreads(__tstate);
24839 if (PyErr_Occurred()) SWIG_fail;
24840 }
24841 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24842 return resultobj;
24843 fail:
24844 return NULL;
24845 }
24846
24847
24848 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24849 PyObject *resultobj = 0;
24850 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24851 wxPoint result;
24852 void *argp1 = 0 ;
24853 int res1 = 0 ;
24854 PyObject *swig_obj[1] ;
24855
24856 if (!args) SWIG_fail;
24857 swig_obj[0] = args;
24858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24859 if (!SWIG_IsOK(res1)) {
24860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24861 }
24862 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24863 {
24864 PyThreadState* __tstate = wxPyBeginAllowThreads();
24865 result = (arg1)->GetMinMarginTopLeft();
24866 wxPyEndAllowThreads(__tstate);
24867 if (PyErr_Occurred()) SWIG_fail;
24868 }
24869 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24870 return resultobj;
24871 fail:
24872 return NULL;
24873 }
24874
24875
24876 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24877 PyObject *resultobj = 0;
24878 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24879 wxPoint result;
24880 void *argp1 = 0 ;
24881 int res1 = 0 ;
24882 PyObject *swig_obj[1] ;
24883
24884 if (!args) SWIG_fail;
24885 swig_obj[0] = args;
24886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24887 if (!SWIG_IsOK(res1)) {
24888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24889 }
24890 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24891 {
24892 PyThreadState* __tstate = wxPyBeginAllowThreads();
24893 result = (arg1)->GetMinMarginBottomRight();
24894 wxPyEndAllowThreads(__tstate);
24895 if (PyErr_Occurred()) SWIG_fail;
24896 }
24897 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24898 return resultobj;
24899 fail:
24900 return NULL;
24901 }
24902
24903
24904 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24905 PyObject *resultobj = 0;
24906 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24907 wxPaperSize result;
24908 void *argp1 = 0 ;
24909 int res1 = 0 ;
24910 PyObject *swig_obj[1] ;
24911
24912 if (!args) SWIG_fail;
24913 swig_obj[0] = args;
24914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24915 if (!SWIG_IsOK(res1)) {
24916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24917 }
24918 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24919 {
24920 PyThreadState* __tstate = wxPyBeginAllowThreads();
24921 result = (wxPaperSize)(arg1)->GetPaperId();
24922 wxPyEndAllowThreads(__tstate);
24923 if (PyErr_Occurred()) SWIG_fail;
24924 }
24925 resultobj = SWIG_From_int(static_cast< int >(result));
24926 return resultobj;
24927 fail:
24928 return NULL;
24929 }
24930
24931
24932 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24933 PyObject *resultobj = 0;
24934 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24935 wxSize result;
24936 void *argp1 = 0 ;
24937 int res1 = 0 ;
24938 PyObject *swig_obj[1] ;
24939
24940 if (!args) SWIG_fail;
24941 swig_obj[0] = args;
24942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24943 if (!SWIG_IsOK(res1)) {
24944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24945 }
24946 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24947 {
24948 PyThreadState* __tstate = wxPyBeginAllowThreads();
24949 result = (arg1)->GetPaperSize();
24950 wxPyEndAllowThreads(__tstate);
24951 if (PyErr_Occurred()) SWIG_fail;
24952 }
24953 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24954 return resultobj;
24955 fail:
24956 return NULL;
24957 }
24958
24959
24960 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24961 PyObject *resultobj = 0;
24962 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24963 wxPrintData *result = 0 ;
24964 void *argp1 = 0 ;
24965 int res1 = 0 ;
24966 PyObject *swig_obj[1] ;
24967
24968 if (!args) SWIG_fail;
24969 swig_obj[0] = args;
24970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24971 if (!SWIG_IsOK(res1)) {
24972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24973 }
24974 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24975 {
24976 PyThreadState* __tstate = wxPyBeginAllowThreads();
24977 {
24978 wxPrintData &_result_ref = (arg1)->GetPrintData();
24979 result = (wxPrintData *) &_result_ref;
24980 }
24981 wxPyEndAllowThreads(__tstate);
24982 if (PyErr_Occurred()) SWIG_fail;
24983 }
24984 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
24985 return resultobj;
24986 fail:
24987 return NULL;
24988 }
24989
24990
24991 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24992 PyObject *resultobj = 0;
24993 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24994 bool result;
24995 void *argp1 = 0 ;
24996 int res1 = 0 ;
24997 PyObject *swig_obj[1] ;
24998
24999 if (!args) SWIG_fail;
25000 swig_obj[0] = args;
25001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25002 if (!SWIG_IsOK(res1)) {
25003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25004 }
25005 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25006 {
25007 PyThreadState* __tstate = wxPyBeginAllowThreads();
25008 result = (bool)(arg1)->Ok();
25009 wxPyEndAllowThreads(__tstate);
25010 if (PyErr_Occurred()) SWIG_fail;
25011 }
25012 {
25013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25014 }
25015 return resultobj;
25016 fail:
25017 return NULL;
25018 }
25019
25020
25021 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25022 PyObject *resultobj = 0;
25023 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25024 bool arg2 ;
25025 void *argp1 = 0 ;
25026 int res1 = 0 ;
25027 bool val2 ;
25028 int ecode2 = 0 ;
25029 PyObject * obj0 = 0 ;
25030 PyObject * obj1 = 0 ;
25031 char * kwnames[] = {
25032 (char *) "self",(char *) "flag", NULL
25033 };
25034
25035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25037 if (!SWIG_IsOK(res1)) {
25038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25039 }
25040 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25041 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25042 if (!SWIG_IsOK(ecode2)) {
25043 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25044 }
25045 arg2 = static_cast< bool >(val2);
25046 {
25047 PyThreadState* __tstate = wxPyBeginAllowThreads();
25048 (arg1)->SetDefaultInfo(arg2);
25049 wxPyEndAllowThreads(__tstate);
25050 if (PyErr_Occurred()) SWIG_fail;
25051 }
25052 resultobj = SWIG_Py_Void();
25053 return resultobj;
25054 fail:
25055 return NULL;
25056 }
25057
25058
25059 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25060 PyObject *resultobj = 0;
25061 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25062 bool arg2 ;
25063 void *argp1 = 0 ;
25064 int res1 = 0 ;
25065 bool val2 ;
25066 int ecode2 = 0 ;
25067 PyObject * obj0 = 0 ;
25068 PyObject * obj1 = 0 ;
25069 char * kwnames[] = {
25070 (char *) "self",(char *) "flag", NULL
25071 };
25072
25073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25075 if (!SWIG_IsOK(res1)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25077 }
25078 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25079 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25080 if (!SWIG_IsOK(ecode2)) {
25081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25082 }
25083 arg2 = static_cast< bool >(val2);
25084 {
25085 PyThreadState* __tstate = wxPyBeginAllowThreads();
25086 (arg1)->SetDefaultMinMargins(arg2);
25087 wxPyEndAllowThreads(__tstate);
25088 if (PyErr_Occurred()) SWIG_fail;
25089 }
25090 resultobj = SWIG_Py_Void();
25091 return resultobj;
25092 fail:
25093 return NULL;
25094 }
25095
25096
25097 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25098 PyObject *resultobj = 0;
25099 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25100 wxPoint *arg2 = 0 ;
25101 void *argp1 = 0 ;
25102 int res1 = 0 ;
25103 wxPoint temp2 ;
25104 PyObject * obj0 = 0 ;
25105 PyObject * obj1 = 0 ;
25106 char * kwnames[] = {
25107 (char *) "self",(char *) "pt", NULL
25108 };
25109
25110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25112 if (!SWIG_IsOK(res1)) {
25113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25114 }
25115 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25116 {
25117 arg2 = &temp2;
25118 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25119 }
25120 {
25121 PyThreadState* __tstate = wxPyBeginAllowThreads();
25122 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25123 wxPyEndAllowThreads(__tstate);
25124 if (PyErr_Occurred()) SWIG_fail;
25125 }
25126 resultobj = SWIG_Py_Void();
25127 return resultobj;
25128 fail:
25129 return NULL;
25130 }
25131
25132
25133 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25134 PyObject *resultobj = 0;
25135 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25136 wxPoint *arg2 = 0 ;
25137 void *argp1 = 0 ;
25138 int res1 = 0 ;
25139 wxPoint temp2 ;
25140 PyObject * obj0 = 0 ;
25141 PyObject * obj1 = 0 ;
25142 char * kwnames[] = {
25143 (char *) "self",(char *) "pt", NULL
25144 };
25145
25146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25148 if (!SWIG_IsOK(res1)) {
25149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25150 }
25151 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25152 {
25153 arg2 = &temp2;
25154 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25155 }
25156 {
25157 PyThreadState* __tstate = wxPyBeginAllowThreads();
25158 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25159 wxPyEndAllowThreads(__tstate);
25160 if (PyErr_Occurred()) SWIG_fail;
25161 }
25162 resultobj = SWIG_Py_Void();
25163 return resultobj;
25164 fail:
25165 return NULL;
25166 }
25167
25168
25169 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25170 PyObject *resultobj = 0;
25171 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25172 wxPoint *arg2 = 0 ;
25173 void *argp1 = 0 ;
25174 int res1 = 0 ;
25175 wxPoint temp2 ;
25176 PyObject * obj0 = 0 ;
25177 PyObject * obj1 = 0 ;
25178 char * kwnames[] = {
25179 (char *) "self",(char *) "pt", NULL
25180 };
25181
25182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25184 if (!SWIG_IsOK(res1)) {
25185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25186 }
25187 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25188 {
25189 arg2 = &temp2;
25190 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25191 }
25192 {
25193 PyThreadState* __tstate = wxPyBeginAllowThreads();
25194 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25195 wxPyEndAllowThreads(__tstate);
25196 if (PyErr_Occurred()) SWIG_fail;
25197 }
25198 resultobj = SWIG_Py_Void();
25199 return resultobj;
25200 fail:
25201 return NULL;
25202 }
25203
25204
25205 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25206 PyObject *resultobj = 0;
25207 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25208 wxPoint *arg2 = 0 ;
25209 void *argp1 = 0 ;
25210 int res1 = 0 ;
25211 wxPoint temp2 ;
25212 PyObject * obj0 = 0 ;
25213 PyObject * obj1 = 0 ;
25214 char * kwnames[] = {
25215 (char *) "self",(char *) "pt", NULL
25216 };
25217
25218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25220 if (!SWIG_IsOK(res1)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25222 }
25223 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25224 {
25225 arg2 = &temp2;
25226 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25227 }
25228 {
25229 PyThreadState* __tstate = wxPyBeginAllowThreads();
25230 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25231 wxPyEndAllowThreads(__tstate);
25232 if (PyErr_Occurred()) SWIG_fail;
25233 }
25234 resultobj = SWIG_Py_Void();
25235 return resultobj;
25236 fail:
25237 return NULL;
25238 }
25239
25240
25241 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25242 PyObject *resultobj = 0;
25243 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25244 wxPaperSize arg2 ;
25245 void *argp1 = 0 ;
25246 int res1 = 0 ;
25247 int val2 ;
25248 int ecode2 = 0 ;
25249 PyObject * obj0 = 0 ;
25250 PyObject * obj1 = 0 ;
25251 char * kwnames[] = {
25252 (char *) "self",(char *) "id", NULL
25253 };
25254
25255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25257 if (!SWIG_IsOK(res1)) {
25258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25259 }
25260 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25261 ecode2 = SWIG_AsVal_int(obj1, &val2);
25262 if (!SWIG_IsOK(ecode2)) {
25263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25264 }
25265 arg2 = static_cast< wxPaperSize >(val2);
25266 {
25267 PyThreadState* __tstate = wxPyBeginAllowThreads();
25268 (arg1)->SetPaperId(arg2);
25269 wxPyEndAllowThreads(__tstate);
25270 if (PyErr_Occurred()) SWIG_fail;
25271 }
25272 resultobj = SWIG_Py_Void();
25273 return resultobj;
25274 fail:
25275 return NULL;
25276 }
25277
25278
25279 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25280 PyObject *resultobj = 0;
25281 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25282 wxSize *arg2 = 0 ;
25283 void *argp1 = 0 ;
25284 int res1 = 0 ;
25285 wxSize temp2 ;
25286 PyObject * obj0 = 0 ;
25287 PyObject * obj1 = 0 ;
25288 char * kwnames[] = {
25289 (char *) "self",(char *) "size", NULL
25290 };
25291
25292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25294 if (!SWIG_IsOK(res1)) {
25295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25296 }
25297 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25298 {
25299 arg2 = &temp2;
25300 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25301 }
25302 {
25303 PyThreadState* __tstate = wxPyBeginAllowThreads();
25304 (arg1)->SetPaperSize((wxSize const &)*arg2);
25305 wxPyEndAllowThreads(__tstate);
25306 if (PyErr_Occurred()) SWIG_fail;
25307 }
25308 resultobj = SWIG_Py_Void();
25309 return resultobj;
25310 fail:
25311 return NULL;
25312 }
25313
25314
25315 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25316 PyObject *resultobj = 0;
25317 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25318 wxPrintData *arg2 = 0 ;
25319 void *argp1 = 0 ;
25320 int res1 = 0 ;
25321 void *argp2 = 0 ;
25322 int res2 = 0 ;
25323 PyObject * obj0 = 0 ;
25324 PyObject * obj1 = 0 ;
25325 char * kwnames[] = {
25326 (char *) "self",(char *) "printData", NULL
25327 };
25328
25329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25331 if (!SWIG_IsOK(res1)) {
25332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25333 }
25334 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25335 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25336 if (!SWIG_IsOK(res2)) {
25337 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25338 }
25339 if (!argp2) {
25340 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25341 }
25342 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25343 {
25344 PyThreadState* __tstate = wxPyBeginAllowThreads();
25345 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25346 wxPyEndAllowThreads(__tstate);
25347 if (PyErr_Occurred()) SWIG_fail;
25348 }
25349 resultobj = SWIG_Py_Void();
25350 return resultobj;
25351 fail:
25352 return NULL;
25353 }
25354
25355
25356 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25357 PyObject *resultobj = 0;
25358 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25359 void *argp1 = 0 ;
25360 int res1 = 0 ;
25361 PyObject *swig_obj[1] ;
25362
25363 if (!args) SWIG_fail;
25364 swig_obj[0] = args;
25365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25366 if (!SWIG_IsOK(res1)) {
25367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25368 }
25369 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25370 {
25371 PyThreadState* __tstate = wxPyBeginAllowThreads();
25372 (arg1)->CalculateIdFromPaperSize();
25373 wxPyEndAllowThreads(__tstate);
25374 if (PyErr_Occurred()) SWIG_fail;
25375 }
25376 resultobj = SWIG_Py_Void();
25377 return resultobj;
25378 fail:
25379 return NULL;
25380 }
25381
25382
25383 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25384 PyObject *resultobj = 0;
25385 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25386 void *argp1 = 0 ;
25387 int res1 = 0 ;
25388 PyObject *swig_obj[1] ;
25389
25390 if (!args) SWIG_fail;
25391 swig_obj[0] = args;
25392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25393 if (!SWIG_IsOK(res1)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25395 }
25396 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25397 {
25398 PyThreadState* __tstate = wxPyBeginAllowThreads();
25399 (arg1)->CalculatePaperSizeFromId();
25400 wxPyEndAllowThreads(__tstate);
25401 if (PyErr_Occurred()) SWIG_fail;
25402 }
25403 resultobj = SWIG_Py_Void();
25404 return resultobj;
25405 fail:
25406 return NULL;
25407 }
25408
25409
25410 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25411 PyObject *obj;
25412 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25413 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25414 return SWIG_Py_Void();
25415 }
25416
25417 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25418 return SWIG_Python_InitShadowInstance(args);
25419 }
25420
25421 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25422 PyObject *resultobj = 0;
25423 wxWindow *arg1 = (wxWindow *) 0 ;
25424 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25425 wxPageSetupDialog *result = 0 ;
25426 void *argp1 = 0 ;
25427 int res1 = 0 ;
25428 void *argp2 = 0 ;
25429 int res2 = 0 ;
25430 PyObject * obj0 = 0 ;
25431 PyObject * obj1 = 0 ;
25432 char * kwnames[] = {
25433 (char *) "parent",(char *) "data", NULL
25434 };
25435
25436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25438 if (!SWIG_IsOK(res1)) {
25439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25440 }
25441 arg1 = reinterpret_cast< wxWindow * >(argp1);
25442 if (obj1) {
25443 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25444 if (!SWIG_IsOK(res2)) {
25445 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25446 }
25447 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25448 }
25449 {
25450 if (!wxPyCheckForApp()) SWIG_fail;
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25453 wxPyEndAllowThreads(__tstate);
25454 if (PyErr_Occurred()) SWIG_fail;
25455 }
25456 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25457 return resultobj;
25458 fail:
25459 return NULL;
25460 }
25461
25462
25463 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25464 PyObject *resultobj = 0;
25465 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25466 void *argp1 = 0 ;
25467 int res1 = 0 ;
25468 PyObject *swig_obj[1] ;
25469
25470 if (!args) SWIG_fail;
25471 swig_obj[0] = args;
25472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25473 if (!SWIG_IsOK(res1)) {
25474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25475 }
25476 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25477 {
25478 PyThreadState* __tstate = wxPyBeginAllowThreads();
25479 delete arg1;
25480
25481 wxPyEndAllowThreads(__tstate);
25482 if (PyErr_Occurred()) SWIG_fail;
25483 }
25484 resultobj = SWIG_Py_Void();
25485 return resultobj;
25486 fail:
25487 return NULL;
25488 }
25489
25490
25491 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25492 PyObject *resultobj = 0;
25493 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25494 wxPageSetupDialogData *result = 0 ;
25495 void *argp1 = 0 ;
25496 int res1 = 0 ;
25497 PyObject *swig_obj[1] ;
25498
25499 if (!args) SWIG_fail;
25500 swig_obj[0] = args;
25501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25502 if (!SWIG_IsOK(res1)) {
25503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25504 }
25505 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25506 {
25507 PyThreadState* __tstate = wxPyBeginAllowThreads();
25508 {
25509 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25510 result = (wxPageSetupDialogData *) &_result_ref;
25511 }
25512 wxPyEndAllowThreads(__tstate);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
25515 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25516 return resultobj;
25517 fail:
25518 return NULL;
25519 }
25520
25521
25522 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25523 PyObject *resultobj = 0;
25524 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25525 wxPageSetupDialogData *result = 0 ;
25526 void *argp1 = 0 ;
25527 int res1 = 0 ;
25528 PyObject *swig_obj[1] ;
25529
25530 if (!args) SWIG_fail;
25531 swig_obj[0] = args;
25532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25533 if (!SWIG_IsOK(res1)) {
25534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25535 }
25536 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25537 {
25538 PyThreadState* __tstate = wxPyBeginAllowThreads();
25539 {
25540 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25541 result = (wxPageSetupDialogData *) &_result_ref;
25542 }
25543 wxPyEndAllowThreads(__tstate);
25544 if (PyErr_Occurred()) SWIG_fail;
25545 }
25546 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25547 return resultobj;
25548 fail:
25549 return NULL;
25550 }
25551
25552
25553 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25554 PyObject *resultobj = 0;
25555 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25556 int result;
25557 void *argp1 = 0 ;
25558 int res1 = 0 ;
25559 PyObject *swig_obj[1] ;
25560
25561 if (!args) SWIG_fail;
25562 swig_obj[0] = args;
25563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25564 if (!SWIG_IsOK(res1)) {
25565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25566 }
25567 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25568 {
25569 PyThreadState* __tstate = wxPyBeginAllowThreads();
25570 result = (int)(arg1)->ShowModal();
25571 wxPyEndAllowThreads(__tstate);
25572 if (PyErr_Occurred()) SWIG_fail;
25573 }
25574 resultobj = SWIG_From_int(static_cast< int >(result));
25575 return resultobj;
25576 fail:
25577 return NULL;
25578 }
25579
25580
25581 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25582 PyObject *obj;
25583 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25584 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25585 return SWIG_Py_Void();
25586 }
25587
25588 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25589 return SWIG_Python_InitShadowInstance(args);
25590 }
25591
25592 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25593 PyObject *resultobj = 0;
25594 wxPrintDialogData *result = 0 ;
25595
25596 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25597 {
25598 PyThreadState* __tstate = wxPyBeginAllowThreads();
25599 result = (wxPrintDialogData *)new wxPrintDialogData();
25600 wxPyEndAllowThreads(__tstate);
25601 if (PyErr_Occurred()) SWIG_fail;
25602 }
25603 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25604 return resultobj;
25605 fail:
25606 return NULL;
25607 }
25608
25609
25610 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25611 PyObject *resultobj = 0;
25612 wxPrintData *arg1 = 0 ;
25613 wxPrintDialogData *result = 0 ;
25614 void *argp1 = 0 ;
25615 int res1 = 0 ;
25616
25617 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25619 if (!SWIG_IsOK(res1)) {
25620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25621 }
25622 if (!argp1) {
25623 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25624 }
25625 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25626 {
25627 PyThreadState* __tstate = wxPyBeginAllowThreads();
25628 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25629 wxPyEndAllowThreads(__tstate);
25630 if (PyErr_Occurred()) SWIG_fail;
25631 }
25632 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25633 return resultobj;
25634 fail:
25635 return NULL;
25636 }
25637
25638
25639 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25640 PyObject *resultobj = 0;
25641 wxPrintDialogData *arg1 = 0 ;
25642 wxPrintDialogData *result = 0 ;
25643 void *argp1 = 0 ;
25644 int res1 = 0 ;
25645
25646 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25648 if (!SWIG_IsOK(res1)) {
25649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25650 }
25651 if (!argp1) {
25652 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25653 }
25654 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25655 {
25656 PyThreadState* __tstate = wxPyBeginAllowThreads();
25657 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25658 wxPyEndAllowThreads(__tstate);
25659 if (PyErr_Occurred()) SWIG_fail;
25660 }
25661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25662 return resultobj;
25663 fail:
25664 return NULL;
25665 }
25666
25667
25668 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25669 int argc;
25670 PyObject *argv[2];
25671
25672 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25673 --argc;
25674 if (argc == 0) {
25675 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25676 }
25677 if (argc == 1) {
25678 int _v = 0;
25679 {
25680 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25681 _v = SWIG_CheckState(res);
25682 }
25683 if (!_v) goto check_2;
25684 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25685 }
25686 check_2:
25687
25688 if (argc == 1) {
25689 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25690 }
25691
25692 fail:
25693 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25694 return NULL;
25695 }
25696
25697
25698 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25699 PyObject *resultobj = 0;
25700 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25701 void *argp1 = 0 ;
25702 int res1 = 0 ;
25703 PyObject *swig_obj[1] ;
25704
25705 if (!args) SWIG_fail;
25706 swig_obj[0] = args;
25707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25708 if (!SWIG_IsOK(res1)) {
25709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25710 }
25711 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25712 {
25713 PyThreadState* __tstate = wxPyBeginAllowThreads();
25714 delete arg1;
25715
25716 wxPyEndAllowThreads(__tstate);
25717 if (PyErr_Occurred()) SWIG_fail;
25718 }
25719 resultobj = SWIG_Py_Void();
25720 return resultobj;
25721 fail:
25722 return NULL;
25723 }
25724
25725
25726 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25727 PyObject *resultobj = 0;
25728 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25729 int result;
25730 void *argp1 = 0 ;
25731 int res1 = 0 ;
25732 PyObject *swig_obj[1] ;
25733
25734 if (!args) SWIG_fail;
25735 swig_obj[0] = args;
25736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25737 if (!SWIG_IsOK(res1)) {
25738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25739 }
25740 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25741 {
25742 PyThreadState* __tstate = wxPyBeginAllowThreads();
25743 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25744 wxPyEndAllowThreads(__tstate);
25745 if (PyErr_Occurred()) SWIG_fail;
25746 }
25747 resultobj = SWIG_From_int(static_cast< int >(result));
25748 return resultobj;
25749 fail:
25750 return NULL;
25751 }
25752
25753
25754 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25755 PyObject *resultobj = 0;
25756 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25757 int result;
25758 void *argp1 = 0 ;
25759 int res1 = 0 ;
25760 PyObject *swig_obj[1] ;
25761
25762 if (!args) SWIG_fail;
25763 swig_obj[0] = args;
25764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25765 if (!SWIG_IsOK(res1)) {
25766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25767 }
25768 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25769 {
25770 PyThreadState* __tstate = wxPyBeginAllowThreads();
25771 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25772 wxPyEndAllowThreads(__tstate);
25773 if (PyErr_Occurred()) SWIG_fail;
25774 }
25775 resultobj = SWIG_From_int(static_cast< int >(result));
25776 return resultobj;
25777 fail:
25778 return NULL;
25779 }
25780
25781
25782 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25783 PyObject *resultobj = 0;
25784 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25785 int result;
25786 void *argp1 = 0 ;
25787 int res1 = 0 ;
25788 PyObject *swig_obj[1] ;
25789
25790 if (!args) SWIG_fail;
25791 swig_obj[0] = args;
25792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25793 if (!SWIG_IsOK(res1)) {
25794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25795 }
25796 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25797 {
25798 PyThreadState* __tstate = wxPyBeginAllowThreads();
25799 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25800 wxPyEndAllowThreads(__tstate);
25801 if (PyErr_Occurred()) SWIG_fail;
25802 }
25803 resultobj = SWIG_From_int(static_cast< int >(result));
25804 return resultobj;
25805 fail:
25806 return NULL;
25807 }
25808
25809
25810 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25811 PyObject *resultobj = 0;
25812 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25813 int result;
25814 void *argp1 = 0 ;
25815 int res1 = 0 ;
25816 PyObject *swig_obj[1] ;
25817
25818 if (!args) SWIG_fail;
25819 swig_obj[0] = args;
25820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25821 if (!SWIG_IsOK(res1)) {
25822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25823 }
25824 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25825 {
25826 PyThreadState* __tstate = wxPyBeginAllowThreads();
25827 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25828 wxPyEndAllowThreads(__tstate);
25829 if (PyErr_Occurred()) SWIG_fail;
25830 }
25831 resultobj = SWIG_From_int(static_cast< int >(result));
25832 return resultobj;
25833 fail:
25834 return NULL;
25835 }
25836
25837
25838 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25839 PyObject *resultobj = 0;
25840 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25841 int result;
25842 void *argp1 = 0 ;
25843 int res1 = 0 ;
25844 PyObject *swig_obj[1] ;
25845
25846 if (!args) SWIG_fail;
25847 swig_obj[0] = args;
25848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25849 if (!SWIG_IsOK(res1)) {
25850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25851 }
25852 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25853 {
25854 PyThreadState* __tstate = wxPyBeginAllowThreads();
25855 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
25856 wxPyEndAllowThreads(__tstate);
25857 if (PyErr_Occurred()) SWIG_fail;
25858 }
25859 resultobj = SWIG_From_int(static_cast< int >(result));
25860 return resultobj;
25861 fail:
25862 return NULL;
25863 }
25864
25865
25866 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25867 PyObject *resultobj = 0;
25868 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25869 bool result;
25870 void *argp1 = 0 ;
25871 int res1 = 0 ;
25872 PyObject *swig_obj[1] ;
25873
25874 if (!args) SWIG_fail;
25875 swig_obj[0] = args;
25876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25877 if (!SWIG_IsOK(res1)) {
25878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25879 }
25880 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25881 {
25882 PyThreadState* __tstate = wxPyBeginAllowThreads();
25883 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
25884 wxPyEndAllowThreads(__tstate);
25885 if (PyErr_Occurred()) SWIG_fail;
25886 }
25887 {
25888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25889 }
25890 return resultobj;
25891 fail:
25892 return NULL;
25893 }
25894
25895
25896 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25897 PyObject *resultobj = 0;
25898 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25899 bool result;
25900 void *argp1 = 0 ;
25901 int res1 = 0 ;
25902 PyObject *swig_obj[1] ;
25903
25904 if (!args) SWIG_fail;
25905 swig_obj[0] = args;
25906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25907 if (!SWIG_IsOK(res1)) {
25908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25909 }
25910 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25911 {
25912 PyThreadState* __tstate = wxPyBeginAllowThreads();
25913 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
25914 wxPyEndAllowThreads(__tstate);
25915 if (PyErr_Occurred()) SWIG_fail;
25916 }
25917 {
25918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25919 }
25920 return resultobj;
25921 fail:
25922 return NULL;
25923 }
25924
25925
25926 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25927 PyObject *resultobj = 0;
25928 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25929 bool result;
25930 void *argp1 = 0 ;
25931 int res1 = 0 ;
25932 PyObject *swig_obj[1] ;
25933
25934 if (!args) SWIG_fail;
25935 swig_obj[0] = args;
25936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25937 if (!SWIG_IsOK(res1)) {
25938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25939 }
25940 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25941 {
25942 PyThreadState* __tstate = wxPyBeginAllowThreads();
25943 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
25944 wxPyEndAllowThreads(__tstate);
25945 if (PyErr_Occurred()) SWIG_fail;
25946 }
25947 {
25948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25949 }
25950 return resultobj;
25951 fail:
25952 return NULL;
25953 }
25954
25955
25956 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25957 PyObject *resultobj = 0;
25958 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25959 bool result;
25960 void *argp1 = 0 ;
25961 int res1 = 0 ;
25962 PyObject *swig_obj[1] ;
25963
25964 if (!args) SWIG_fail;
25965 swig_obj[0] = args;
25966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25967 if (!SWIG_IsOK(res1)) {
25968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25969 }
25970 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25971 {
25972 PyThreadState* __tstate = wxPyBeginAllowThreads();
25973 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
25974 wxPyEndAllowThreads(__tstate);
25975 if (PyErr_Occurred()) SWIG_fail;
25976 }
25977 {
25978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25979 }
25980 return resultobj;
25981 fail:
25982 return NULL;
25983 }
25984
25985
25986 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25987 PyObject *resultobj = 0;
25988 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25989 int arg2 ;
25990 void *argp1 = 0 ;
25991 int res1 = 0 ;
25992 int val2 ;
25993 int ecode2 = 0 ;
25994 PyObject * obj0 = 0 ;
25995 PyObject * obj1 = 0 ;
25996 char * kwnames[] = {
25997 (char *) "self",(char *) "v", NULL
25998 };
25999
26000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26002 if (!SWIG_IsOK(res1)) {
26003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26004 }
26005 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26006 ecode2 = SWIG_AsVal_int(obj1, &val2);
26007 if (!SWIG_IsOK(ecode2)) {
26008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26009 }
26010 arg2 = static_cast< int >(val2);
26011 {
26012 PyThreadState* __tstate = wxPyBeginAllowThreads();
26013 (arg1)->SetFromPage(arg2);
26014 wxPyEndAllowThreads(__tstate);
26015 if (PyErr_Occurred()) SWIG_fail;
26016 }
26017 resultobj = SWIG_Py_Void();
26018 return resultobj;
26019 fail:
26020 return NULL;
26021 }
26022
26023
26024 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26025 PyObject *resultobj = 0;
26026 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26027 int arg2 ;
26028 void *argp1 = 0 ;
26029 int res1 = 0 ;
26030 int val2 ;
26031 int ecode2 = 0 ;
26032 PyObject * obj0 = 0 ;
26033 PyObject * obj1 = 0 ;
26034 char * kwnames[] = {
26035 (char *) "self",(char *) "v", NULL
26036 };
26037
26038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26040 if (!SWIG_IsOK(res1)) {
26041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26042 }
26043 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26044 ecode2 = SWIG_AsVal_int(obj1, &val2);
26045 if (!SWIG_IsOK(ecode2)) {
26046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26047 }
26048 arg2 = static_cast< int >(val2);
26049 {
26050 PyThreadState* __tstate = wxPyBeginAllowThreads();
26051 (arg1)->SetToPage(arg2);
26052 wxPyEndAllowThreads(__tstate);
26053 if (PyErr_Occurred()) SWIG_fail;
26054 }
26055 resultobj = SWIG_Py_Void();
26056 return resultobj;
26057 fail:
26058 return NULL;
26059 }
26060
26061
26062 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26063 PyObject *resultobj = 0;
26064 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26065 int arg2 ;
26066 void *argp1 = 0 ;
26067 int res1 = 0 ;
26068 int val2 ;
26069 int ecode2 = 0 ;
26070 PyObject * obj0 = 0 ;
26071 PyObject * obj1 = 0 ;
26072 char * kwnames[] = {
26073 (char *) "self",(char *) "v", NULL
26074 };
26075
26076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26078 if (!SWIG_IsOK(res1)) {
26079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26080 }
26081 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26082 ecode2 = SWIG_AsVal_int(obj1, &val2);
26083 if (!SWIG_IsOK(ecode2)) {
26084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26085 }
26086 arg2 = static_cast< int >(val2);
26087 {
26088 PyThreadState* __tstate = wxPyBeginAllowThreads();
26089 (arg1)->SetMinPage(arg2);
26090 wxPyEndAllowThreads(__tstate);
26091 if (PyErr_Occurred()) SWIG_fail;
26092 }
26093 resultobj = SWIG_Py_Void();
26094 return resultobj;
26095 fail:
26096 return NULL;
26097 }
26098
26099
26100 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26101 PyObject *resultobj = 0;
26102 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26103 int arg2 ;
26104 void *argp1 = 0 ;
26105 int res1 = 0 ;
26106 int val2 ;
26107 int ecode2 = 0 ;
26108 PyObject * obj0 = 0 ;
26109 PyObject * obj1 = 0 ;
26110 char * kwnames[] = {
26111 (char *) "self",(char *) "v", NULL
26112 };
26113
26114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26116 if (!SWIG_IsOK(res1)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26118 }
26119 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26120 ecode2 = SWIG_AsVal_int(obj1, &val2);
26121 if (!SWIG_IsOK(ecode2)) {
26122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26123 }
26124 arg2 = static_cast< int >(val2);
26125 {
26126 PyThreadState* __tstate = wxPyBeginAllowThreads();
26127 (arg1)->SetMaxPage(arg2);
26128 wxPyEndAllowThreads(__tstate);
26129 if (PyErr_Occurred()) SWIG_fail;
26130 }
26131 resultobj = SWIG_Py_Void();
26132 return resultobj;
26133 fail:
26134 return NULL;
26135 }
26136
26137
26138 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26139 PyObject *resultobj = 0;
26140 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26141 int arg2 ;
26142 void *argp1 = 0 ;
26143 int res1 = 0 ;
26144 int val2 ;
26145 int ecode2 = 0 ;
26146 PyObject * obj0 = 0 ;
26147 PyObject * obj1 = 0 ;
26148 char * kwnames[] = {
26149 (char *) "self",(char *) "v", NULL
26150 };
26151
26152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26154 if (!SWIG_IsOK(res1)) {
26155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26156 }
26157 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26158 ecode2 = SWIG_AsVal_int(obj1, &val2);
26159 if (!SWIG_IsOK(ecode2)) {
26160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26161 }
26162 arg2 = static_cast< int >(val2);
26163 {
26164 PyThreadState* __tstate = wxPyBeginAllowThreads();
26165 (arg1)->SetNoCopies(arg2);
26166 wxPyEndAllowThreads(__tstate);
26167 if (PyErr_Occurred()) SWIG_fail;
26168 }
26169 resultobj = SWIG_Py_Void();
26170 return resultobj;
26171 fail:
26172 return NULL;
26173 }
26174
26175
26176 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26177 PyObject *resultobj = 0;
26178 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26179 bool arg2 ;
26180 void *argp1 = 0 ;
26181 int res1 = 0 ;
26182 bool val2 ;
26183 int ecode2 = 0 ;
26184 PyObject * obj0 = 0 ;
26185 PyObject * obj1 = 0 ;
26186 char * kwnames[] = {
26187 (char *) "self",(char *) "flag", NULL
26188 };
26189
26190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26192 if (!SWIG_IsOK(res1)) {
26193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26194 }
26195 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26196 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26197 if (!SWIG_IsOK(ecode2)) {
26198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26199 }
26200 arg2 = static_cast< bool >(val2);
26201 {
26202 PyThreadState* __tstate = wxPyBeginAllowThreads();
26203 (arg1)->SetAllPages(arg2);
26204 wxPyEndAllowThreads(__tstate);
26205 if (PyErr_Occurred()) SWIG_fail;
26206 }
26207 resultobj = SWIG_Py_Void();
26208 return resultobj;
26209 fail:
26210 return NULL;
26211 }
26212
26213
26214 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26215 PyObject *resultobj = 0;
26216 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26217 bool arg2 ;
26218 void *argp1 = 0 ;
26219 int res1 = 0 ;
26220 bool val2 ;
26221 int ecode2 = 0 ;
26222 PyObject * obj0 = 0 ;
26223 PyObject * obj1 = 0 ;
26224 char * kwnames[] = {
26225 (char *) "self",(char *) "flag", NULL
26226 };
26227
26228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26230 if (!SWIG_IsOK(res1)) {
26231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26232 }
26233 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26234 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26235 if (!SWIG_IsOK(ecode2)) {
26236 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26237 }
26238 arg2 = static_cast< bool >(val2);
26239 {
26240 PyThreadState* __tstate = wxPyBeginAllowThreads();
26241 (arg1)->SetSelection(arg2);
26242 wxPyEndAllowThreads(__tstate);
26243 if (PyErr_Occurred()) SWIG_fail;
26244 }
26245 resultobj = SWIG_Py_Void();
26246 return resultobj;
26247 fail:
26248 return NULL;
26249 }
26250
26251
26252 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26253 PyObject *resultobj = 0;
26254 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26255 bool arg2 ;
26256 void *argp1 = 0 ;
26257 int res1 = 0 ;
26258 bool val2 ;
26259 int ecode2 = 0 ;
26260 PyObject * obj0 = 0 ;
26261 PyObject * obj1 = 0 ;
26262 char * kwnames[] = {
26263 (char *) "self",(char *) "flag", NULL
26264 };
26265
26266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26268 if (!SWIG_IsOK(res1)) {
26269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26270 }
26271 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26272 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26273 if (!SWIG_IsOK(ecode2)) {
26274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26275 }
26276 arg2 = static_cast< bool >(val2);
26277 {
26278 PyThreadState* __tstate = wxPyBeginAllowThreads();
26279 (arg1)->SetCollate(arg2);
26280 wxPyEndAllowThreads(__tstate);
26281 if (PyErr_Occurred()) SWIG_fail;
26282 }
26283 resultobj = SWIG_Py_Void();
26284 return resultobj;
26285 fail:
26286 return NULL;
26287 }
26288
26289
26290 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26291 PyObject *resultobj = 0;
26292 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26293 bool arg2 ;
26294 void *argp1 = 0 ;
26295 int res1 = 0 ;
26296 bool val2 ;
26297 int ecode2 = 0 ;
26298 PyObject * obj0 = 0 ;
26299 PyObject * obj1 = 0 ;
26300 char * kwnames[] = {
26301 (char *) "self",(char *) "flag", NULL
26302 };
26303
26304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26306 if (!SWIG_IsOK(res1)) {
26307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26308 }
26309 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26310 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26311 if (!SWIG_IsOK(ecode2)) {
26312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26313 }
26314 arg2 = static_cast< bool >(val2);
26315 {
26316 PyThreadState* __tstate = wxPyBeginAllowThreads();
26317 (arg1)->SetPrintToFile(arg2);
26318 wxPyEndAllowThreads(__tstate);
26319 if (PyErr_Occurred()) SWIG_fail;
26320 }
26321 resultobj = SWIG_Py_Void();
26322 return resultobj;
26323 fail:
26324 return NULL;
26325 }
26326
26327
26328 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26329 PyObject *resultobj = 0;
26330 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26331 bool arg2 ;
26332 void *argp1 = 0 ;
26333 int res1 = 0 ;
26334 bool val2 ;
26335 int ecode2 = 0 ;
26336 PyObject * obj0 = 0 ;
26337 PyObject * obj1 = 0 ;
26338 char * kwnames[] = {
26339 (char *) "self",(char *) "flag", NULL
26340 };
26341
26342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26344 if (!SWIG_IsOK(res1)) {
26345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26346 }
26347 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26348 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26349 if (!SWIG_IsOK(ecode2)) {
26350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26351 }
26352 arg2 = static_cast< bool >(val2);
26353 {
26354 PyThreadState* __tstate = wxPyBeginAllowThreads();
26355 (arg1)->EnablePrintToFile(arg2);
26356 wxPyEndAllowThreads(__tstate);
26357 if (PyErr_Occurred()) SWIG_fail;
26358 }
26359 resultobj = SWIG_Py_Void();
26360 return resultobj;
26361 fail:
26362 return NULL;
26363 }
26364
26365
26366 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26367 PyObject *resultobj = 0;
26368 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26369 bool arg2 ;
26370 void *argp1 = 0 ;
26371 int res1 = 0 ;
26372 bool val2 ;
26373 int ecode2 = 0 ;
26374 PyObject * obj0 = 0 ;
26375 PyObject * obj1 = 0 ;
26376 char * kwnames[] = {
26377 (char *) "self",(char *) "flag", NULL
26378 };
26379
26380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26382 if (!SWIG_IsOK(res1)) {
26383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26384 }
26385 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26386 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26387 if (!SWIG_IsOK(ecode2)) {
26388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26389 }
26390 arg2 = static_cast< bool >(val2);
26391 {
26392 PyThreadState* __tstate = wxPyBeginAllowThreads();
26393 (arg1)->EnableSelection(arg2);
26394 wxPyEndAllowThreads(__tstate);
26395 if (PyErr_Occurred()) SWIG_fail;
26396 }
26397 resultobj = SWIG_Py_Void();
26398 return resultobj;
26399 fail:
26400 return NULL;
26401 }
26402
26403
26404 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26405 PyObject *resultobj = 0;
26406 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26407 bool arg2 ;
26408 void *argp1 = 0 ;
26409 int res1 = 0 ;
26410 bool val2 ;
26411 int ecode2 = 0 ;
26412 PyObject * obj0 = 0 ;
26413 PyObject * obj1 = 0 ;
26414 char * kwnames[] = {
26415 (char *) "self",(char *) "flag", NULL
26416 };
26417
26418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26420 if (!SWIG_IsOK(res1)) {
26421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26422 }
26423 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26424 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26425 if (!SWIG_IsOK(ecode2)) {
26426 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26427 }
26428 arg2 = static_cast< bool >(val2);
26429 {
26430 PyThreadState* __tstate = wxPyBeginAllowThreads();
26431 (arg1)->EnablePageNumbers(arg2);
26432 wxPyEndAllowThreads(__tstate);
26433 if (PyErr_Occurred()) SWIG_fail;
26434 }
26435 resultobj = SWIG_Py_Void();
26436 return resultobj;
26437 fail:
26438 return NULL;
26439 }
26440
26441
26442 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26443 PyObject *resultobj = 0;
26444 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26445 bool arg2 ;
26446 void *argp1 = 0 ;
26447 int res1 = 0 ;
26448 bool val2 ;
26449 int ecode2 = 0 ;
26450 PyObject * obj0 = 0 ;
26451 PyObject * obj1 = 0 ;
26452 char * kwnames[] = {
26453 (char *) "self",(char *) "flag", NULL
26454 };
26455
26456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26458 if (!SWIG_IsOK(res1)) {
26459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26460 }
26461 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26462 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26463 if (!SWIG_IsOK(ecode2)) {
26464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26465 }
26466 arg2 = static_cast< bool >(val2);
26467 {
26468 PyThreadState* __tstate = wxPyBeginAllowThreads();
26469 (arg1)->EnableHelp(arg2);
26470 wxPyEndAllowThreads(__tstate);
26471 if (PyErr_Occurred()) SWIG_fail;
26472 }
26473 resultobj = SWIG_Py_Void();
26474 return resultobj;
26475 fail:
26476 return NULL;
26477 }
26478
26479
26480 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26481 PyObject *resultobj = 0;
26482 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26483 bool result;
26484 void *argp1 = 0 ;
26485 int res1 = 0 ;
26486 PyObject *swig_obj[1] ;
26487
26488 if (!args) SWIG_fail;
26489 swig_obj[0] = args;
26490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26491 if (!SWIG_IsOK(res1)) {
26492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26493 }
26494 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26495 {
26496 PyThreadState* __tstate = wxPyBeginAllowThreads();
26497 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26498 wxPyEndAllowThreads(__tstate);
26499 if (PyErr_Occurred()) SWIG_fail;
26500 }
26501 {
26502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26503 }
26504 return resultobj;
26505 fail:
26506 return NULL;
26507 }
26508
26509
26510 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26511 PyObject *resultobj = 0;
26512 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26513 bool result;
26514 void *argp1 = 0 ;
26515 int res1 = 0 ;
26516 PyObject *swig_obj[1] ;
26517
26518 if (!args) SWIG_fail;
26519 swig_obj[0] = args;
26520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26521 if (!SWIG_IsOK(res1)) {
26522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26523 }
26524 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26525 {
26526 PyThreadState* __tstate = wxPyBeginAllowThreads();
26527 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26528 wxPyEndAllowThreads(__tstate);
26529 if (PyErr_Occurred()) SWIG_fail;
26530 }
26531 {
26532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26533 }
26534 return resultobj;
26535 fail:
26536 return NULL;
26537 }
26538
26539
26540 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26541 PyObject *resultobj = 0;
26542 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26543 bool result;
26544 void *argp1 = 0 ;
26545 int res1 = 0 ;
26546 PyObject *swig_obj[1] ;
26547
26548 if (!args) SWIG_fail;
26549 swig_obj[0] = args;
26550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26551 if (!SWIG_IsOK(res1)) {
26552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26553 }
26554 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26555 {
26556 PyThreadState* __tstate = wxPyBeginAllowThreads();
26557 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26558 wxPyEndAllowThreads(__tstate);
26559 if (PyErr_Occurred()) SWIG_fail;
26560 }
26561 {
26562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26563 }
26564 return resultobj;
26565 fail:
26566 return NULL;
26567 }
26568
26569
26570 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26571 PyObject *resultobj = 0;
26572 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26573 bool result;
26574 void *argp1 = 0 ;
26575 int res1 = 0 ;
26576 PyObject *swig_obj[1] ;
26577
26578 if (!args) SWIG_fail;
26579 swig_obj[0] = args;
26580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26581 if (!SWIG_IsOK(res1)) {
26582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26583 }
26584 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26585 {
26586 PyThreadState* __tstate = wxPyBeginAllowThreads();
26587 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26588 wxPyEndAllowThreads(__tstate);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 }
26591 {
26592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26593 }
26594 return resultobj;
26595 fail:
26596 return NULL;
26597 }
26598
26599
26600 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26601 PyObject *resultobj = 0;
26602 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26603 bool result;
26604 void *argp1 = 0 ;
26605 int res1 = 0 ;
26606 PyObject *swig_obj[1] ;
26607
26608 if (!args) SWIG_fail;
26609 swig_obj[0] = args;
26610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26611 if (!SWIG_IsOK(res1)) {
26612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26613 }
26614 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26615 {
26616 PyThreadState* __tstate = wxPyBeginAllowThreads();
26617 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26618 wxPyEndAllowThreads(__tstate);
26619 if (PyErr_Occurred()) SWIG_fail;
26620 }
26621 {
26622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26623 }
26624 return resultobj;
26625 fail:
26626 return NULL;
26627 }
26628
26629
26630 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26631 PyObject *resultobj = 0;
26632 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26633 wxPrintData *result = 0 ;
26634 void *argp1 = 0 ;
26635 int res1 = 0 ;
26636 PyObject *swig_obj[1] ;
26637
26638 if (!args) SWIG_fail;
26639 swig_obj[0] = args;
26640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26641 if (!SWIG_IsOK(res1)) {
26642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26643 }
26644 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26645 {
26646 PyThreadState* __tstate = wxPyBeginAllowThreads();
26647 {
26648 wxPrintData &_result_ref = (arg1)->GetPrintData();
26649 result = (wxPrintData *) &_result_ref;
26650 }
26651 wxPyEndAllowThreads(__tstate);
26652 if (PyErr_Occurred()) SWIG_fail;
26653 }
26654 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26655 return resultobj;
26656 fail:
26657 return NULL;
26658 }
26659
26660
26661 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26662 PyObject *resultobj = 0;
26663 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26664 wxPrintData *arg2 = 0 ;
26665 void *argp1 = 0 ;
26666 int res1 = 0 ;
26667 void *argp2 = 0 ;
26668 int res2 = 0 ;
26669 PyObject * obj0 = 0 ;
26670 PyObject * obj1 = 0 ;
26671 char * kwnames[] = {
26672 (char *) "self",(char *) "printData", NULL
26673 };
26674
26675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26677 if (!SWIG_IsOK(res1)) {
26678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26679 }
26680 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26681 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26682 if (!SWIG_IsOK(res2)) {
26683 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26684 }
26685 if (!argp2) {
26686 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26687 }
26688 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26689 {
26690 PyThreadState* __tstate = wxPyBeginAllowThreads();
26691 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26692 wxPyEndAllowThreads(__tstate);
26693 if (PyErr_Occurred()) SWIG_fail;
26694 }
26695 resultobj = SWIG_Py_Void();
26696 return resultobj;
26697 fail:
26698 return NULL;
26699 }
26700
26701
26702 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26703 PyObject *obj;
26704 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26705 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26706 return SWIG_Py_Void();
26707 }
26708
26709 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26710 return SWIG_Python_InitShadowInstance(args);
26711 }
26712
26713 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26714 PyObject *resultobj = 0;
26715 wxWindow *arg1 = (wxWindow *) 0 ;
26716 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26717 wxPrintDialog *result = 0 ;
26718 void *argp1 = 0 ;
26719 int res1 = 0 ;
26720 void *argp2 = 0 ;
26721 int res2 = 0 ;
26722 PyObject * obj0 = 0 ;
26723 PyObject * obj1 = 0 ;
26724 char * kwnames[] = {
26725 (char *) "parent",(char *) "data", NULL
26726 };
26727
26728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26730 if (!SWIG_IsOK(res1)) {
26731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26732 }
26733 arg1 = reinterpret_cast< wxWindow * >(argp1);
26734 if (obj1) {
26735 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26736 if (!SWIG_IsOK(res2)) {
26737 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26738 }
26739 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26740 }
26741 {
26742 if (!wxPyCheckForApp()) SWIG_fail;
26743 PyThreadState* __tstate = wxPyBeginAllowThreads();
26744 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26745 wxPyEndAllowThreads(__tstate);
26746 if (PyErr_Occurred()) SWIG_fail;
26747 }
26748 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26749 return resultobj;
26750 fail:
26751 return NULL;
26752 }
26753
26754
26755 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26756 PyObject *resultobj = 0;
26757 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26758 void *argp1 = 0 ;
26759 int res1 = 0 ;
26760 PyObject *swig_obj[1] ;
26761
26762 if (!args) SWIG_fail;
26763 swig_obj[0] = args;
26764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
26765 if (!SWIG_IsOK(res1)) {
26766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26767 }
26768 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26769 {
26770 PyThreadState* __tstate = wxPyBeginAllowThreads();
26771 delete arg1;
26772
26773 wxPyEndAllowThreads(__tstate);
26774 if (PyErr_Occurred()) SWIG_fail;
26775 }
26776 resultobj = SWIG_Py_Void();
26777 return resultobj;
26778 fail:
26779 return NULL;
26780 }
26781
26782
26783 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26784 PyObject *resultobj = 0;
26785 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26786 int result;
26787 void *argp1 = 0 ;
26788 int res1 = 0 ;
26789 PyObject *swig_obj[1] ;
26790
26791 if (!args) SWIG_fail;
26792 swig_obj[0] = args;
26793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26794 if (!SWIG_IsOK(res1)) {
26795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26796 }
26797 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26798 {
26799 PyThreadState* __tstate = wxPyBeginAllowThreads();
26800 result = (int)(arg1)->ShowModal();
26801 wxPyEndAllowThreads(__tstate);
26802 if (PyErr_Occurred()) SWIG_fail;
26803 }
26804 resultobj = SWIG_From_int(static_cast< int >(result));
26805 return resultobj;
26806 fail:
26807 return NULL;
26808 }
26809
26810
26811 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26812 PyObject *resultobj = 0;
26813 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26814 wxPrintDialogData *result = 0 ;
26815 void *argp1 = 0 ;
26816 int res1 = 0 ;
26817 PyObject *swig_obj[1] ;
26818
26819 if (!args) SWIG_fail;
26820 swig_obj[0] = args;
26821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26822 if (!SWIG_IsOK(res1)) {
26823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26824 }
26825 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26826 {
26827 PyThreadState* __tstate = wxPyBeginAllowThreads();
26828 {
26829 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26830 result = (wxPrintDialogData *) &_result_ref;
26831 }
26832 wxPyEndAllowThreads(__tstate);
26833 if (PyErr_Occurred()) SWIG_fail;
26834 }
26835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26836 return resultobj;
26837 fail:
26838 return NULL;
26839 }
26840
26841
26842 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26843 PyObject *resultobj = 0;
26844 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26845 wxPrintData *result = 0 ;
26846 void *argp1 = 0 ;
26847 int res1 = 0 ;
26848 PyObject *swig_obj[1] ;
26849
26850 if (!args) SWIG_fail;
26851 swig_obj[0] = args;
26852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26853 if (!SWIG_IsOK(res1)) {
26854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26855 }
26856 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26857 {
26858 PyThreadState* __tstate = wxPyBeginAllowThreads();
26859 {
26860 wxPrintData &_result_ref = (arg1)->GetPrintData();
26861 result = (wxPrintData *) &_result_ref;
26862 }
26863 wxPyEndAllowThreads(__tstate);
26864 if (PyErr_Occurred()) SWIG_fail;
26865 }
26866 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26867 return resultobj;
26868 fail:
26869 return NULL;
26870 }
26871
26872
26873 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26874 PyObject *resultobj = 0;
26875 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26876 wxDC *result = 0 ;
26877 void *argp1 = 0 ;
26878 int res1 = 0 ;
26879 PyObject *swig_obj[1] ;
26880
26881 if (!args) SWIG_fail;
26882 swig_obj[0] = args;
26883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26884 if (!SWIG_IsOK(res1)) {
26885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26886 }
26887 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26888 {
26889 PyThreadState* __tstate = wxPyBeginAllowThreads();
26890 result = (wxDC *)(arg1)->GetPrintDC();
26891 wxPyEndAllowThreads(__tstate);
26892 if (PyErr_Occurred()) SWIG_fail;
26893 }
26894 {
26895 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
26896 }
26897 return resultobj;
26898 fail:
26899 return NULL;
26900 }
26901
26902
26903 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26904 PyObject *obj;
26905 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26906 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
26907 return SWIG_Py_Void();
26908 }
26909
26910 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26911 return SWIG_Python_InitShadowInstance(args);
26912 }
26913
26914 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26915 PyObject *resultobj = 0;
26916 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
26917 wxPrinter *result = 0 ;
26918 void *argp1 = 0 ;
26919 int res1 = 0 ;
26920 PyObject * obj0 = 0 ;
26921 char * kwnames[] = {
26922 (char *) "data", NULL
26923 };
26924
26925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
26926 if (obj0) {
26927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26928 if (!SWIG_IsOK(res1)) {
26929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26930 }
26931 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26932 }
26933 {
26934 if (!wxPyCheckForApp()) SWIG_fail;
26935 PyThreadState* __tstate = wxPyBeginAllowThreads();
26936 result = (wxPrinter *)new wxPrinter(arg1);
26937 wxPyEndAllowThreads(__tstate);
26938 if (PyErr_Occurred()) SWIG_fail;
26939 }
26940 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
26941 return resultobj;
26942 fail:
26943 return NULL;
26944 }
26945
26946
26947 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26948 PyObject *resultobj = 0;
26949 wxPrinter *arg1 = (wxPrinter *) 0 ;
26950 void *argp1 = 0 ;
26951 int res1 = 0 ;
26952 PyObject *swig_obj[1] ;
26953
26954 if (!args) SWIG_fail;
26955 swig_obj[0] = args;
26956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
26957 if (!SWIG_IsOK(res1)) {
26958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26959 }
26960 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26961 {
26962 PyThreadState* __tstate = wxPyBeginAllowThreads();
26963 delete arg1;
26964
26965 wxPyEndAllowThreads(__tstate);
26966 if (PyErr_Occurred()) SWIG_fail;
26967 }
26968 resultobj = SWIG_Py_Void();
26969 return resultobj;
26970 fail:
26971 return NULL;
26972 }
26973
26974
26975 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26976 PyObject *resultobj = 0;
26977 wxPrinter *arg1 = (wxPrinter *) 0 ;
26978 wxWindow *arg2 = (wxWindow *) 0 ;
26979 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26980 wxWindow *result = 0 ;
26981 void *argp1 = 0 ;
26982 int res1 = 0 ;
26983 void *argp2 = 0 ;
26984 int res2 = 0 ;
26985 void *argp3 = 0 ;
26986 int res3 = 0 ;
26987 PyObject * obj0 = 0 ;
26988 PyObject * obj1 = 0 ;
26989 PyObject * obj2 = 0 ;
26990 char * kwnames[] = {
26991 (char *) "self",(char *) "parent",(char *) "printout", NULL
26992 };
26993
26994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26996 if (!SWIG_IsOK(res1)) {
26997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26998 }
26999 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27000 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27001 if (!SWIG_IsOK(res2)) {
27002 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27003 }
27004 arg2 = reinterpret_cast< wxWindow * >(argp2);
27005 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27006 if (!SWIG_IsOK(res3)) {
27007 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27008 }
27009 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27010 {
27011 PyThreadState* __tstate = wxPyBeginAllowThreads();
27012 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27013 wxPyEndAllowThreads(__tstate);
27014 if (PyErr_Occurred()) SWIG_fail;
27015 }
27016 {
27017 resultobj = wxPyMake_wxObject(result, 0);
27018 }
27019 return resultobj;
27020 fail:
27021 return NULL;
27022 }
27023
27024
27025 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27026 PyObject *resultobj = 0;
27027 wxPrinter *arg1 = (wxPrinter *) 0 ;
27028 wxWindow *arg2 = (wxWindow *) 0 ;
27029 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27030 wxString *arg4 = 0 ;
27031 void *argp1 = 0 ;
27032 int res1 = 0 ;
27033 void *argp2 = 0 ;
27034 int res2 = 0 ;
27035 void *argp3 = 0 ;
27036 int res3 = 0 ;
27037 bool temp4 = false ;
27038 PyObject * obj0 = 0 ;
27039 PyObject * obj1 = 0 ;
27040 PyObject * obj2 = 0 ;
27041 PyObject * obj3 = 0 ;
27042 char * kwnames[] = {
27043 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27044 };
27045
27046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27048 if (!SWIG_IsOK(res1)) {
27049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27050 }
27051 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27052 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27053 if (!SWIG_IsOK(res2)) {
27054 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27055 }
27056 arg2 = reinterpret_cast< wxWindow * >(argp2);
27057 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27058 if (!SWIG_IsOK(res3)) {
27059 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27060 }
27061 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27062 {
27063 arg4 = wxString_in_helper(obj3);
27064 if (arg4 == NULL) SWIG_fail;
27065 temp4 = true;
27066 }
27067 {
27068 PyThreadState* __tstate = wxPyBeginAllowThreads();
27069 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27070 wxPyEndAllowThreads(__tstate);
27071 if (PyErr_Occurred()) SWIG_fail;
27072 }
27073 resultobj = SWIG_Py_Void();
27074 {
27075 if (temp4)
27076 delete arg4;
27077 }
27078 return resultobj;
27079 fail:
27080 {
27081 if (temp4)
27082 delete arg4;
27083 }
27084 return NULL;
27085 }
27086
27087
27088 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27089 PyObject *resultobj = 0;
27090 wxPrinter *arg1 = (wxPrinter *) 0 ;
27091 wxWindow *arg2 = (wxWindow *) 0 ;
27092 bool result;
27093 void *argp1 = 0 ;
27094 int res1 = 0 ;
27095 void *argp2 = 0 ;
27096 int res2 = 0 ;
27097 PyObject * obj0 = 0 ;
27098 PyObject * obj1 = 0 ;
27099 char * kwnames[] = {
27100 (char *) "self",(char *) "parent", NULL
27101 };
27102
27103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27105 if (!SWIG_IsOK(res1)) {
27106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27107 }
27108 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27109 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27110 if (!SWIG_IsOK(res2)) {
27111 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27112 }
27113 arg2 = reinterpret_cast< wxWindow * >(argp2);
27114 {
27115 PyThreadState* __tstate = wxPyBeginAllowThreads();
27116 result = (bool)(arg1)->Setup(arg2);
27117 wxPyEndAllowThreads(__tstate);
27118 if (PyErr_Occurred()) SWIG_fail;
27119 }
27120 {
27121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27122 }
27123 return resultobj;
27124 fail:
27125 return NULL;
27126 }
27127
27128
27129 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27130 PyObject *resultobj = 0;
27131 wxPrinter *arg1 = (wxPrinter *) 0 ;
27132 wxWindow *arg2 = (wxWindow *) 0 ;
27133 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27134 bool arg4 = (bool) true ;
27135 bool result;
27136 void *argp1 = 0 ;
27137 int res1 = 0 ;
27138 void *argp2 = 0 ;
27139 int res2 = 0 ;
27140 void *argp3 = 0 ;
27141 int res3 = 0 ;
27142 bool val4 ;
27143 int ecode4 = 0 ;
27144 PyObject * obj0 = 0 ;
27145 PyObject * obj1 = 0 ;
27146 PyObject * obj2 = 0 ;
27147 PyObject * obj3 = 0 ;
27148 char * kwnames[] = {
27149 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27150 };
27151
27152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27154 if (!SWIG_IsOK(res1)) {
27155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27156 }
27157 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27158 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27159 if (!SWIG_IsOK(res2)) {
27160 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27161 }
27162 arg2 = reinterpret_cast< wxWindow * >(argp2);
27163 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27164 if (!SWIG_IsOK(res3)) {
27165 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27166 }
27167 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27168 if (obj3) {
27169 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27170 if (!SWIG_IsOK(ecode4)) {
27171 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27172 }
27173 arg4 = static_cast< bool >(val4);
27174 }
27175 {
27176 PyThreadState* __tstate = wxPyBeginAllowThreads();
27177 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27178 wxPyEndAllowThreads(__tstate);
27179 if (PyErr_Occurred()) SWIG_fail;
27180 }
27181 {
27182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27183 }
27184 return resultobj;
27185 fail:
27186 return NULL;
27187 }
27188
27189
27190 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27191 PyObject *resultobj = 0;
27192 wxPrinter *arg1 = (wxPrinter *) 0 ;
27193 wxWindow *arg2 = (wxWindow *) 0 ;
27194 wxDC *result = 0 ;
27195 void *argp1 = 0 ;
27196 int res1 = 0 ;
27197 void *argp2 = 0 ;
27198 int res2 = 0 ;
27199 PyObject * obj0 = 0 ;
27200 PyObject * obj1 = 0 ;
27201 char * kwnames[] = {
27202 (char *) "self",(char *) "parent", NULL
27203 };
27204
27205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27207 if (!SWIG_IsOK(res1)) {
27208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27209 }
27210 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27211 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27212 if (!SWIG_IsOK(res2)) {
27213 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27214 }
27215 arg2 = reinterpret_cast< wxWindow * >(argp2);
27216 {
27217 PyThreadState* __tstate = wxPyBeginAllowThreads();
27218 result = (wxDC *)(arg1)->PrintDialog(arg2);
27219 wxPyEndAllowThreads(__tstate);
27220 if (PyErr_Occurred()) SWIG_fail;
27221 }
27222 {
27223 resultobj = wxPyMake_wxObject(result, (bool)0);
27224 }
27225 return resultobj;
27226 fail:
27227 return NULL;
27228 }
27229
27230
27231 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27232 PyObject *resultobj = 0;
27233 wxPrinter *arg1 = (wxPrinter *) 0 ;
27234 wxPrintDialogData *result = 0 ;
27235 void *argp1 = 0 ;
27236 int res1 = 0 ;
27237 PyObject *swig_obj[1] ;
27238
27239 if (!args) SWIG_fail;
27240 swig_obj[0] = args;
27241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27242 if (!SWIG_IsOK(res1)) {
27243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27244 }
27245 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27246 {
27247 PyThreadState* __tstate = wxPyBeginAllowThreads();
27248 {
27249 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27250 result = (wxPrintDialogData *) &_result_ref;
27251 }
27252 wxPyEndAllowThreads(__tstate);
27253 if (PyErr_Occurred()) SWIG_fail;
27254 }
27255 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27256 return resultobj;
27257 fail:
27258 return NULL;
27259 }
27260
27261
27262 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27263 PyObject *resultobj = 0;
27264 wxPrinter *arg1 = (wxPrinter *) 0 ;
27265 bool result;
27266 void *argp1 = 0 ;
27267 int res1 = 0 ;
27268 PyObject *swig_obj[1] ;
27269
27270 if (!args) SWIG_fail;
27271 swig_obj[0] = args;
27272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27273 if (!SWIG_IsOK(res1)) {
27274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27275 }
27276 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27277 {
27278 PyThreadState* __tstate = wxPyBeginAllowThreads();
27279 result = (bool)(arg1)->GetAbort();
27280 wxPyEndAllowThreads(__tstate);
27281 if (PyErr_Occurred()) SWIG_fail;
27282 }
27283 {
27284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27285 }
27286 return resultobj;
27287 fail:
27288 return NULL;
27289 }
27290
27291
27292 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27293 PyObject *resultobj = 0;
27294 wxPrinterError result;
27295
27296 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27297 {
27298 PyThreadState* __tstate = wxPyBeginAllowThreads();
27299 result = (wxPrinterError)wxPrinter::GetLastError();
27300 wxPyEndAllowThreads(__tstate);
27301 if (PyErr_Occurred()) SWIG_fail;
27302 }
27303 resultobj = SWIG_From_int(static_cast< int >(result));
27304 return resultobj;
27305 fail:
27306 return NULL;
27307 }
27308
27309
27310 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27311 PyObject *obj;
27312 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27313 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27314 return SWIG_Py_Void();
27315 }
27316
27317 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27318 return SWIG_Python_InitShadowInstance(args);
27319 }
27320
27321 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27322 PyObject *resultobj = 0;
27323 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27324 wxString *arg1 = (wxString *) &arg1_defvalue ;
27325 wxPyPrintout *result = 0 ;
27326 bool temp1 = false ;
27327 PyObject * obj0 = 0 ;
27328 char * kwnames[] = {
27329 (char *) "title", NULL
27330 };
27331
27332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27333 if (obj0) {
27334 {
27335 arg1 = wxString_in_helper(obj0);
27336 if (arg1 == NULL) SWIG_fail;
27337 temp1 = true;
27338 }
27339 }
27340 {
27341 if (!wxPyCheckForApp()) SWIG_fail;
27342 PyThreadState* __tstate = wxPyBeginAllowThreads();
27343 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27344 wxPyEndAllowThreads(__tstate);
27345 if (PyErr_Occurred()) SWIG_fail;
27346 }
27347 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27348 {
27349 if (temp1)
27350 delete arg1;
27351 }
27352 return resultobj;
27353 fail:
27354 {
27355 if (temp1)
27356 delete arg1;
27357 }
27358 return NULL;
27359 }
27360
27361
27362 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27363 PyObject *resultobj = 0;
27364 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27365 void *argp1 = 0 ;
27366 int res1 = 0 ;
27367 PyObject *swig_obj[1] ;
27368
27369 if (!args) SWIG_fail;
27370 swig_obj[0] = args;
27371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27372 if (!SWIG_IsOK(res1)) {
27373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27374 }
27375 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27376 {
27377 PyThreadState* __tstate = wxPyBeginAllowThreads();
27378 delete arg1;
27379
27380 wxPyEndAllowThreads(__tstate);
27381 if (PyErr_Occurred()) SWIG_fail;
27382 }
27383 resultobj = SWIG_Py_Void();
27384 return resultobj;
27385 fail:
27386 return NULL;
27387 }
27388
27389
27390 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27391 PyObject *resultobj = 0;
27392 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27393 PyObject *arg2 = (PyObject *) 0 ;
27394 PyObject *arg3 = (PyObject *) 0 ;
27395 void *argp1 = 0 ;
27396 int res1 = 0 ;
27397 PyObject * obj0 = 0 ;
27398 PyObject * obj1 = 0 ;
27399 PyObject * obj2 = 0 ;
27400 char * kwnames[] = {
27401 (char *) "self",(char *) "self",(char *) "_class", NULL
27402 };
27403
27404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27406 if (!SWIG_IsOK(res1)) {
27407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27408 }
27409 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27410 arg2 = obj1;
27411 arg3 = obj2;
27412 {
27413 PyThreadState* __tstate = wxPyBeginAllowThreads();
27414 (arg1)->_setCallbackInfo(arg2,arg3);
27415 wxPyEndAllowThreads(__tstate);
27416 if (PyErr_Occurred()) SWIG_fail;
27417 }
27418 resultobj = SWIG_Py_Void();
27419 return resultobj;
27420 fail:
27421 return NULL;
27422 }
27423
27424
27425 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27426 PyObject *resultobj = 0;
27427 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27428 wxString result;
27429 void *argp1 = 0 ;
27430 int res1 = 0 ;
27431 PyObject *swig_obj[1] ;
27432
27433 if (!args) SWIG_fail;
27434 swig_obj[0] = args;
27435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27436 if (!SWIG_IsOK(res1)) {
27437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27438 }
27439 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27440 {
27441 PyThreadState* __tstate = wxPyBeginAllowThreads();
27442 result = ((wxPyPrintout const *)arg1)->GetTitle();
27443 wxPyEndAllowThreads(__tstate);
27444 if (PyErr_Occurred()) SWIG_fail;
27445 }
27446 {
27447 #if wxUSE_UNICODE
27448 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27449 #else
27450 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27451 #endif
27452 }
27453 return resultobj;
27454 fail:
27455 return NULL;
27456 }
27457
27458
27459 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27460 PyObject *resultobj = 0;
27461 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27462 wxDC *result = 0 ;
27463 void *argp1 = 0 ;
27464 int res1 = 0 ;
27465 PyObject *swig_obj[1] ;
27466
27467 if (!args) SWIG_fail;
27468 swig_obj[0] = args;
27469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27470 if (!SWIG_IsOK(res1)) {
27471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27472 }
27473 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27474 {
27475 PyThreadState* __tstate = wxPyBeginAllowThreads();
27476 result = (wxDC *)(arg1)->GetDC();
27477 wxPyEndAllowThreads(__tstate);
27478 if (PyErr_Occurred()) SWIG_fail;
27479 }
27480 {
27481 resultobj = wxPyMake_wxObject(result, (bool)0);
27482 }
27483 return resultobj;
27484 fail:
27485 return NULL;
27486 }
27487
27488
27489 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27490 PyObject *resultobj = 0;
27491 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27492 wxDC *arg2 = (wxDC *) 0 ;
27493 void *argp1 = 0 ;
27494 int res1 = 0 ;
27495 void *argp2 = 0 ;
27496 int res2 = 0 ;
27497 PyObject * obj0 = 0 ;
27498 PyObject * obj1 = 0 ;
27499 char * kwnames[] = {
27500 (char *) "self",(char *) "dc", NULL
27501 };
27502
27503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27505 if (!SWIG_IsOK(res1)) {
27506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27507 }
27508 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27509 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27510 if (!SWIG_IsOK(res2)) {
27511 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27512 }
27513 arg2 = reinterpret_cast< wxDC * >(argp2);
27514 {
27515 PyThreadState* __tstate = wxPyBeginAllowThreads();
27516 (arg1)->SetDC(arg2);
27517 wxPyEndAllowThreads(__tstate);
27518 if (PyErr_Occurred()) SWIG_fail;
27519 }
27520 resultobj = SWIG_Py_Void();
27521 return resultobj;
27522 fail:
27523 return NULL;
27524 }
27525
27526
27527 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27528 PyObject *resultobj = 0;
27529 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27530 int arg2 ;
27531 int arg3 ;
27532 void *argp1 = 0 ;
27533 int res1 = 0 ;
27534 int val2 ;
27535 int ecode2 = 0 ;
27536 int val3 ;
27537 int ecode3 = 0 ;
27538 PyObject * obj0 = 0 ;
27539 PyObject * obj1 = 0 ;
27540 PyObject * obj2 = 0 ;
27541 char * kwnames[] = {
27542 (char *) "self",(char *) "w",(char *) "h", NULL
27543 };
27544
27545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27547 if (!SWIG_IsOK(res1)) {
27548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27549 }
27550 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27551 ecode2 = SWIG_AsVal_int(obj1, &val2);
27552 if (!SWIG_IsOK(ecode2)) {
27553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27554 }
27555 arg2 = static_cast< int >(val2);
27556 ecode3 = SWIG_AsVal_int(obj2, &val3);
27557 if (!SWIG_IsOK(ecode3)) {
27558 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27559 }
27560 arg3 = static_cast< int >(val3);
27561 {
27562 PyThreadState* __tstate = wxPyBeginAllowThreads();
27563 (arg1)->SetPageSizePixels(arg2,arg3);
27564 wxPyEndAllowThreads(__tstate);
27565 if (PyErr_Occurred()) SWIG_fail;
27566 }
27567 resultobj = SWIG_Py_Void();
27568 return resultobj;
27569 fail:
27570 return NULL;
27571 }
27572
27573
27574 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27575 PyObject *resultobj = 0;
27576 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27577 int *arg2 = (int *) 0 ;
27578 int *arg3 = (int *) 0 ;
27579 void *argp1 = 0 ;
27580 int res1 = 0 ;
27581 int temp2 ;
27582 int res2 = SWIG_TMPOBJ ;
27583 int temp3 ;
27584 int res3 = SWIG_TMPOBJ ;
27585 PyObject *swig_obj[1] ;
27586
27587 arg2 = &temp2;
27588 arg3 = &temp3;
27589 if (!args) SWIG_fail;
27590 swig_obj[0] = args;
27591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27592 if (!SWIG_IsOK(res1)) {
27593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27594 }
27595 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27596 {
27597 PyThreadState* __tstate = wxPyBeginAllowThreads();
27598 (arg1)->GetPageSizePixels(arg2,arg3);
27599 wxPyEndAllowThreads(__tstate);
27600 if (PyErr_Occurred()) SWIG_fail;
27601 }
27602 resultobj = SWIG_Py_Void();
27603 if (SWIG_IsTmpObj(res2)) {
27604 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27605 } else {
27606 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27607 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27608 }
27609 if (SWIG_IsTmpObj(res3)) {
27610 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27611 } else {
27612 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27613 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27614 }
27615 return resultobj;
27616 fail:
27617 return NULL;
27618 }
27619
27620
27621 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27622 PyObject *resultobj = 0;
27623 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27624 int arg2 ;
27625 int arg3 ;
27626 void *argp1 = 0 ;
27627 int res1 = 0 ;
27628 int val2 ;
27629 int ecode2 = 0 ;
27630 int val3 ;
27631 int ecode3 = 0 ;
27632 PyObject * obj0 = 0 ;
27633 PyObject * obj1 = 0 ;
27634 PyObject * obj2 = 0 ;
27635 char * kwnames[] = {
27636 (char *) "self",(char *) "w",(char *) "h", NULL
27637 };
27638
27639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27641 if (!SWIG_IsOK(res1)) {
27642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27643 }
27644 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27645 ecode2 = SWIG_AsVal_int(obj1, &val2);
27646 if (!SWIG_IsOK(ecode2)) {
27647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27648 }
27649 arg2 = static_cast< int >(val2);
27650 ecode3 = SWIG_AsVal_int(obj2, &val3);
27651 if (!SWIG_IsOK(ecode3)) {
27652 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27653 }
27654 arg3 = static_cast< int >(val3);
27655 {
27656 PyThreadState* __tstate = wxPyBeginAllowThreads();
27657 (arg1)->SetPageSizeMM(arg2,arg3);
27658 wxPyEndAllowThreads(__tstate);
27659 if (PyErr_Occurred()) SWIG_fail;
27660 }
27661 resultobj = SWIG_Py_Void();
27662 return resultobj;
27663 fail:
27664 return NULL;
27665 }
27666
27667
27668 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27669 PyObject *resultobj = 0;
27670 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27671 int *arg2 = (int *) 0 ;
27672 int *arg3 = (int *) 0 ;
27673 void *argp1 = 0 ;
27674 int res1 = 0 ;
27675 int temp2 ;
27676 int res2 = SWIG_TMPOBJ ;
27677 int temp3 ;
27678 int res3 = SWIG_TMPOBJ ;
27679 PyObject *swig_obj[1] ;
27680
27681 arg2 = &temp2;
27682 arg3 = &temp3;
27683 if (!args) SWIG_fail;
27684 swig_obj[0] = args;
27685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27686 if (!SWIG_IsOK(res1)) {
27687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27688 }
27689 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27690 {
27691 PyThreadState* __tstate = wxPyBeginAllowThreads();
27692 (arg1)->GetPageSizeMM(arg2,arg3);
27693 wxPyEndAllowThreads(__tstate);
27694 if (PyErr_Occurred()) SWIG_fail;
27695 }
27696 resultobj = SWIG_Py_Void();
27697 if (SWIG_IsTmpObj(res2)) {
27698 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27699 } else {
27700 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27701 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27702 }
27703 if (SWIG_IsTmpObj(res3)) {
27704 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27705 } else {
27706 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27707 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27708 }
27709 return resultobj;
27710 fail:
27711 return NULL;
27712 }
27713
27714
27715 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27716 PyObject *resultobj = 0;
27717 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27718 int arg2 ;
27719 int arg3 ;
27720 void *argp1 = 0 ;
27721 int res1 = 0 ;
27722 int val2 ;
27723 int ecode2 = 0 ;
27724 int val3 ;
27725 int ecode3 = 0 ;
27726 PyObject * obj0 = 0 ;
27727 PyObject * obj1 = 0 ;
27728 PyObject * obj2 = 0 ;
27729 char * kwnames[] = {
27730 (char *) "self",(char *) "x",(char *) "y", NULL
27731 };
27732
27733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27735 if (!SWIG_IsOK(res1)) {
27736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27737 }
27738 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27739 ecode2 = SWIG_AsVal_int(obj1, &val2);
27740 if (!SWIG_IsOK(ecode2)) {
27741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27742 }
27743 arg2 = static_cast< int >(val2);
27744 ecode3 = SWIG_AsVal_int(obj2, &val3);
27745 if (!SWIG_IsOK(ecode3)) {
27746 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27747 }
27748 arg3 = static_cast< int >(val3);
27749 {
27750 PyThreadState* __tstate = wxPyBeginAllowThreads();
27751 (arg1)->SetPPIScreen(arg2,arg3);
27752 wxPyEndAllowThreads(__tstate);
27753 if (PyErr_Occurred()) SWIG_fail;
27754 }
27755 resultobj = SWIG_Py_Void();
27756 return resultobj;
27757 fail:
27758 return NULL;
27759 }
27760
27761
27762 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27763 PyObject *resultobj = 0;
27764 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27765 int *arg2 = (int *) 0 ;
27766 int *arg3 = (int *) 0 ;
27767 void *argp1 = 0 ;
27768 int res1 = 0 ;
27769 int temp2 ;
27770 int res2 = SWIG_TMPOBJ ;
27771 int temp3 ;
27772 int res3 = SWIG_TMPOBJ ;
27773 PyObject *swig_obj[1] ;
27774
27775 arg2 = &temp2;
27776 arg3 = &temp3;
27777 if (!args) SWIG_fail;
27778 swig_obj[0] = args;
27779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27780 if (!SWIG_IsOK(res1)) {
27781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27782 }
27783 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27784 {
27785 PyThreadState* __tstate = wxPyBeginAllowThreads();
27786 (arg1)->GetPPIScreen(arg2,arg3);
27787 wxPyEndAllowThreads(__tstate);
27788 if (PyErr_Occurred()) SWIG_fail;
27789 }
27790 resultobj = SWIG_Py_Void();
27791 if (SWIG_IsTmpObj(res2)) {
27792 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27793 } else {
27794 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27795 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27796 }
27797 if (SWIG_IsTmpObj(res3)) {
27798 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27799 } else {
27800 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27801 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27802 }
27803 return resultobj;
27804 fail:
27805 return NULL;
27806 }
27807
27808
27809 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27810 PyObject *resultobj = 0;
27811 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27812 int arg2 ;
27813 int arg3 ;
27814 void *argp1 = 0 ;
27815 int res1 = 0 ;
27816 int val2 ;
27817 int ecode2 = 0 ;
27818 int val3 ;
27819 int ecode3 = 0 ;
27820 PyObject * obj0 = 0 ;
27821 PyObject * obj1 = 0 ;
27822 PyObject * obj2 = 0 ;
27823 char * kwnames[] = {
27824 (char *) "self",(char *) "x",(char *) "y", NULL
27825 };
27826
27827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27829 if (!SWIG_IsOK(res1)) {
27830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27831 }
27832 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27833 ecode2 = SWIG_AsVal_int(obj1, &val2);
27834 if (!SWIG_IsOK(ecode2)) {
27835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27836 }
27837 arg2 = static_cast< int >(val2);
27838 ecode3 = SWIG_AsVal_int(obj2, &val3);
27839 if (!SWIG_IsOK(ecode3)) {
27840 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27841 }
27842 arg3 = static_cast< int >(val3);
27843 {
27844 PyThreadState* __tstate = wxPyBeginAllowThreads();
27845 (arg1)->SetPPIPrinter(arg2,arg3);
27846 wxPyEndAllowThreads(__tstate);
27847 if (PyErr_Occurred()) SWIG_fail;
27848 }
27849 resultobj = SWIG_Py_Void();
27850 return resultobj;
27851 fail:
27852 return NULL;
27853 }
27854
27855
27856 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27857 PyObject *resultobj = 0;
27858 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27859 int *arg2 = (int *) 0 ;
27860 int *arg3 = (int *) 0 ;
27861 void *argp1 = 0 ;
27862 int res1 = 0 ;
27863 int temp2 ;
27864 int res2 = SWIG_TMPOBJ ;
27865 int temp3 ;
27866 int res3 = SWIG_TMPOBJ ;
27867 PyObject *swig_obj[1] ;
27868
27869 arg2 = &temp2;
27870 arg3 = &temp3;
27871 if (!args) SWIG_fail;
27872 swig_obj[0] = args;
27873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27874 if (!SWIG_IsOK(res1)) {
27875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27876 }
27877 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27878 {
27879 PyThreadState* __tstate = wxPyBeginAllowThreads();
27880 (arg1)->GetPPIPrinter(arg2,arg3);
27881 wxPyEndAllowThreads(__tstate);
27882 if (PyErr_Occurred()) SWIG_fail;
27883 }
27884 resultobj = SWIG_Py_Void();
27885 if (SWIG_IsTmpObj(res2)) {
27886 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27887 } else {
27888 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27889 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27890 }
27891 if (SWIG_IsTmpObj(res3)) {
27892 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27893 } else {
27894 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27895 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27896 }
27897 return resultobj;
27898 fail:
27899 return NULL;
27900 }
27901
27902
27903 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27904 PyObject *resultobj = 0;
27905 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27906 bool result;
27907 void *argp1 = 0 ;
27908 int res1 = 0 ;
27909 PyObject *swig_obj[1] ;
27910
27911 if (!args) SWIG_fail;
27912 swig_obj[0] = args;
27913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27914 if (!SWIG_IsOK(res1)) {
27915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27916 }
27917 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27918 {
27919 PyThreadState* __tstate = wxPyBeginAllowThreads();
27920 result = (bool)(arg1)->IsPreview();
27921 wxPyEndAllowThreads(__tstate);
27922 if (PyErr_Occurred()) SWIG_fail;
27923 }
27924 {
27925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27926 }
27927 return resultobj;
27928 fail:
27929 return NULL;
27930 }
27931
27932
27933 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27934 PyObject *resultobj = 0;
27935 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27936 bool arg2 ;
27937 void *argp1 = 0 ;
27938 int res1 = 0 ;
27939 bool val2 ;
27940 int ecode2 = 0 ;
27941 PyObject * obj0 = 0 ;
27942 PyObject * obj1 = 0 ;
27943 char * kwnames[] = {
27944 (char *) "self",(char *) "p", NULL
27945 };
27946
27947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
27948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27949 if (!SWIG_IsOK(res1)) {
27950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27951 }
27952 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27953 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27954 if (!SWIG_IsOK(ecode2)) {
27955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27956 }
27957 arg2 = static_cast< bool >(val2);
27958 {
27959 PyThreadState* __tstate = wxPyBeginAllowThreads();
27960 (arg1)->SetIsPreview(arg2);
27961 wxPyEndAllowThreads(__tstate);
27962 if (PyErr_Occurred()) SWIG_fail;
27963 }
27964 resultobj = SWIG_Py_Void();
27965 return resultobj;
27966 fail:
27967 return NULL;
27968 }
27969
27970
27971 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27972 PyObject *resultobj = 0;
27973 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27974 int arg2 ;
27975 int arg3 ;
27976 bool result;
27977 void *argp1 = 0 ;
27978 int res1 = 0 ;
27979 int val2 ;
27980 int ecode2 = 0 ;
27981 int val3 ;
27982 int ecode3 = 0 ;
27983 PyObject * obj0 = 0 ;
27984 PyObject * obj1 = 0 ;
27985 PyObject * obj2 = 0 ;
27986 char * kwnames[] = {
27987 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27988 };
27989
27990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27992 if (!SWIG_IsOK(res1)) {
27993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27994 }
27995 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27996 ecode2 = SWIG_AsVal_int(obj1, &val2);
27997 if (!SWIG_IsOK(ecode2)) {
27998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27999 }
28000 arg2 = static_cast< int >(val2);
28001 ecode3 = SWIG_AsVal_int(obj2, &val3);
28002 if (!SWIG_IsOK(ecode3)) {
28003 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28004 }
28005 arg3 = static_cast< int >(val3);
28006 {
28007 PyThreadState* __tstate = wxPyBeginAllowThreads();
28008 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28009 wxPyEndAllowThreads(__tstate);
28010 if (PyErr_Occurred()) SWIG_fail;
28011 }
28012 {
28013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28014 }
28015 return resultobj;
28016 fail:
28017 return NULL;
28018 }
28019
28020
28021 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28022 PyObject *resultobj = 0;
28023 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28024 void *argp1 = 0 ;
28025 int res1 = 0 ;
28026 PyObject *swig_obj[1] ;
28027
28028 if (!args) SWIG_fail;
28029 swig_obj[0] = args;
28030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28031 if (!SWIG_IsOK(res1)) {
28032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28033 }
28034 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28035 {
28036 PyThreadState* __tstate = wxPyBeginAllowThreads();
28037 (arg1)->OnEndDocument();
28038 wxPyEndAllowThreads(__tstate);
28039 if (PyErr_Occurred()) SWIG_fail;
28040 }
28041 resultobj = SWIG_Py_Void();
28042 return resultobj;
28043 fail:
28044 return NULL;
28045 }
28046
28047
28048 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28049 PyObject *resultobj = 0;
28050 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28051 void *argp1 = 0 ;
28052 int res1 = 0 ;
28053 PyObject *swig_obj[1] ;
28054
28055 if (!args) SWIG_fail;
28056 swig_obj[0] = args;
28057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28058 if (!SWIG_IsOK(res1)) {
28059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28060 }
28061 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28062 {
28063 PyThreadState* __tstate = wxPyBeginAllowThreads();
28064 (arg1)->OnBeginPrinting();
28065 wxPyEndAllowThreads(__tstate);
28066 if (PyErr_Occurred()) SWIG_fail;
28067 }
28068 resultobj = SWIG_Py_Void();
28069 return resultobj;
28070 fail:
28071 return NULL;
28072 }
28073
28074
28075 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28076 PyObject *resultobj = 0;
28077 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28078 void *argp1 = 0 ;
28079 int res1 = 0 ;
28080 PyObject *swig_obj[1] ;
28081
28082 if (!args) SWIG_fail;
28083 swig_obj[0] = args;
28084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28085 if (!SWIG_IsOK(res1)) {
28086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28087 }
28088 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28089 {
28090 PyThreadState* __tstate = wxPyBeginAllowThreads();
28091 (arg1)->OnEndPrinting();
28092 wxPyEndAllowThreads(__tstate);
28093 if (PyErr_Occurred()) SWIG_fail;
28094 }
28095 resultobj = SWIG_Py_Void();
28096 return resultobj;
28097 fail:
28098 return NULL;
28099 }
28100
28101
28102 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28103 PyObject *resultobj = 0;
28104 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28105 void *argp1 = 0 ;
28106 int res1 = 0 ;
28107 PyObject *swig_obj[1] ;
28108
28109 if (!args) SWIG_fail;
28110 swig_obj[0] = args;
28111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28112 if (!SWIG_IsOK(res1)) {
28113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28114 }
28115 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28116 {
28117 PyThreadState* __tstate = wxPyBeginAllowThreads();
28118 (arg1)->OnPreparePrinting();
28119 wxPyEndAllowThreads(__tstate);
28120 if (PyErr_Occurred()) SWIG_fail;
28121 }
28122 resultobj = SWIG_Py_Void();
28123 return resultobj;
28124 fail:
28125 return NULL;
28126 }
28127
28128
28129 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28130 PyObject *resultobj = 0;
28131 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28132 int arg2 ;
28133 bool result;
28134 void *argp1 = 0 ;
28135 int res1 = 0 ;
28136 int val2 ;
28137 int ecode2 = 0 ;
28138 PyObject * obj0 = 0 ;
28139 PyObject * obj1 = 0 ;
28140 char * kwnames[] = {
28141 (char *) "self",(char *) "page", NULL
28142 };
28143
28144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28146 if (!SWIG_IsOK(res1)) {
28147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28148 }
28149 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28150 ecode2 = SWIG_AsVal_int(obj1, &val2);
28151 if (!SWIG_IsOK(ecode2)) {
28152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28153 }
28154 arg2 = static_cast< int >(val2);
28155 {
28156 PyThreadState* __tstate = wxPyBeginAllowThreads();
28157 result = (bool)(arg1)->HasPage(arg2);
28158 wxPyEndAllowThreads(__tstate);
28159 if (PyErr_Occurred()) SWIG_fail;
28160 }
28161 {
28162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28163 }
28164 return resultobj;
28165 fail:
28166 return NULL;
28167 }
28168
28169
28170 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28171 PyObject *resultobj = 0;
28172 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28173 int *arg2 = (int *) 0 ;
28174 int *arg3 = (int *) 0 ;
28175 int *arg4 = (int *) 0 ;
28176 int *arg5 = (int *) 0 ;
28177 void *argp1 = 0 ;
28178 int res1 = 0 ;
28179 int temp2 ;
28180 int res2 = SWIG_TMPOBJ ;
28181 int temp3 ;
28182 int res3 = SWIG_TMPOBJ ;
28183 int temp4 ;
28184 int res4 = SWIG_TMPOBJ ;
28185 int temp5 ;
28186 int res5 = SWIG_TMPOBJ ;
28187 PyObject *swig_obj[1] ;
28188
28189 arg2 = &temp2;
28190 arg3 = &temp3;
28191 arg4 = &temp4;
28192 arg5 = &temp5;
28193 if (!args) SWIG_fail;
28194 swig_obj[0] = args;
28195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28196 if (!SWIG_IsOK(res1)) {
28197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28198 }
28199 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28200 {
28201 PyThreadState* __tstate = wxPyBeginAllowThreads();
28202 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28203 wxPyEndAllowThreads(__tstate);
28204 if (PyErr_Occurred()) SWIG_fail;
28205 }
28206 resultobj = SWIG_Py_Void();
28207 if (SWIG_IsTmpObj(res2)) {
28208 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28209 } else {
28210 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28211 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28212 }
28213 if (SWIG_IsTmpObj(res3)) {
28214 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28215 } else {
28216 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28217 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28218 }
28219 if (SWIG_IsTmpObj(res4)) {
28220 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28221 } else {
28222 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28223 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28224 }
28225 if (SWIG_IsTmpObj(res5)) {
28226 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28227 } else {
28228 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28229 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28230 }
28231 return resultobj;
28232 fail:
28233 return NULL;
28234 }
28235
28236
28237 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28238 PyObject *obj;
28239 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28240 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28241 return SWIG_Py_Void();
28242 }
28243
28244 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28245 return SWIG_Python_InitShadowInstance(args);
28246 }
28247
28248 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28249 PyObject *resultobj = 0;
28250 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28251 wxWindow *arg2 = (wxWindow *) 0 ;
28252 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28253 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28254 wxSize const &arg4_defvalue = wxDefaultSize ;
28255 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28256 long arg5 = (long) 0 ;
28257 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28258 wxString *arg6 = (wxString *) &arg6_defvalue ;
28259 wxPreviewCanvas *result = 0 ;
28260 void *argp1 = 0 ;
28261 int res1 = 0 ;
28262 void *argp2 = 0 ;
28263 int res2 = 0 ;
28264 wxPoint temp3 ;
28265 wxSize temp4 ;
28266 long val5 ;
28267 int ecode5 = 0 ;
28268 bool temp6 = false ;
28269 PyObject * obj0 = 0 ;
28270 PyObject * obj1 = 0 ;
28271 PyObject * obj2 = 0 ;
28272 PyObject * obj3 = 0 ;
28273 PyObject * obj4 = 0 ;
28274 PyObject * obj5 = 0 ;
28275 char * kwnames[] = {
28276 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28277 };
28278
28279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28281 if (!SWIG_IsOK(res1)) {
28282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28283 }
28284 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28285 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28286 if (!SWIG_IsOK(res2)) {
28287 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28288 }
28289 arg2 = reinterpret_cast< wxWindow * >(argp2);
28290 if (obj2) {
28291 {
28292 arg3 = &temp3;
28293 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28294 }
28295 }
28296 if (obj3) {
28297 {
28298 arg4 = &temp4;
28299 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28300 }
28301 }
28302 if (obj4) {
28303 ecode5 = SWIG_AsVal_long(obj4, &val5);
28304 if (!SWIG_IsOK(ecode5)) {
28305 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28306 }
28307 arg5 = static_cast< long >(val5);
28308 }
28309 if (obj5) {
28310 {
28311 arg6 = wxString_in_helper(obj5);
28312 if (arg6 == NULL) SWIG_fail;
28313 temp6 = true;
28314 }
28315 }
28316 {
28317 if (!wxPyCheckForApp()) SWIG_fail;
28318 PyThreadState* __tstate = wxPyBeginAllowThreads();
28319 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28320 wxPyEndAllowThreads(__tstate);
28321 if (PyErr_Occurred()) SWIG_fail;
28322 }
28323 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28324 {
28325 if (temp6)
28326 delete arg6;
28327 }
28328 return resultobj;
28329 fail:
28330 {
28331 if (temp6)
28332 delete arg6;
28333 }
28334 return NULL;
28335 }
28336
28337
28338 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28339 PyObject *obj;
28340 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28341 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28342 return SWIG_Py_Void();
28343 }
28344
28345 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28346 return SWIG_Python_InitShadowInstance(args);
28347 }
28348
28349 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28350 PyObject *resultobj = 0;
28351 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28352 wxFrame *arg2 = (wxFrame *) 0 ;
28353 wxString *arg3 = 0 ;
28354 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28355 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28356 wxSize const &arg5_defvalue = wxDefaultSize ;
28357 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28358 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28359 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28360 wxString *arg7 = (wxString *) &arg7_defvalue ;
28361 wxPreviewFrame *result = 0 ;
28362 int res1 = 0 ;
28363 void *argp2 = 0 ;
28364 int res2 = 0 ;
28365 bool temp3 = false ;
28366 wxPoint temp4 ;
28367 wxSize temp5 ;
28368 long val6 ;
28369 int ecode6 = 0 ;
28370 bool temp7 = false ;
28371 PyObject * obj0 = 0 ;
28372 PyObject * obj1 = 0 ;
28373 PyObject * obj2 = 0 ;
28374 PyObject * obj3 = 0 ;
28375 PyObject * obj4 = 0 ;
28376 PyObject * obj5 = 0 ;
28377 PyObject * obj6 = 0 ;
28378 char * kwnames[] = {
28379 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28380 };
28381
28382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28383 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28384 if (!SWIG_IsOK(res1)) {
28385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28386 }
28387 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28388 if (!SWIG_IsOK(res2)) {
28389 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28390 }
28391 arg2 = reinterpret_cast< wxFrame * >(argp2);
28392 {
28393 arg3 = wxString_in_helper(obj2);
28394 if (arg3 == NULL) SWIG_fail;
28395 temp3 = true;
28396 }
28397 if (obj3) {
28398 {
28399 arg4 = &temp4;
28400 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28401 }
28402 }
28403 if (obj4) {
28404 {
28405 arg5 = &temp5;
28406 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28407 }
28408 }
28409 if (obj5) {
28410 ecode6 = SWIG_AsVal_long(obj5, &val6);
28411 if (!SWIG_IsOK(ecode6)) {
28412 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28413 }
28414 arg6 = static_cast< long >(val6);
28415 }
28416 if (obj6) {
28417 {
28418 arg7 = wxString_in_helper(obj6);
28419 if (arg7 == NULL) SWIG_fail;
28420 temp7 = true;
28421 }
28422 }
28423 {
28424 if (!wxPyCheckForApp()) SWIG_fail;
28425 PyThreadState* __tstate = wxPyBeginAllowThreads();
28426 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28427 wxPyEndAllowThreads(__tstate);
28428 if (PyErr_Occurred()) SWIG_fail;
28429 }
28430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28431 {
28432 if (temp3)
28433 delete arg3;
28434 }
28435 {
28436 if (temp7)
28437 delete arg7;
28438 }
28439 return resultobj;
28440 fail:
28441 {
28442 if (temp3)
28443 delete arg3;
28444 }
28445 {
28446 if (temp7)
28447 delete arg7;
28448 }
28449 return NULL;
28450 }
28451
28452
28453 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28454 PyObject *resultobj = 0;
28455 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28456 void *argp1 = 0 ;
28457 int res1 = 0 ;
28458 PyObject *swig_obj[1] ;
28459
28460 if (!args) SWIG_fail;
28461 swig_obj[0] = args;
28462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28463 if (!SWIG_IsOK(res1)) {
28464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28465 }
28466 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28467 {
28468 PyThreadState* __tstate = wxPyBeginAllowThreads();
28469 (arg1)->Initialize();
28470 wxPyEndAllowThreads(__tstate);
28471 if (PyErr_Occurred()) SWIG_fail;
28472 }
28473 resultobj = SWIG_Py_Void();
28474 return resultobj;
28475 fail:
28476 return NULL;
28477 }
28478
28479
28480 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28481 PyObject *resultobj = 0;
28482 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28483 void *argp1 = 0 ;
28484 int res1 = 0 ;
28485 PyObject *swig_obj[1] ;
28486
28487 if (!args) SWIG_fail;
28488 swig_obj[0] = args;
28489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28490 if (!SWIG_IsOK(res1)) {
28491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28492 }
28493 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28494 {
28495 PyThreadState* __tstate = wxPyBeginAllowThreads();
28496 (arg1)->CreateControlBar();
28497 wxPyEndAllowThreads(__tstate);
28498 if (PyErr_Occurred()) SWIG_fail;
28499 }
28500 resultobj = SWIG_Py_Void();
28501 return resultobj;
28502 fail:
28503 return NULL;
28504 }
28505
28506
28507 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28508 PyObject *resultobj = 0;
28509 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28510 void *argp1 = 0 ;
28511 int res1 = 0 ;
28512 PyObject *swig_obj[1] ;
28513
28514 if (!args) SWIG_fail;
28515 swig_obj[0] = args;
28516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28517 if (!SWIG_IsOK(res1)) {
28518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28519 }
28520 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28521 {
28522 PyThreadState* __tstate = wxPyBeginAllowThreads();
28523 (arg1)->CreateCanvas();
28524 wxPyEndAllowThreads(__tstate);
28525 if (PyErr_Occurred()) SWIG_fail;
28526 }
28527 resultobj = SWIG_Py_Void();
28528 return resultobj;
28529 fail:
28530 return NULL;
28531 }
28532
28533
28534 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28535 PyObject *resultobj = 0;
28536 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28537 wxPreviewControlBar *result = 0 ;
28538 void *argp1 = 0 ;
28539 int res1 = 0 ;
28540 PyObject *swig_obj[1] ;
28541
28542 if (!args) SWIG_fail;
28543 swig_obj[0] = args;
28544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28545 if (!SWIG_IsOK(res1)) {
28546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28547 }
28548 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28549 {
28550 PyThreadState* __tstate = wxPyBeginAllowThreads();
28551 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28552 wxPyEndAllowThreads(__tstate);
28553 if (PyErr_Occurred()) SWIG_fail;
28554 }
28555 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28556 return resultobj;
28557 fail:
28558 return NULL;
28559 }
28560
28561
28562 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28563 PyObject *obj;
28564 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28565 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28566 return SWIG_Py_Void();
28567 }
28568
28569 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28570 return SWIG_Python_InitShadowInstance(args);
28571 }
28572
28573 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28574 PyObject *resultobj = 0;
28575 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28576 long arg2 ;
28577 wxWindow *arg3 = (wxWindow *) 0 ;
28578 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28579 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28580 wxSize const &arg5_defvalue = wxDefaultSize ;
28581 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28582 long arg6 = (long) wxTAB_TRAVERSAL ;
28583 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28584 wxString *arg7 = (wxString *) &arg7_defvalue ;
28585 wxPreviewControlBar *result = 0 ;
28586 void *argp1 = 0 ;
28587 int res1 = 0 ;
28588 long val2 ;
28589 int ecode2 = 0 ;
28590 void *argp3 = 0 ;
28591 int res3 = 0 ;
28592 wxPoint temp4 ;
28593 wxSize temp5 ;
28594 long val6 ;
28595 int ecode6 = 0 ;
28596 bool temp7 = false ;
28597 PyObject * obj0 = 0 ;
28598 PyObject * obj1 = 0 ;
28599 PyObject * obj2 = 0 ;
28600 PyObject * obj3 = 0 ;
28601 PyObject * obj4 = 0 ;
28602 PyObject * obj5 = 0 ;
28603 PyObject * obj6 = 0 ;
28604 char * kwnames[] = {
28605 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28606 };
28607
28608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28610 if (!SWIG_IsOK(res1)) {
28611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28612 }
28613 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28614 ecode2 = SWIG_AsVal_long(obj1, &val2);
28615 if (!SWIG_IsOK(ecode2)) {
28616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28617 }
28618 arg2 = static_cast< long >(val2);
28619 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28620 if (!SWIG_IsOK(res3)) {
28621 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28622 }
28623 arg3 = reinterpret_cast< wxWindow * >(argp3);
28624 if (obj3) {
28625 {
28626 arg4 = &temp4;
28627 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28628 }
28629 }
28630 if (obj4) {
28631 {
28632 arg5 = &temp5;
28633 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28634 }
28635 }
28636 if (obj5) {
28637 ecode6 = SWIG_AsVal_long(obj5, &val6);
28638 if (!SWIG_IsOK(ecode6)) {
28639 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28640 }
28641 arg6 = static_cast< long >(val6);
28642 }
28643 if (obj6) {
28644 {
28645 arg7 = wxString_in_helper(obj6);
28646 if (arg7 == NULL) SWIG_fail;
28647 temp7 = true;
28648 }
28649 }
28650 {
28651 if (!wxPyCheckForApp()) SWIG_fail;
28652 PyThreadState* __tstate = wxPyBeginAllowThreads();
28653 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28654 wxPyEndAllowThreads(__tstate);
28655 if (PyErr_Occurred()) SWIG_fail;
28656 }
28657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28658 {
28659 if (temp7)
28660 delete arg7;
28661 }
28662 return resultobj;
28663 fail:
28664 {
28665 if (temp7)
28666 delete arg7;
28667 }
28668 return NULL;
28669 }
28670
28671
28672 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28673 PyObject *resultobj = 0;
28674 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28675 int result;
28676 void *argp1 = 0 ;
28677 int res1 = 0 ;
28678 PyObject *swig_obj[1] ;
28679
28680 if (!args) SWIG_fail;
28681 swig_obj[0] = args;
28682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28683 if (!SWIG_IsOK(res1)) {
28684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28685 }
28686 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28687 {
28688 PyThreadState* __tstate = wxPyBeginAllowThreads();
28689 result = (int)(arg1)->GetZoomControl();
28690 wxPyEndAllowThreads(__tstate);
28691 if (PyErr_Occurred()) SWIG_fail;
28692 }
28693 resultobj = SWIG_From_int(static_cast< int >(result));
28694 return resultobj;
28695 fail:
28696 return NULL;
28697 }
28698
28699
28700 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28701 PyObject *resultobj = 0;
28702 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28703 int arg2 ;
28704 void *argp1 = 0 ;
28705 int res1 = 0 ;
28706 int val2 ;
28707 int ecode2 = 0 ;
28708 PyObject * obj0 = 0 ;
28709 PyObject * obj1 = 0 ;
28710 char * kwnames[] = {
28711 (char *) "self",(char *) "zoom", NULL
28712 };
28713
28714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28716 if (!SWIG_IsOK(res1)) {
28717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28718 }
28719 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28720 ecode2 = SWIG_AsVal_int(obj1, &val2);
28721 if (!SWIG_IsOK(ecode2)) {
28722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28723 }
28724 arg2 = static_cast< int >(val2);
28725 {
28726 PyThreadState* __tstate = wxPyBeginAllowThreads();
28727 (arg1)->SetZoomControl(arg2);
28728 wxPyEndAllowThreads(__tstate);
28729 if (PyErr_Occurred()) SWIG_fail;
28730 }
28731 resultobj = SWIG_Py_Void();
28732 return resultobj;
28733 fail:
28734 return NULL;
28735 }
28736
28737
28738 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28739 PyObject *resultobj = 0;
28740 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28741 wxPrintPreview *result = 0 ;
28742 void *argp1 = 0 ;
28743 int res1 = 0 ;
28744 PyObject *swig_obj[1] ;
28745
28746 if (!args) SWIG_fail;
28747 swig_obj[0] = args;
28748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28749 if (!SWIG_IsOK(res1)) {
28750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28751 }
28752 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28753 {
28754 PyThreadState* __tstate = wxPyBeginAllowThreads();
28755 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28756 wxPyEndAllowThreads(__tstate);
28757 if (PyErr_Occurred()) SWIG_fail;
28758 }
28759 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28760 return resultobj;
28761 fail:
28762 return NULL;
28763 }
28764
28765
28766 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28767 PyObject *resultobj = 0;
28768 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28769 void *argp1 = 0 ;
28770 int res1 = 0 ;
28771 PyObject *swig_obj[1] ;
28772
28773 if (!args) SWIG_fail;
28774 swig_obj[0] = args;
28775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28776 if (!SWIG_IsOK(res1)) {
28777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28778 }
28779 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28780 {
28781 PyThreadState* __tstate = wxPyBeginAllowThreads();
28782 (arg1)->OnNext();
28783 wxPyEndAllowThreads(__tstate);
28784 if (PyErr_Occurred()) SWIG_fail;
28785 }
28786 resultobj = SWIG_Py_Void();
28787 return resultobj;
28788 fail:
28789 return NULL;
28790 }
28791
28792
28793 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28794 PyObject *resultobj = 0;
28795 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28796 void *argp1 = 0 ;
28797 int res1 = 0 ;
28798 PyObject *swig_obj[1] ;
28799
28800 if (!args) SWIG_fail;
28801 swig_obj[0] = args;
28802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28803 if (!SWIG_IsOK(res1)) {
28804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28805 }
28806 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28807 {
28808 PyThreadState* __tstate = wxPyBeginAllowThreads();
28809 (arg1)->OnPrevious();
28810 wxPyEndAllowThreads(__tstate);
28811 if (PyErr_Occurred()) SWIG_fail;
28812 }
28813 resultobj = SWIG_Py_Void();
28814 return resultobj;
28815 fail:
28816 return NULL;
28817 }
28818
28819
28820 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28821 PyObject *resultobj = 0;
28822 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28823 void *argp1 = 0 ;
28824 int res1 = 0 ;
28825 PyObject *swig_obj[1] ;
28826
28827 if (!args) SWIG_fail;
28828 swig_obj[0] = args;
28829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28830 if (!SWIG_IsOK(res1)) {
28831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28832 }
28833 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28834 {
28835 PyThreadState* __tstate = wxPyBeginAllowThreads();
28836 (arg1)->OnFirst();
28837 wxPyEndAllowThreads(__tstate);
28838 if (PyErr_Occurred()) SWIG_fail;
28839 }
28840 resultobj = SWIG_Py_Void();
28841 return resultobj;
28842 fail:
28843 return NULL;
28844 }
28845
28846
28847 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28848 PyObject *resultobj = 0;
28849 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28850 void *argp1 = 0 ;
28851 int res1 = 0 ;
28852 PyObject *swig_obj[1] ;
28853
28854 if (!args) SWIG_fail;
28855 swig_obj[0] = args;
28856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28857 if (!SWIG_IsOK(res1)) {
28858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28859 }
28860 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28861 {
28862 PyThreadState* __tstate = wxPyBeginAllowThreads();
28863 (arg1)->OnLast();
28864 wxPyEndAllowThreads(__tstate);
28865 if (PyErr_Occurred()) SWIG_fail;
28866 }
28867 resultobj = SWIG_Py_Void();
28868 return resultobj;
28869 fail:
28870 return NULL;
28871 }
28872
28873
28874 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28875 PyObject *resultobj = 0;
28876 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28877 void *argp1 = 0 ;
28878 int res1 = 0 ;
28879 PyObject *swig_obj[1] ;
28880
28881 if (!args) SWIG_fail;
28882 swig_obj[0] = args;
28883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28884 if (!SWIG_IsOK(res1)) {
28885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28886 }
28887 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28888 {
28889 PyThreadState* __tstate = wxPyBeginAllowThreads();
28890 (arg1)->OnGoto();
28891 wxPyEndAllowThreads(__tstate);
28892 if (PyErr_Occurred()) SWIG_fail;
28893 }
28894 resultobj = SWIG_Py_Void();
28895 return resultobj;
28896 fail:
28897 return NULL;
28898 }
28899
28900
28901 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28902 PyObject *obj;
28903 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28904 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
28905 return SWIG_Py_Void();
28906 }
28907
28908 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28909 return SWIG_Python_InitShadowInstance(args);
28910 }
28911
28912 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28913 PyObject *resultobj = 0;
28914 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28915 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28916 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
28917 wxPrintPreview *result = 0 ;
28918 int res1 = 0 ;
28919 int res2 = 0 ;
28920 void *argp3 = 0 ;
28921 int res3 = 0 ;
28922
28923 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
28924 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28925 if (!SWIG_IsOK(res1)) {
28926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28927 }
28928 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28929 if (!SWIG_IsOK(res2)) {
28930 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28931 }
28932 if (swig_obj[2]) {
28933 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28934 if (!SWIG_IsOK(res3)) {
28935 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28936 }
28937 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
28938 }
28939 {
28940 if (!wxPyCheckForApp()) SWIG_fail;
28941 PyThreadState* __tstate = wxPyBeginAllowThreads();
28942 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28943 wxPyEndAllowThreads(__tstate);
28944 if (PyErr_Occurred()) SWIG_fail;
28945 }
28946 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28947 return resultobj;
28948 fail:
28949 return NULL;
28950 }
28951
28952
28953 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28954 PyObject *resultobj = 0;
28955 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28956 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28957 wxPrintData *arg3 = (wxPrintData *) 0 ;
28958 wxPrintPreview *result = 0 ;
28959 int res1 = 0 ;
28960 int res2 = 0 ;
28961 void *argp3 = 0 ;
28962 int res3 = 0 ;
28963
28964 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
28965 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28966 if (!SWIG_IsOK(res1)) {
28967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28968 }
28969 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28970 if (!SWIG_IsOK(res2)) {
28971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28972 }
28973 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
28974 if (!SWIG_IsOK(res3)) {
28975 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28976 }
28977 arg3 = reinterpret_cast< wxPrintData * >(argp3);
28978 {
28979 if (!wxPyCheckForApp()) SWIG_fail;
28980 PyThreadState* __tstate = wxPyBeginAllowThreads();
28981 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28982 wxPyEndAllowThreads(__tstate);
28983 if (PyErr_Occurred()) SWIG_fail;
28984 }
28985 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28986 return resultobj;
28987 fail:
28988 return NULL;
28989 }
28990
28991
28992 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
28993 int argc;
28994 PyObject *argv[4];
28995
28996 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
28997 --argc;
28998 if ((argc >= 2) && (argc <= 3)) {
28999 int _v = 0;
29000 if (argc > 2) {
29001 {
29002 void *vptr = 0;
29003 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29004 _v = SWIG_CheckState(res);
29005 }
29006 if (!_v) goto check_1;
29007 }
29008 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29009 }
29010 check_1:
29011
29012 if (argc == 3) {
29013 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29014 }
29015
29016 fail:
29017 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29018 return NULL;
29019 }
29020
29021
29022 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29023 PyObject *resultobj = 0;
29024 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29025 void *argp1 = 0 ;
29026 int res1 = 0 ;
29027 PyObject *swig_obj[1] ;
29028
29029 if (!args) SWIG_fail;
29030 swig_obj[0] = args;
29031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29032 if (!SWIG_IsOK(res1)) {
29033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29034 }
29035 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29036 {
29037 PyThreadState* __tstate = wxPyBeginAllowThreads();
29038 delete arg1;
29039
29040 wxPyEndAllowThreads(__tstate);
29041 if (PyErr_Occurred()) SWIG_fail;
29042 }
29043 resultobj = SWIG_Py_Void();
29044 return resultobj;
29045 fail:
29046 return NULL;
29047 }
29048
29049
29050 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29051 PyObject *resultobj = 0;
29052 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29053 int arg2 ;
29054 bool result;
29055 void *argp1 = 0 ;
29056 int res1 = 0 ;
29057 int val2 ;
29058 int ecode2 = 0 ;
29059 PyObject * obj0 = 0 ;
29060 PyObject * obj1 = 0 ;
29061 char * kwnames[] = {
29062 (char *) "self",(char *) "pageNum", NULL
29063 };
29064
29065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29067 if (!SWIG_IsOK(res1)) {
29068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29069 }
29070 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29071 ecode2 = SWIG_AsVal_int(obj1, &val2);
29072 if (!SWIG_IsOK(ecode2)) {
29073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29074 }
29075 arg2 = static_cast< int >(val2);
29076 {
29077 PyThreadState* __tstate = wxPyBeginAllowThreads();
29078 result = (bool)(arg1)->SetCurrentPage(arg2);
29079 wxPyEndAllowThreads(__tstate);
29080 if (PyErr_Occurred()) SWIG_fail;
29081 }
29082 {
29083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29084 }
29085 return resultobj;
29086 fail:
29087 return NULL;
29088 }
29089
29090
29091 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29092 PyObject *resultobj = 0;
29093 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29094 int result;
29095 void *argp1 = 0 ;
29096 int res1 = 0 ;
29097 PyObject *swig_obj[1] ;
29098
29099 if (!args) SWIG_fail;
29100 swig_obj[0] = args;
29101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29102 if (!SWIG_IsOK(res1)) {
29103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29104 }
29105 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29106 {
29107 PyThreadState* __tstate = wxPyBeginAllowThreads();
29108 result = (int)(arg1)->GetCurrentPage();
29109 wxPyEndAllowThreads(__tstate);
29110 if (PyErr_Occurred()) SWIG_fail;
29111 }
29112 resultobj = SWIG_From_int(static_cast< int >(result));
29113 return resultobj;
29114 fail:
29115 return NULL;
29116 }
29117
29118
29119 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29120 PyObject *resultobj = 0;
29121 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29122 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29123 void *argp1 = 0 ;
29124 int res1 = 0 ;
29125 int res2 = 0 ;
29126 PyObject * obj0 = 0 ;
29127 PyObject * obj1 = 0 ;
29128 char * kwnames[] = {
29129 (char *) "self",(char *) "printout", NULL
29130 };
29131
29132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29134 if (!SWIG_IsOK(res1)) {
29135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29136 }
29137 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29138 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29139 if (!SWIG_IsOK(res2)) {
29140 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29141 }
29142 {
29143 PyThreadState* __tstate = wxPyBeginAllowThreads();
29144 (arg1)->SetPrintout(arg2);
29145 wxPyEndAllowThreads(__tstate);
29146 if (PyErr_Occurred()) SWIG_fail;
29147 }
29148 resultobj = SWIG_Py_Void();
29149 return resultobj;
29150 fail:
29151 return NULL;
29152 }
29153
29154
29155 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29156 PyObject *resultobj = 0;
29157 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29158 wxPyPrintout *result = 0 ;
29159 void *argp1 = 0 ;
29160 int res1 = 0 ;
29161 PyObject *swig_obj[1] ;
29162
29163 if (!args) SWIG_fail;
29164 swig_obj[0] = args;
29165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29166 if (!SWIG_IsOK(res1)) {
29167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29168 }
29169 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29170 {
29171 PyThreadState* __tstate = wxPyBeginAllowThreads();
29172 result = (wxPyPrintout *)(arg1)->GetPrintout();
29173 wxPyEndAllowThreads(__tstate);
29174 if (PyErr_Occurred()) SWIG_fail;
29175 }
29176 {
29177 resultobj = wxPyMake_wxObject(result, 0);
29178 }
29179 return resultobj;
29180 fail:
29181 return NULL;
29182 }
29183
29184
29185 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29186 PyObject *resultobj = 0;
29187 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29188 wxPyPrintout *result = 0 ;
29189 void *argp1 = 0 ;
29190 int res1 = 0 ;
29191 PyObject *swig_obj[1] ;
29192
29193 if (!args) SWIG_fail;
29194 swig_obj[0] = args;
29195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29196 if (!SWIG_IsOK(res1)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29198 }
29199 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29200 {
29201 PyThreadState* __tstate = wxPyBeginAllowThreads();
29202 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29203 wxPyEndAllowThreads(__tstate);
29204 if (PyErr_Occurred()) SWIG_fail;
29205 }
29206 {
29207 resultobj = wxPyMake_wxObject(result, 0);
29208 }
29209 return resultobj;
29210 fail:
29211 return NULL;
29212 }
29213
29214
29215 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29216 PyObject *resultobj = 0;
29217 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29218 wxFrame *arg2 = (wxFrame *) 0 ;
29219 void *argp1 = 0 ;
29220 int res1 = 0 ;
29221 void *argp2 = 0 ;
29222 int res2 = 0 ;
29223 PyObject * obj0 = 0 ;
29224 PyObject * obj1 = 0 ;
29225 char * kwnames[] = {
29226 (char *) "self",(char *) "frame", NULL
29227 };
29228
29229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29231 if (!SWIG_IsOK(res1)) {
29232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29233 }
29234 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29235 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29236 if (!SWIG_IsOK(res2)) {
29237 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29238 }
29239 arg2 = reinterpret_cast< wxFrame * >(argp2);
29240 {
29241 PyThreadState* __tstate = wxPyBeginAllowThreads();
29242 (arg1)->SetFrame(arg2);
29243 wxPyEndAllowThreads(__tstate);
29244 if (PyErr_Occurred()) SWIG_fail;
29245 }
29246 resultobj = SWIG_Py_Void();
29247 return resultobj;
29248 fail:
29249 return NULL;
29250 }
29251
29252
29253 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29254 PyObject *resultobj = 0;
29255 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29256 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29257 void *argp1 = 0 ;
29258 int res1 = 0 ;
29259 void *argp2 = 0 ;
29260 int res2 = 0 ;
29261 PyObject * obj0 = 0 ;
29262 PyObject * obj1 = 0 ;
29263 char * kwnames[] = {
29264 (char *) "self",(char *) "canvas", NULL
29265 };
29266
29267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29269 if (!SWIG_IsOK(res1)) {
29270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29271 }
29272 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29273 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29274 if (!SWIG_IsOK(res2)) {
29275 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29276 }
29277 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29278 {
29279 PyThreadState* __tstate = wxPyBeginAllowThreads();
29280 (arg1)->SetCanvas(arg2);
29281 wxPyEndAllowThreads(__tstate);
29282 if (PyErr_Occurred()) SWIG_fail;
29283 }
29284 resultobj = SWIG_Py_Void();
29285 return resultobj;
29286 fail:
29287 return NULL;
29288 }
29289
29290
29291 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29292 PyObject *resultobj = 0;
29293 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29294 wxFrame *result = 0 ;
29295 void *argp1 = 0 ;
29296 int res1 = 0 ;
29297 PyObject *swig_obj[1] ;
29298
29299 if (!args) SWIG_fail;
29300 swig_obj[0] = args;
29301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29302 if (!SWIG_IsOK(res1)) {
29303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29304 }
29305 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29306 {
29307 PyThreadState* __tstate = wxPyBeginAllowThreads();
29308 result = (wxFrame *)(arg1)->GetFrame();
29309 wxPyEndAllowThreads(__tstate);
29310 if (PyErr_Occurred()) SWIG_fail;
29311 }
29312 {
29313 resultobj = wxPyMake_wxObject(result, 0);
29314 }
29315 return resultobj;
29316 fail:
29317 return NULL;
29318 }
29319
29320
29321 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29322 PyObject *resultobj = 0;
29323 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29324 wxPreviewCanvas *result = 0 ;
29325 void *argp1 = 0 ;
29326 int res1 = 0 ;
29327 PyObject *swig_obj[1] ;
29328
29329 if (!args) SWIG_fail;
29330 swig_obj[0] = args;
29331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29332 if (!SWIG_IsOK(res1)) {
29333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29334 }
29335 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29336 {
29337 PyThreadState* __tstate = wxPyBeginAllowThreads();
29338 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29339 wxPyEndAllowThreads(__tstate);
29340 if (PyErr_Occurred()) SWIG_fail;
29341 }
29342 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29343 return resultobj;
29344 fail:
29345 return NULL;
29346 }
29347
29348
29349 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29350 PyObject *resultobj = 0;
29351 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29352 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29353 wxDC *arg3 = 0 ;
29354 bool result;
29355 void *argp1 = 0 ;
29356 int res1 = 0 ;
29357 void *argp2 = 0 ;
29358 int res2 = 0 ;
29359 void *argp3 = 0 ;
29360 int res3 = 0 ;
29361 PyObject * obj0 = 0 ;
29362 PyObject * obj1 = 0 ;
29363 PyObject * obj2 = 0 ;
29364 char * kwnames[] = {
29365 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29366 };
29367
29368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29370 if (!SWIG_IsOK(res1)) {
29371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29372 }
29373 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29374 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29375 if (!SWIG_IsOK(res2)) {
29376 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29377 }
29378 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29379 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29380 if (!SWIG_IsOK(res3)) {
29381 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29382 }
29383 if (!argp3) {
29384 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29385 }
29386 arg3 = reinterpret_cast< wxDC * >(argp3);
29387 {
29388 PyThreadState* __tstate = wxPyBeginAllowThreads();
29389 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29390 wxPyEndAllowThreads(__tstate);
29391 if (PyErr_Occurred()) SWIG_fail;
29392 }
29393 {
29394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29395 }
29396 return resultobj;
29397 fail:
29398 return NULL;
29399 }
29400
29401
29402 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29403 PyObject *resultobj = 0;
29404 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29405 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29406 wxDC *arg3 = 0 ;
29407 bool result;
29408 void *argp1 = 0 ;
29409 int res1 = 0 ;
29410 void *argp2 = 0 ;
29411 int res2 = 0 ;
29412 void *argp3 = 0 ;
29413 int res3 = 0 ;
29414 PyObject * obj0 = 0 ;
29415 PyObject * obj1 = 0 ;
29416 PyObject * obj2 = 0 ;
29417 char * kwnames[] = {
29418 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29419 };
29420
29421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29423 if (!SWIG_IsOK(res1)) {
29424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29425 }
29426 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29427 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29428 if (!SWIG_IsOK(res2)) {
29429 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29430 }
29431 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29432 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29433 if (!SWIG_IsOK(res3)) {
29434 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29435 }
29436 if (!argp3) {
29437 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29438 }
29439 arg3 = reinterpret_cast< wxDC * >(argp3);
29440 {
29441 PyThreadState* __tstate = wxPyBeginAllowThreads();
29442 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29443 wxPyEndAllowThreads(__tstate);
29444 if (PyErr_Occurred()) SWIG_fail;
29445 }
29446 {
29447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29448 }
29449 return resultobj;
29450 fail:
29451 return NULL;
29452 }
29453
29454
29455 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29456 PyObject *resultobj = 0;
29457 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29458 int arg2 ;
29459 bool result;
29460 void *argp1 = 0 ;
29461 int res1 = 0 ;
29462 int val2 ;
29463 int ecode2 = 0 ;
29464 PyObject * obj0 = 0 ;
29465 PyObject * obj1 = 0 ;
29466 char * kwnames[] = {
29467 (char *) "self",(char *) "pageNum", NULL
29468 };
29469
29470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29472 if (!SWIG_IsOK(res1)) {
29473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29474 }
29475 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29476 ecode2 = SWIG_AsVal_int(obj1, &val2);
29477 if (!SWIG_IsOK(ecode2)) {
29478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29479 }
29480 arg2 = static_cast< int >(val2);
29481 {
29482 PyThreadState* __tstate = wxPyBeginAllowThreads();
29483 result = (bool)(arg1)->RenderPage(arg2);
29484 wxPyEndAllowThreads(__tstate);
29485 if (PyErr_Occurred()) SWIG_fail;
29486 }
29487 {
29488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29489 }
29490 return resultobj;
29491 fail:
29492 return NULL;
29493 }
29494
29495
29496 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29497 PyObject *resultobj = 0;
29498 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29499 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29500 void *argp1 = 0 ;
29501 int res1 = 0 ;
29502 void *argp2 = 0 ;
29503 int res2 = 0 ;
29504 PyObject * obj0 = 0 ;
29505 PyObject * obj1 = 0 ;
29506 char * kwnames[] = {
29507 (char *) "self",(char *) "canvas", NULL
29508 };
29509
29510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29512 if (!SWIG_IsOK(res1)) {
29513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29514 }
29515 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29516 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29517 if (!SWIG_IsOK(res2)) {
29518 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29519 }
29520 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29521 {
29522 PyThreadState* __tstate = wxPyBeginAllowThreads();
29523 (arg1)->AdjustScrollbars(arg2);
29524 wxPyEndAllowThreads(__tstate);
29525 if (PyErr_Occurred()) SWIG_fail;
29526 }
29527 resultobj = SWIG_Py_Void();
29528 return resultobj;
29529 fail:
29530 return NULL;
29531 }
29532
29533
29534 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29535 PyObject *resultobj = 0;
29536 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29537 wxPrintDialogData *result = 0 ;
29538 void *argp1 = 0 ;
29539 int res1 = 0 ;
29540 PyObject *swig_obj[1] ;
29541
29542 if (!args) SWIG_fail;
29543 swig_obj[0] = args;
29544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29545 if (!SWIG_IsOK(res1)) {
29546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29547 }
29548 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29549 {
29550 PyThreadState* __tstate = wxPyBeginAllowThreads();
29551 {
29552 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29553 result = (wxPrintDialogData *) &_result_ref;
29554 }
29555 wxPyEndAllowThreads(__tstate);
29556 if (PyErr_Occurred()) SWIG_fail;
29557 }
29558 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29559 return resultobj;
29560 fail:
29561 return NULL;
29562 }
29563
29564
29565 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29566 PyObject *resultobj = 0;
29567 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29568 int arg2 ;
29569 void *argp1 = 0 ;
29570 int res1 = 0 ;
29571 int val2 ;
29572 int ecode2 = 0 ;
29573 PyObject * obj0 = 0 ;
29574 PyObject * obj1 = 0 ;
29575 char * kwnames[] = {
29576 (char *) "self",(char *) "percent", NULL
29577 };
29578
29579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29581 if (!SWIG_IsOK(res1)) {
29582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29583 }
29584 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29585 ecode2 = SWIG_AsVal_int(obj1, &val2);
29586 if (!SWIG_IsOK(ecode2)) {
29587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29588 }
29589 arg2 = static_cast< int >(val2);
29590 {
29591 PyThreadState* __tstate = wxPyBeginAllowThreads();
29592 (arg1)->SetZoom(arg2);
29593 wxPyEndAllowThreads(__tstate);
29594 if (PyErr_Occurred()) SWIG_fail;
29595 }
29596 resultobj = SWIG_Py_Void();
29597 return resultobj;
29598 fail:
29599 return NULL;
29600 }
29601
29602
29603 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29604 PyObject *resultobj = 0;
29605 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29606 int result;
29607 void *argp1 = 0 ;
29608 int res1 = 0 ;
29609 PyObject *swig_obj[1] ;
29610
29611 if (!args) SWIG_fail;
29612 swig_obj[0] = args;
29613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29614 if (!SWIG_IsOK(res1)) {
29615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29616 }
29617 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29618 {
29619 PyThreadState* __tstate = wxPyBeginAllowThreads();
29620 result = (int)(arg1)->GetZoom();
29621 wxPyEndAllowThreads(__tstate);
29622 if (PyErr_Occurred()) SWIG_fail;
29623 }
29624 resultobj = SWIG_From_int(static_cast< int >(result));
29625 return resultobj;
29626 fail:
29627 return NULL;
29628 }
29629
29630
29631 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29632 PyObject *resultobj = 0;
29633 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29634 int result;
29635 void *argp1 = 0 ;
29636 int res1 = 0 ;
29637 PyObject *swig_obj[1] ;
29638
29639 if (!args) SWIG_fail;
29640 swig_obj[0] = args;
29641 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29642 if (!SWIG_IsOK(res1)) {
29643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29644 }
29645 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29646 {
29647 PyThreadState* __tstate = wxPyBeginAllowThreads();
29648 result = (int)(arg1)->GetMaxPage();
29649 wxPyEndAllowThreads(__tstate);
29650 if (PyErr_Occurred()) SWIG_fail;
29651 }
29652 resultobj = SWIG_From_int(static_cast< int >(result));
29653 return resultobj;
29654 fail:
29655 return NULL;
29656 }
29657
29658
29659 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29660 PyObject *resultobj = 0;
29661 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29662 int result;
29663 void *argp1 = 0 ;
29664 int res1 = 0 ;
29665 PyObject *swig_obj[1] ;
29666
29667 if (!args) SWIG_fail;
29668 swig_obj[0] = args;
29669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29670 if (!SWIG_IsOK(res1)) {
29671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29672 }
29673 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29674 {
29675 PyThreadState* __tstate = wxPyBeginAllowThreads();
29676 result = (int)(arg1)->GetMinPage();
29677 wxPyEndAllowThreads(__tstate);
29678 if (PyErr_Occurred()) SWIG_fail;
29679 }
29680 resultobj = SWIG_From_int(static_cast< int >(result));
29681 return resultobj;
29682 fail:
29683 return NULL;
29684 }
29685
29686
29687 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29688 PyObject *resultobj = 0;
29689 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29690 bool result;
29691 void *argp1 = 0 ;
29692 int res1 = 0 ;
29693 PyObject *swig_obj[1] ;
29694
29695 if (!args) SWIG_fail;
29696 swig_obj[0] = args;
29697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29698 if (!SWIG_IsOK(res1)) {
29699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29700 }
29701 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29702 {
29703 PyThreadState* __tstate = wxPyBeginAllowThreads();
29704 result = (bool)(arg1)->Ok();
29705 wxPyEndAllowThreads(__tstate);
29706 if (PyErr_Occurred()) SWIG_fail;
29707 }
29708 {
29709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29710 }
29711 return resultobj;
29712 fail:
29713 return NULL;
29714 }
29715
29716
29717 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29718 PyObject *resultobj = 0;
29719 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29720 bool arg2 ;
29721 void *argp1 = 0 ;
29722 int res1 = 0 ;
29723 bool val2 ;
29724 int ecode2 = 0 ;
29725 PyObject * obj0 = 0 ;
29726 PyObject * obj1 = 0 ;
29727 char * kwnames[] = {
29728 (char *) "self",(char *) "ok", NULL
29729 };
29730
29731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29733 if (!SWIG_IsOK(res1)) {
29734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29735 }
29736 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29737 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29738 if (!SWIG_IsOK(ecode2)) {
29739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29740 }
29741 arg2 = static_cast< bool >(val2);
29742 {
29743 PyThreadState* __tstate = wxPyBeginAllowThreads();
29744 (arg1)->SetOk(arg2);
29745 wxPyEndAllowThreads(__tstate);
29746 if (PyErr_Occurred()) SWIG_fail;
29747 }
29748 resultobj = SWIG_Py_Void();
29749 return resultobj;
29750 fail:
29751 return NULL;
29752 }
29753
29754
29755 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29756 PyObject *resultobj = 0;
29757 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29758 bool arg2 ;
29759 bool result;
29760 void *argp1 = 0 ;
29761 int res1 = 0 ;
29762 bool val2 ;
29763 int ecode2 = 0 ;
29764 PyObject * obj0 = 0 ;
29765 PyObject * obj1 = 0 ;
29766 char * kwnames[] = {
29767 (char *) "self",(char *) "interactive", NULL
29768 };
29769
29770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29772 if (!SWIG_IsOK(res1)) {
29773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29774 }
29775 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29776 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29777 if (!SWIG_IsOK(ecode2)) {
29778 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29779 }
29780 arg2 = static_cast< bool >(val2);
29781 {
29782 PyThreadState* __tstate = wxPyBeginAllowThreads();
29783 result = (bool)(arg1)->Print(arg2);
29784 wxPyEndAllowThreads(__tstate);
29785 if (PyErr_Occurred()) SWIG_fail;
29786 }
29787 {
29788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29789 }
29790 return resultobj;
29791 fail:
29792 return NULL;
29793 }
29794
29795
29796 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29797 PyObject *resultobj = 0;
29798 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29799 void *argp1 = 0 ;
29800 int res1 = 0 ;
29801 PyObject *swig_obj[1] ;
29802
29803 if (!args) SWIG_fail;
29804 swig_obj[0] = args;
29805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29806 if (!SWIG_IsOK(res1)) {
29807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29808 }
29809 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29810 {
29811 PyThreadState* __tstate = wxPyBeginAllowThreads();
29812 (arg1)->DetermineScaling();
29813 wxPyEndAllowThreads(__tstate);
29814 if (PyErr_Occurred()) SWIG_fail;
29815 }
29816 resultobj = SWIG_Py_Void();
29817 return resultobj;
29818 fail:
29819 return NULL;
29820 }
29821
29822
29823 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29824 PyObject *obj;
29825 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29826 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29827 return SWIG_Py_Void();
29828 }
29829
29830 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29831 return SWIG_Python_InitShadowInstance(args);
29832 }
29833
29834 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29835 PyObject *resultobj = 0;
29836 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29837 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29838 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29839 wxPyPrintPreview *result = 0 ;
29840 int res1 = 0 ;
29841 int res2 = 0 ;
29842 void *argp3 = 0 ;
29843 int res3 = 0 ;
29844
29845 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29846 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29847 if (!SWIG_IsOK(res1)) {
29848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29849 }
29850 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29851 if (!SWIG_IsOK(res2)) {
29852 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29853 }
29854 if (swig_obj[2]) {
29855 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29856 if (!SWIG_IsOK(res3)) {
29857 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29858 }
29859 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29860 }
29861 {
29862 if (!wxPyCheckForApp()) SWIG_fail;
29863 PyThreadState* __tstate = wxPyBeginAllowThreads();
29864 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29865 wxPyEndAllowThreads(__tstate);
29866 if (PyErr_Occurred()) SWIG_fail;
29867 }
29868 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29869 return resultobj;
29870 fail:
29871 return NULL;
29872 }
29873
29874
29875 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29876 PyObject *resultobj = 0;
29877 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29878 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29879 wxPrintData *arg3 = (wxPrintData *) 0 ;
29880 wxPyPrintPreview *result = 0 ;
29881 int res1 = 0 ;
29882 int res2 = 0 ;
29883 void *argp3 = 0 ;
29884 int res3 = 0 ;
29885
29886 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29887 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29888 if (!SWIG_IsOK(res1)) {
29889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29890 }
29891 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29892 if (!SWIG_IsOK(res2)) {
29893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29894 }
29895 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29896 if (!SWIG_IsOK(res3)) {
29897 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29898 }
29899 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29900 {
29901 if (!wxPyCheckForApp()) SWIG_fail;
29902 PyThreadState* __tstate = wxPyBeginAllowThreads();
29903 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29904 wxPyEndAllowThreads(__tstate);
29905 if (PyErr_Occurred()) SWIG_fail;
29906 }
29907 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29908 return resultobj;
29909 fail:
29910 return NULL;
29911 }
29912
29913
29914 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
29915 int argc;
29916 PyObject *argv[4];
29917
29918 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
29919 --argc;
29920 if ((argc >= 2) && (argc <= 3)) {
29921 int _v = 0;
29922 if (argc > 2) {
29923 {
29924 void *vptr = 0;
29925 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29926 _v = SWIG_CheckState(res);
29927 }
29928 if (!_v) goto check_1;
29929 }
29930 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
29931 }
29932 check_1:
29933
29934 if (argc == 3) {
29935 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
29936 }
29937
29938 fail:
29939 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
29940 return NULL;
29941 }
29942
29943
29944 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29945 PyObject *resultobj = 0;
29946 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
29947 PyObject *arg2 = (PyObject *) 0 ;
29948 PyObject *arg3 = (PyObject *) 0 ;
29949 void *argp1 = 0 ;
29950 int res1 = 0 ;
29951 PyObject * obj0 = 0 ;
29952 PyObject * obj1 = 0 ;
29953 PyObject * obj2 = 0 ;
29954 char * kwnames[] = {
29955 (char *) "self",(char *) "self",(char *) "_class", NULL
29956 };
29957
29958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
29960 if (!SWIG_IsOK(res1)) {
29961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29962 }
29963 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
29964 arg2 = obj1;
29965 arg3 = obj2;
29966 {
29967 PyThreadState* __tstate = wxPyBeginAllowThreads();
29968 (arg1)->_setCallbackInfo(arg2,arg3);
29969 wxPyEndAllowThreads(__tstate);
29970 if (PyErr_Occurred()) SWIG_fail;
29971 }
29972 resultobj = SWIG_Py_Void();
29973 return resultobj;
29974 fail:
29975 return NULL;
29976 }
29977
29978
29979 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29980 PyObject *obj;
29981 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29982 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
29983 return SWIG_Py_Void();
29984 }
29985
29986 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29987 return SWIG_Python_InitShadowInstance(args);
29988 }
29989
29990 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29991 PyObject *resultobj = 0;
29992 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29993 wxFrame *arg2 = (wxFrame *) 0 ;
29994 wxString *arg3 = 0 ;
29995 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29996 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29997 wxSize const &arg5_defvalue = wxDefaultSize ;
29998 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29999 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30000 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30001 wxString *arg7 = (wxString *) &arg7_defvalue ;
30002 wxPyPreviewFrame *result = 0 ;
30003 void *argp1 = 0 ;
30004 int res1 = 0 ;
30005 void *argp2 = 0 ;
30006 int res2 = 0 ;
30007 bool temp3 = false ;
30008 wxPoint temp4 ;
30009 wxSize temp5 ;
30010 long val6 ;
30011 int ecode6 = 0 ;
30012 bool temp7 = false ;
30013 PyObject * obj0 = 0 ;
30014 PyObject * obj1 = 0 ;
30015 PyObject * obj2 = 0 ;
30016 PyObject * obj3 = 0 ;
30017 PyObject * obj4 = 0 ;
30018 PyObject * obj5 = 0 ;
30019 PyObject * obj6 = 0 ;
30020 char * kwnames[] = {
30021 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30022 };
30023
30024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30026 if (!SWIG_IsOK(res1)) {
30027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30028 }
30029 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30030 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30031 if (!SWIG_IsOK(res2)) {
30032 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30033 }
30034 arg2 = reinterpret_cast< wxFrame * >(argp2);
30035 {
30036 arg3 = wxString_in_helper(obj2);
30037 if (arg3 == NULL) SWIG_fail;
30038 temp3 = true;
30039 }
30040 if (obj3) {
30041 {
30042 arg4 = &temp4;
30043 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30044 }
30045 }
30046 if (obj4) {
30047 {
30048 arg5 = &temp5;
30049 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30050 }
30051 }
30052 if (obj5) {
30053 ecode6 = SWIG_AsVal_long(obj5, &val6);
30054 if (!SWIG_IsOK(ecode6)) {
30055 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30056 }
30057 arg6 = static_cast< long >(val6);
30058 }
30059 if (obj6) {
30060 {
30061 arg7 = wxString_in_helper(obj6);
30062 if (arg7 == NULL) SWIG_fail;
30063 temp7 = true;
30064 }
30065 }
30066 {
30067 if (!wxPyCheckForApp()) SWIG_fail;
30068 PyThreadState* __tstate = wxPyBeginAllowThreads();
30069 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30070 wxPyEndAllowThreads(__tstate);
30071 if (PyErr_Occurred()) SWIG_fail;
30072 }
30073 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30074 {
30075 if (temp3)
30076 delete arg3;
30077 }
30078 {
30079 if (temp7)
30080 delete arg7;
30081 }
30082 return resultobj;
30083 fail:
30084 {
30085 if (temp3)
30086 delete arg3;
30087 }
30088 {
30089 if (temp7)
30090 delete arg7;
30091 }
30092 return NULL;
30093 }
30094
30095
30096 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30097 PyObject *resultobj = 0;
30098 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30099 PyObject *arg2 = (PyObject *) 0 ;
30100 PyObject *arg3 = (PyObject *) 0 ;
30101 void *argp1 = 0 ;
30102 int res1 = 0 ;
30103 PyObject * obj0 = 0 ;
30104 PyObject * obj1 = 0 ;
30105 PyObject * obj2 = 0 ;
30106 char * kwnames[] = {
30107 (char *) "self",(char *) "self",(char *) "_class", NULL
30108 };
30109
30110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30112 if (!SWIG_IsOK(res1)) {
30113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30114 }
30115 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30116 arg2 = obj1;
30117 arg3 = obj2;
30118 {
30119 PyThreadState* __tstate = wxPyBeginAllowThreads();
30120 (arg1)->_setCallbackInfo(arg2,arg3);
30121 wxPyEndAllowThreads(__tstate);
30122 if (PyErr_Occurred()) SWIG_fail;
30123 }
30124 resultobj = SWIG_Py_Void();
30125 return resultobj;
30126 fail:
30127 return NULL;
30128 }
30129
30130
30131 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30132 PyObject *resultobj = 0;
30133 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30134 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30135 void *argp1 = 0 ;
30136 int res1 = 0 ;
30137 void *argp2 = 0 ;
30138 int res2 = 0 ;
30139 PyObject * obj0 = 0 ;
30140 PyObject * obj1 = 0 ;
30141 char * kwnames[] = {
30142 (char *) "self",(char *) "canvas", NULL
30143 };
30144
30145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30147 if (!SWIG_IsOK(res1)) {
30148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30149 }
30150 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30151 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30152 if (!SWIG_IsOK(res2)) {
30153 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30154 }
30155 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30156 {
30157 PyThreadState* __tstate = wxPyBeginAllowThreads();
30158 (arg1)->SetPreviewCanvas(arg2);
30159 wxPyEndAllowThreads(__tstate);
30160 if (PyErr_Occurred()) SWIG_fail;
30161 }
30162 resultobj = SWIG_Py_Void();
30163 return resultobj;
30164 fail:
30165 return NULL;
30166 }
30167
30168
30169 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30170 PyObject *resultobj = 0;
30171 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30172 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30173 void *argp1 = 0 ;
30174 int res1 = 0 ;
30175 void *argp2 = 0 ;
30176 int res2 = 0 ;
30177 PyObject * obj0 = 0 ;
30178 PyObject * obj1 = 0 ;
30179 char * kwnames[] = {
30180 (char *) "self",(char *) "bar", NULL
30181 };
30182
30183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30185 if (!SWIG_IsOK(res1)) {
30186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30187 }
30188 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30189 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30190 if (!SWIG_IsOK(res2)) {
30191 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30192 }
30193 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30194 {
30195 PyThreadState* __tstate = wxPyBeginAllowThreads();
30196 (arg1)->SetControlBar(arg2);
30197 wxPyEndAllowThreads(__tstate);
30198 if (PyErr_Occurred()) SWIG_fail;
30199 }
30200 resultobj = SWIG_Py_Void();
30201 return resultobj;
30202 fail:
30203 return NULL;
30204 }
30205
30206
30207 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30208 PyObject *resultobj = 0;
30209 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30210 void *argp1 = 0 ;
30211 int res1 = 0 ;
30212 PyObject *swig_obj[1] ;
30213
30214 if (!args) SWIG_fail;
30215 swig_obj[0] = args;
30216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30217 if (!SWIG_IsOK(res1)) {
30218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30219 }
30220 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30221 {
30222 PyThreadState* __tstate = wxPyBeginAllowThreads();
30223 (arg1)->Initialize();
30224 wxPyEndAllowThreads(__tstate);
30225 if (PyErr_Occurred()) SWIG_fail;
30226 }
30227 resultobj = SWIG_Py_Void();
30228 return resultobj;
30229 fail:
30230 return NULL;
30231 }
30232
30233
30234 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30235 PyObject *resultobj = 0;
30236 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30237 void *argp1 = 0 ;
30238 int res1 = 0 ;
30239 PyObject *swig_obj[1] ;
30240
30241 if (!args) SWIG_fail;
30242 swig_obj[0] = args;
30243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30244 if (!SWIG_IsOK(res1)) {
30245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30246 }
30247 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30248 {
30249 PyThreadState* __tstate = wxPyBeginAllowThreads();
30250 (arg1)->CreateCanvas();
30251 wxPyEndAllowThreads(__tstate);
30252 if (PyErr_Occurred()) SWIG_fail;
30253 }
30254 resultobj = SWIG_Py_Void();
30255 return resultobj;
30256 fail:
30257 return NULL;
30258 }
30259
30260
30261 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30262 PyObject *resultobj = 0;
30263 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30264 void *argp1 = 0 ;
30265 int res1 = 0 ;
30266 PyObject *swig_obj[1] ;
30267
30268 if (!args) SWIG_fail;
30269 swig_obj[0] = args;
30270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30271 if (!SWIG_IsOK(res1)) {
30272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30273 }
30274 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30275 {
30276 PyThreadState* __tstate = wxPyBeginAllowThreads();
30277 (arg1)->CreateControlBar();
30278 wxPyEndAllowThreads(__tstate);
30279 if (PyErr_Occurred()) SWIG_fail;
30280 }
30281 resultobj = SWIG_Py_Void();
30282 return resultobj;
30283 fail:
30284 return NULL;
30285 }
30286
30287
30288 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30289 PyObject *obj;
30290 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30291 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30292 return SWIG_Py_Void();
30293 }
30294
30295 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30296 return SWIG_Python_InitShadowInstance(args);
30297 }
30298
30299 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30300 PyObject *resultobj = 0;
30301 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30302 long arg2 ;
30303 wxWindow *arg3 = (wxWindow *) 0 ;
30304 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30305 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30306 wxSize const &arg5_defvalue = wxDefaultSize ;
30307 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30308 long arg6 = (long) 0 ;
30309 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30310 wxString *arg7 = (wxString *) &arg7_defvalue ;
30311 wxPyPreviewControlBar *result = 0 ;
30312 void *argp1 = 0 ;
30313 int res1 = 0 ;
30314 long val2 ;
30315 int ecode2 = 0 ;
30316 void *argp3 = 0 ;
30317 int res3 = 0 ;
30318 wxPoint temp4 ;
30319 wxSize temp5 ;
30320 long val6 ;
30321 int ecode6 = 0 ;
30322 bool temp7 = false ;
30323 PyObject * obj0 = 0 ;
30324 PyObject * obj1 = 0 ;
30325 PyObject * obj2 = 0 ;
30326 PyObject * obj3 = 0 ;
30327 PyObject * obj4 = 0 ;
30328 PyObject * obj5 = 0 ;
30329 PyObject * obj6 = 0 ;
30330 char * kwnames[] = {
30331 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30332 };
30333
30334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30336 if (!SWIG_IsOK(res1)) {
30337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30338 }
30339 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30340 ecode2 = SWIG_AsVal_long(obj1, &val2);
30341 if (!SWIG_IsOK(ecode2)) {
30342 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30343 }
30344 arg2 = static_cast< long >(val2);
30345 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30346 if (!SWIG_IsOK(res3)) {
30347 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30348 }
30349 arg3 = reinterpret_cast< wxWindow * >(argp3);
30350 if (obj3) {
30351 {
30352 arg4 = &temp4;
30353 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30354 }
30355 }
30356 if (obj4) {
30357 {
30358 arg5 = &temp5;
30359 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30360 }
30361 }
30362 if (obj5) {
30363 ecode6 = SWIG_AsVal_long(obj5, &val6);
30364 if (!SWIG_IsOK(ecode6)) {
30365 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30366 }
30367 arg6 = static_cast< long >(val6);
30368 }
30369 if (obj6) {
30370 {
30371 arg7 = wxString_in_helper(obj6);
30372 if (arg7 == NULL) SWIG_fail;
30373 temp7 = true;
30374 }
30375 }
30376 {
30377 if (!wxPyCheckForApp()) SWIG_fail;
30378 PyThreadState* __tstate = wxPyBeginAllowThreads();
30379 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30380 wxPyEndAllowThreads(__tstate);
30381 if (PyErr_Occurred()) SWIG_fail;
30382 }
30383 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30384 {
30385 if (temp7)
30386 delete arg7;
30387 }
30388 return resultobj;
30389 fail:
30390 {
30391 if (temp7)
30392 delete arg7;
30393 }
30394 return NULL;
30395 }
30396
30397
30398 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30399 PyObject *resultobj = 0;
30400 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30401 PyObject *arg2 = (PyObject *) 0 ;
30402 PyObject *arg3 = (PyObject *) 0 ;
30403 void *argp1 = 0 ;
30404 int res1 = 0 ;
30405 PyObject * obj0 = 0 ;
30406 PyObject * obj1 = 0 ;
30407 PyObject * obj2 = 0 ;
30408 char * kwnames[] = {
30409 (char *) "self",(char *) "self",(char *) "_class", NULL
30410 };
30411
30412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30414 if (!SWIG_IsOK(res1)) {
30415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30416 }
30417 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30418 arg2 = obj1;
30419 arg3 = obj2;
30420 {
30421 PyThreadState* __tstate = wxPyBeginAllowThreads();
30422 (arg1)->_setCallbackInfo(arg2,arg3);
30423 wxPyEndAllowThreads(__tstate);
30424 if (PyErr_Occurred()) SWIG_fail;
30425 }
30426 resultobj = SWIG_Py_Void();
30427 return resultobj;
30428 fail:
30429 return NULL;
30430 }
30431
30432
30433 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30434 PyObject *resultobj = 0;
30435 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30436 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30437 void *argp1 = 0 ;
30438 int res1 = 0 ;
30439 void *argp2 = 0 ;
30440 int res2 = 0 ;
30441 PyObject * obj0 = 0 ;
30442 PyObject * obj1 = 0 ;
30443 char * kwnames[] = {
30444 (char *) "self",(char *) "preview", NULL
30445 };
30446
30447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30449 if (!SWIG_IsOK(res1)) {
30450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30451 }
30452 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30453 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30454 if (!SWIG_IsOK(res2)) {
30455 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30456 }
30457 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30458 {
30459 PyThreadState* __tstate = wxPyBeginAllowThreads();
30460 (arg1)->SetPrintPreview(arg2);
30461 wxPyEndAllowThreads(__tstate);
30462 if (PyErr_Occurred()) SWIG_fail;
30463 }
30464 resultobj = SWIG_Py_Void();
30465 return resultobj;
30466 fail:
30467 return NULL;
30468 }
30469
30470
30471 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30472 PyObject *resultobj = 0;
30473 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30474 void *argp1 = 0 ;
30475 int res1 = 0 ;
30476 PyObject *swig_obj[1] ;
30477
30478 if (!args) SWIG_fail;
30479 swig_obj[0] = args;
30480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30481 if (!SWIG_IsOK(res1)) {
30482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30483 }
30484 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30485 {
30486 PyThreadState* __tstate = wxPyBeginAllowThreads();
30487 (arg1)->CreateButtons();
30488 wxPyEndAllowThreads(__tstate);
30489 if (PyErr_Occurred()) SWIG_fail;
30490 }
30491 resultobj = SWIG_Py_Void();
30492 return resultobj;
30493 fail:
30494 return NULL;
30495 }
30496
30497
30498 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30499 PyObject *resultobj = 0;
30500 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30501 int arg2 ;
30502 void *argp1 = 0 ;
30503 int res1 = 0 ;
30504 int val2 ;
30505 int ecode2 = 0 ;
30506 PyObject * obj0 = 0 ;
30507 PyObject * obj1 = 0 ;
30508 char * kwnames[] = {
30509 (char *) "self",(char *) "zoom", NULL
30510 };
30511
30512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30514 if (!SWIG_IsOK(res1)) {
30515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30516 }
30517 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30518 ecode2 = SWIG_AsVal_int(obj1, &val2);
30519 if (!SWIG_IsOK(ecode2)) {
30520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30521 }
30522 arg2 = static_cast< int >(val2);
30523 {
30524 PyThreadState* __tstate = wxPyBeginAllowThreads();
30525 (arg1)->SetZoomControl(arg2);
30526 wxPyEndAllowThreads(__tstate);
30527 if (PyErr_Occurred()) SWIG_fail;
30528 }
30529 resultobj = SWIG_Py_Void();
30530 return resultobj;
30531 fail:
30532 return NULL;
30533 }
30534
30535
30536 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30537 PyObject *obj;
30538 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30539 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30540 return SWIG_Py_Void();
30541 }
30542
30543 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30544 return SWIG_Python_InitShadowInstance(args);
30545 }
30546
30547 static PyMethodDef SwigMethods[] = {
30548 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30549 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30550 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30551 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30552 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30553 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30554 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30555 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30556 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30557 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30558 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30559 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30560 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30561 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30562 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30563 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30564 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30565 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30566 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30567 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30568 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30569 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30570 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30571 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30572 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30573 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30574 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30575 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30576 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30577 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30578 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30579 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30580 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30581 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30582 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30583 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
30584 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30585 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30586 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30587 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30588 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30589 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30590 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30591 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30592 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30593 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30594 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30595 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30596 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30597 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30598 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30599 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30600 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30601 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30602 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30603 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30604 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30605 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30606 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30607 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30608 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30609 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30610 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30611 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30612 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30613 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30614 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30615 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30616 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30617 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30618 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30619 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30620 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30621 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30622 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30623 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30624 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30625 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30626 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30627 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30628 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30629 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30630 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30631 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30632 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30633 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30634 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30635 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30636 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30637 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30638 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30639 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30640 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30641 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30642 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30643 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30644 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30645 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30646 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30647 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30648 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30649 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30650 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30651 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30652 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30653 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30654 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30655 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30656 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30657 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30658 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30659 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30660 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30661 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30662 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30663 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30664 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30665 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30666 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30667 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30668 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30669 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30670 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30671 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30672 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30673 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30674 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30675 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30676 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30677 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30678 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30679 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30680 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30681 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30682 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30683 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30684 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30685 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30686 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30687 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30688 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30689 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30690 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30691 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30692 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30693 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30694 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30695 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30696 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30697 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30698 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30699 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30700 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30701 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30702 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30703 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30704 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30705 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30706 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30707 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30708 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30709 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30710 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30711 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30712 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30713 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30714 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30715 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30716 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30717 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30718 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30719 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30720 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30721 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30722 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30723 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30724 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30725 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30726 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30727 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30728 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30729 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30730 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30731 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30732 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30733 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30734 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30735 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30736 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30737 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30738 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30739 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30740 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30741 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30742 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30743 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30744 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30745 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30746 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30747 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30748 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30749 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30750 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30751 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30752 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30753 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
30754 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30755 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
30756 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30757 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
30758 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
30759 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
30760 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30761 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30762 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
30763 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30764 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
30765 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
30766 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
30767 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30768 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
30769 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30770 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30771 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
30772 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30773 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30774 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30775 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
30776 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30777 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30778 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
30779 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30780 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30781 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30782 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
30783 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
30784 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30785 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
30786 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30787 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
30788 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
30789 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
30790 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30791 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
30792 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30793 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
30794 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
30795 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
30796 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
30797 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30798 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
30799 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
30800 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
30801 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
30802 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30803 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
30804 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30805 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30806 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30807 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
30808 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30809 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30810 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30811 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30812 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30813 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30814 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30815 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
30816 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30817 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30818 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30819 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30820 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30821 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
30822 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
30823 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30824 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
30825 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30826 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30827 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30828 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30829 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
30830 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30831 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30832 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30833 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
30834 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30835 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30836 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
30837 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30838 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
30839 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30840 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30841 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30842 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
30843 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30844 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
30845 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30846 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
30847 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30848 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
30849 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30850 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
30851 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
30852 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
30854 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30855 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30856 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30857 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
30858 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
30859 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
30860 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
30861 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
30862 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
30863 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30864 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
30865 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
30866 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
30867 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30868 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
30869 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
30870 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
30871 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
30872 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30873 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
30874 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
30875 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
30876 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
30877 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
30878 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
30879 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30880 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
30881 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30882 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30883 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
30884 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
30885 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30886 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
30887 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
30888 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
30889 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30890 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30891 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
30892 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
30893 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30894 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30895 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
30896 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
30897 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30898 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30899 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30900 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
30901 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30902 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
30903 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
30904 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
30905 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
30906 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
30907 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
30908 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
30909 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
30910 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
30911 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
30912 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
30913 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
30914 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30915 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
30916 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
30917 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
30918 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
30919 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30920 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
30921 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
30922 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30923 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
30924 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
30925 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30926 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
30927 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
30928 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
30929 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
30930 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30931 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
30932 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
30933 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
30934 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
30935 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
30936 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
30937 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
30938 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
30939 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
30940 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
30941 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
30942 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
30943 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
30944 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30945 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
30946 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30947 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30948 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
30949 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
30950 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30951 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
30952 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
30953 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
30954 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30955 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30956 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
30957 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
30958 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30959 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
30960 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
30961 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
30962 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
30963 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
30965 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
30966 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
30967 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
30968 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30969 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30971 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
30972 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
30973 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
30974 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
30975 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
30976 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
30977 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
30978 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30979 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30980 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30981 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
30982 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
30983 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30984 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
30985 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30986 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
30987 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
30988 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
30989 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
30990 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30991 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
30992 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30993 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
30994 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
30995 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
30996 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
30997 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
30998 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
30999 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31000 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31001 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31002 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31003 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31004 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31005 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31006 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31007 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31008 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31009 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31010 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31011 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31012 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31013 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31014 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31015 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31016 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31017 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31019 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31020 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31021 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31022 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31023 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31024 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31025 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31026 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31027 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31028 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31029 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31030 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31031 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31032 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31033 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31034 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31035 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31036 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31038 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31039 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31040 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31041 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31042 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31043 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31044 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31045 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31046 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31047 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31048 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31049 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31050 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31051 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31052 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31053 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31054 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31055 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31056 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31057 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31059 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31060 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31061 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31062 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31063 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31064 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31065 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31066 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31067 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31068 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31069 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31070 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31071 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31072 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31073 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31074 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31075 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31076 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31077 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31078 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31079 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31080 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31081 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31082 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31083 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31084 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31086 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31087 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31088 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31089 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31090 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31091 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31092 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31093 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31094 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31095 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31096 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31098 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31099 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31100 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31101 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31102 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31103 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31104 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31106 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31107 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31108 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31109 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31110 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31111 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31112 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31113 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31114 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31115 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31116 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31117 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31118 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31119 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31120 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31121 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31122 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31123 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31124 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31125 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31126 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31127 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31128 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31129 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31130 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31131 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31132 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31133 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31134 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31135 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31136 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31137 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31138 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31139 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31140 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31141 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31142 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31143 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31144 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31145 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31146 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31147 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31148 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31149 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31150 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31151 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31152 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31153 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31154 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31155 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31156 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31158 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31159 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31160 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31161 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31162 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31163 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31164 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31165 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31166 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31167 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31168 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31169 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31170 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31171 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31172 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31173 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31174 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31175 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31176 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31177 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31178 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31179 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31180 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31181 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31182 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31183 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31184 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31185 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31186 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31187 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31188 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31189 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31190 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31191 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31192 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31193 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31194 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31195 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31196 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31198 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31199 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31200 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31201 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31202 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31203 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31204 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31205 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31206 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31207 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31208 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31209 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31210 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31211 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31212 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31213 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31214 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31215 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31216 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31217 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31218 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31219 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31220 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31221 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31222 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31223 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31224 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31225 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31226 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31227 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31228 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31229 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31230 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31231 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31232 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31233 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31234 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31235 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31236 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31237 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31238 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31239 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31240 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31241 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31242 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31243 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31244 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31245 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31246 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31247 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31248 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31250 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31251 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31252 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31253 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31254 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31255 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31256 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31257 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31258 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31259 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31260 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31261 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31262 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31263 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31264 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31265 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31266 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31267 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31268 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31269 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31270 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31271 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31272 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31273 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31274 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31275 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31276 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31277 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31278 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31279 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31280 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31281 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31282 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31283 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31284 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31285 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31286 { NULL, NULL, 0, NULL }
31287 };
31288
31289
31290 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31291
31292 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31293 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31294 }
31295 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31296 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31297 }
31298 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31299 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31300 }
31301 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31302 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31303 }
31304 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31305 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31306 }
31307 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31308 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31309 }
31310 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31311 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31312 }
31313 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31314 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31315 }
31316 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31317 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31318 }
31319 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31320 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31321 }
31322 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31323 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31324 }
31325 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31326 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31327 }
31328 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31329 return (void *)((wxEvent *) ((wxPyEvent *) x));
31330 }
31331 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31332 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31333 }
31334 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31335 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31336 }
31337 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31338 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31339 }
31340 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31341 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31342 }
31343 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31344 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31345 }
31346 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31347 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31348 }
31349 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31350 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31351 }
31352 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31353 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31354 }
31355 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31356 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31357 }
31358 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31359 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31360 }
31361 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31362 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31363 }
31364 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31365 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31366 }
31367 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31368 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31369 }
31370 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31371 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31372 }
31373 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31374 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31375 }
31376 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31377 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31378 }
31379 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31380 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31381 }
31382 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31383 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31384 }
31385 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31386 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31387 }
31388 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31389 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31390 }
31391 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31392 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31393 }
31394 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31395 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31396 }
31397 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31398 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31399 }
31400 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31401 return (void *)((wxEvent *) ((wxShowEvent *) x));
31402 }
31403 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31404 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31405 }
31406 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31407 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31408 }
31409 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31410 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31411 }
31412 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31413 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31414 }
31415 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31416 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31417 }
31418 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31419 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31420 }
31421 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31422 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31423 }
31424 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31425 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31426 }
31427 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31428 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31429 }
31430 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31431 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31432 }
31433 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31434 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31435 }
31436 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31437 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31438 }
31439 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31440 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31441 }
31442 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31443 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31444 }
31445 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31446 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31447 }
31448 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31449 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31450 }
31451 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31452 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31453 }
31454 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31455 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31456 }
31457 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31458 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31459 }
31460 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31461 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31462 }
31463 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31464 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31465 }
31466 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31467 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31468 }
31469 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31470 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31471 }
31472 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31473 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31474 }
31475 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31476 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31477 }
31478 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31479 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31480 }
31481 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31482 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31483 }
31484 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31485 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31486 }
31487 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31488 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31489 }
31490 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31491 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31492 }
31493 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31494 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31495 }
31496 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31497 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31498 }
31499 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31500 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31501 }
31502 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31503 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31504 }
31505 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31506 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31507 }
31508 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31509 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31510 }
31511 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31512 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31513 }
31514 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31515 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31516 }
31517 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31518 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31519 }
31520 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31521 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31522 }
31523 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31524 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31525 }
31526 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31527 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31528 }
31529 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31530 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31531 }
31532 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31533 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31534 }
31535 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31536 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31537 }
31538 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31539 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31540 }
31541 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31542 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31543 }
31544 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31545 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31546 }
31547 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31548 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31549 }
31550 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31551 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31552 }
31553 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31554 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31555 }
31556 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31557 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31558 }
31559 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31560 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31561 }
31562 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31563 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31564 }
31565 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31566 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31567 }
31568 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31569 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31570 }
31571 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31572 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31573 }
31574 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31575 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31576 }
31577 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31578 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31579 }
31580 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31581 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31582 }
31583 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31584 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31585 }
31586 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31587 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31588 }
31589 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31590 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31591 }
31592 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31593 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31594 }
31595 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31596 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31597 }
31598 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31599 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31600 }
31601 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31602 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31603 }
31604 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31605 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31606 }
31607 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31609 }
31610 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31612 }
31613 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31614 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31615 }
31616 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31617 return (void *)((wxObject *) ((wxSizerItem *) x));
31618 }
31619 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31620 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31621 }
31622 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31623 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31624 }
31625 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31626 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31627 }
31628 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31629 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31630 }
31631 static void *_p_wxSizerTo_p_wxObject(void *x) {
31632 return (void *)((wxObject *) ((wxSizer *) x));
31633 }
31634 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31635 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31636 }
31637 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31638 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31639 }
31640 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31642 }
31643 static void *_p_wxEventTo_p_wxObject(void *x) {
31644 return (void *)((wxObject *) ((wxEvent *) x));
31645 }
31646 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31647 return (void *)((wxObject *) ((wxFontData *) x));
31648 }
31649 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31650 return (void *)((wxObject *) ((wxPrintData *) x));
31651 }
31652 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31653 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31654 }
31655 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31656 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31657 }
31658 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31659 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31660 }
31661 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31662 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31663 }
31664 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31665 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31666 }
31667 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31668 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31669 }
31670 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31671 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31672 }
31673 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31674 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31675 }
31676 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31677 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31678 }
31679 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31680 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31681 }
31682 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31683 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31684 }
31685 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31686 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31687 }
31688 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31689 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31690 }
31691 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31692 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31693 }
31694 static void *_p_wxControlTo_p_wxObject(void *x) {
31695 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31696 }
31697 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31698 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31699 }
31700 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31701 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31702 }
31703 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31704 return (void *)((wxObject *) ((wxFSFile *) x));
31705 }
31706 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31707 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31708 }
31709 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31710 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31711 }
31712 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31714 }
31715 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31716 return (void *)((wxObject *) ((wxColourData *) x));
31717 }
31718 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31719 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31720 }
31721 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31722 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31723 }
31724 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31725 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31726 }
31727 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31728 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31729 }
31730 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31732 }
31733 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31735 }
31736 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31738 }
31739 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31741 }
31742 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31743 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31744 }
31745 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31746 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31747 }
31748 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31750 }
31751 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31753 }
31754 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31755 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31756 }
31757 static void *_p_wxPrinterTo_p_wxObject(void *x) {
31758 return (void *)((wxObject *) ((wxPrinter *) x));
31759 }
31760 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31761 return (void *)((wxObject *) ((wxMenuItem *) x));
31762 }
31763 static void *_p_wxDateEventTo_p_wxObject(void *x) {
31764 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31765 }
31766 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31767 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31768 }
31769 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31770 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31771 }
31772 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31773 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31774 }
31775 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31776 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31777 }
31778 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31779 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31780 }
31781 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31782 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31783 }
31784 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31785 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31786 }
31787 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31788 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31789 }
31790 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31791 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31792 }
31793 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31794 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31795 }
31796 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31797 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31798 }
31799 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31800 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31801 }
31802 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31803 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31804 }
31805 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31806 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31807 }
31808 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31809 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31810 }
31811 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31812 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31813 }
31814 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31815 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31816 }
31817 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31818 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31819 }
31820 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31821 return (void *)((wxObject *) ((wxImageHandler *) x));
31822 }
31823 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31824 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31825 }
31826 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31827 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31828 }
31829 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31830 return (void *)((wxObject *) ((wxEvtHandler *) x));
31831 }
31832 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31833 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31834 }
31835 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31837 }
31838 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31839 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31840 }
31841 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31842 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31843 }
31844 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31845 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31846 }
31847 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31849 }
31850 static void *_p_wxImageTo_p_wxObject(void *x) {
31851 return (void *)((wxObject *) ((wxImage *) x));
31852 }
31853 static void *_p_wxFrameTo_p_wxObject(void *x) {
31854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31855 }
31856 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31857 return (void *)((wxObject *) ((wxPyPrintout *) x));
31858 }
31859 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31860 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31861 }
31862 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
31863 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
31864 }
31865 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
31866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
31867 }
31868 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
31869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31870 }
31871 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31872 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31873 }
31874 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31875 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31876 }
31877 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31878 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31879 }
31880 static void *_p_wxWindowTo_p_wxObject(void *x) {
31881 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31882 }
31883 static void *_p_wxMenuTo_p_wxObject(void *x) {
31884 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31885 }
31886 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31888 }
31889 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
31890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31891 }
31892 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
31893 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
31894 }
31895 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
31896 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
31897 }
31898 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
31899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
31900 }
31901 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
31902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
31903 }
31904 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
31905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31906 }
31907 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
31908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
31909 }
31910 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
31911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31912 }
31913 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
31914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31915 }
31916 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
31917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31918 }
31919 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
31920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
31921 }
31922 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
31923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31924 }
31925 static void *_p_wxSashEventTo_p_wxObject(void *x) {
31926 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
31927 }
31928 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
31929 return (void *)((wxObject *) ((wxPrintPreview *) x));
31930 }
31931 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
31932 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
31933 }
31934 static void *_p_wxPanelTo_p_wxObject(void *x) {
31935 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
31936 }
31937 static void *_p_wxDialogTo_p_wxObject(void *x) {
31938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31939 }
31940 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
31941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31942 }
31943 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
31944 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31945 }
31946 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
31947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31948 }
31949 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
31950 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
31951 }
31952 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
31953 return (void *)((wxObject *) ((wxPrintDialog *) x));
31954 }
31955 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31956 return (void *)((wxObject *) ((wxFileSystem *) x));
31957 }
31958 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31959 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31960 }
31961 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31962 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31963 }
31964 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31965 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31966 }
31967 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31968 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31969 }
31970 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31971 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31972 }
31973 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31974 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31975 }
31976 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31977 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31978 }
31979 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31980 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31981 }
31982 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
31983 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31984 }
31985 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
31986 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31987 }
31988 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31989 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31990 }
31991 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31992 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31993 }
31994 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31995 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31996 }
31997 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31999 }
32000 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32001 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32002 }
32003 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32004 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32005 }
32006 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32007 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32008 }
32009 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32010 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32011 }
32012 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32013 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32014 }
32015 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32016 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32017 }
32018 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32019 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32020 }
32021 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32022 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32023 }
32024 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32025 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32026 }
32027 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32028 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32029 }
32030 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32031 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32032 }
32033 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32034 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32035 }
32036 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32037 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32038 }
32039 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32040 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32041 }
32042 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32043 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32044 }
32045 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32046 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32047 }
32048 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32049 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32050 }
32051 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32052 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32053 }
32054 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32055 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32056 }
32057 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32058 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32059 }
32060 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32061 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32062 }
32063 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32064 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32065 }
32066 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32067 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32068 }
32069 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32070 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32071 }
32072 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32073 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32074 }
32075 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32076 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32077 }
32078 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32079 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32080 }
32081 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32082 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32083 }
32084 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32085 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32086 }
32087 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32088 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32089 }
32090 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32091 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32092 }
32093 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32094 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32095 }
32096 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32097 return (void *)((wxWindow *) ((wxMenuBar *) x));
32098 }
32099 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32100 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32101 }
32102 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32103 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32104 }
32105 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32106 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32107 }
32108 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32109 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32110 }
32111 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32112 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32113 }
32114 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32115 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32116 }
32117 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32118 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32119 }
32120 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32121 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32122 }
32123 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32124 return (void *)((wxWindow *) ((wxPanel *) x));
32125 }
32126 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32127 return (void *)((wxWindow *) ((wxStatusBar *) x));
32128 }
32129 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32130 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32131 }
32132 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32133 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32134 }
32135 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32136 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32137 }
32138 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32139 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32140 }
32141 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32142 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32143 }
32144 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32145 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32146 }
32147 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32148 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32149 }
32150 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32151 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32152 }
32153 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32154 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32155 }
32156 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32157 return (void *)((wxWindow *) ((wxSashWindow *) x));
32158 }
32159 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32160 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32161 }
32162 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32163 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32164 }
32165 static void *_p_wxControlTo_p_wxWindow(void *x) {
32166 return (void *)((wxWindow *) ((wxControl *) x));
32167 }
32168 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32169 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32170 }
32171 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32172 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32173 }
32174 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32175 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32176 }
32177 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32178 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32179 }
32180 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32181 return (void *)((wxWindow *) ((wxPyWindow *) x));
32182 }
32183 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32184 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32185 }
32186 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32187 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32188 }
32189 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32190 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32191 }
32192 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32193 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32194 }
32195 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32196 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32197 }
32198 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32199 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32200 }
32201 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32202 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32203 }
32204 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32205 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32206 }
32207 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32208 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32209 }
32210 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32211 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32212 }
32213 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32214 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32215 }
32216 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32217 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32218 }
32219 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32220 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32221 }
32222 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32223 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32224 }
32225 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32226 return (void *)((wxDialog *) ((wxColourDialog *) x));
32227 }
32228 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32229 return (void *)((wxDialog *) ((wxDirDialog *) x));
32230 }
32231 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32232 return (void *)((wxDialog *) ((wxFontDialog *) x));
32233 }
32234 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32235 return (void *)((wxDialog *) ((wxFileDialog *) x));
32236 }
32237 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32238 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32239 }
32240 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32241 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32242 }
32243 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32244 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32245 }
32246 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32247 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32248 }
32249 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32250 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32251 }
32252 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32253 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32254 }
32255 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32256 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32257 }
32258 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32259 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32260 }
32261 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32262 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32263 }
32264 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32265 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32266 }
32267 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32268 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32269 }
32270 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32271 return (void *)((wxPanel *) ((wxPyPanel *) x));
32272 }
32273 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32274 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32275 }
32276 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32277 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32278 }
32279 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32280 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32281 }
32282 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32283 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32284 }
32285 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32286 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32287 }
32288 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32289 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32290 }
32291 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32292 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32293 }
32294 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32295 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32296 }
32297 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32298 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32299 }
32300 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32301 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32302 }
32303 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32304 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32305 }
32306 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32307 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32308 }
32309 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32310 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32311 }
32312 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32313 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32314 }
32315 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32316 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32317 }
32318 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32319 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32320 }
32321 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32322 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32323 }
32324 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32325 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32326 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};
32327 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32328 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32329 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32330 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32331 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32332 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32333 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32334 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32335 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32336 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32337 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32338 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32339 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32340 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32341 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32342 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32343 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32344 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32345 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32346 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32347 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32348 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32349 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32350 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32351 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32352 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32353 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32354 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32355 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32356 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32357 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32358 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32359 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32360 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32361 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32362 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32363 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32364 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32365 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32366 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32367 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32368 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32369 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32370 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32371 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32372 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32373 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32374 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32375 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32376 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32377 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32378 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32379 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32380 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32381 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32382 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32383 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32384 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32385 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32386 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32387 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32388 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32389 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32390 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32391 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32392 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32393 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32394 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32395 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32396 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32397 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32398 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32399 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32400 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32401 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32402 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32403 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32404 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32405 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32406 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32407 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32408 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32409 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32410 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32411 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32412 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32413 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32414 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32415 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32416 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32417 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32418 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32419 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32420 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32421 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32422 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32423 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32424 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32425 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32426 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32427 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32428 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32429 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32430 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32431 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32432 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32433 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32434 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32435 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32436 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32437 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32438 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32439 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32440 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32441 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32442 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32443 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32444 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32445 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32446 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32447 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32448 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32449 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32450 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32451 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32452 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32453 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32454 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32455 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32456 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32457 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32458 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32459 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32460 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32461 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32462 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32463 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32464 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32465 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32466 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32467 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32468 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32469 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32470 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32471 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32472 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32473 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32474 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32475 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32476 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32477 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32478 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32479 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32480 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32481 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32482 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32483 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32484 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32485 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32486 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32487
32488 static swig_type_info *swig_type_initial[] = {
32489 &_swigt__p_bool,
32490 &_swigt__p_char,
32491 &_swigt__p_form_ops_t,
32492 &_swigt__p_int,
32493 &_swigt__p_unsigned_char,
32494 &_swigt__p_unsigned_int,
32495 &_swigt__p_unsigned_long,
32496 &_swigt__p_wxANIHandler,
32497 &_swigt__p_wxAcceleratorTable,
32498 &_swigt__p_wxActivateEvent,
32499 &_swigt__p_wxArrayInt,
32500 &_swigt__p_wxBMPHandler,
32501 &_swigt__p_wxBitmap,
32502 &_swigt__p_wxBoxSizer,
32503 &_swigt__p_wxCURHandler,
32504 &_swigt__p_wxCalculateLayoutEvent,
32505 &_swigt__p_wxChildFocusEvent,
32506 &_swigt__p_wxClipboardTextEvent,
32507 &_swigt__p_wxCloseEvent,
32508 &_swigt__p_wxColour,
32509 &_swigt__p_wxColourData,
32510 &_swigt__p_wxColourDialog,
32511 &_swigt__p_wxCommandEvent,
32512 &_swigt__p_wxContextMenuEvent,
32513 &_swigt__p_wxControl,
32514 &_swigt__p_wxControlWithItems,
32515 &_swigt__p_wxDC,
32516 &_swigt__p_wxDateEvent,
32517 &_swigt__p_wxDialog,
32518 &_swigt__p_wxDirDialog,
32519 &_swigt__p_wxDisplayChangedEvent,
32520 &_swigt__p_wxDropFilesEvent,
32521 &_swigt__p_wxDuplexMode,
32522 &_swigt__p_wxEraseEvent,
32523 &_swigt__p_wxEvent,
32524 &_swigt__p_wxEvtHandler,
32525 &_swigt__p_wxFSFile,
32526 &_swigt__p_wxFileDialog,
32527 &_swigt__p_wxFileSystem,
32528 &_swigt__p_wxFindDialogEvent,
32529 &_swigt__p_wxFindReplaceData,
32530 &_swigt__p_wxFindReplaceDialog,
32531 &_swigt__p_wxFlexGridSizer,
32532 &_swigt__p_wxFocusEvent,
32533 &_swigt__p_wxFont,
32534 &_swigt__p_wxFontData,
32535 &_swigt__p_wxFontDialog,
32536 &_swigt__p_wxFrame,
32537 &_swigt__p_wxGBSizerItem,
32538 &_swigt__p_wxGIFHandler,
32539 &_swigt__p_wxGridBagSizer,
32540 &_swigt__p_wxGridSizer,
32541 &_swigt__p_wxHtmlLinkInfo,
32542 &_swigt__p_wxICOHandler,
32543 &_swigt__p_wxIcon,
32544 &_swigt__p_wxIconBundle,
32545 &_swigt__p_wxIconizeEvent,
32546 &_swigt__p_wxIdleEvent,
32547 &_swigt__p_wxImage,
32548 &_swigt__p_wxImageHandler,
32549 &_swigt__p_wxIndividualLayoutConstraint,
32550 &_swigt__p_wxInitDialogEvent,
32551 &_swigt__p_wxJPEGHandler,
32552 &_swigt__p_wxKeyEvent,
32553 &_swigt__p_wxLayoutAlgorithm,
32554 &_swigt__p_wxLayoutConstraints,
32555 &_swigt__p_wxMDIChildFrame,
32556 &_swigt__p_wxMDIClientWindow,
32557 &_swigt__p_wxMDIParentFrame,
32558 &_swigt__p_wxMaximizeEvent,
32559 &_swigt__p_wxMenu,
32560 &_swigt__p_wxMenuBar,
32561 &_swigt__p_wxMenuEvent,
32562 &_swigt__p_wxMenuItem,
32563 &_swigt__p_wxMessageDialog,
32564 &_swigt__p_wxMiniFrame,
32565 &_swigt__p_wxMouseCaptureChangedEvent,
32566 &_swigt__p_wxMouseEvent,
32567 &_swigt__p_wxMoveEvent,
32568 &_swigt__p_wxMultiChoiceDialog,
32569 &_swigt__p_wxNavigationKeyEvent,
32570 &_swigt__p_wxNcPaintEvent,
32571 &_swigt__p_wxNotifyEvent,
32572 &_swigt__p_wxObject,
32573 &_swigt__p_wxPCXHandler,
32574 &_swigt__p_wxPNGHandler,
32575 &_swigt__p_wxPNMHandler,
32576 &_swigt__p_wxPageSetupDialog,
32577 &_swigt__p_wxPageSetupDialogData,
32578 &_swigt__p_wxPaintEvent,
32579 &_swigt__p_wxPaletteChangedEvent,
32580 &_swigt__p_wxPanel,
32581 &_swigt__p_wxPaperSize,
32582 &_swigt__p_wxPasswordEntryDialog,
32583 &_swigt__p_wxPoint,
32584 &_swigt__p_wxPopupWindow,
32585 &_swigt__p_wxPreviewCanvas,
32586 &_swigt__p_wxPreviewControlBar,
32587 &_swigt__p_wxPreviewFrame,
32588 &_swigt__p_wxPrintData,
32589 &_swigt__p_wxPrintDialog,
32590 &_swigt__p_wxPrintDialogData,
32591 &_swigt__p_wxPrintPreview,
32592 &_swigt__p_wxPrinter,
32593 &_swigt__p_wxProgressDialog,
32594 &_swigt__p_wxPyApp,
32595 &_swigt__p_wxPyCommandEvent,
32596 &_swigt__p_wxPyEvent,
32597 &_swigt__p_wxPyHtmlListBox,
32598 &_swigt__p_wxPyImageHandler,
32599 &_swigt__p_wxPyPanel,
32600 &_swigt__p_wxPyPopupTransientWindow,
32601 &_swigt__p_wxPyPreviewControlBar,
32602 &_swigt__p_wxPyPreviewFrame,
32603 &_swigt__p_wxPyPrintPreview,
32604 &_swigt__p_wxPyPrintout,
32605 &_swigt__p_wxPyScrolledWindow,
32606 &_swigt__p_wxPySizer,
32607 &_swigt__p_wxPyTaskBarIcon,
32608 &_swigt__p_wxPyVListBox,
32609 &_swigt__p_wxPyVScrolledWindow,
32610 &_swigt__p_wxPyValidator,
32611 &_swigt__p_wxPyWindow,
32612 &_swigt__p_wxQueryLayoutInfoEvent,
32613 &_swigt__p_wxQueryNewPaletteEvent,
32614 &_swigt__p_wxRect,
32615 &_swigt__p_wxRegion,
32616 &_swigt__p_wxSashEvent,
32617 &_swigt__p_wxSashLayoutWindow,
32618 &_swigt__p_wxSashWindow,
32619 &_swigt__p_wxScrollEvent,
32620 &_swigt__p_wxScrollWinEvent,
32621 &_swigt__p_wxScrolledWindow,
32622 &_swigt__p_wxSetCursorEvent,
32623 &_swigt__p_wxShowEvent,
32624 &_swigt__p_wxSingleChoiceDialog,
32625 &_swigt__p_wxSize,
32626 &_swigt__p_wxSizeEvent,
32627 &_swigt__p_wxSizer,
32628 &_swigt__p_wxSizerItem,
32629 &_swigt__p_wxSplashScreen,
32630 &_swigt__p_wxSplashScreenWindow,
32631 &_swigt__p_wxSplitterEvent,
32632 &_swigt__p_wxSplitterWindow,
32633 &_swigt__p_wxStaticBoxSizer,
32634 &_swigt__p_wxStatusBar,
32635 &_swigt__p_wxStdDialogButtonSizer,
32636 &_swigt__p_wxString,
32637 &_swigt__p_wxSysColourChangedEvent,
32638 &_swigt__p_wxTIFFHandler,
32639 &_swigt__p_wxTaskBarIcon,
32640 &_swigt__p_wxTaskBarIconEvent,
32641 &_swigt__p_wxTextEntryDialog,
32642 &_swigt__p_wxTipWindow,
32643 &_swigt__p_wxToolBar,
32644 &_swigt__p_wxTopLevelWindow,
32645 &_swigt__p_wxUpdateUIEvent,
32646 &_swigt__p_wxValidator,
32647 &_swigt__p_wxVisualAttributes,
32648 &_swigt__p_wxWindow,
32649 &_swigt__p_wxWindowCreateEvent,
32650 &_swigt__p_wxWindowDestroyEvent,
32651 &_swigt__p_wxXPMHandler,
32652 };
32653
32654 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32655 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32656 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32657 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32658 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32660 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32672 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32673 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32676 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}};
32677 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32678 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32679 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32680 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32681 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32682 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32683 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32686 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32687 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32688 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32689 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32690 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32691 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32699 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32700 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32701 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32702 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32703 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32704 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32706 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32707 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32711 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32712 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32713 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32714 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32715 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32716 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32717 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32718 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32719 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32720 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32721 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
32722 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32723 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32724 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32725 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32726 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32727 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32728 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32729 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32730 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32731 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32732 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32733 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32734 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}};
32735 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32736 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32737 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32738 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32739 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32740 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32741 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32742 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32743 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32744 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32745 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32746 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32747 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32748 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32749 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32750 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32751 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32752 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32753 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32754 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32755 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32756 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32757 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32758 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32759 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32760 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32761 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32762 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32763 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32764 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32765 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32766 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}};
32767 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32768 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32769 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32770 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
32771 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32772 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}};
32773 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}};
32774 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32775 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32776 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32777 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}};
32778 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32779 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32780 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32781 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32782 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0},{0, 0, 0, 0}};
32783 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32784 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32785 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32786 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32787 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32788 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32789 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}};
32790 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}};
32791 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32792 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32793 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32794 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32795 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32796 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32797 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}};
32798 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32799 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}};
32800 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32801 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32802 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32803 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32804 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32805 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32806 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32807 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32808 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32809 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32810 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32811 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}};
32812 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32813 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32814 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
32815 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32816 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32817
32818 static swig_cast_info *swig_cast_initial[] = {
32819 _swigc__p_bool,
32820 _swigc__p_char,
32821 _swigc__p_form_ops_t,
32822 _swigc__p_int,
32823 _swigc__p_unsigned_char,
32824 _swigc__p_unsigned_int,
32825 _swigc__p_unsigned_long,
32826 _swigc__p_wxANIHandler,
32827 _swigc__p_wxAcceleratorTable,
32828 _swigc__p_wxActivateEvent,
32829 _swigc__p_wxArrayInt,
32830 _swigc__p_wxBMPHandler,
32831 _swigc__p_wxBitmap,
32832 _swigc__p_wxBoxSizer,
32833 _swigc__p_wxCURHandler,
32834 _swigc__p_wxCalculateLayoutEvent,
32835 _swigc__p_wxChildFocusEvent,
32836 _swigc__p_wxClipboardTextEvent,
32837 _swigc__p_wxCloseEvent,
32838 _swigc__p_wxColour,
32839 _swigc__p_wxColourData,
32840 _swigc__p_wxColourDialog,
32841 _swigc__p_wxCommandEvent,
32842 _swigc__p_wxContextMenuEvent,
32843 _swigc__p_wxControl,
32844 _swigc__p_wxControlWithItems,
32845 _swigc__p_wxDC,
32846 _swigc__p_wxDateEvent,
32847 _swigc__p_wxDialog,
32848 _swigc__p_wxDirDialog,
32849 _swigc__p_wxDisplayChangedEvent,
32850 _swigc__p_wxDropFilesEvent,
32851 _swigc__p_wxDuplexMode,
32852 _swigc__p_wxEraseEvent,
32853 _swigc__p_wxEvent,
32854 _swigc__p_wxEvtHandler,
32855 _swigc__p_wxFSFile,
32856 _swigc__p_wxFileDialog,
32857 _swigc__p_wxFileSystem,
32858 _swigc__p_wxFindDialogEvent,
32859 _swigc__p_wxFindReplaceData,
32860 _swigc__p_wxFindReplaceDialog,
32861 _swigc__p_wxFlexGridSizer,
32862 _swigc__p_wxFocusEvent,
32863 _swigc__p_wxFont,
32864 _swigc__p_wxFontData,
32865 _swigc__p_wxFontDialog,
32866 _swigc__p_wxFrame,
32867 _swigc__p_wxGBSizerItem,
32868 _swigc__p_wxGIFHandler,
32869 _swigc__p_wxGridBagSizer,
32870 _swigc__p_wxGridSizer,
32871 _swigc__p_wxHtmlLinkInfo,
32872 _swigc__p_wxICOHandler,
32873 _swigc__p_wxIcon,
32874 _swigc__p_wxIconBundle,
32875 _swigc__p_wxIconizeEvent,
32876 _swigc__p_wxIdleEvent,
32877 _swigc__p_wxImage,
32878 _swigc__p_wxImageHandler,
32879 _swigc__p_wxIndividualLayoutConstraint,
32880 _swigc__p_wxInitDialogEvent,
32881 _swigc__p_wxJPEGHandler,
32882 _swigc__p_wxKeyEvent,
32883 _swigc__p_wxLayoutAlgorithm,
32884 _swigc__p_wxLayoutConstraints,
32885 _swigc__p_wxMDIChildFrame,
32886 _swigc__p_wxMDIClientWindow,
32887 _swigc__p_wxMDIParentFrame,
32888 _swigc__p_wxMaximizeEvent,
32889 _swigc__p_wxMenu,
32890 _swigc__p_wxMenuBar,
32891 _swigc__p_wxMenuEvent,
32892 _swigc__p_wxMenuItem,
32893 _swigc__p_wxMessageDialog,
32894 _swigc__p_wxMiniFrame,
32895 _swigc__p_wxMouseCaptureChangedEvent,
32896 _swigc__p_wxMouseEvent,
32897 _swigc__p_wxMoveEvent,
32898 _swigc__p_wxMultiChoiceDialog,
32899 _swigc__p_wxNavigationKeyEvent,
32900 _swigc__p_wxNcPaintEvent,
32901 _swigc__p_wxNotifyEvent,
32902 _swigc__p_wxObject,
32903 _swigc__p_wxPCXHandler,
32904 _swigc__p_wxPNGHandler,
32905 _swigc__p_wxPNMHandler,
32906 _swigc__p_wxPageSetupDialog,
32907 _swigc__p_wxPageSetupDialogData,
32908 _swigc__p_wxPaintEvent,
32909 _swigc__p_wxPaletteChangedEvent,
32910 _swigc__p_wxPanel,
32911 _swigc__p_wxPaperSize,
32912 _swigc__p_wxPasswordEntryDialog,
32913 _swigc__p_wxPoint,
32914 _swigc__p_wxPopupWindow,
32915 _swigc__p_wxPreviewCanvas,
32916 _swigc__p_wxPreviewControlBar,
32917 _swigc__p_wxPreviewFrame,
32918 _swigc__p_wxPrintData,
32919 _swigc__p_wxPrintDialog,
32920 _swigc__p_wxPrintDialogData,
32921 _swigc__p_wxPrintPreview,
32922 _swigc__p_wxPrinter,
32923 _swigc__p_wxProgressDialog,
32924 _swigc__p_wxPyApp,
32925 _swigc__p_wxPyCommandEvent,
32926 _swigc__p_wxPyEvent,
32927 _swigc__p_wxPyHtmlListBox,
32928 _swigc__p_wxPyImageHandler,
32929 _swigc__p_wxPyPanel,
32930 _swigc__p_wxPyPopupTransientWindow,
32931 _swigc__p_wxPyPreviewControlBar,
32932 _swigc__p_wxPyPreviewFrame,
32933 _swigc__p_wxPyPrintPreview,
32934 _swigc__p_wxPyPrintout,
32935 _swigc__p_wxPyScrolledWindow,
32936 _swigc__p_wxPySizer,
32937 _swigc__p_wxPyTaskBarIcon,
32938 _swigc__p_wxPyVListBox,
32939 _swigc__p_wxPyVScrolledWindow,
32940 _swigc__p_wxPyValidator,
32941 _swigc__p_wxPyWindow,
32942 _swigc__p_wxQueryLayoutInfoEvent,
32943 _swigc__p_wxQueryNewPaletteEvent,
32944 _swigc__p_wxRect,
32945 _swigc__p_wxRegion,
32946 _swigc__p_wxSashEvent,
32947 _swigc__p_wxSashLayoutWindow,
32948 _swigc__p_wxSashWindow,
32949 _swigc__p_wxScrollEvent,
32950 _swigc__p_wxScrollWinEvent,
32951 _swigc__p_wxScrolledWindow,
32952 _swigc__p_wxSetCursorEvent,
32953 _swigc__p_wxShowEvent,
32954 _swigc__p_wxSingleChoiceDialog,
32955 _swigc__p_wxSize,
32956 _swigc__p_wxSizeEvent,
32957 _swigc__p_wxSizer,
32958 _swigc__p_wxSizerItem,
32959 _swigc__p_wxSplashScreen,
32960 _swigc__p_wxSplashScreenWindow,
32961 _swigc__p_wxSplitterEvent,
32962 _swigc__p_wxSplitterWindow,
32963 _swigc__p_wxStaticBoxSizer,
32964 _swigc__p_wxStatusBar,
32965 _swigc__p_wxStdDialogButtonSizer,
32966 _swigc__p_wxString,
32967 _swigc__p_wxSysColourChangedEvent,
32968 _swigc__p_wxTIFFHandler,
32969 _swigc__p_wxTaskBarIcon,
32970 _swigc__p_wxTaskBarIconEvent,
32971 _swigc__p_wxTextEntryDialog,
32972 _swigc__p_wxTipWindow,
32973 _swigc__p_wxToolBar,
32974 _swigc__p_wxTopLevelWindow,
32975 _swigc__p_wxUpdateUIEvent,
32976 _swigc__p_wxValidator,
32977 _swigc__p_wxVisualAttributes,
32978 _swigc__p_wxWindow,
32979 _swigc__p_wxWindowCreateEvent,
32980 _swigc__p_wxWindowDestroyEvent,
32981 _swigc__p_wxXPMHandler,
32982 };
32983
32984
32985 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32986
32987 static swig_const_info swig_const_table[] = {
32988 {0, 0, 0, 0.0, 0, 0}};
32989
32990 #ifdef __cplusplus
32991 }
32992 #endif
32993 /* -----------------------------------------------------------------------------
32994 * Type initialization:
32995 * This problem is tough by the requirement that no dynamic
32996 * memory is used. Also, since swig_type_info structures store pointers to
32997 * swig_cast_info structures and swig_cast_info structures store pointers back
32998 * to swig_type_info structures, we need some lookup code at initialization.
32999 * The idea is that swig generates all the structures that are needed.
33000 * The runtime then collects these partially filled structures.
33001 * The SWIG_InitializeModule function takes these initial arrays out of
33002 * swig_module, and does all the lookup, filling in the swig_module.types
33003 * array with the correct data and linking the correct swig_cast_info
33004 * structures together.
33005 *
33006 * The generated swig_type_info structures are assigned staticly to an initial
33007 * array. We just loop though that array, and handle each type individually.
33008 * First we lookup if this type has been already loaded, and if so, use the
33009 * loaded structure instead of the generated one. Then we have to fill in the
33010 * cast linked list. The cast data is initially stored in something like a
33011 * two-dimensional array. Each row corresponds to a type (there are the same
33012 * number of rows as there are in the swig_type_initial array). Each entry in
33013 * a column is one of the swig_cast_info structures for that type.
33014 * The cast_initial array is actually an array of arrays, because each row has
33015 * a variable number of columns. So to actually build the cast linked list,
33016 * we find the array of casts associated with the type, and loop through it
33017 * adding the casts to the list. The one last trick we need to do is making
33018 * sure the type pointer in the swig_cast_info struct is correct.
33019 *
33020 * First off, we lookup the cast->type name to see if it is already loaded.
33021 * There are three cases to handle:
33022 * 1) If the cast->type has already been loaded AND the type we are adding
33023 * casting info to has not been loaded (it is in this module), THEN we
33024 * replace the cast->type pointer with the type pointer that has already
33025 * been loaded.
33026 * 2) If BOTH types (the one we are adding casting info to, and the
33027 * cast->type) are loaded, THEN the cast info has already been loaded by
33028 * the previous module so we just ignore it.
33029 * 3) Finally, if cast->type has not already been loaded, then we add that
33030 * swig_cast_info to the linked list (because the cast->type) pointer will
33031 * be correct.
33032 * ----------------------------------------------------------------------------- */
33033
33034 #ifdef __cplusplus
33035 extern "C" {
33036 #if 0
33037 } /* c-mode */
33038 #endif
33039 #endif
33040
33041 #if 0
33042 #define SWIGRUNTIME_DEBUG
33043 #endif
33044
33045 SWIGRUNTIME void
33046 SWIG_InitializeModule(void *clientdata) {
33047 size_t i;
33048 swig_module_info *module_head;
33049 static int init_run = 0;
33050
33051 clientdata = clientdata;
33052
33053 if (init_run) return;
33054 init_run = 1;
33055
33056 /* Initialize the swig_module */
33057 swig_module.type_initial = swig_type_initial;
33058 swig_module.cast_initial = swig_cast_initial;
33059
33060 /* Try and load any already created modules */
33061 module_head = SWIG_GetModule(clientdata);
33062 if (module_head) {
33063 swig_module.next = module_head->next;
33064 module_head->next = &swig_module;
33065 } else {
33066 /* This is the first module loaded */
33067 swig_module.next = &swig_module;
33068 SWIG_SetModule(clientdata, &swig_module);
33069 }
33070
33071 /* Now work on filling in swig_module.types */
33072 #ifdef SWIGRUNTIME_DEBUG
33073 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33074 #endif
33075 for (i = 0; i < swig_module.size; ++i) {
33076 swig_type_info *type = 0;
33077 swig_type_info *ret;
33078 swig_cast_info *cast;
33079
33080 #ifdef SWIGRUNTIME_DEBUG
33081 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33082 #endif
33083
33084 /* if there is another module already loaded */
33085 if (swig_module.next != &swig_module) {
33086 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33087 }
33088 if (type) {
33089 /* Overwrite clientdata field */
33090 #ifdef SWIGRUNTIME_DEBUG
33091 printf("SWIG_InitializeModule: found type %s\n", type->name);
33092 #endif
33093 if (swig_module.type_initial[i]->clientdata) {
33094 type->clientdata = swig_module.type_initial[i]->clientdata;
33095 #ifdef SWIGRUNTIME_DEBUG
33096 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33097 #endif
33098 }
33099 } else {
33100 type = swig_module.type_initial[i];
33101 }
33102
33103 /* Insert casting types */
33104 cast = swig_module.cast_initial[i];
33105 while (cast->type) {
33106 /* Don't need to add information already in the list */
33107 ret = 0;
33108 #ifdef SWIGRUNTIME_DEBUG
33109 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33110 #endif
33111 if (swig_module.next != &swig_module) {
33112 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33113 #ifdef SWIGRUNTIME_DEBUG
33114 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33115 #endif
33116 }
33117 if (ret) {
33118 if (type == swig_module.type_initial[i]) {
33119 #ifdef SWIGRUNTIME_DEBUG
33120 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33121 #endif
33122 cast->type = ret;
33123 ret = 0;
33124 } else {
33125 /* Check for casting already in the list */
33126 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33127 #ifdef SWIGRUNTIME_DEBUG
33128 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33129 #endif
33130 if (!ocast) ret = 0;
33131 }
33132 }
33133
33134 if (!ret) {
33135 #ifdef SWIGRUNTIME_DEBUG
33136 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33137 #endif
33138 if (type->cast) {
33139 type->cast->prev = cast;
33140 cast->next = type->cast;
33141 }
33142 type->cast = cast;
33143 }
33144 cast++;
33145 }
33146 /* Set entry in modules->types array equal to the type */
33147 swig_module.types[i] = type;
33148 }
33149 swig_module.types[i] = 0;
33150
33151 #ifdef SWIGRUNTIME_DEBUG
33152 printf("**** SWIG_InitializeModule: Cast List ******\n");
33153 for (i = 0; i < swig_module.size; ++i) {
33154 int j = 0;
33155 swig_cast_info *cast = swig_module.cast_initial[i];
33156 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33157 while (cast->type) {
33158 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33159 cast++;
33160 ++j;
33161 }
33162 printf("---- Total casts: %d\n",j);
33163 }
33164 printf("**** SWIG_InitializeModule: Cast List ******\n");
33165 #endif
33166 }
33167
33168 /* This function will propagate the clientdata field of type to
33169 * any new swig_type_info structures that have been added into the list
33170 * of equivalent types. It is like calling
33171 * SWIG_TypeClientData(type, clientdata) a second time.
33172 */
33173 SWIGRUNTIME void
33174 SWIG_PropagateClientData(void) {
33175 size_t i;
33176 swig_cast_info *equiv;
33177 static int init_run = 0;
33178
33179 if (init_run) return;
33180 init_run = 1;
33181
33182 for (i = 0; i < swig_module.size; i++) {
33183 if (swig_module.types[i]->clientdata) {
33184 equiv = swig_module.types[i]->cast;
33185 while (equiv) {
33186 if (!equiv->converter) {
33187 if (equiv->type && !equiv->type->clientdata)
33188 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33189 }
33190 equiv = equiv->next;
33191 }
33192 }
33193 }
33194 }
33195
33196 #ifdef __cplusplus
33197 #if 0
33198 {
33199 /* c-mode */
33200 #endif
33201 }
33202 #endif
33203
33204
33205
33206 #ifdef __cplusplus
33207 extern "C" {
33208 #endif
33209
33210 /* Python-specific SWIG API */
33211 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33212 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33213 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33214
33215 /* -----------------------------------------------------------------------------
33216 * global variable support code.
33217 * ----------------------------------------------------------------------------- */
33218
33219 typedef struct swig_globalvar {
33220 char *name; /* Name of global variable */
33221 PyObject *(*get_attr)(void); /* Return the current value */
33222 int (*set_attr)(PyObject *); /* Set the value */
33223 struct swig_globalvar *next;
33224 } swig_globalvar;
33225
33226 typedef struct swig_varlinkobject {
33227 PyObject_HEAD
33228 swig_globalvar *vars;
33229 } swig_varlinkobject;
33230
33231 SWIGINTERN PyObject *
33232 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33233 return PyString_FromString("<Swig global variables>");
33234 }
33235
33236 SWIGINTERN PyObject *
33237 swig_varlink_str(swig_varlinkobject *v) {
33238 PyObject *str = PyString_FromString("(");
33239 swig_globalvar *var;
33240 for (var = v->vars; var; var=var->next) {
33241 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33242 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33243 }
33244 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33245 return str;
33246 }
33247
33248 SWIGINTERN int
33249 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33250 PyObject *str = swig_varlink_str(v);
33251 fprintf(fp,"Swig global variables ");
33252 fprintf(fp,"%s\n", PyString_AsString(str));
33253 Py_DECREF(str);
33254 return 0;
33255 }
33256
33257 SWIGINTERN void
33258 swig_varlink_dealloc(swig_varlinkobject *v) {
33259 swig_globalvar *var = v->vars;
33260 while (var) {
33261 swig_globalvar *n = var->next;
33262 free(var->name);
33263 free(var);
33264 var = n;
33265 }
33266 }
33267
33268 SWIGINTERN PyObject *
33269 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33270 PyObject *res = NULL;
33271 swig_globalvar *var = v->vars;
33272 while (var) {
33273 if (strcmp(var->name,n) == 0) {
33274 res = (*var->get_attr)();
33275 break;
33276 }
33277 var = var->next;
33278 }
33279 if (res == NULL && !PyErr_Occurred()) {
33280 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33281 }
33282 return res;
33283 }
33284
33285 SWIGINTERN int
33286 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33287 int res = 1;
33288 swig_globalvar *var = v->vars;
33289 while (var) {
33290 if (strcmp(var->name,n) == 0) {
33291 res = (*var->set_attr)(p);
33292 break;
33293 }
33294 var = var->next;
33295 }
33296 if (res == 1 && !PyErr_Occurred()) {
33297 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33298 }
33299 return res;
33300 }
33301
33302 SWIGINTERN PyTypeObject*
33303 swig_varlink_type(void) {
33304 static char varlink__doc__[] = "Swig var link object";
33305 static PyTypeObject varlink_type;
33306 static int type_init = 0;
33307 if (!type_init) {
33308 const PyTypeObject tmp
33309 = {
33310 PyObject_HEAD_INIT(NULL)
33311 0, /* Number of items in variable part (ob_size) */
33312 (char *)"swigvarlink", /* Type name (tp_name) */
33313 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33314 0, /* Itemsize (tp_itemsize) */
33315 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33316 (printfunc) swig_varlink_print, /* Print (tp_print) */
33317 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33318 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33319 0, /* tp_compare */
33320 (reprfunc) swig_varlink_repr, /* tp_repr */
33321 0, /* tp_as_number */
33322 0, /* tp_as_sequence */
33323 0, /* tp_as_mapping */
33324 0, /* tp_hash */
33325 0, /* tp_call */
33326 (reprfunc)swig_varlink_str, /* tp_str */
33327 0, /* tp_getattro */
33328 0, /* tp_setattro */
33329 0, /* tp_as_buffer */
33330 0, /* tp_flags */
33331 varlink__doc__, /* tp_doc */
33332 0, /* tp_traverse */
33333 0, /* tp_clear */
33334 0, /* tp_richcompare */
33335 0, /* tp_weaklistoffset */
33336 #if PY_VERSION_HEX >= 0x02020000
33337 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33338 #endif
33339 #if PY_VERSION_HEX >= 0x02030000
33340 0, /* tp_del */
33341 #endif
33342 #ifdef COUNT_ALLOCS
33343 0,0,0,0 /* tp_alloc -> tp_next */
33344 #endif
33345 };
33346 varlink_type = tmp;
33347 varlink_type.ob_type = &PyType_Type;
33348 type_init = 1;
33349 }
33350 return &varlink_type;
33351 }
33352
33353 /* Create a variable linking object for use later */
33354 SWIGINTERN PyObject *
33355 SWIG_Python_newvarlink(void) {
33356 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33357 if (result) {
33358 result->vars = 0;
33359 }
33360 return ((PyObject*) result);
33361 }
33362
33363 SWIGINTERN void
33364 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33365 swig_varlinkobject *v = (swig_varlinkobject *) p;
33366 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33367 if (gv) {
33368 size_t size = strlen(name)+1;
33369 gv->name = (char *)malloc(size);
33370 if (gv->name) {
33371 strncpy(gv->name,name,size);
33372 gv->get_attr = get_attr;
33373 gv->set_attr = set_attr;
33374 gv->next = v->vars;
33375 }
33376 }
33377 v->vars = gv;
33378 }
33379
33380 SWIGINTERN PyObject *
33381 SWIG_globals() {
33382 static PyObject *_SWIG_globals = 0;
33383 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33384 return _SWIG_globals;
33385 }
33386
33387 /* -----------------------------------------------------------------------------
33388 * constants/methods manipulation
33389 * ----------------------------------------------------------------------------- */
33390
33391 /* Install Constants */
33392 SWIGINTERN void
33393 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33394 PyObject *obj = 0;
33395 size_t i;
33396 for (i = 0; constants[i].type; ++i) {
33397 switch(constants[i].type) {
33398 case SWIG_PY_POINTER:
33399 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33400 break;
33401 case SWIG_PY_BINARY:
33402 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33403 break;
33404 default:
33405 obj = 0;
33406 break;
33407 }
33408 if (obj) {
33409 PyDict_SetItemString(d, constants[i].name, obj);
33410 Py_DECREF(obj);
33411 }
33412 }
33413 }
33414
33415 /* -----------------------------------------------------------------------------*/
33416 /* Fix SwigMethods to carry the callback ptrs when needed */
33417 /* -----------------------------------------------------------------------------*/
33418
33419 SWIGINTERN void
33420 SWIG_Python_FixMethods(PyMethodDef *methods,
33421 swig_const_info *const_table,
33422 swig_type_info **types,
33423 swig_type_info **types_initial) {
33424 size_t i;
33425 for (i = 0; methods[i].ml_name; ++i) {
33426 char *c = methods[i].ml_doc;
33427 if (c && (c = strstr(c, "swig_ptr: "))) {
33428 int j;
33429 swig_const_info *ci = 0;
33430 char *name = c + 10;
33431 for (j = 0; const_table[j].type; ++j) {
33432 if (strncmp(const_table[j].name, name,
33433 strlen(const_table[j].name)) == 0) {
33434 ci = &(const_table[j]);
33435 break;
33436 }
33437 }
33438 if (ci) {
33439 size_t shift = (ci->ptype) - types;
33440 swig_type_info *ty = types_initial[shift];
33441 size_t ldoc = (c - methods[i].ml_doc);
33442 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33443 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33444 if (ndoc) {
33445 char *buff = ndoc;
33446 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33447 if (ptr) {
33448 strncpy(buff, methods[i].ml_doc, ldoc);
33449 buff += ldoc;
33450 strncpy(buff, "swig_ptr: ", 10);
33451 buff += 10;
33452 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33453 methods[i].ml_doc = ndoc;
33454 }
33455 }
33456 }
33457 }
33458 }
33459 }
33460
33461 #ifdef __cplusplus
33462 }
33463 #endif
33464
33465 /* -----------------------------------------------------------------------------*
33466 * Partial Init method
33467 * -----------------------------------------------------------------------------*/
33468
33469 #ifdef __cplusplus
33470 extern "C"
33471 #endif
33472 SWIGEXPORT void SWIG_init(void) {
33473 PyObject *m, *d;
33474
33475 /* Fix SwigMethods to carry the callback ptrs when needed */
33476 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33477
33478 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33479 d = PyModule_GetDict(m);
33480
33481 SWIG_InitializeModule(0);
33482 SWIG_InstallConstants(d,swig_const_table);
33483
33484
33485 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33486 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33487 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33488 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33489 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33490 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33491 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33492 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33493 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33494 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33495 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33496 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33497 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33498 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33499 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33500 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33501 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33502 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33503 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33504 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33505 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33506 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33507 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33508 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33509 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33510 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33511 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33512 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33513 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33514 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33515 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33516 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33517 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33518 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33519 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33520 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33521 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33522 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33523 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33524 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33525 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33526 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33527 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33528 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33529 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33530 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33531 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33532 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33533 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33534 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33535 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33536 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33537 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33538 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33539 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33540 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33541 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33542 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33543 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33544 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33545 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33546 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33547 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33548 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33549 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33550 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33551 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33552 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33553 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33554 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33555 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33556 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33557 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33558 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33559 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33560 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33561 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33562 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33563 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33564 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33565 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33566 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33567 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33568 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33569 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33570 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33571 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33572 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33573 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33574 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33575 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33576 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33577 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33578 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33579 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33580 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33581 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33582 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33583 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33584 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33585 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33586 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33587
33588 // Map renamed classes back to their common name for OOR
33589 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33590 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33591 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33592
33593 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33594 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33595 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33596 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33597 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33598 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33599 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33600 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33601 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33602 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33603 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33604 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33605 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33606 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
33607 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
33608 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
33609 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
33610 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
33611 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
33612 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
33613 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
33614 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
33615 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
33616 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
33617 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
33618 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
33619 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
33620 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
33621 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
33622 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
33623 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33624 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33625 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33626 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33627 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33628 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33629 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33630 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33631 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33632 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33633 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33634 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33635 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33636 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33637 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33638 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33639 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33640 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33641 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33642 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33643 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33644 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33645 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33646 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33647 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33648 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33649 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33650 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33651 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33652 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33653 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33654 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33655 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33656 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33657 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33658 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33659 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33660 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33661 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33662 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33663 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33664 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33665 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33666 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33667 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33668 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33669 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33670 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33671 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33672 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33673 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33674 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33675 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33676 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33677 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33678 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33679 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33680 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33681 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33682 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33683 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33684 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33685 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33686 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33687 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33688
33689 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33690
33691 }
33692