]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
cleanup - reformatting
[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_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_wxANIHandler swig_types[6]
2469 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
2470 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
2471 #define SWIGTYPE_p_wxArrayInt swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
2479 #define SWIGTYPE_p_wxColour swig_types[17]
2480 #define SWIGTYPE_p_wxColourData swig_types[18]
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19]
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2484 #define SWIGTYPE_p_wxControl swig_types[22]
2485 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2486 #define SWIGTYPE_p_wxDC swig_types[24]
2487 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2488 #define SWIGTYPE_p_wxDialog swig_types[26]
2489 #define SWIGTYPE_p_wxDirDialog swig_types[27]
2490 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
2491 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
2493 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
2494 #define SWIGTYPE_p_wxEvent swig_types[32]
2495 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
2496 #define SWIGTYPE_p_wxFSFile swig_types[34]
2497 #define SWIGTYPE_p_wxFileDialog swig_types[35]
2498 #define SWIGTYPE_p_wxFileSystem swig_types[36]
2499 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
2500 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
2501 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
2504 #define SWIGTYPE_p_wxFont swig_types[42]
2505 #define SWIGTYPE_p_wxFontData swig_types[43]
2506 #define SWIGTYPE_p_wxFontDialog swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
2510 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
2511 #define SWIGTYPE_p_wxGridSizer swig_types[49]
2512 #define SWIGTYPE_p_wxICOHandler swig_types[50]
2513 #define SWIGTYPE_p_wxIcon swig_types[51]
2514 #define SWIGTYPE_p_wxIconBundle swig_types[52]
2515 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2516 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2517 #define SWIGTYPE_p_wxImage swig_types[55]
2518 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2519 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2520 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2521 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2522 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
2523 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2524 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2525 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2526 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2527 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2528 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2529 #define SWIGTYPE_p_wxMenu swig_types[67]
2530 #define SWIGTYPE_p_wxMenuBar swig_types[68]
2531 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenuItem swig_types[70]
2533 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
2534 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
2535 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
2537 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
2539 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
2542 #define SWIGTYPE_p_wxObject swig_types[80]
2543 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
2544 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
2545 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
2547 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
2548 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2549 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPanel swig_types[88]
2551 #define SWIGTYPE_p_wxPaperSize swig_types[89]
2552 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
2553 #define SWIGTYPE_p_wxPoint swig_types[91]
2554 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
2555 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
2556 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
2557 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
2558 #define SWIGTYPE_p_wxPrintData swig_types[96]
2559 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
2560 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
2561 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
2562 #define SWIGTYPE_p_wxPrinter swig_types[100]
2563 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
2564 #define SWIGTYPE_p_wxPyApp swig_types[102]
2565 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
2568 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPyPanel swig_types[107]
2570 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
2571 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
2572 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
2573 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
2574 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
2575 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
2576 #define SWIGTYPE_p_wxPySizer swig_types[114]
2577 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
2578 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
2579 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
2580 #define SWIGTYPE_p_wxPyValidator swig_types[118]
2581 #define SWIGTYPE_p_wxPyWindow swig_types[119]
2582 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
2583 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
2584 #define SWIGTYPE_p_wxRect swig_types[122]
2585 #define SWIGTYPE_p_wxRegion swig_types[123]
2586 #define SWIGTYPE_p_wxSashEvent swig_types[124]
2587 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
2588 #define SWIGTYPE_p_wxSashWindow swig_types[126]
2589 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
2590 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
2591 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
2592 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
2593 #define SWIGTYPE_p_wxShowEvent swig_types[131]
2594 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
2595 #define SWIGTYPE_p_wxSize swig_types[133]
2596 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxSizerItem swig_types[136]
2599 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
2600 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
2601 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
2602 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
2603 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
2604 #define SWIGTYPE_p_wxStatusBar swig_types[142]
2605 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
2606 #define SWIGTYPE_p_wxString swig_types[144]
2607 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
2608 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
2609 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
2610 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
2612 #define SWIGTYPE_p_wxTipWindow swig_types[150]
2613 #define SWIGTYPE_p_wxToolBar swig_types[151]
2614 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
2615 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
2616 #define SWIGTYPE_p_wxValidator swig_types[154]
2617 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
2618 #define SWIGTYPE_p_wxWindow swig_types[156]
2619 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
2620 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
2621 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
2622 static swig_type_info *swig_types[161];
2623 static swig_module_info swig_module = {swig_types, 160, 0, 0, 0, 0};
2624 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2625 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2626
2627 /* -------- TYPES TABLE (END) -------- */
2628
2629 #if (PY_VERSION_HEX <= 0x02000000)
2630 # if !defined(SWIG_PYTHON_CLASSIC)
2631 # error "This python version requires to use swig with the '-classic' option"
2632 # endif
2633 #endif
2634 #if (PY_VERSION_HEX <= 0x02020000)
2635 # error "This python version requires to use swig with the '-nomodern' option"
2636 #endif
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodernargs' option"
2639 #endif
2640 #ifndef METH_O
2641 # error "This python version requires to use swig with the '-nofastunpack' option"
2642 #endif
2643
2644 /*-----------------------------------------------
2645 @(target):= _windows_.so
2646 ------------------------------------------------*/
2647 #define SWIG_init init_windows_
2648
2649 #define SWIG_name "_windows_"
2650
2651 #define SWIGVERSION 0x010329
2652
2653
2654 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2655 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2656
2657
2658 #include <stdexcept>
2659
2660
2661 namespace swig {
2662 class PyObject_ptr {
2663 protected:
2664 PyObject *_obj;
2665
2666 public:
2667 PyObject_ptr() :_obj(0)
2668 {
2669 }
2670
2671 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2672 {
2673 Py_XINCREF(_obj);
2674 }
2675
2676 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2677 {
2678 if (initial_ref) Py_XINCREF(_obj);
2679 }
2680
2681 PyObject_ptr & operator=(const PyObject_ptr& item)
2682 {
2683 Py_XINCREF(item._obj);
2684 Py_XDECREF(_obj);
2685 _obj = item._obj;
2686 return *this;
2687 }
2688
2689 ~PyObject_ptr()
2690 {
2691 Py_XDECREF(_obj);
2692 }
2693
2694 operator PyObject *() const
2695 {
2696 return _obj;
2697 }
2698
2699 PyObject *operator->() const
2700 {
2701 return _obj;
2702 }
2703 };
2704 }
2705
2706
2707 namespace swig {
2708 struct PyObject_var : PyObject_ptr {
2709 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2710
2711 PyObject_var & operator = (PyObject* obj)
2712 {
2713 Py_XDECREF(_obj);
2714 _obj = obj;
2715 return *this;
2716 }
2717 };
2718 }
2719
2720
2721 #include "wx/wxPython/wxPython.h"
2722 #include "wx/wxPython/pyclasses.h"
2723
2724
2725 static const wxString wxPyEmptyString(wxEmptyString);
2726 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2727
2728
2729
2730 #include <limits.h>
2731 #ifndef LLONG_MIN
2732 # define LLONG_MIN LONG_LONG_MIN
2733 #endif
2734 #ifndef LLONG_MAX
2735 # define LLONG_MAX LONG_LONG_MAX
2736 #endif
2737 #ifndef ULLONG_MAX
2738 # define ULLONG_MAX ULONG_LONG_MAX
2739 #endif
2740
2741
2742 SWIGINTERN int
2743 SWIG_AsVal_long (PyObject* obj, long* val)
2744 {
2745 if (PyNumber_Check(obj)) {
2746 if (val) *val = PyInt_AsLong(obj);
2747 return SWIG_OK;
2748 }
2749 return SWIG_TypeError;
2750 }
2751
2752
2753 SWIGINTERN int
2754 SWIG_AsVal_int (PyObject * obj, int *val)
2755 {
2756 long v;
2757 int res = SWIG_AsVal_long (obj, &v);
2758 if (SWIG_IsOK(res)) {
2759 if ((v < INT_MIN || v > INT_MAX)) {
2760 return SWIG_OverflowError;
2761 } else {
2762 if (val) *val = static_cast< int >(v);
2763 }
2764 }
2765 return res;
2766 }
2767
2768
2769 SWIGINTERN int
2770 SWIG_AsVal_bool (PyObject *obj, bool *val)
2771 {
2772 if (obj == Py_True) {
2773 if (val) *val = true;
2774 return SWIG_OK;
2775 } else if (obj == Py_False) {
2776 if (val) *val = false;
2777 return SWIG_OK;
2778 } else {
2779 long v = 0;
2780 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2781 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2782 return res;
2783 }
2784 }
2785
2786
2787 #define SWIG_From_long PyInt_FromLong
2788
2789
2790 SWIGINTERNINLINE PyObject *
2791 SWIG_From_int (int value)
2792 {
2793 return SWIG_From_long (value);
2794 }
2795
2796
2797 SWIGINTERN int
2798 SWIG_AsVal_double (PyObject *obj, double* val)
2799 {
2800 if (PyNumber_Check(obj)) {
2801 if (val) *val = PyFloat_AsDouble(obj);
2802 return SWIG_OK;
2803 }
2804 return SWIG_TypeError;
2805 }
2806
2807
2808 #define SWIG_From_double PyFloat_FromDouble
2809
2810 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2811 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2812 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2813 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2814 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2815 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2816
2817
2818 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2819 wxRect r;
2820 self->GetFieldRect(i, r);
2821 return r;
2822 }
2823 static const wxString wxPySplitterNameStr(wxT("splitter"));
2824 static const wxString wxPySashNameStr(wxT("sashWindow"));
2825 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2826
2827 #include <wx/popupwin.h>
2828
2829
2830 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2831 {
2832 public:
2833 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2834 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2835 : wxPopupTransientWindow(parent, style) {}
2836
2837 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2838 DEC_PYCALLBACK__(OnDismiss);
2839 DEC_PYCALLBACK_BOOL_(CanDismiss);
2840 PYPRIVATE;
2841 };
2842
2843
2844 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2845 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2846 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2847
2848
2849 #include <wx/tipwin.h>
2850
2851 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2852 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2853 }
2854
2855 #include <wx/tipwin.h>
2856
2857
2858 #include <wx/vscroll.h>
2859
2860
2861 class wxPyVScrolledWindow : public wxVScrolledWindow
2862 {
2863 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2864 public:
2865 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2866
2867 wxPyVScrolledWindow(wxWindow *parent,
2868 wxWindowID id = wxID_ANY,
2869 const wxPoint& pos = wxDefaultPosition,
2870 const wxSize& size = wxDefaultSize,
2871 long style = 0,
2872 const wxString& name = wxPyPanelNameStr)
2873 : wxVScrolledWindow(parent, id, pos, size, style, name)
2874 {}
2875
2876 // Overridable virtuals
2877
2878 // this function must be overridden in the derived class and it should
2879 // return the height of the given line in pixels
2880 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2881
2882
2883 // this function doesn't have to be overridden but it may be useful to do
2884 // it if calculating the lines heights is a relatively expensive operation
2885 // as it gives the user code a possibility to calculate several of them at
2886 // once
2887 //
2888 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2889 // shouldn't rely on the latter being called for all lines in the interval
2890 // specified here. It is also possible that OnGetLineHeight() will be
2891 // called for the lines outside of this interval, so this is really just a
2892 // hint, not a promise.
2893 //
2894 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2895 // usual
2896 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2897
2898
2899 // when the number of lines changes, we try to estimate the total height
2900 // of all lines which is a rather expensive operation in terms of lines
2901 // access, so if the user code may estimate the average height
2902 // better/faster than we do, it should override this function to implement
2903 // its own logic
2904 //
2905 // this function should return the best guess for the total height it may
2906 // make
2907 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2908
2909
2910 // Also expose some other interesting protected methods
2911
2912
2913 // find the index of the line we need to show at the top of the window such
2914 // that the last (fully or partially) visible line is the given one
2915 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2916 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2917
2918 // get the total height of the lines between lineMin (inclusive) and
2919 // lineMax (exclusive)
2920 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2921 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2922
2923
2924 PYPRIVATE;
2925 };
2926
2927 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2928
2929 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2930 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2931 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2932
2933
2934 SWIGINTERN int
2935 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2936 {
2937 long v = 0;
2938 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2939 return SWIG_TypeError;
2940 }
2941 else if (val)
2942 *val = (unsigned long)v;
2943 return SWIG_OK;
2944 }
2945
2946
2947 SWIGINTERNINLINE int
2948 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2949 {
2950 unsigned long v;
2951 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2952 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2953 return res;
2954 }
2955
2956
2957 SWIGINTERNINLINE PyObject*
2958 SWIG_From_unsigned_SS_long (unsigned long value)
2959 {
2960 return (value > LONG_MAX) ?
2961 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2962 }
2963
2964
2965 SWIGINTERNINLINE PyObject *
2966 SWIG_From_size_t (size_t value)
2967 {
2968 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2969 }
2970
2971
2972 #include <wx/vlbox.h>
2973
2974 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2975
2976 class wxPyVListBox : public wxVListBox
2977 {
2978 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2979 public:
2980 wxPyVListBox() : wxVListBox() {}
2981
2982 wxPyVListBox(wxWindow *parent,
2983 wxWindowID id = wxID_ANY,
2984 const wxPoint& pos = wxDefaultPosition,
2985 const wxSize& size = wxDefaultSize,
2986 long style = 0,
2987 const wxString& name = wxPyVListBoxNameStr)
2988 : wxVListBox(parent, id, pos, size, style, name)
2989 {}
2990
2991 // Overridable virtuals
2992
2993 // the derived class must implement this function to actually draw the item
2994 // with the given index on the provided DC
2995 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2996 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
2997
2998
2999 // the derived class must implement this method to return the height of the
3000 // specified item
3001 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3002 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3003
3004
3005 // this method may be used to draw separators between the lines; note that
3006 // the rectangle may be modified, typically to deflate it a bit before
3007 // passing to OnDrawItem()
3008 //
3009 // the base class version doesn't do anything
3010 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3011 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3012
3013
3014 // this method is used to draw the items background and, maybe, a border
3015 // around it
3016 //
3017 // the base class version implements a reasonable default behaviour which
3018 // consists in drawing the selected item with the standard background
3019 // colour and drawing a border around the item if it is either selected or
3020 // current
3021 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3022 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3023
3024
3025 PYPRIVATE;
3026 };
3027
3028 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3029
3030 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3031 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3032 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3033 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3034
3035
3036 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3037 unsigned long cookie = 0;
3038 int selected = self->GetFirstSelected(cookie);
3039 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3040 PyObject* tup = PyTuple_New(2);
3041 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3042 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3043 wxPyEndBlockThreads(blocked);
3044 return tup;
3045 }
3046 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3047 int selected = self->GetNextSelected(cookie);
3048 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3049 PyObject* tup = PyTuple_New(2);
3050 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3051 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3052 wxPyEndBlockThreads(blocked);
3053 return tup;
3054 }
3055
3056 #include <wx/htmllbox.h>
3057
3058
3059 class wxPyHtmlListBox : public wxHtmlListBox
3060 {
3061 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3062 public:
3063 wxPyHtmlListBox() : wxHtmlListBox() {}
3064
3065 wxPyHtmlListBox(wxWindow *parent,
3066 wxWindowID id = wxID_ANY,
3067 const wxPoint& pos = wxDefaultPosition,
3068 const wxSize& size = wxDefaultSize,
3069 long style = 0,
3070 const wxString& name = wxPyVListBoxNameStr)
3071 : wxHtmlListBox(parent, id, pos, size, style, name)
3072 {}
3073
3074 // Overridable virtuals
3075
3076 // this method must be implemented in the derived class and should return
3077 // the body (i.e. without <html>) of the HTML for the given item
3078 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3079
3080 // this function may be overridden to decorate HTML returned by OnGetItem()
3081 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3082
3083 // These are from wxVListBox
3084 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3085 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3086
3087 // TODO:
3088 // // this method allows to customize the selection appearance: it may be used
3089 // // to specify the colour of the text which normally has the given colour
3090 // // colFg when it is inside the selection
3091 // //
3092 // // by default, the original colour is not used at all and all text has the
3093 // // same (default for this system) colour inside selection
3094 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3095
3096 // // this is the same as GetSelectedTextColour() but allows to customize the
3097 // // background colour -- this is even more rarely used as you can change it
3098 // // globally using SetSelectionBackground()
3099 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3100
3101
3102 PYPRIVATE;
3103 };
3104
3105
3106 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3107
3108 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3109 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3110 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3111 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3112
3113
3114
3115
3116
3117 #ifndef wxHAS_TASK_BAR_ICON
3118 // implement dummy classes for platforms that don't have it
3119
3120 class wxTaskBarIcon : public wxEvtHandler
3121 {
3122 public:
3123 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3124 };
3125
3126
3127 class wxTaskBarIconEvent : public wxEvent
3128 {
3129 public:
3130 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3131 { wxPyRaiseNotImplemented(); }
3132 virtual wxEvent* Clone() const { return NULL; }
3133 bool IsOk() const { return false; }
3134 bool IsIconInstalled() const { return false; }
3135 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3136 bool RemoveIcon() { return false; }
3137 bool PopupMenu(wxMenu *menu) { return false; }
3138 };
3139
3140 enum {
3141 wxEVT_TASKBAR_MOVE = 0,
3142 wxEVT_TASKBAR_LEFT_DOWN = 0,
3143 wxEVT_TASKBAR_LEFT_UP = 0,
3144 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3145 wxEVT_TASKBAR_RIGHT_UP = 0,
3146 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3147 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3148 };
3149
3150
3151 #else
3152 // Otherwise make a class that can virtualize CreatePopupMenu
3153 class wxPyTaskBarIcon : public wxTaskBarIcon
3154 {
3155 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3156 public:
3157 wxPyTaskBarIcon() : wxTaskBarIcon()
3158 {}
3159
3160 wxMenu* CreatePopupMenu() {
3161 wxMenu *rval = NULL;
3162 bool found;
3163 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3164 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3165 PyObject* ro;
3166 wxMenu* ptr;
3167 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3168 if (ro) {
3169 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3170 rval = ptr;
3171 Py_DECREF(ro);
3172 }
3173 }
3174 wxPyEndBlockThreads(blocked);
3175 if (! found)
3176 rval = wxTaskBarIcon::CreatePopupMenu();
3177 return rval;
3178 }
3179
3180 PYPRIVATE;
3181 };
3182
3183 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3184
3185 #endif
3186
3187 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3188 self->RemoveIcon();
3189 delete self;
3190 }
3191 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3192 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3193 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3194 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3195 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3196 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3197 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3198 wxArrayString arr;
3199 self->GetFilenames(arr);
3200 return wxArrayString2PyList_helper(arr);
3201 }
3202 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3203 wxArrayString arr;
3204 self->GetPaths(arr);
3205 return wxArrayString2PyList_helper(arr);
3206 }
3207 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3208 return wxArrayInt2PyList_helper(self->GetSelections());
3209 }
3210 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){
3211 return new wxSingleChoiceDialog(parent, message, caption,
3212 choices, choices_array, NULL, style, pos);
3213 }
3214 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3215
3216 #include <wx/mdi.h>
3217
3218 // C++ version of Python aware wxWindow
3219 class wxPyWindow : public wxWindow
3220 {
3221 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3222 public:
3223 wxPyWindow() : wxWindow() {}
3224 wxPyWindow(wxWindow* parent, const wxWindowID id,
3225 const wxPoint& pos = wxDefaultPosition,
3226 const wxSize& size = wxDefaultSize,
3227 long style = 0,
3228 const wxString& name = wxPyPanelNameStr)
3229 : wxWindow(parent, id, pos, size, style, name) {}
3230
3231 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3232
3233 bool DoEraseBackground(wxDC* dc) {
3234 #ifdef __WXMSW__
3235 return wxWindow::DoEraseBackground(dc->GetHDC());
3236 #else
3237 dc->SetBackground(wxBrush(GetBackgroundColour()));
3238 dc->Clear();
3239 return true;
3240 #endif
3241 }
3242
3243 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3244 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3245 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3246 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3247
3248 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3249 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3250 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3251
3252 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3253 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3254
3255 DEC_PYCALLBACK__(InitDialog);
3256 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3257 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3258 DEC_PYCALLBACK_BOOL_(Validate);
3259
3260 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3261 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3262 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3263
3264 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3265 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3266
3267 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3268 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3269
3270 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3271
3272 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3273
3274 PYPRIVATE;
3275 };
3276
3277 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3278
3279 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3280 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3281 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3282 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3283
3284 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3285 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3286 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3287
3288 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3289 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3290
3291 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3292 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3293 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3294 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3295
3296 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3297 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3298 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3299
3300 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3301 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3302
3303 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3304 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3305
3306 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3307
3308 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3309
3310 // C++ version of Python aware wxPanel
3311 class wxPyPanel : public wxPanel
3312 {
3313 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3314 public:
3315 wxPyPanel() : wxPanel() {}
3316 wxPyPanel(wxWindow* parent, const wxWindowID id,
3317 const wxPoint& pos = wxDefaultPosition,
3318 const wxSize& size = wxDefaultSize,
3319 long style = 0,
3320 const wxString& name = wxPyPanelNameStr)
3321 : wxPanel(parent, id, pos, size, style, name) {}
3322
3323 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3324 bool DoEraseBackground(wxDC* dc) {
3325 #ifdef __WXMSW__
3326 return wxWindow::DoEraseBackground(dc->GetHDC());
3327 #else
3328 dc->SetBackground(wxBrush(GetBackgroundColour()));
3329 dc->Clear();
3330 return true;
3331 #endif
3332 }
3333
3334
3335 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3336 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3337 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3338 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3339
3340 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3341 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3342 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3343
3344 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3345 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3346
3347 DEC_PYCALLBACK__(InitDialog);
3348 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3349 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3350 DEC_PYCALLBACK_BOOL_(Validate);
3351
3352 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3353 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3354 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3355
3356 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3357 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3358
3359 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3360 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3361
3362 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3363
3364 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3365
3366 PYPRIVATE;
3367 };
3368
3369 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3370
3371 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3372 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3373 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3374 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3375
3376 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3377 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3378 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3379
3380 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3381 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3382
3383 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3384 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3385 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3386 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3387
3388 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3389 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3390 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3391
3392 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3393 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3394
3395 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3396 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3397
3398 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3399
3400 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3401
3402 // C++ version of Python aware wxScrolledWindow
3403 class wxPyScrolledWindow : public wxScrolledWindow
3404 {
3405 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3406 public:
3407 wxPyScrolledWindow() : wxScrolledWindow() {}
3408 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3409 const wxPoint& pos = wxDefaultPosition,
3410 const wxSize& size = wxDefaultSize,
3411 long style = 0,
3412 const wxString& name = wxPyPanelNameStr)
3413 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3414
3415 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3416 bool DoEraseBackground(wxDC* dc) {
3417 #ifdef __WXMSW__
3418 return wxWindow::DoEraseBackground(dc->GetHDC());
3419 #else
3420 dc->SetBackground(wxBrush(GetBackgroundColour()));
3421 dc->Clear();
3422 return true;
3423 #endif
3424 }
3425
3426 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3427 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3428 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3429 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3430
3431 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3432 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3433 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3434
3435 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3436 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3437
3438 DEC_PYCALLBACK__(InitDialog);
3439 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3440 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3441 DEC_PYCALLBACK_BOOL_(Validate);
3442
3443 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3444 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3445 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3446
3447 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3448 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3449
3450 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3451 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3452
3453 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3454
3455 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3456
3457 PYPRIVATE;
3458 };
3459
3460 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3461
3462 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3463 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3464 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3465 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3466
3467 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3468 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3469 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3470
3471 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3472 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3473
3474 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3475 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3476 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3477 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3478
3479 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3480 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3481 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3482
3483 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3484 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3485
3486 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3487 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3488
3489 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3490
3491 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3492
3493
3494 #include "wx/wxPython/printfw.h"
3495
3496
3497 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3498 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3499 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3500 PyObject* data;
3501 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3502 data = PyString_FromStringAndSize(self->GetPrivData(),
3503 self->GetPrivDataLen());
3504 wxPyEndBlockThreads(blocked);
3505 return data;
3506 }
3507 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3508 if (! PyString_Check(data)) {
3509 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3510 "Expected string object"));
3511 return /* NULL */ ;
3512 }
3513
3514 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3515 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3516 wxPyEndBlockThreads(blocked);
3517 }
3518
3519
3520 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3521
3522 // Since this one would be tough and ugly to do with the Macros...
3523 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3524 bool hadErr = false;
3525 bool found;
3526
3527 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3528 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3529 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3530 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3531 PyObject* val;
3532
3533 val = PyTuple_GetItem(result, 0);
3534 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3535 else hadErr = true;
3536
3537 val = PyTuple_GetItem(result, 1);
3538 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3539 else hadErr = true;
3540
3541 val = PyTuple_GetItem(result, 2);
3542 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3543 else hadErr = true;
3544
3545 val = PyTuple_GetItem(result, 3);
3546 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3547 else hadErr = true;
3548 }
3549 else
3550 hadErr = true;
3551
3552 if (hadErr) {
3553 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3554 PyErr_Print();
3555 }
3556 Py_DECREF(result);
3557 }
3558 wxPyEndBlockThreads(blocked);
3559 if (! found)
3560 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3561 }
3562
3563
3564
3565 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3566 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3567 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3568 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3569 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3570 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3571 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3572
3573
3574
3575
3576
3577 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3578 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3579
3580
3581 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3582 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3583 bool rval=false; \
3584 bool found; \
3585 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3586 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3587 PyObject* win = wxPyMake_wxObject(a,false); \
3588 PyObject* dc = wxPyMake_wxObject(&b,false); \
3589 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3590 Py_DECREF(win); \
3591 Py_DECREF(dc); \
3592 } \
3593 wxPyEndBlockThreads(blocked); \
3594 if (! found) \
3595 rval = PCLASS::CBNAME(a, b); \
3596 return rval; \
3597 }
3598
3599
3600
3601
3602 class wxPyPrintPreview : public wxPrintPreview
3603 {
3604 DECLARE_CLASS(wxPyPrintPreview)
3605 public:
3606 wxPyPrintPreview(wxPyPrintout* printout,
3607 wxPyPrintout* printoutForPrinting,
3608 wxPrintDialogData* data=NULL)
3609 : wxPrintPreview(printout, printoutForPrinting, data)
3610 {}
3611 wxPyPrintPreview(wxPyPrintout* printout,
3612 wxPyPrintout* printoutForPrinting,
3613 wxPrintData* data)
3614 : wxPrintPreview(printout, printoutForPrinting, data)
3615 {}
3616
3617 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3618 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3619 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3620 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3621 DEC_PYCALLBACK_VOID_INT(SetZoom);
3622 DEC_PYCALLBACK_BOOL_BOOL(Print);
3623 DEC_PYCALLBACK_VOID_(DetermineScaling);
3624
3625 PYPRIVATE;
3626 };
3627
3628 // Stupid renamed classes... Fix this in 2.5...
3629 #if defined(__WXMSW__)
3630 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3631 #elif defined(__WXMAC__)
3632 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3633 #else
3634 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3635 #endif
3636
3637 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3638 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3639 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3640 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3641 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3642 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3643 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3644
3645
3646 class wxPyPreviewFrame : public wxPreviewFrame
3647 {
3648 DECLARE_CLASS(wxPyPreviewFrame)
3649 public:
3650 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3651 const wxString& title,
3652 const wxPoint& pos = wxDefaultPosition,
3653 const wxSize& size = wxDefaultSize,
3654 long style = wxDEFAULT_FRAME_STYLE,
3655 const wxString& name = wxPyFrameNameStr)
3656 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3657 {}
3658
3659 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3660 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3661
3662 DEC_PYCALLBACK_VOID_(Initialize);
3663 DEC_PYCALLBACK_VOID_(CreateCanvas);
3664 DEC_PYCALLBACK_VOID_(CreateControlBar);
3665
3666 PYPRIVATE;
3667 };
3668
3669 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3670
3671 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3672 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3673 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3674
3675
3676 class wxPyPreviewControlBar : public wxPreviewControlBar
3677 {
3678 DECLARE_CLASS(wxPyPreviewControlBar)
3679 public:
3680 wxPyPreviewControlBar(wxPrintPreview *preview,
3681 long buttons,
3682 wxWindow *parent,
3683 const wxPoint& pos = wxDefaultPosition,
3684 const wxSize& size = wxDefaultSize,
3685 long style = 0,
3686 const wxString& name = wxPyPanelNameStr)
3687 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3688 {}
3689
3690 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3691
3692 DEC_PYCALLBACK_VOID_(CreateButtons);
3693 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3694
3695 PYPRIVATE;
3696 };
3697
3698 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3699 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3700 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3701
3702 #ifdef __cplusplus
3703 extern "C" {
3704 #endif
3705 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3706 PyObject *resultobj = 0;
3707 wxWindow *arg1 = (wxWindow *) 0 ;
3708 int arg2 = (int) (int)-1 ;
3709 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3710 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3711 wxSize const &arg4_defvalue = wxDefaultSize ;
3712 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3713 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3714 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3715 wxString *arg6 = (wxString *) &arg6_defvalue ;
3716 wxPanel *result = 0 ;
3717 void *argp1 = 0 ;
3718 int res1 = 0 ;
3719 int val2 ;
3720 int ecode2 = 0 ;
3721 wxPoint temp3 ;
3722 wxSize temp4 ;
3723 long val5 ;
3724 int ecode5 = 0 ;
3725 bool temp6 = false ;
3726 PyObject * obj0 = 0 ;
3727 PyObject * obj1 = 0 ;
3728 PyObject * obj2 = 0 ;
3729 PyObject * obj3 = 0 ;
3730 PyObject * obj4 = 0 ;
3731 PyObject * obj5 = 0 ;
3732 char * kwnames[] = {
3733 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3734 };
3735
3736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3738 if (!SWIG_IsOK(res1)) {
3739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3740 }
3741 arg1 = reinterpret_cast< wxWindow * >(argp1);
3742 if (obj1) {
3743 ecode2 = SWIG_AsVal_int(obj1, &val2);
3744 if (!SWIG_IsOK(ecode2)) {
3745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3746 }
3747 arg2 = static_cast< int >(val2);
3748 }
3749 if (obj2) {
3750 {
3751 arg3 = &temp3;
3752 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3753 }
3754 }
3755 if (obj3) {
3756 {
3757 arg4 = &temp4;
3758 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3759 }
3760 }
3761 if (obj4) {
3762 ecode5 = SWIG_AsVal_long(obj4, &val5);
3763 if (!SWIG_IsOK(ecode5)) {
3764 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3765 }
3766 arg5 = static_cast< long >(val5);
3767 }
3768 if (obj5) {
3769 {
3770 arg6 = wxString_in_helper(obj5);
3771 if (arg6 == NULL) SWIG_fail;
3772 temp6 = true;
3773 }
3774 }
3775 {
3776 if (!wxPyCheckForApp()) SWIG_fail;
3777 PyThreadState* __tstate = wxPyBeginAllowThreads();
3778 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3779 wxPyEndAllowThreads(__tstate);
3780 if (PyErr_Occurred()) SWIG_fail;
3781 }
3782 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3783 {
3784 if (temp6)
3785 delete arg6;
3786 }
3787 return resultobj;
3788 fail:
3789 {
3790 if (temp6)
3791 delete arg6;
3792 }
3793 return NULL;
3794 }
3795
3796
3797 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3798 PyObject *resultobj = 0;
3799 wxPanel *result = 0 ;
3800
3801 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3802 {
3803 if (!wxPyCheckForApp()) SWIG_fail;
3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
3805 result = (wxPanel *)new wxPanel();
3806 wxPyEndAllowThreads(__tstate);
3807 if (PyErr_Occurred()) SWIG_fail;
3808 }
3809 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3810 return resultobj;
3811 fail:
3812 return NULL;
3813 }
3814
3815
3816 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3817 PyObject *resultobj = 0;
3818 wxPanel *arg1 = (wxPanel *) 0 ;
3819 wxWindow *arg2 = (wxWindow *) 0 ;
3820 int arg3 = (int) (int)-1 ;
3821 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3822 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3823 wxSize const &arg5_defvalue = wxDefaultSize ;
3824 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3825 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3826 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3827 wxString *arg7 = (wxString *) &arg7_defvalue ;
3828 bool result;
3829 void *argp1 = 0 ;
3830 int res1 = 0 ;
3831 void *argp2 = 0 ;
3832 int res2 = 0 ;
3833 int val3 ;
3834 int ecode3 = 0 ;
3835 wxPoint temp4 ;
3836 wxSize temp5 ;
3837 long val6 ;
3838 int ecode6 = 0 ;
3839 bool temp7 = false ;
3840 PyObject * obj0 = 0 ;
3841 PyObject * obj1 = 0 ;
3842 PyObject * obj2 = 0 ;
3843 PyObject * obj3 = 0 ;
3844 PyObject * obj4 = 0 ;
3845 PyObject * obj5 = 0 ;
3846 PyObject * obj6 = 0 ;
3847 char * kwnames[] = {
3848 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3849 };
3850
3851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3853 if (!SWIG_IsOK(res1)) {
3854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3855 }
3856 arg1 = reinterpret_cast< wxPanel * >(argp1);
3857 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3858 if (!SWIG_IsOK(res2)) {
3859 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3860 }
3861 arg2 = reinterpret_cast< wxWindow * >(argp2);
3862 if (obj2) {
3863 ecode3 = SWIG_AsVal_int(obj2, &val3);
3864 if (!SWIG_IsOK(ecode3)) {
3865 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3866 }
3867 arg3 = static_cast< int >(val3);
3868 }
3869 if (obj3) {
3870 {
3871 arg4 = &temp4;
3872 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3873 }
3874 }
3875 if (obj4) {
3876 {
3877 arg5 = &temp5;
3878 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3879 }
3880 }
3881 if (obj5) {
3882 ecode6 = SWIG_AsVal_long(obj5, &val6);
3883 if (!SWIG_IsOK(ecode6)) {
3884 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3885 }
3886 arg6 = static_cast< long >(val6);
3887 }
3888 if (obj6) {
3889 {
3890 arg7 = wxString_in_helper(obj6);
3891 if (arg7 == NULL) SWIG_fail;
3892 temp7 = true;
3893 }
3894 }
3895 {
3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
3897 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
3901 {
3902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3903 }
3904 {
3905 if (temp7)
3906 delete arg7;
3907 }
3908 return resultobj;
3909 fail:
3910 {
3911 if (temp7)
3912 delete arg7;
3913 }
3914 return NULL;
3915 }
3916
3917
3918 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3919 PyObject *resultobj = 0;
3920 wxPanel *arg1 = (wxPanel *) 0 ;
3921 void *argp1 = 0 ;
3922 int res1 = 0 ;
3923 PyObject *swig_obj[1] ;
3924
3925 if (!args) SWIG_fail;
3926 swig_obj[0] = args;
3927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3928 if (!SWIG_IsOK(res1)) {
3929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3930 }
3931 arg1 = reinterpret_cast< wxPanel * >(argp1);
3932 {
3933 PyThreadState* __tstate = wxPyBeginAllowThreads();
3934 (arg1)->SetFocusIgnoringChildren();
3935 wxPyEndAllowThreads(__tstate);
3936 if (PyErr_Occurred()) SWIG_fail;
3937 }
3938 resultobj = SWIG_Py_Void();
3939 return resultobj;
3940 fail:
3941 return NULL;
3942 }
3943
3944
3945 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3946 PyObject *resultobj = 0;
3947 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3948 SwigValueWrapper<wxVisualAttributes > result;
3949 int val1 ;
3950 int ecode1 = 0 ;
3951 PyObject * obj0 = 0 ;
3952 char * kwnames[] = {
3953 (char *) "variant", NULL
3954 };
3955
3956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3957 if (obj0) {
3958 ecode1 = SWIG_AsVal_int(obj0, &val1);
3959 if (!SWIG_IsOK(ecode1)) {
3960 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3961 }
3962 arg1 = static_cast< wxWindowVariant >(val1);
3963 }
3964 {
3965 if (!wxPyCheckForApp()) SWIG_fail;
3966 PyThreadState* __tstate = wxPyBeginAllowThreads();
3967 result = wxPanel::GetClassDefaultAttributes(arg1);
3968 wxPyEndAllowThreads(__tstate);
3969 if (PyErr_Occurred()) SWIG_fail;
3970 }
3971 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3972 return resultobj;
3973 fail:
3974 return NULL;
3975 }
3976
3977
3978 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3979 PyObject *obj;
3980 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3981 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
3982 return SWIG_Py_Void();
3983 }
3984
3985 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3986 return SWIG_Python_InitShadowInstance(args);
3987 }
3988
3989 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3990 PyObject *resultobj = 0;
3991 wxWindow *arg1 = (wxWindow *) 0 ;
3992 int arg2 = (int) (int)-1 ;
3993 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3994 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3995 wxSize const &arg4_defvalue = wxDefaultSize ;
3996 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3997 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
3998 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3999 wxString *arg6 = (wxString *) &arg6_defvalue ;
4000 wxScrolledWindow *result = 0 ;
4001 void *argp1 = 0 ;
4002 int res1 = 0 ;
4003 int val2 ;
4004 int ecode2 = 0 ;
4005 wxPoint temp3 ;
4006 wxSize temp4 ;
4007 long val5 ;
4008 int ecode5 = 0 ;
4009 bool temp6 = false ;
4010 PyObject * obj0 = 0 ;
4011 PyObject * obj1 = 0 ;
4012 PyObject * obj2 = 0 ;
4013 PyObject * obj3 = 0 ;
4014 PyObject * obj4 = 0 ;
4015 PyObject * obj5 = 0 ;
4016 char * kwnames[] = {
4017 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4018 };
4019
4020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4022 if (!SWIG_IsOK(res1)) {
4023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4024 }
4025 arg1 = reinterpret_cast< wxWindow * >(argp1);
4026 if (obj1) {
4027 ecode2 = SWIG_AsVal_int(obj1, &val2);
4028 if (!SWIG_IsOK(ecode2)) {
4029 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4030 }
4031 arg2 = static_cast< int >(val2);
4032 }
4033 if (obj2) {
4034 {
4035 arg3 = &temp3;
4036 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4037 }
4038 }
4039 if (obj3) {
4040 {
4041 arg4 = &temp4;
4042 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4043 }
4044 }
4045 if (obj4) {
4046 ecode5 = SWIG_AsVal_long(obj4, &val5);
4047 if (!SWIG_IsOK(ecode5)) {
4048 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4049 }
4050 arg5 = static_cast< long >(val5);
4051 }
4052 if (obj5) {
4053 {
4054 arg6 = wxString_in_helper(obj5);
4055 if (arg6 == NULL) SWIG_fail;
4056 temp6 = true;
4057 }
4058 }
4059 {
4060 if (!wxPyCheckForApp()) SWIG_fail;
4061 PyThreadState* __tstate = wxPyBeginAllowThreads();
4062 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4067 {
4068 if (temp6)
4069 delete arg6;
4070 }
4071 return resultobj;
4072 fail:
4073 {
4074 if (temp6)
4075 delete arg6;
4076 }
4077 return NULL;
4078 }
4079
4080
4081 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4082 PyObject *resultobj = 0;
4083 wxScrolledWindow *result = 0 ;
4084
4085 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4086 {
4087 if (!wxPyCheckForApp()) SWIG_fail;
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 result = (wxScrolledWindow *)new wxScrolledWindow();
4090 wxPyEndAllowThreads(__tstate);
4091 if (PyErr_Occurred()) SWIG_fail;
4092 }
4093 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4094 return resultobj;
4095 fail:
4096 return NULL;
4097 }
4098
4099
4100 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4101 PyObject *resultobj = 0;
4102 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4103 wxWindow *arg2 = (wxWindow *) 0 ;
4104 int arg3 = (int) (int)-1 ;
4105 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4106 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4107 wxSize const &arg5_defvalue = wxDefaultSize ;
4108 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4109 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4110 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4111 wxString *arg7 = (wxString *) &arg7_defvalue ;
4112 bool result;
4113 void *argp1 = 0 ;
4114 int res1 = 0 ;
4115 void *argp2 = 0 ;
4116 int res2 = 0 ;
4117 int val3 ;
4118 int ecode3 = 0 ;
4119 wxPoint temp4 ;
4120 wxSize temp5 ;
4121 long val6 ;
4122 int ecode6 = 0 ;
4123 bool temp7 = false ;
4124 PyObject * obj0 = 0 ;
4125 PyObject * obj1 = 0 ;
4126 PyObject * obj2 = 0 ;
4127 PyObject * obj3 = 0 ;
4128 PyObject * obj4 = 0 ;
4129 PyObject * obj5 = 0 ;
4130 PyObject * obj6 = 0 ;
4131 char * kwnames[] = {
4132 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4133 };
4134
4135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4137 if (!SWIG_IsOK(res1)) {
4138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4139 }
4140 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4141 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4142 if (!SWIG_IsOK(res2)) {
4143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4144 }
4145 arg2 = reinterpret_cast< wxWindow * >(argp2);
4146 if (obj2) {
4147 ecode3 = SWIG_AsVal_int(obj2, &val3);
4148 if (!SWIG_IsOK(ecode3)) {
4149 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4150 }
4151 arg3 = static_cast< int >(val3);
4152 }
4153 if (obj3) {
4154 {
4155 arg4 = &temp4;
4156 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4157 }
4158 }
4159 if (obj4) {
4160 {
4161 arg5 = &temp5;
4162 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4163 }
4164 }
4165 if (obj5) {
4166 ecode6 = SWIG_AsVal_long(obj5, &val6);
4167 if (!SWIG_IsOK(ecode6)) {
4168 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4169 }
4170 arg6 = static_cast< long >(val6);
4171 }
4172 if (obj6) {
4173 {
4174 arg7 = wxString_in_helper(obj6);
4175 if (arg7 == NULL) SWIG_fail;
4176 temp7 = true;
4177 }
4178 }
4179 {
4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
4181 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4182 wxPyEndAllowThreads(__tstate);
4183 if (PyErr_Occurred()) SWIG_fail;
4184 }
4185 {
4186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4187 }
4188 {
4189 if (temp7)
4190 delete arg7;
4191 }
4192 return resultobj;
4193 fail:
4194 {
4195 if (temp7)
4196 delete arg7;
4197 }
4198 return NULL;
4199 }
4200
4201
4202 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4203 PyObject *resultobj = 0;
4204 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4205 int arg2 ;
4206 int arg3 ;
4207 int arg4 ;
4208 int arg5 ;
4209 int arg6 = (int) 0 ;
4210 int arg7 = (int) 0 ;
4211 bool arg8 = (bool) false ;
4212 void *argp1 = 0 ;
4213 int res1 = 0 ;
4214 int val2 ;
4215 int ecode2 = 0 ;
4216 int val3 ;
4217 int ecode3 = 0 ;
4218 int val4 ;
4219 int ecode4 = 0 ;
4220 int val5 ;
4221 int ecode5 = 0 ;
4222 int val6 ;
4223 int ecode6 = 0 ;
4224 int val7 ;
4225 int ecode7 = 0 ;
4226 bool val8 ;
4227 int ecode8 = 0 ;
4228 PyObject * obj0 = 0 ;
4229 PyObject * obj1 = 0 ;
4230 PyObject * obj2 = 0 ;
4231 PyObject * obj3 = 0 ;
4232 PyObject * obj4 = 0 ;
4233 PyObject * obj5 = 0 ;
4234 PyObject * obj6 = 0 ;
4235 PyObject * obj7 = 0 ;
4236 char * kwnames[] = {
4237 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4238 };
4239
4240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4242 if (!SWIG_IsOK(res1)) {
4243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4244 }
4245 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4246 ecode2 = SWIG_AsVal_int(obj1, &val2);
4247 if (!SWIG_IsOK(ecode2)) {
4248 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4249 }
4250 arg2 = static_cast< int >(val2);
4251 ecode3 = SWIG_AsVal_int(obj2, &val3);
4252 if (!SWIG_IsOK(ecode3)) {
4253 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4254 }
4255 arg3 = static_cast< int >(val3);
4256 ecode4 = SWIG_AsVal_int(obj3, &val4);
4257 if (!SWIG_IsOK(ecode4)) {
4258 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4259 }
4260 arg4 = static_cast< int >(val4);
4261 ecode5 = SWIG_AsVal_int(obj4, &val5);
4262 if (!SWIG_IsOK(ecode5)) {
4263 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4264 }
4265 arg5 = static_cast< int >(val5);
4266 if (obj5) {
4267 ecode6 = SWIG_AsVal_int(obj5, &val6);
4268 if (!SWIG_IsOK(ecode6)) {
4269 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4270 }
4271 arg6 = static_cast< int >(val6);
4272 }
4273 if (obj6) {
4274 ecode7 = SWIG_AsVal_int(obj6, &val7);
4275 if (!SWIG_IsOK(ecode7)) {
4276 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4277 }
4278 arg7 = static_cast< int >(val7);
4279 }
4280 if (obj7) {
4281 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4282 if (!SWIG_IsOK(ecode8)) {
4283 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4284 }
4285 arg8 = static_cast< bool >(val8);
4286 }
4287 {
4288 PyThreadState* __tstate = wxPyBeginAllowThreads();
4289 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4290 wxPyEndAllowThreads(__tstate);
4291 if (PyErr_Occurred()) SWIG_fail;
4292 }
4293 resultobj = SWIG_Py_Void();
4294 return resultobj;
4295 fail:
4296 return NULL;
4297 }
4298
4299
4300 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4301 PyObject *resultobj = 0;
4302 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4303 int arg2 ;
4304 int arg3 ;
4305 void *argp1 = 0 ;
4306 int res1 = 0 ;
4307 int val2 ;
4308 int ecode2 = 0 ;
4309 int val3 ;
4310 int ecode3 = 0 ;
4311 PyObject * obj0 = 0 ;
4312 PyObject * obj1 = 0 ;
4313 PyObject * obj2 = 0 ;
4314 char * kwnames[] = {
4315 (char *) "self",(char *) "x",(char *) "y", NULL
4316 };
4317
4318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4320 if (!SWIG_IsOK(res1)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4322 }
4323 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4324 ecode2 = SWIG_AsVal_int(obj1, &val2);
4325 if (!SWIG_IsOK(ecode2)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4327 }
4328 arg2 = static_cast< int >(val2);
4329 ecode3 = SWIG_AsVal_int(obj2, &val3);
4330 if (!SWIG_IsOK(ecode3)) {
4331 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4332 }
4333 arg3 = static_cast< int >(val3);
4334 {
4335 PyThreadState* __tstate = wxPyBeginAllowThreads();
4336 (arg1)->Scroll(arg2,arg3);
4337 wxPyEndAllowThreads(__tstate);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 resultobj = SWIG_Py_Void();
4341 return resultobj;
4342 fail:
4343 return NULL;
4344 }
4345
4346
4347 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4348 PyObject *resultobj = 0;
4349 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4350 int arg2 ;
4351 int result;
4352 void *argp1 = 0 ;
4353 int res1 = 0 ;
4354 int val2 ;
4355 int ecode2 = 0 ;
4356 PyObject * obj0 = 0 ;
4357 PyObject * obj1 = 0 ;
4358 char * kwnames[] = {
4359 (char *) "self",(char *) "orient", NULL
4360 };
4361
4362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4364 if (!SWIG_IsOK(res1)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4366 }
4367 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4368 ecode2 = SWIG_AsVal_int(obj1, &val2);
4369 if (!SWIG_IsOK(ecode2)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4371 }
4372 arg2 = static_cast< int >(val2);
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
4379 resultobj = SWIG_From_int(static_cast< int >(result));
4380 return resultobj;
4381 fail:
4382 return NULL;
4383 }
4384
4385
4386 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj = 0;
4388 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4389 int arg2 ;
4390 int arg3 ;
4391 void *argp1 = 0 ;
4392 int res1 = 0 ;
4393 int val2 ;
4394 int ecode2 = 0 ;
4395 int val3 ;
4396 int ecode3 = 0 ;
4397 PyObject * obj0 = 0 ;
4398 PyObject * obj1 = 0 ;
4399 PyObject * obj2 = 0 ;
4400 char * kwnames[] = {
4401 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4402 };
4403
4404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4406 if (!SWIG_IsOK(res1)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4408 }
4409 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4410 ecode2 = SWIG_AsVal_int(obj1, &val2);
4411 if (!SWIG_IsOK(ecode2)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4413 }
4414 arg2 = static_cast< int >(val2);
4415 ecode3 = SWIG_AsVal_int(obj2, &val3);
4416 if (!SWIG_IsOK(ecode3)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4418 }
4419 arg3 = static_cast< int >(val3);
4420 {
4421 PyThreadState* __tstate = wxPyBeginAllowThreads();
4422 (arg1)->SetScrollPageSize(arg2,arg3);
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 resultobj = SWIG_Py_Void();
4427 return resultobj;
4428 fail:
4429 return NULL;
4430 }
4431
4432
4433 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj = 0;
4435 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4436 int arg2 ;
4437 int arg3 ;
4438 void *argp1 = 0 ;
4439 int res1 = 0 ;
4440 int val2 ;
4441 int ecode2 = 0 ;
4442 int val3 ;
4443 int ecode3 = 0 ;
4444 PyObject * obj0 = 0 ;
4445 PyObject * obj1 = 0 ;
4446 PyObject * obj2 = 0 ;
4447 char * kwnames[] = {
4448 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4449 };
4450
4451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4453 if (!SWIG_IsOK(res1)) {
4454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4455 }
4456 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4457 ecode2 = SWIG_AsVal_int(obj1, &val2);
4458 if (!SWIG_IsOK(ecode2)) {
4459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4460 }
4461 arg2 = static_cast< int >(val2);
4462 ecode3 = SWIG_AsVal_int(obj2, &val3);
4463 if (!SWIG_IsOK(ecode3)) {
4464 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4465 }
4466 arg3 = static_cast< int >(val3);
4467 {
4468 PyThreadState* __tstate = wxPyBeginAllowThreads();
4469 (arg1)->SetScrollRate(arg2,arg3);
4470 wxPyEndAllowThreads(__tstate);
4471 if (PyErr_Occurred()) SWIG_fail;
4472 }
4473 resultobj = SWIG_Py_Void();
4474 return resultobj;
4475 fail:
4476 return NULL;
4477 }
4478
4479
4480 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4481 PyObject *resultobj = 0;
4482 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4483 int *arg2 = (int *) 0 ;
4484 int *arg3 = (int *) 0 ;
4485 void *argp1 = 0 ;
4486 int res1 = 0 ;
4487 int temp2 ;
4488 int res2 = SWIG_TMPOBJ ;
4489 int temp3 ;
4490 int res3 = SWIG_TMPOBJ ;
4491 PyObject *swig_obj[1] ;
4492
4493 arg2 = &temp2;
4494 arg3 = &temp3;
4495 if (!args) SWIG_fail;
4496 swig_obj[0] = args;
4497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4498 if (!SWIG_IsOK(res1)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4500 }
4501 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4505 wxPyEndAllowThreads(__tstate);
4506 if (PyErr_Occurred()) SWIG_fail;
4507 }
4508 resultobj = SWIG_Py_Void();
4509 if (SWIG_IsTmpObj(res2)) {
4510 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4511 } else {
4512 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4513 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4514 }
4515 if (SWIG_IsTmpObj(res3)) {
4516 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4517 } else {
4518 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4519 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4520 }
4521 return resultobj;
4522 fail:
4523 return NULL;
4524 }
4525
4526
4527 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4528 PyObject *resultobj = 0;
4529 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4530 bool arg2 ;
4531 bool arg3 ;
4532 void *argp1 = 0 ;
4533 int res1 = 0 ;
4534 bool val2 ;
4535 int ecode2 = 0 ;
4536 bool val3 ;
4537 int ecode3 = 0 ;
4538 PyObject * obj0 = 0 ;
4539 PyObject * obj1 = 0 ;
4540 PyObject * obj2 = 0 ;
4541 char * kwnames[] = {
4542 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4543 };
4544
4545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4547 if (!SWIG_IsOK(res1)) {
4548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4549 }
4550 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4551 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4552 if (!SWIG_IsOK(ecode2)) {
4553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4554 }
4555 arg2 = static_cast< bool >(val2);
4556 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4557 if (!SWIG_IsOK(ecode3)) {
4558 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4559 }
4560 arg3 = static_cast< bool >(val3);
4561 {
4562 PyThreadState* __tstate = wxPyBeginAllowThreads();
4563 (arg1)->EnableScrolling(arg2,arg3);
4564 wxPyEndAllowThreads(__tstate);
4565 if (PyErr_Occurred()) SWIG_fail;
4566 }
4567 resultobj = SWIG_Py_Void();
4568 return resultobj;
4569 fail:
4570 return NULL;
4571 }
4572
4573
4574 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4575 PyObject *resultobj = 0;
4576 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4577 int *arg2 = (int *) 0 ;
4578 int *arg3 = (int *) 0 ;
4579 void *argp1 = 0 ;
4580 int res1 = 0 ;
4581 int temp2 ;
4582 int res2 = SWIG_TMPOBJ ;
4583 int temp3 ;
4584 int res3 = SWIG_TMPOBJ ;
4585 PyObject *swig_obj[1] ;
4586
4587 arg2 = &temp2;
4588 arg3 = &temp3;
4589 if (!args) SWIG_fail;
4590 swig_obj[0] = args;
4591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4592 if (!SWIG_IsOK(res1)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4594 }
4595 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4596 {
4597 PyThreadState* __tstate = wxPyBeginAllowThreads();
4598 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4599 wxPyEndAllowThreads(__tstate);
4600 if (PyErr_Occurred()) SWIG_fail;
4601 }
4602 resultobj = SWIG_Py_Void();
4603 if (SWIG_IsTmpObj(res2)) {
4604 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4605 } else {
4606 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4607 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4608 }
4609 if (SWIG_IsTmpObj(res3)) {
4610 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4611 } else {
4612 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4613 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4614 }
4615 return resultobj;
4616 fail:
4617 return NULL;
4618 }
4619
4620
4621 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4622 PyObject *resultobj = 0;
4623 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4624 double arg2 ;
4625 double arg3 ;
4626 void *argp1 = 0 ;
4627 int res1 = 0 ;
4628 double val2 ;
4629 int ecode2 = 0 ;
4630 double val3 ;
4631 int ecode3 = 0 ;
4632 PyObject * obj0 = 0 ;
4633 PyObject * obj1 = 0 ;
4634 PyObject * obj2 = 0 ;
4635 char * kwnames[] = {
4636 (char *) "self",(char *) "xs",(char *) "ys", NULL
4637 };
4638
4639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4641 if (!SWIG_IsOK(res1)) {
4642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4643 }
4644 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4645 ecode2 = SWIG_AsVal_double(obj1, &val2);
4646 if (!SWIG_IsOK(ecode2)) {
4647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4648 }
4649 arg2 = static_cast< double >(val2);
4650 ecode3 = SWIG_AsVal_double(obj2, &val3);
4651 if (!SWIG_IsOK(ecode3)) {
4652 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4653 }
4654 arg3 = static_cast< double >(val3);
4655 {
4656 PyThreadState* __tstate = wxPyBeginAllowThreads();
4657 (arg1)->SetScale(arg2,arg3);
4658 wxPyEndAllowThreads(__tstate);
4659 if (PyErr_Occurred()) SWIG_fail;
4660 }
4661 resultobj = SWIG_Py_Void();
4662 return resultobj;
4663 fail:
4664 return NULL;
4665 }
4666
4667
4668 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4669 PyObject *resultobj = 0;
4670 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4671 double result;
4672 void *argp1 = 0 ;
4673 int res1 = 0 ;
4674 PyObject *swig_obj[1] ;
4675
4676 if (!args) SWIG_fail;
4677 swig_obj[0] = args;
4678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4679 if (!SWIG_IsOK(res1)) {
4680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4681 }
4682 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4683 {
4684 PyThreadState* __tstate = wxPyBeginAllowThreads();
4685 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4686 wxPyEndAllowThreads(__tstate);
4687 if (PyErr_Occurred()) SWIG_fail;
4688 }
4689 resultobj = SWIG_From_double(static_cast< double >(result));
4690 return resultobj;
4691 fail:
4692 return NULL;
4693 }
4694
4695
4696 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4697 PyObject *resultobj = 0;
4698 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4699 double result;
4700 void *argp1 = 0 ;
4701 int res1 = 0 ;
4702 PyObject *swig_obj[1] ;
4703
4704 if (!args) SWIG_fail;
4705 swig_obj[0] = args;
4706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4707 if (!SWIG_IsOK(res1)) {
4708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4709 }
4710 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4711 {
4712 PyThreadState* __tstate = wxPyBeginAllowThreads();
4713 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4714 wxPyEndAllowThreads(__tstate);
4715 if (PyErr_Occurred()) SWIG_fail;
4716 }
4717 resultobj = SWIG_From_double(static_cast< double >(result));
4718 return resultobj;
4719 fail:
4720 return NULL;
4721 }
4722
4723
4724 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4725 PyObject *resultobj = 0;
4726 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4727 wxPoint *arg2 = 0 ;
4728 wxPoint result;
4729 void *argp1 = 0 ;
4730 int res1 = 0 ;
4731 wxPoint temp2 ;
4732
4733 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4735 if (!SWIG_IsOK(res1)) {
4736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4737 }
4738 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4739 {
4740 arg2 = &temp2;
4741 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4742 }
4743 {
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
4745 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
4749 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4750 return resultobj;
4751 fail:
4752 return NULL;
4753 }
4754
4755
4756 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4757 PyObject *resultobj = 0;
4758 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4759 int arg2 ;
4760 int arg3 ;
4761 int *arg4 = (int *) 0 ;
4762 int *arg5 = (int *) 0 ;
4763 void *argp1 = 0 ;
4764 int res1 = 0 ;
4765 int val2 ;
4766 int ecode2 = 0 ;
4767 int val3 ;
4768 int ecode3 = 0 ;
4769 int temp4 ;
4770 int res4 = SWIG_TMPOBJ ;
4771 int temp5 ;
4772 int res5 = SWIG_TMPOBJ ;
4773
4774 arg4 = &temp4;
4775 arg5 = &temp5;
4776 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4778 if (!SWIG_IsOK(res1)) {
4779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4780 }
4781 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4782 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4783 if (!SWIG_IsOK(ecode2)) {
4784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4785 }
4786 arg2 = static_cast< int >(val2);
4787 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4788 if (!SWIG_IsOK(ecode3)) {
4789 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4790 }
4791 arg3 = static_cast< int >(val3);
4792 {
4793 PyThreadState* __tstate = wxPyBeginAllowThreads();
4794 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4795 wxPyEndAllowThreads(__tstate);
4796 if (PyErr_Occurred()) SWIG_fail;
4797 }
4798 resultobj = SWIG_Py_Void();
4799 if (SWIG_IsTmpObj(res4)) {
4800 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4801 } else {
4802 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4803 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4804 }
4805 if (SWIG_IsTmpObj(res5)) {
4806 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4807 } else {
4808 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4809 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4810 }
4811 return resultobj;
4812 fail:
4813 return NULL;
4814 }
4815
4816
4817 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4818 int argc;
4819 PyObject *argv[4];
4820
4821 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4822 --argc;
4823 if (argc == 2) {
4824 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4825 }
4826 if (argc == 3) {
4827 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4828 }
4829
4830 fail:
4831 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4832 return NULL;
4833 }
4834
4835
4836 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4837 PyObject *resultobj = 0;
4838 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4839 wxPoint *arg2 = 0 ;
4840 wxPoint result;
4841 void *argp1 = 0 ;
4842 int res1 = 0 ;
4843 wxPoint temp2 ;
4844
4845 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4847 if (!SWIG_IsOK(res1)) {
4848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4849 }
4850 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4851 {
4852 arg2 = &temp2;
4853 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4854 }
4855 {
4856 PyThreadState* __tstate = wxPyBeginAllowThreads();
4857 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4858 wxPyEndAllowThreads(__tstate);
4859 if (PyErr_Occurred()) SWIG_fail;
4860 }
4861 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4862 return resultobj;
4863 fail:
4864 return NULL;
4865 }
4866
4867
4868 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4869 PyObject *resultobj = 0;
4870 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4871 int arg2 ;
4872 int arg3 ;
4873 int *arg4 = (int *) 0 ;
4874 int *arg5 = (int *) 0 ;
4875 void *argp1 = 0 ;
4876 int res1 = 0 ;
4877 int val2 ;
4878 int ecode2 = 0 ;
4879 int val3 ;
4880 int ecode3 = 0 ;
4881 int temp4 ;
4882 int res4 = SWIG_TMPOBJ ;
4883 int temp5 ;
4884 int res5 = SWIG_TMPOBJ ;
4885
4886 arg4 = &temp4;
4887 arg5 = &temp5;
4888 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4890 if (!SWIG_IsOK(res1)) {
4891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4892 }
4893 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4894 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4895 if (!SWIG_IsOK(ecode2)) {
4896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4897 }
4898 arg2 = static_cast< int >(val2);
4899 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4900 if (!SWIG_IsOK(ecode3)) {
4901 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4902 }
4903 arg3 = static_cast< int >(val3);
4904 {
4905 PyThreadState* __tstate = wxPyBeginAllowThreads();
4906 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4907 wxPyEndAllowThreads(__tstate);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
4910 resultobj = SWIG_Py_Void();
4911 if (SWIG_IsTmpObj(res4)) {
4912 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4913 } else {
4914 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4915 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4916 }
4917 if (SWIG_IsTmpObj(res5)) {
4918 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4919 } else {
4920 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4921 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4922 }
4923 return resultobj;
4924 fail:
4925 return NULL;
4926 }
4927
4928
4929 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4930 int argc;
4931 PyObject *argv[4];
4932
4933 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4934 --argc;
4935 if (argc == 2) {
4936 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4937 }
4938 if (argc == 3) {
4939 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4940 }
4941
4942 fail:
4943 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4944 return NULL;
4945 }
4946
4947
4948 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4949 PyObject *resultobj = 0;
4950 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4951 void *argp1 = 0 ;
4952 int res1 = 0 ;
4953 PyObject *swig_obj[1] ;
4954
4955 if (!args) SWIG_fail;
4956 swig_obj[0] = args;
4957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4958 if (!SWIG_IsOK(res1)) {
4959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4960 }
4961 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4962 {
4963 PyThreadState* __tstate = wxPyBeginAllowThreads();
4964 (arg1)->AdjustScrollbars();
4965 wxPyEndAllowThreads(__tstate);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 resultobj = SWIG_Py_Void();
4969 return resultobj;
4970 fail:
4971 return NULL;
4972 }
4973
4974
4975 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4976 PyObject *resultobj = 0;
4977 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4978 wxScrollWinEvent *arg2 = 0 ;
4979 int result;
4980 void *argp1 = 0 ;
4981 int res1 = 0 ;
4982 void *argp2 = 0 ;
4983 int res2 = 0 ;
4984 PyObject * obj0 = 0 ;
4985 PyObject * obj1 = 0 ;
4986 char * kwnames[] = {
4987 (char *) "self",(char *) "event", NULL
4988 };
4989
4990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
4991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4992 if (!SWIG_IsOK(res1)) {
4993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4994 }
4995 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4996 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
4997 if (!SWIG_IsOK(res2)) {
4998 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
4999 }
5000 if (!argp2) {
5001 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5002 }
5003 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5004 {
5005 PyThreadState* __tstate = wxPyBeginAllowThreads();
5006 result = (int)(arg1)->CalcScrollInc(*arg2);
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 resultobj = SWIG_From_int(static_cast< int >(result));
5011 return resultobj;
5012 fail:
5013 return NULL;
5014 }
5015
5016
5017 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5018 PyObject *resultobj = 0;
5019 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5020 wxWindow *arg2 = (wxWindow *) 0 ;
5021 void *argp1 = 0 ;
5022 int res1 = 0 ;
5023 void *argp2 = 0 ;
5024 int res2 = 0 ;
5025 PyObject * obj0 = 0 ;
5026 PyObject * obj1 = 0 ;
5027 char * kwnames[] = {
5028 (char *) "self",(char *) "target", NULL
5029 };
5030
5031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5033 if (!SWIG_IsOK(res1)) {
5034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5035 }
5036 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5037 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5038 if (!SWIG_IsOK(res2)) {
5039 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5040 }
5041 arg2 = reinterpret_cast< wxWindow * >(argp2);
5042 {
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 (arg1)->SetTargetWindow(arg2);
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 resultobj = SWIG_Py_Void();
5049 return resultobj;
5050 fail:
5051 return NULL;
5052 }
5053
5054
5055 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5056 PyObject *resultobj = 0;
5057 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5058 wxWindow *result = 0 ;
5059 void *argp1 = 0 ;
5060 int res1 = 0 ;
5061 PyObject *swig_obj[1] ;
5062
5063 if (!args) SWIG_fail;
5064 swig_obj[0] = args;
5065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5066 if (!SWIG_IsOK(res1)) {
5067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5068 }
5069 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5070 {
5071 PyThreadState* __tstate = wxPyBeginAllowThreads();
5072 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5073 wxPyEndAllowThreads(__tstate);
5074 if (PyErr_Occurred()) SWIG_fail;
5075 }
5076 {
5077 resultobj = wxPyMake_wxObject(result, 0);
5078 }
5079 return resultobj;
5080 fail:
5081 return NULL;
5082 }
5083
5084
5085 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5086 PyObject *resultobj = 0;
5087 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5088 wxDC *arg2 = 0 ;
5089 void *argp1 = 0 ;
5090 int res1 = 0 ;
5091 void *argp2 = 0 ;
5092 int res2 = 0 ;
5093 PyObject * obj0 = 0 ;
5094 PyObject * obj1 = 0 ;
5095 char * kwnames[] = {
5096 (char *) "self",(char *) "dc", NULL
5097 };
5098
5099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5101 if (!SWIG_IsOK(res1)) {
5102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5103 }
5104 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5105 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5106 if (!SWIG_IsOK(res2)) {
5107 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5108 }
5109 if (!argp2) {
5110 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5111 }
5112 arg2 = reinterpret_cast< wxDC * >(argp2);
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 (arg1)->DoPrepareDC(*arg2);
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 resultobj = SWIG_Py_Void();
5120 return resultobj;
5121 fail:
5122 return NULL;
5123 }
5124
5125
5126 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj = 0;
5128 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5129 SwigValueWrapper<wxVisualAttributes > result;
5130 int val1 ;
5131 int ecode1 = 0 ;
5132 PyObject * obj0 = 0 ;
5133 char * kwnames[] = {
5134 (char *) "variant", NULL
5135 };
5136
5137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5138 if (obj0) {
5139 ecode1 = SWIG_AsVal_int(obj0, &val1);
5140 if (!SWIG_IsOK(ecode1)) {
5141 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5142 }
5143 arg1 = static_cast< wxWindowVariant >(val1);
5144 }
5145 {
5146 if (!wxPyCheckForApp()) SWIG_fail;
5147 PyThreadState* __tstate = wxPyBeginAllowThreads();
5148 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5149 wxPyEndAllowThreads(__tstate);
5150 if (PyErr_Occurred()) SWIG_fail;
5151 }
5152 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5153 return resultobj;
5154 fail:
5155 return NULL;
5156 }
5157
5158
5159 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5160 PyObject *obj;
5161 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5162 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5163 return SWIG_Py_Void();
5164 }
5165
5166 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5167 return SWIG_Python_InitShadowInstance(args);
5168 }
5169
5170 SWIGINTERN int FrameNameStr_set(PyObject *) {
5171 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5172 return 1;
5173 }
5174
5175
5176 SWIGINTERN PyObject *FrameNameStr_get(void) {
5177 PyObject *pyobj = 0;
5178
5179 {
5180 #if wxUSE_UNICODE
5181 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5182 #else
5183 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5184 #endif
5185 }
5186 return pyobj;
5187 }
5188
5189
5190 SWIGINTERN int DialogNameStr_set(PyObject *) {
5191 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5192 return 1;
5193 }
5194
5195
5196 SWIGINTERN PyObject *DialogNameStr_get(void) {
5197 PyObject *pyobj = 0;
5198
5199 {
5200 #if wxUSE_UNICODE
5201 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5202 #else
5203 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5204 #endif
5205 }
5206 return pyobj;
5207 }
5208
5209
5210 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5211 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5212 return 1;
5213 }
5214
5215
5216 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5217 PyObject *pyobj = 0;
5218
5219 {
5220 #if wxUSE_UNICODE
5221 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5222 #else
5223 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5224 #endif
5225 }
5226 return pyobj;
5227 }
5228
5229
5230 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5231 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5232 return 1;
5233 }
5234
5235
5236 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5237 PyObject *pyobj = 0;
5238
5239 {
5240 #if wxUSE_UNICODE
5241 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5242 #else
5243 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5244 #endif
5245 }
5246 return pyobj;
5247 }
5248
5249
5250 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5251 PyObject *resultobj = 0;
5252 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5253 bool arg2 = (bool) true ;
5254 void *argp1 = 0 ;
5255 int res1 = 0 ;
5256 bool val2 ;
5257 int ecode2 = 0 ;
5258 PyObject * obj0 = 0 ;
5259 PyObject * obj1 = 0 ;
5260 char * kwnames[] = {
5261 (char *) "self",(char *) "maximize", NULL
5262 };
5263
5264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5266 if (!SWIG_IsOK(res1)) {
5267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5268 }
5269 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5270 if (obj1) {
5271 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5272 if (!SWIG_IsOK(ecode2)) {
5273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5274 }
5275 arg2 = static_cast< bool >(val2);
5276 }
5277 {
5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
5279 (arg1)->Maximize(arg2);
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 resultobj = SWIG_Py_Void();
5284 return resultobj;
5285 fail:
5286 return NULL;
5287 }
5288
5289
5290 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5291 PyObject *resultobj = 0;
5292 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5293 void *argp1 = 0 ;
5294 int res1 = 0 ;
5295 PyObject *swig_obj[1] ;
5296
5297 if (!args) SWIG_fail;
5298 swig_obj[0] = args;
5299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5300 if (!SWIG_IsOK(res1)) {
5301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5302 }
5303 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5304 {
5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
5306 (arg1)->Restore();
5307 wxPyEndAllowThreads(__tstate);
5308 if (PyErr_Occurred()) SWIG_fail;
5309 }
5310 resultobj = SWIG_Py_Void();
5311 return resultobj;
5312 fail:
5313 return NULL;
5314 }
5315
5316
5317 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5318 PyObject *resultobj = 0;
5319 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5320 bool arg2 = (bool) true ;
5321 void *argp1 = 0 ;
5322 int res1 = 0 ;
5323 bool val2 ;
5324 int ecode2 = 0 ;
5325 PyObject * obj0 = 0 ;
5326 PyObject * obj1 = 0 ;
5327 char * kwnames[] = {
5328 (char *) "self",(char *) "iconize", NULL
5329 };
5330
5331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5333 if (!SWIG_IsOK(res1)) {
5334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5335 }
5336 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5337 if (obj1) {
5338 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5339 if (!SWIG_IsOK(ecode2)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5341 }
5342 arg2 = static_cast< bool >(val2);
5343 }
5344 {
5345 PyThreadState* __tstate = wxPyBeginAllowThreads();
5346 (arg1)->Iconize(arg2);
5347 wxPyEndAllowThreads(__tstate);
5348 if (PyErr_Occurred()) SWIG_fail;
5349 }
5350 resultobj = SWIG_Py_Void();
5351 return resultobj;
5352 fail:
5353 return NULL;
5354 }
5355
5356
5357 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5358 PyObject *resultobj = 0;
5359 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5360 bool result;
5361 void *argp1 = 0 ;
5362 int res1 = 0 ;
5363 PyObject *swig_obj[1] ;
5364
5365 if (!args) SWIG_fail;
5366 swig_obj[0] = args;
5367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5368 if (!SWIG_IsOK(res1)) {
5369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5370 }
5371 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5372 {
5373 PyThreadState* __tstate = wxPyBeginAllowThreads();
5374 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5375 wxPyEndAllowThreads(__tstate);
5376 if (PyErr_Occurred()) SWIG_fail;
5377 }
5378 {
5379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5380 }
5381 return resultobj;
5382 fail:
5383 return NULL;
5384 }
5385
5386
5387 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5388 PyObject *resultobj = 0;
5389 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5390 bool result;
5391 void *argp1 = 0 ;
5392 int res1 = 0 ;
5393 PyObject *swig_obj[1] ;
5394
5395 if (!args) SWIG_fail;
5396 swig_obj[0] = args;
5397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5398 if (!SWIG_IsOK(res1)) {
5399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5400 }
5401 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5402 {
5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
5404 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5405 wxPyEndAllowThreads(__tstate);
5406 if (PyErr_Occurred()) SWIG_fail;
5407 }
5408 {
5409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5410 }
5411 return resultobj;
5412 fail:
5413 return NULL;
5414 }
5415
5416
5417 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5418 PyObject *resultobj = 0;
5419 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5420 wxIcon result;
5421 void *argp1 = 0 ;
5422 int res1 = 0 ;
5423 PyObject *swig_obj[1] ;
5424
5425 if (!args) SWIG_fail;
5426 swig_obj[0] = args;
5427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5428 if (!SWIG_IsOK(res1)) {
5429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5430 }
5431 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5432 {
5433 PyThreadState* __tstate = wxPyBeginAllowThreads();
5434 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5435 wxPyEndAllowThreads(__tstate);
5436 if (PyErr_Occurred()) SWIG_fail;
5437 }
5438 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5439 return resultobj;
5440 fail:
5441 return NULL;
5442 }
5443
5444
5445 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5446 PyObject *resultobj = 0;
5447 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5448 wxIcon *arg2 = 0 ;
5449 void *argp1 = 0 ;
5450 int res1 = 0 ;
5451 void *argp2 = 0 ;
5452 int res2 = 0 ;
5453 PyObject * obj0 = 0 ;
5454 PyObject * obj1 = 0 ;
5455 char * kwnames[] = {
5456 (char *) "self",(char *) "icon", NULL
5457 };
5458
5459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5461 if (!SWIG_IsOK(res1)) {
5462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5463 }
5464 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5465 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5466 if (!SWIG_IsOK(res2)) {
5467 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5468 }
5469 if (!argp2) {
5470 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5471 }
5472 arg2 = reinterpret_cast< wxIcon * >(argp2);
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 (arg1)->SetIcon((wxIcon const &)*arg2);
5476 wxPyEndAllowThreads(__tstate);
5477 if (PyErr_Occurred()) SWIG_fail;
5478 }
5479 resultobj = SWIG_Py_Void();
5480 return resultobj;
5481 fail:
5482 return NULL;
5483 }
5484
5485
5486 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5487 PyObject *resultobj = 0;
5488 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5489 wxIconBundle *arg2 = 0 ;
5490 void *argp1 = 0 ;
5491 int res1 = 0 ;
5492 void *argp2 = 0 ;
5493 int res2 = 0 ;
5494 PyObject * obj0 = 0 ;
5495 PyObject * obj1 = 0 ;
5496 char * kwnames[] = {
5497 (char *) "self",(char *) "icons", NULL
5498 };
5499
5500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5502 if (!SWIG_IsOK(res1)) {
5503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5504 }
5505 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5506 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5507 if (!SWIG_IsOK(res2)) {
5508 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5509 }
5510 if (!argp2) {
5511 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5512 }
5513 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5514 {
5515 PyThreadState* __tstate = wxPyBeginAllowThreads();
5516 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5517 wxPyEndAllowThreads(__tstate);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 }
5520 resultobj = SWIG_Py_Void();
5521 return resultobj;
5522 fail:
5523 return NULL;
5524 }
5525
5526
5527 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5528 PyObject *resultobj = 0;
5529 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5530 bool arg2 ;
5531 long arg3 = (long) wxFULLSCREEN_ALL ;
5532 bool result;
5533 void *argp1 = 0 ;
5534 int res1 = 0 ;
5535 bool val2 ;
5536 int ecode2 = 0 ;
5537 long val3 ;
5538 int ecode3 = 0 ;
5539 PyObject * obj0 = 0 ;
5540 PyObject * obj1 = 0 ;
5541 PyObject * obj2 = 0 ;
5542 char * kwnames[] = {
5543 (char *) "self",(char *) "show",(char *) "style", NULL
5544 };
5545
5546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5548 if (!SWIG_IsOK(res1)) {
5549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5550 }
5551 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5552 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5553 if (!SWIG_IsOK(ecode2)) {
5554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5555 }
5556 arg2 = static_cast< bool >(val2);
5557 if (obj2) {
5558 ecode3 = SWIG_AsVal_long(obj2, &val3);
5559 if (!SWIG_IsOK(ecode3)) {
5560 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5561 }
5562 arg3 = static_cast< long >(val3);
5563 }
5564 {
5565 PyThreadState* __tstate = wxPyBeginAllowThreads();
5566 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5567 wxPyEndAllowThreads(__tstate);
5568 if (PyErr_Occurred()) SWIG_fail;
5569 }
5570 {
5571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5572 }
5573 return resultobj;
5574 fail:
5575 return NULL;
5576 }
5577
5578
5579 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5580 PyObject *resultobj = 0;
5581 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5582 bool result;
5583 void *argp1 = 0 ;
5584 int res1 = 0 ;
5585 PyObject *swig_obj[1] ;
5586
5587 if (!args) SWIG_fail;
5588 swig_obj[0] = args;
5589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5590 if (!SWIG_IsOK(res1)) {
5591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5592 }
5593 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5594 {
5595 PyThreadState* __tstate = wxPyBeginAllowThreads();
5596 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5597 wxPyEndAllowThreads(__tstate);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
5600 {
5601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5602 }
5603 return resultobj;
5604 fail:
5605 return NULL;
5606 }
5607
5608
5609 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5610 PyObject *resultobj = 0;
5611 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5612 wxString *arg2 = 0 ;
5613 void *argp1 = 0 ;
5614 int res1 = 0 ;
5615 bool temp2 = false ;
5616 PyObject * obj0 = 0 ;
5617 PyObject * obj1 = 0 ;
5618 char * kwnames[] = {
5619 (char *) "self",(char *) "title", NULL
5620 };
5621
5622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5624 if (!SWIG_IsOK(res1)) {
5625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5626 }
5627 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5628 {
5629 arg2 = wxString_in_helper(obj1);
5630 if (arg2 == NULL) SWIG_fail;
5631 temp2 = true;
5632 }
5633 {
5634 PyThreadState* __tstate = wxPyBeginAllowThreads();
5635 (arg1)->SetTitle((wxString const &)*arg2);
5636 wxPyEndAllowThreads(__tstate);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 resultobj = SWIG_Py_Void();
5640 {
5641 if (temp2)
5642 delete arg2;
5643 }
5644 return resultobj;
5645 fail:
5646 {
5647 if (temp2)
5648 delete arg2;
5649 }
5650 return NULL;
5651 }
5652
5653
5654 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5655 PyObject *resultobj = 0;
5656 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5657 wxString result;
5658 void *argp1 = 0 ;
5659 int res1 = 0 ;
5660 PyObject *swig_obj[1] ;
5661
5662 if (!args) SWIG_fail;
5663 swig_obj[0] = args;
5664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5665 if (!SWIG_IsOK(res1)) {
5666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5667 }
5668 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5669 {
5670 PyThreadState* __tstate = wxPyBeginAllowThreads();
5671 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5672 wxPyEndAllowThreads(__tstate);
5673 if (PyErr_Occurred()) SWIG_fail;
5674 }
5675 {
5676 #if wxUSE_UNICODE
5677 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5678 #else
5679 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5680 #endif
5681 }
5682 return resultobj;
5683 fail:
5684 return NULL;
5685 }
5686
5687
5688 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5689 PyObject *resultobj = 0;
5690 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5691 wxRegion *arg2 = 0 ;
5692 bool result;
5693 void *argp1 = 0 ;
5694 int res1 = 0 ;
5695 void *argp2 = 0 ;
5696 int res2 = 0 ;
5697 PyObject * obj0 = 0 ;
5698 PyObject * obj1 = 0 ;
5699 char * kwnames[] = {
5700 (char *) "self",(char *) "region", NULL
5701 };
5702
5703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5705 if (!SWIG_IsOK(res1)) {
5706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5707 }
5708 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5709 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5710 if (!SWIG_IsOK(res2)) {
5711 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5712 }
5713 if (!argp2) {
5714 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5715 }
5716 arg2 = reinterpret_cast< wxRegion * >(argp2);
5717 {
5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
5719 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5720 wxPyEndAllowThreads(__tstate);
5721 if (PyErr_Occurred()) SWIG_fail;
5722 }
5723 {
5724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5725 }
5726 return resultobj;
5727 fail:
5728 return NULL;
5729 }
5730
5731
5732 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5733 PyObject *resultobj = 0;
5734 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5735 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5736 void *argp1 = 0 ;
5737 int res1 = 0 ;
5738 int val2 ;
5739 int ecode2 = 0 ;
5740 PyObject * obj0 = 0 ;
5741 PyObject * obj1 = 0 ;
5742 char * kwnames[] = {
5743 (char *) "self",(char *) "flags", NULL
5744 };
5745
5746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5748 if (!SWIG_IsOK(res1)) {
5749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5750 }
5751 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5752 if (obj1) {
5753 ecode2 = SWIG_AsVal_int(obj1, &val2);
5754 if (!SWIG_IsOK(ecode2)) {
5755 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5756 }
5757 arg2 = static_cast< int >(val2);
5758 }
5759 {
5760 PyThreadState* __tstate = wxPyBeginAllowThreads();
5761 (arg1)->RequestUserAttention(arg2);
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
5765 resultobj = SWIG_Py_Void();
5766 return resultobj;
5767 fail:
5768 return NULL;
5769 }
5770
5771
5772 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5773 PyObject *resultobj = 0;
5774 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5775 bool result;
5776 void *argp1 = 0 ;
5777 int res1 = 0 ;
5778 PyObject *swig_obj[1] ;
5779
5780 if (!args) SWIG_fail;
5781 swig_obj[0] = args;
5782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5783 if (!SWIG_IsOK(res1)) {
5784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5785 }
5786 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 result = (bool)(arg1)->IsActive();
5790 wxPyEndAllowThreads(__tstate);
5791 if (PyErr_Occurred()) SWIG_fail;
5792 }
5793 {
5794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5795 }
5796 return resultobj;
5797 fail:
5798 return NULL;
5799 }
5800
5801
5802 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj = 0;
5804 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5805 bool arg2 ;
5806 void *argp1 = 0 ;
5807 int res1 = 0 ;
5808 bool val2 ;
5809 int ecode2 = 0 ;
5810 PyObject * obj0 = 0 ;
5811 PyObject * obj1 = 0 ;
5812 char * kwnames[] = {
5813 (char *) "self",(char *) "on", NULL
5814 };
5815
5816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5818 if (!SWIG_IsOK(res1)) {
5819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5820 }
5821 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5822 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5823 if (!SWIG_IsOK(ecode2)) {
5824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5825 }
5826 arg2 = static_cast< bool >(val2);
5827 {
5828 PyThreadState* __tstate = wxPyBeginAllowThreads();
5829 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5830 wxPyEndAllowThreads(__tstate);
5831 if (PyErr_Occurred()) SWIG_fail;
5832 }
5833 resultobj = SWIG_Py_Void();
5834 return resultobj;
5835 fail:
5836 return NULL;
5837 }
5838
5839
5840 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5841 PyObject *resultobj = 0;
5842 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5843 bool result;
5844 void *argp1 = 0 ;
5845 int res1 = 0 ;
5846 PyObject *swig_obj[1] ;
5847
5848 if (!args) SWIG_fail;
5849 swig_obj[0] = args;
5850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5851 if (!SWIG_IsOK(res1)) {
5852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5853 }
5854 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5855 {
5856 PyThreadState* __tstate = wxPyBeginAllowThreads();
5857 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5858 wxPyEndAllowThreads(__tstate);
5859 if (PyErr_Occurred()) SWIG_fail;
5860 }
5861 {
5862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5863 }
5864 return resultobj;
5865 fail:
5866 return NULL;
5867 }
5868
5869
5870 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5871 PyObject *resultobj = 0;
5872 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5873 int arg2 = (int) wxBOTH ;
5874 void *argp1 = 0 ;
5875 int res1 = 0 ;
5876 int val2 ;
5877 int ecode2 = 0 ;
5878 PyObject * obj0 = 0 ;
5879 PyObject * obj1 = 0 ;
5880 char * kwnames[] = {
5881 (char *) "self",(char *) "dir", NULL
5882 };
5883
5884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
5885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5886 if (!SWIG_IsOK(res1)) {
5887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5888 }
5889 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5890 if (obj1) {
5891 ecode2 = SWIG_AsVal_int(obj1, &val2);
5892 if (!SWIG_IsOK(ecode2)) {
5893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5894 }
5895 arg2 = static_cast< int >(val2);
5896 }
5897 {
5898 PyThreadState* __tstate = wxPyBeginAllowThreads();
5899 (arg1)->CenterOnScreen(arg2);
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 }
5903 resultobj = SWIG_Py_Void();
5904 return resultobj;
5905 fail:
5906 return NULL;
5907 }
5908
5909
5910 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5911 PyObject *obj;
5912 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5913 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
5914 return SWIG_Py_Void();
5915 }
5916
5917 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5918 PyObject *resultobj = 0;
5919 wxWindow *arg1 = (wxWindow *) 0 ;
5920 int arg2 = (int) (int)-1 ;
5921 wxString const &arg3_defvalue = wxPyEmptyString ;
5922 wxString *arg3 = (wxString *) &arg3_defvalue ;
5923 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5924 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5925 wxSize const &arg5_defvalue = wxDefaultSize ;
5926 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5927 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
5928 wxString const &arg7_defvalue = wxPyFrameNameStr ;
5929 wxString *arg7 = (wxString *) &arg7_defvalue ;
5930 wxFrame *result = 0 ;
5931 void *argp1 = 0 ;
5932 int res1 = 0 ;
5933 int val2 ;
5934 int ecode2 = 0 ;
5935 bool temp3 = false ;
5936 wxPoint temp4 ;
5937 wxSize temp5 ;
5938 long val6 ;
5939 int ecode6 = 0 ;
5940 bool temp7 = false ;
5941 PyObject * obj0 = 0 ;
5942 PyObject * obj1 = 0 ;
5943 PyObject * obj2 = 0 ;
5944 PyObject * obj3 = 0 ;
5945 PyObject * obj4 = 0 ;
5946 PyObject * obj5 = 0 ;
5947 PyObject * obj6 = 0 ;
5948 char * kwnames[] = {
5949 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5950 };
5951
5952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
5953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5954 if (!SWIG_IsOK(res1)) {
5955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
5956 }
5957 arg1 = reinterpret_cast< wxWindow * >(argp1);
5958 if (obj1) {
5959 ecode2 = SWIG_AsVal_int(obj1, &val2);
5960 if (!SWIG_IsOK(ecode2)) {
5961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
5962 }
5963 arg2 = static_cast< int >(val2);
5964 }
5965 if (obj2) {
5966 {
5967 arg3 = wxString_in_helper(obj2);
5968 if (arg3 == NULL) SWIG_fail;
5969 temp3 = true;
5970 }
5971 }
5972 if (obj3) {
5973 {
5974 arg4 = &temp4;
5975 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5976 }
5977 }
5978 if (obj4) {
5979 {
5980 arg5 = &temp5;
5981 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5982 }
5983 }
5984 if (obj5) {
5985 ecode6 = SWIG_AsVal_long(obj5, &val6);
5986 if (!SWIG_IsOK(ecode6)) {
5987 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
5988 }
5989 arg6 = static_cast< long >(val6);
5990 }
5991 if (obj6) {
5992 {
5993 arg7 = wxString_in_helper(obj6);
5994 if (arg7 == NULL) SWIG_fail;
5995 temp7 = true;
5996 }
5997 }
5998 {
5999 if (!wxPyCheckForApp()) SWIG_fail;
6000 PyThreadState* __tstate = wxPyBeginAllowThreads();
6001 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6002 wxPyEndAllowThreads(__tstate);
6003 if (PyErr_Occurred()) SWIG_fail;
6004 }
6005 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6006 {
6007 if (temp3)
6008 delete arg3;
6009 }
6010 {
6011 if (temp7)
6012 delete arg7;
6013 }
6014 return resultobj;
6015 fail:
6016 {
6017 if (temp3)
6018 delete arg3;
6019 }
6020 {
6021 if (temp7)
6022 delete arg7;
6023 }
6024 return NULL;
6025 }
6026
6027
6028 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6029 PyObject *resultobj = 0;
6030 wxFrame *result = 0 ;
6031
6032 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6033 {
6034 if (!wxPyCheckForApp()) SWIG_fail;
6035 PyThreadState* __tstate = wxPyBeginAllowThreads();
6036 result = (wxFrame *)new wxFrame();
6037 wxPyEndAllowThreads(__tstate);
6038 if (PyErr_Occurred()) SWIG_fail;
6039 }
6040 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6041 return resultobj;
6042 fail:
6043 return NULL;
6044 }
6045
6046
6047 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6048 PyObject *resultobj = 0;
6049 wxFrame *arg1 = (wxFrame *) 0 ;
6050 wxWindow *arg2 = (wxWindow *) 0 ;
6051 int arg3 = (int) (int)-1 ;
6052 wxString const &arg4_defvalue = wxPyEmptyString ;
6053 wxString *arg4 = (wxString *) &arg4_defvalue ;
6054 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6055 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6056 wxSize const &arg6_defvalue = wxDefaultSize ;
6057 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6058 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6059 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6060 wxString *arg8 = (wxString *) &arg8_defvalue ;
6061 bool result;
6062 void *argp1 = 0 ;
6063 int res1 = 0 ;
6064 void *argp2 = 0 ;
6065 int res2 = 0 ;
6066 int val3 ;
6067 int ecode3 = 0 ;
6068 bool temp4 = false ;
6069 wxPoint temp5 ;
6070 wxSize temp6 ;
6071 long val7 ;
6072 int ecode7 = 0 ;
6073 bool temp8 = false ;
6074 PyObject * obj0 = 0 ;
6075 PyObject * obj1 = 0 ;
6076 PyObject * obj2 = 0 ;
6077 PyObject * obj3 = 0 ;
6078 PyObject * obj4 = 0 ;
6079 PyObject * obj5 = 0 ;
6080 PyObject * obj6 = 0 ;
6081 PyObject * obj7 = 0 ;
6082 char * kwnames[] = {
6083 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6084 };
6085
6086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6088 if (!SWIG_IsOK(res1)) {
6089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6090 }
6091 arg1 = reinterpret_cast< wxFrame * >(argp1);
6092 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6093 if (!SWIG_IsOK(res2)) {
6094 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6095 }
6096 arg2 = reinterpret_cast< wxWindow * >(argp2);
6097 if (obj2) {
6098 ecode3 = SWIG_AsVal_int(obj2, &val3);
6099 if (!SWIG_IsOK(ecode3)) {
6100 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6101 }
6102 arg3 = static_cast< int >(val3);
6103 }
6104 if (obj3) {
6105 {
6106 arg4 = wxString_in_helper(obj3);
6107 if (arg4 == NULL) SWIG_fail;
6108 temp4 = true;
6109 }
6110 }
6111 if (obj4) {
6112 {
6113 arg5 = &temp5;
6114 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6115 }
6116 }
6117 if (obj5) {
6118 {
6119 arg6 = &temp6;
6120 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6121 }
6122 }
6123 if (obj6) {
6124 ecode7 = SWIG_AsVal_long(obj6, &val7);
6125 if (!SWIG_IsOK(ecode7)) {
6126 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6127 }
6128 arg7 = static_cast< long >(val7);
6129 }
6130 if (obj7) {
6131 {
6132 arg8 = wxString_in_helper(obj7);
6133 if (arg8 == NULL) SWIG_fail;
6134 temp8 = true;
6135 }
6136 }
6137 {
6138 PyThreadState* __tstate = wxPyBeginAllowThreads();
6139 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 {
6144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6145 }
6146 {
6147 if (temp4)
6148 delete arg4;
6149 }
6150 {
6151 if (temp8)
6152 delete arg8;
6153 }
6154 return resultobj;
6155 fail:
6156 {
6157 if (temp4)
6158 delete arg4;
6159 }
6160 {
6161 if (temp8)
6162 delete arg8;
6163 }
6164 return NULL;
6165 }
6166
6167
6168 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6169 PyObject *resultobj = 0;
6170 wxFrame *arg1 = (wxFrame *) 0 ;
6171 void *argp1 = 0 ;
6172 int res1 = 0 ;
6173 PyObject *swig_obj[1] ;
6174
6175 if (!args) SWIG_fail;
6176 swig_obj[0] = args;
6177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6178 if (!SWIG_IsOK(res1)) {
6179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6180 }
6181 arg1 = reinterpret_cast< wxFrame * >(argp1);
6182 {
6183 PyThreadState* __tstate = wxPyBeginAllowThreads();
6184 (arg1)->SendSizeEvent();
6185 wxPyEndAllowThreads(__tstate);
6186 if (PyErr_Occurred()) SWIG_fail;
6187 }
6188 resultobj = SWIG_Py_Void();
6189 return resultobj;
6190 fail:
6191 return NULL;
6192 }
6193
6194
6195 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6196 PyObject *resultobj = 0;
6197 wxFrame *arg1 = (wxFrame *) 0 ;
6198 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6199 void *argp1 = 0 ;
6200 int res1 = 0 ;
6201 void *argp2 = 0 ;
6202 int res2 = 0 ;
6203 PyObject * obj0 = 0 ;
6204 PyObject * obj1 = 0 ;
6205 char * kwnames[] = {
6206 (char *) "self",(char *) "menubar", NULL
6207 };
6208
6209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6211 if (!SWIG_IsOK(res1)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6213 }
6214 arg1 = reinterpret_cast< wxFrame * >(argp1);
6215 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6216 if (!SWIG_IsOK(res2)) {
6217 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6218 }
6219 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6220 {
6221 PyThreadState* __tstate = wxPyBeginAllowThreads();
6222 (arg1)->SetMenuBar(arg2);
6223 wxPyEndAllowThreads(__tstate);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 }
6226 resultobj = SWIG_Py_Void();
6227 return resultobj;
6228 fail:
6229 return NULL;
6230 }
6231
6232
6233 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6234 PyObject *resultobj = 0;
6235 wxFrame *arg1 = (wxFrame *) 0 ;
6236 wxMenuBar *result = 0 ;
6237 void *argp1 = 0 ;
6238 int res1 = 0 ;
6239 PyObject *swig_obj[1] ;
6240
6241 if (!args) SWIG_fail;
6242 swig_obj[0] = args;
6243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6244 if (!SWIG_IsOK(res1)) {
6245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6246 }
6247 arg1 = reinterpret_cast< wxFrame * >(argp1);
6248 {
6249 PyThreadState* __tstate = wxPyBeginAllowThreads();
6250 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6251 wxPyEndAllowThreads(__tstate);
6252 if (PyErr_Occurred()) SWIG_fail;
6253 }
6254 {
6255 resultobj = wxPyMake_wxObject(result, 0);
6256 }
6257 return resultobj;
6258 fail:
6259 return NULL;
6260 }
6261
6262
6263 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6264 PyObject *resultobj = 0;
6265 wxFrame *arg1 = (wxFrame *) 0 ;
6266 int arg2 ;
6267 bool result;
6268 void *argp1 = 0 ;
6269 int res1 = 0 ;
6270 int val2 ;
6271 int ecode2 = 0 ;
6272 PyObject * obj0 = 0 ;
6273 PyObject * obj1 = 0 ;
6274 char * kwnames[] = {
6275 (char *) "self",(char *) "winid", NULL
6276 };
6277
6278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",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_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6282 }
6283 arg1 = reinterpret_cast< wxFrame * >(argp1);
6284 ecode2 = SWIG_AsVal_int(obj1, &val2);
6285 if (!SWIG_IsOK(ecode2)) {
6286 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6287 }
6288 arg2 = static_cast< int >(val2);
6289 {
6290 PyThreadState* __tstate = wxPyBeginAllowThreads();
6291 result = (bool)(arg1)->ProcessCommand(arg2);
6292 wxPyEndAllowThreads(__tstate);
6293 if (PyErr_Occurred()) SWIG_fail;
6294 }
6295 {
6296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6297 }
6298 return resultobj;
6299 fail:
6300 return NULL;
6301 }
6302
6303
6304 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6305 PyObject *resultobj = 0;
6306 wxFrame *arg1 = (wxFrame *) 0 ;
6307 int arg2 = (int) 1 ;
6308 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6309 int arg4 = (int) 0 ;
6310 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6311 wxString *arg5 = (wxString *) &arg5_defvalue ;
6312 wxStatusBar *result = 0 ;
6313 void *argp1 = 0 ;
6314 int res1 = 0 ;
6315 int val2 ;
6316 int ecode2 = 0 ;
6317 long val3 ;
6318 int ecode3 = 0 ;
6319 int val4 ;
6320 int ecode4 = 0 ;
6321 bool temp5 = false ;
6322 PyObject * obj0 = 0 ;
6323 PyObject * obj1 = 0 ;
6324 PyObject * obj2 = 0 ;
6325 PyObject * obj3 = 0 ;
6326 PyObject * obj4 = 0 ;
6327 char * kwnames[] = {
6328 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6329 };
6330
6331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6333 if (!SWIG_IsOK(res1)) {
6334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6335 }
6336 arg1 = reinterpret_cast< wxFrame * >(argp1);
6337 if (obj1) {
6338 ecode2 = SWIG_AsVal_int(obj1, &val2);
6339 if (!SWIG_IsOK(ecode2)) {
6340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6341 }
6342 arg2 = static_cast< int >(val2);
6343 }
6344 if (obj2) {
6345 ecode3 = SWIG_AsVal_long(obj2, &val3);
6346 if (!SWIG_IsOK(ecode3)) {
6347 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6348 }
6349 arg3 = static_cast< long >(val3);
6350 }
6351 if (obj3) {
6352 ecode4 = SWIG_AsVal_int(obj3, &val4);
6353 if (!SWIG_IsOK(ecode4)) {
6354 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6355 }
6356 arg4 = static_cast< int >(val4);
6357 }
6358 if (obj4) {
6359 {
6360 arg5 = wxString_in_helper(obj4);
6361 if (arg5 == NULL) SWIG_fail;
6362 temp5 = true;
6363 }
6364 }
6365 {
6366 PyThreadState* __tstate = wxPyBeginAllowThreads();
6367 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6368 wxPyEndAllowThreads(__tstate);
6369 if (PyErr_Occurred()) SWIG_fail;
6370 }
6371 {
6372 resultobj = wxPyMake_wxObject(result, (bool)0);
6373 }
6374 {
6375 if (temp5)
6376 delete arg5;
6377 }
6378 return resultobj;
6379 fail:
6380 {
6381 if (temp5)
6382 delete arg5;
6383 }
6384 return NULL;
6385 }
6386
6387
6388 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6389 PyObject *resultobj = 0;
6390 wxFrame *arg1 = (wxFrame *) 0 ;
6391 wxStatusBar *result = 0 ;
6392 void *argp1 = 0 ;
6393 int res1 = 0 ;
6394 PyObject *swig_obj[1] ;
6395
6396 if (!args) SWIG_fail;
6397 swig_obj[0] = args;
6398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6399 if (!SWIG_IsOK(res1)) {
6400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6401 }
6402 arg1 = reinterpret_cast< wxFrame * >(argp1);
6403 {
6404 PyThreadState* __tstate = wxPyBeginAllowThreads();
6405 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6406 wxPyEndAllowThreads(__tstate);
6407 if (PyErr_Occurred()) SWIG_fail;
6408 }
6409 {
6410 resultobj = wxPyMake_wxObject(result, (bool)0);
6411 }
6412 return resultobj;
6413 fail:
6414 return NULL;
6415 }
6416
6417
6418 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6419 PyObject *resultobj = 0;
6420 wxFrame *arg1 = (wxFrame *) 0 ;
6421 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6422 void *argp1 = 0 ;
6423 int res1 = 0 ;
6424 void *argp2 = 0 ;
6425 int res2 = 0 ;
6426 PyObject * obj0 = 0 ;
6427 PyObject * obj1 = 0 ;
6428 char * kwnames[] = {
6429 (char *) "self",(char *) "statBar", NULL
6430 };
6431
6432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6434 if (!SWIG_IsOK(res1)) {
6435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6436 }
6437 arg1 = reinterpret_cast< wxFrame * >(argp1);
6438 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6439 if (!SWIG_IsOK(res2)) {
6440 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6441 }
6442 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6443 {
6444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6445 (arg1)->SetStatusBar(arg2);
6446 wxPyEndAllowThreads(__tstate);
6447 if (PyErr_Occurred()) SWIG_fail;
6448 }
6449 resultobj = SWIG_Py_Void();
6450 return resultobj;
6451 fail:
6452 return NULL;
6453 }
6454
6455
6456 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6457 PyObject *resultobj = 0;
6458 wxFrame *arg1 = (wxFrame *) 0 ;
6459 wxString *arg2 = 0 ;
6460 int arg3 = (int) 0 ;
6461 void *argp1 = 0 ;
6462 int res1 = 0 ;
6463 bool temp2 = false ;
6464 int val3 ;
6465 int ecode3 = 0 ;
6466 PyObject * obj0 = 0 ;
6467 PyObject * obj1 = 0 ;
6468 PyObject * obj2 = 0 ;
6469 char * kwnames[] = {
6470 (char *) "self",(char *) "text",(char *) "number", NULL
6471 };
6472
6473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6475 if (!SWIG_IsOK(res1)) {
6476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6477 }
6478 arg1 = reinterpret_cast< wxFrame * >(argp1);
6479 {
6480 arg2 = wxString_in_helper(obj1);
6481 if (arg2 == NULL) SWIG_fail;
6482 temp2 = true;
6483 }
6484 if (obj2) {
6485 ecode3 = SWIG_AsVal_int(obj2, &val3);
6486 if (!SWIG_IsOK(ecode3)) {
6487 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6488 }
6489 arg3 = static_cast< int >(val3);
6490 }
6491 {
6492 PyThreadState* __tstate = wxPyBeginAllowThreads();
6493 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6494 wxPyEndAllowThreads(__tstate);
6495 if (PyErr_Occurred()) SWIG_fail;
6496 }
6497 resultobj = SWIG_Py_Void();
6498 {
6499 if (temp2)
6500 delete arg2;
6501 }
6502 return resultobj;
6503 fail:
6504 {
6505 if (temp2)
6506 delete arg2;
6507 }
6508 return NULL;
6509 }
6510
6511
6512 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6513 PyObject *resultobj = 0;
6514 wxFrame *arg1 = (wxFrame *) 0 ;
6515 int arg2 ;
6516 int *arg3 = (int *) 0 ;
6517 void *argp1 = 0 ;
6518 int res1 = 0 ;
6519 PyObject * obj0 = 0 ;
6520 PyObject * obj1 = 0 ;
6521 char * kwnames[] = {
6522 (char *) "self",(char *) "widths", NULL
6523 };
6524
6525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6527 if (!SWIG_IsOK(res1)) {
6528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6529 }
6530 arg1 = reinterpret_cast< wxFrame * >(argp1);
6531 {
6532 arg2 = PyList_Size(obj1);
6533 arg3 = int_LIST_helper(obj1);
6534 if (arg3 == NULL) SWIG_fail;
6535 }
6536 {
6537 PyThreadState* __tstate = wxPyBeginAllowThreads();
6538 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6539 wxPyEndAllowThreads(__tstate);
6540 if (PyErr_Occurred()) SWIG_fail;
6541 }
6542 resultobj = SWIG_Py_Void();
6543 {
6544 if (arg3) delete [] arg3;
6545 }
6546 return resultobj;
6547 fail:
6548 {
6549 if (arg3) delete [] arg3;
6550 }
6551 return NULL;
6552 }
6553
6554
6555 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6556 PyObject *resultobj = 0;
6557 wxFrame *arg1 = (wxFrame *) 0 ;
6558 wxString *arg2 = 0 ;
6559 int arg3 = (int) 0 ;
6560 void *argp1 = 0 ;
6561 int res1 = 0 ;
6562 bool temp2 = false ;
6563 int val3 ;
6564 int ecode3 = 0 ;
6565 PyObject * obj0 = 0 ;
6566 PyObject * obj1 = 0 ;
6567 PyObject * obj2 = 0 ;
6568 char * kwnames[] = {
6569 (char *) "self",(char *) "text",(char *) "number", NULL
6570 };
6571
6572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6574 if (!SWIG_IsOK(res1)) {
6575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6576 }
6577 arg1 = reinterpret_cast< wxFrame * >(argp1);
6578 {
6579 arg2 = wxString_in_helper(obj1);
6580 if (arg2 == NULL) SWIG_fail;
6581 temp2 = true;
6582 }
6583 if (obj2) {
6584 ecode3 = SWIG_AsVal_int(obj2, &val3);
6585 if (!SWIG_IsOK(ecode3)) {
6586 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6587 }
6588 arg3 = static_cast< int >(val3);
6589 }
6590 {
6591 PyThreadState* __tstate = wxPyBeginAllowThreads();
6592 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6593 wxPyEndAllowThreads(__tstate);
6594 if (PyErr_Occurred()) SWIG_fail;
6595 }
6596 resultobj = SWIG_Py_Void();
6597 {
6598 if (temp2)
6599 delete arg2;
6600 }
6601 return resultobj;
6602 fail:
6603 {
6604 if (temp2)
6605 delete arg2;
6606 }
6607 return NULL;
6608 }
6609
6610
6611 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6612 PyObject *resultobj = 0;
6613 wxFrame *arg1 = (wxFrame *) 0 ;
6614 int arg2 = (int) 0 ;
6615 void *argp1 = 0 ;
6616 int res1 = 0 ;
6617 int val2 ;
6618 int ecode2 = 0 ;
6619 PyObject * obj0 = 0 ;
6620 PyObject * obj1 = 0 ;
6621 char * kwnames[] = {
6622 (char *) "self",(char *) "number", NULL
6623 };
6624
6625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6627 if (!SWIG_IsOK(res1)) {
6628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6629 }
6630 arg1 = reinterpret_cast< wxFrame * >(argp1);
6631 if (obj1) {
6632 ecode2 = SWIG_AsVal_int(obj1, &val2);
6633 if (!SWIG_IsOK(ecode2)) {
6634 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6635 }
6636 arg2 = static_cast< int >(val2);
6637 }
6638 {
6639 PyThreadState* __tstate = wxPyBeginAllowThreads();
6640 (arg1)->PopStatusText(arg2);
6641 wxPyEndAllowThreads(__tstate);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 }
6644 resultobj = SWIG_Py_Void();
6645 return resultobj;
6646 fail:
6647 return NULL;
6648 }
6649
6650
6651 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6652 PyObject *resultobj = 0;
6653 wxFrame *arg1 = (wxFrame *) 0 ;
6654 int arg2 ;
6655 void *argp1 = 0 ;
6656 int res1 = 0 ;
6657 int val2 ;
6658 int ecode2 = 0 ;
6659 PyObject * obj0 = 0 ;
6660 PyObject * obj1 = 0 ;
6661 char * kwnames[] = {
6662 (char *) "self",(char *) "n", NULL
6663 };
6664
6665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6667 if (!SWIG_IsOK(res1)) {
6668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6669 }
6670 arg1 = reinterpret_cast< wxFrame * >(argp1);
6671 ecode2 = SWIG_AsVal_int(obj1, &val2);
6672 if (!SWIG_IsOK(ecode2)) {
6673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6674 }
6675 arg2 = static_cast< int >(val2);
6676 {
6677 PyThreadState* __tstate = wxPyBeginAllowThreads();
6678 (arg1)->SetStatusBarPane(arg2);
6679 wxPyEndAllowThreads(__tstate);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 }
6682 resultobj = SWIG_Py_Void();
6683 return resultobj;
6684 fail:
6685 return NULL;
6686 }
6687
6688
6689 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6690 PyObject *resultobj = 0;
6691 wxFrame *arg1 = (wxFrame *) 0 ;
6692 int result;
6693 void *argp1 = 0 ;
6694 int res1 = 0 ;
6695 PyObject *swig_obj[1] ;
6696
6697 if (!args) SWIG_fail;
6698 swig_obj[0] = args;
6699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6700 if (!SWIG_IsOK(res1)) {
6701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6702 }
6703 arg1 = reinterpret_cast< wxFrame * >(argp1);
6704 {
6705 PyThreadState* __tstate = wxPyBeginAllowThreads();
6706 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6707 wxPyEndAllowThreads(__tstate);
6708 if (PyErr_Occurred()) SWIG_fail;
6709 }
6710 resultobj = SWIG_From_int(static_cast< int >(result));
6711 return resultobj;
6712 fail:
6713 return NULL;
6714 }
6715
6716
6717 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6718 PyObject *resultobj = 0;
6719 wxFrame *arg1 = (wxFrame *) 0 ;
6720 long arg2 = (long) -1 ;
6721 int arg3 = (int) -1 ;
6722 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6723 wxString *arg4 = (wxString *) &arg4_defvalue ;
6724 wxToolBar *result = 0 ;
6725 void *argp1 = 0 ;
6726 int res1 = 0 ;
6727 long val2 ;
6728 int ecode2 = 0 ;
6729 int val3 ;
6730 int ecode3 = 0 ;
6731 bool temp4 = false ;
6732 PyObject * obj0 = 0 ;
6733 PyObject * obj1 = 0 ;
6734 PyObject * obj2 = 0 ;
6735 PyObject * obj3 = 0 ;
6736 char * kwnames[] = {
6737 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6738 };
6739
6740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6742 if (!SWIG_IsOK(res1)) {
6743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6744 }
6745 arg1 = reinterpret_cast< wxFrame * >(argp1);
6746 if (obj1) {
6747 ecode2 = SWIG_AsVal_long(obj1, &val2);
6748 if (!SWIG_IsOK(ecode2)) {
6749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6750 }
6751 arg2 = static_cast< long >(val2);
6752 }
6753 if (obj2) {
6754 ecode3 = SWIG_AsVal_int(obj2, &val3);
6755 if (!SWIG_IsOK(ecode3)) {
6756 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6757 }
6758 arg3 = static_cast< int >(val3);
6759 }
6760 if (obj3) {
6761 {
6762 arg4 = wxString_in_helper(obj3);
6763 if (arg4 == NULL) SWIG_fail;
6764 temp4 = true;
6765 }
6766 }
6767 {
6768 PyThreadState* __tstate = wxPyBeginAllowThreads();
6769 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6770 wxPyEndAllowThreads(__tstate);
6771 if (PyErr_Occurred()) SWIG_fail;
6772 }
6773 {
6774 resultobj = wxPyMake_wxObject(result, (bool)0);
6775 }
6776 {
6777 if (temp4)
6778 delete arg4;
6779 }
6780 return resultobj;
6781 fail:
6782 {
6783 if (temp4)
6784 delete arg4;
6785 }
6786 return NULL;
6787 }
6788
6789
6790 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6791 PyObject *resultobj = 0;
6792 wxFrame *arg1 = (wxFrame *) 0 ;
6793 wxToolBar *result = 0 ;
6794 void *argp1 = 0 ;
6795 int res1 = 0 ;
6796 PyObject *swig_obj[1] ;
6797
6798 if (!args) SWIG_fail;
6799 swig_obj[0] = args;
6800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6801 if (!SWIG_IsOK(res1)) {
6802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6803 }
6804 arg1 = reinterpret_cast< wxFrame * >(argp1);
6805 {
6806 PyThreadState* __tstate = wxPyBeginAllowThreads();
6807 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6808 wxPyEndAllowThreads(__tstate);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
6811 {
6812 resultobj = wxPyMake_wxObject(result, (bool)0);
6813 }
6814 return resultobj;
6815 fail:
6816 return NULL;
6817 }
6818
6819
6820 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6821 PyObject *resultobj = 0;
6822 wxFrame *arg1 = (wxFrame *) 0 ;
6823 wxToolBar *arg2 = (wxToolBar *) 0 ;
6824 void *argp1 = 0 ;
6825 int res1 = 0 ;
6826 void *argp2 = 0 ;
6827 int res2 = 0 ;
6828 PyObject * obj0 = 0 ;
6829 PyObject * obj1 = 0 ;
6830 char * kwnames[] = {
6831 (char *) "self",(char *) "toolbar", NULL
6832 };
6833
6834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6836 if (!SWIG_IsOK(res1)) {
6837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6838 }
6839 arg1 = reinterpret_cast< wxFrame * >(argp1);
6840 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6841 if (!SWIG_IsOK(res2)) {
6842 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6843 }
6844 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6845 {
6846 PyThreadState* __tstate = wxPyBeginAllowThreads();
6847 (arg1)->SetToolBar(arg2);
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
6851 resultobj = SWIG_Py_Void();
6852 return resultobj;
6853 fail:
6854 return NULL;
6855 }
6856
6857
6858 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6859 PyObject *resultobj = 0;
6860 wxFrame *arg1 = (wxFrame *) 0 ;
6861 wxString *arg2 = 0 ;
6862 bool arg3 ;
6863 void *argp1 = 0 ;
6864 int res1 = 0 ;
6865 bool temp2 = false ;
6866 bool val3 ;
6867 int ecode3 = 0 ;
6868 PyObject * obj0 = 0 ;
6869 PyObject * obj1 = 0 ;
6870 PyObject * obj2 = 0 ;
6871 char * kwnames[] = {
6872 (char *) "self",(char *) "text",(char *) "show", NULL
6873 };
6874
6875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6877 if (!SWIG_IsOK(res1)) {
6878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6879 }
6880 arg1 = reinterpret_cast< wxFrame * >(argp1);
6881 {
6882 arg2 = wxString_in_helper(obj1);
6883 if (arg2 == NULL) SWIG_fail;
6884 temp2 = true;
6885 }
6886 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6887 if (!SWIG_IsOK(ecode3)) {
6888 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6889 }
6890 arg3 = static_cast< bool >(val3);
6891 {
6892 PyThreadState* __tstate = wxPyBeginAllowThreads();
6893 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
6894 wxPyEndAllowThreads(__tstate);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 resultobj = SWIG_Py_Void();
6898 {
6899 if (temp2)
6900 delete arg2;
6901 }
6902 return resultobj;
6903 fail:
6904 {
6905 if (temp2)
6906 delete arg2;
6907 }
6908 return NULL;
6909 }
6910
6911
6912 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6913 PyObject *resultobj = 0;
6914 wxFrame *arg1 = (wxFrame *) 0 ;
6915 wxMenu *arg2 = (wxMenu *) NULL ;
6916 void *argp1 = 0 ;
6917 int res1 = 0 ;
6918 void *argp2 = 0 ;
6919 int res2 = 0 ;
6920 PyObject * obj0 = 0 ;
6921 PyObject * obj1 = 0 ;
6922 char * kwnames[] = {
6923 (char *) "self",(char *) "menu", NULL
6924 };
6925
6926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
6927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6928 if (!SWIG_IsOK(res1)) {
6929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6930 }
6931 arg1 = reinterpret_cast< wxFrame * >(argp1);
6932 if (obj1) {
6933 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
6934 if (!SWIG_IsOK(res2)) {
6935 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
6936 }
6937 arg2 = reinterpret_cast< wxMenu * >(argp2);
6938 }
6939 {
6940 PyThreadState* __tstate = wxPyBeginAllowThreads();
6941 (arg1)->DoMenuUpdates(arg2);
6942 wxPyEndAllowThreads(__tstate);
6943 if (PyErr_Occurred()) SWIG_fail;
6944 }
6945 resultobj = SWIG_Py_Void();
6946 return resultobj;
6947 fail:
6948 return NULL;
6949 }
6950
6951
6952 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6953 PyObject *resultobj = 0;
6954 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6955 SwigValueWrapper<wxVisualAttributes > result;
6956 int val1 ;
6957 int ecode1 = 0 ;
6958 PyObject * obj0 = 0 ;
6959 char * kwnames[] = {
6960 (char *) "variant", NULL
6961 };
6962
6963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6964 if (obj0) {
6965 ecode1 = SWIG_AsVal_int(obj0, &val1);
6966 if (!SWIG_IsOK(ecode1)) {
6967 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6968 }
6969 arg1 = static_cast< wxWindowVariant >(val1);
6970 }
6971 {
6972 if (!wxPyCheckForApp()) SWIG_fail;
6973 PyThreadState* __tstate = wxPyBeginAllowThreads();
6974 result = wxFrame::GetClassDefaultAttributes(arg1);
6975 wxPyEndAllowThreads(__tstate);
6976 if (PyErr_Occurred()) SWIG_fail;
6977 }
6978 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6979 return resultobj;
6980 fail:
6981 return NULL;
6982 }
6983
6984
6985 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6986 PyObject *obj;
6987 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6988 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
6989 return SWIG_Py_Void();
6990 }
6991
6992 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6993 return SWIG_Python_InitShadowInstance(args);
6994 }
6995
6996 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6997 PyObject *resultobj = 0;
6998 wxWindow *arg1 = (wxWindow *) 0 ;
6999 int arg2 = (int) (int)-1 ;
7000 wxString const &arg3_defvalue = wxPyEmptyString ;
7001 wxString *arg3 = (wxString *) &arg3_defvalue ;
7002 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7003 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7004 wxSize const &arg5_defvalue = wxDefaultSize ;
7005 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7006 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7007 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7008 wxString *arg7 = (wxString *) &arg7_defvalue ;
7009 wxDialog *result = 0 ;
7010 void *argp1 = 0 ;
7011 int res1 = 0 ;
7012 int val2 ;
7013 int ecode2 = 0 ;
7014 bool temp3 = false ;
7015 wxPoint temp4 ;
7016 wxSize temp5 ;
7017 long val6 ;
7018 int ecode6 = 0 ;
7019 bool temp7 = false ;
7020 PyObject * obj0 = 0 ;
7021 PyObject * obj1 = 0 ;
7022 PyObject * obj2 = 0 ;
7023 PyObject * obj3 = 0 ;
7024 PyObject * obj4 = 0 ;
7025 PyObject * obj5 = 0 ;
7026 PyObject * obj6 = 0 ;
7027 char * kwnames[] = {
7028 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7029 };
7030
7031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7033 if (!SWIG_IsOK(res1)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7035 }
7036 arg1 = reinterpret_cast< wxWindow * >(argp1);
7037 if (obj1) {
7038 ecode2 = SWIG_AsVal_int(obj1, &val2);
7039 if (!SWIG_IsOK(ecode2)) {
7040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7041 }
7042 arg2 = static_cast< int >(val2);
7043 }
7044 if (obj2) {
7045 {
7046 arg3 = wxString_in_helper(obj2);
7047 if (arg3 == NULL) SWIG_fail;
7048 temp3 = true;
7049 }
7050 }
7051 if (obj3) {
7052 {
7053 arg4 = &temp4;
7054 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7055 }
7056 }
7057 if (obj4) {
7058 {
7059 arg5 = &temp5;
7060 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7061 }
7062 }
7063 if (obj5) {
7064 ecode6 = SWIG_AsVal_long(obj5, &val6);
7065 if (!SWIG_IsOK(ecode6)) {
7066 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7067 }
7068 arg6 = static_cast< long >(val6);
7069 }
7070 if (obj6) {
7071 {
7072 arg7 = wxString_in_helper(obj6);
7073 if (arg7 == NULL) SWIG_fail;
7074 temp7 = true;
7075 }
7076 }
7077 {
7078 if (!wxPyCheckForApp()) SWIG_fail;
7079 PyThreadState* __tstate = wxPyBeginAllowThreads();
7080 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7081 wxPyEndAllowThreads(__tstate);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 }
7084 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7085 {
7086 if (temp3)
7087 delete arg3;
7088 }
7089 {
7090 if (temp7)
7091 delete arg7;
7092 }
7093 return resultobj;
7094 fail:
7095 {
7096 if (temp3)
7097 delete arg3;
7098 }
7099 {
7100 if (temp7)
7101 delete arg7;
7102 }
7103 return NULL;
7104 }
7105
7106
7107 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7108 PyObject *resultobj = 0;
7109 wxDialog *result = 0 ;
7110
7111 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7112 {
7113 if (!wxPyCheckForApp()) SWIG_fail;
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 result = (wxDialog *)new wxDialog();
7116 wxPyEndAllowThreads(__tstate);
7117 if (PyErr_Occurred()) SWIG_fail;
7118 }
7119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7120 return resultobj;
7121 fail:
7122 return NULL;
7123 }
7124
7125
7126 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7127 PyObject *resultobj = 0;
7128 wxDialog *arg1 = (wxDialog *) 0 ;
7129 wxWindow *arg2 = (wxWindow *) 0 ;
7130 int arg3 = (int) (int)-1 ;
7131 wxString const &arg4_defvalue = wxPyEmptyString ;
7132 wxString *arg4 = (wxString *) &arg4_defvalue ;
7133 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7134 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7135 wxSize const &arg6_defvalue = wxDefaultSize ;
7136 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7137 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7138 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7139 wxString *arg8 = (wxString *) &arg8_defvalue ;
7140 bool result;
7141 void *argp1 = 0 ;
7142 int res1 = 0 ;
7143 void *argp2 = 0 ;
7144 int res2 = 0 ;
7145 int val3 ;
7146 int ecode3 = 0 ;
7147 bool temp4 = false ;
7148 wxPoint temp5 ;
7149 wxSize temp6 ;
7150 long val7 ;
7151 int ecode7 = 0 ;
7152 bool temp8 = false ;
7153 PyObject * obj0 = 0 ;
7154 PyObject * obj1 = 0 ;
7155 PyObject * obj2 = 0 ;
7156 PyObject * obj3 = 0 ;
7157 PyObject * obj4 = 0 ;
7158 PyObject * obj5 = 0 ;
7159 PyObject * obj6 = 0 ;
7160 PyObject * obj7 = 0 ;
7161 char * kwnames[] = {
7162 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7163 };
7164
7165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7167 if (!SWIG_IsOK(res1)) {
7168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7169 }
7170 arg1 = reinterpret_cast< wxDialog * >(argp1);
7171 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7172 if (!SWIG_IsOK(res2)) {
7173 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7174 }
7175 arg2 = reinterpret_cast< wxWindow * >(argp2);
7176 if (obj2) {
7177 ecode3 = SWIG_AsVal_int(obj2, &val3);
7178 if (!SWIG_IsOK(ecode3)) {
7179 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7180 }
7181 arg3 = static_cast< int >(val3);
7182 }
7183 if (obj3) {
7184 {
7185 arg4 = wxString_in_helper(obj3);
7186 if (arg4 == NULL) SWIG_fail;
7187 temp4 = true;
7188 }
7189 }
7190 if (obj4) {
7191 {
7192 arg5 = &temp5;
7193 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7194 }
7195 }
7196 if (obj5) {
7197 {
7198 arg6 = &temp6;
7199 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7200 }
7201 }
7202 if (obj6) {
7203 ecode7 = SWIG_AsVal_long(obj6, &val7);
7204 if (!SWIG_IsOK(ecode7)) {
7205 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7206 }
7207 arg7 = static_cast< long >(val7);
7208 }
7209 if (obj7) {
7210 {
7211 arg8 = wxString_in_helper(obj7);
7212 if (arg8 == NULL) SWIG_fail;
7213 temp8 = true;
7214 }
7215 }
7216 {
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 {
7223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7224 }
7225 {
7226 if (temp4)
7227 delete arg4;
7228 }
7229 {
7230 if (temp8)
7231 delete arg8;
7232 }
7233 return resultobj;
7234 fail:
7235 {
7236 if (temp4)
7237 delete arg4;
7238 }
7239 {
7240 if (temp8)
7241 delete arg8;
7242 }
7243 return NULL;
7244 }
7245
7246
7247 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7248 PyObject *resultobj = 0;
7249 wxDialog *arg1 = (wxDialog *) 0 ;
7250 int arg2 ;
7251 void *argp1 = 0 ;
7252 int res1 = 0 ;
7253 int val2 ;
7254 int ecode2 = 0 ;
7255 PyObject * obj0 = 0 ;
7256 PyObject * obj1 = 0 ;
7257 char * kwnames[] = {
7258 (char *) "self",(char *) "returnCode", NULL
7259 };
7260
7261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7263 if (!SWIG_IsOK(res1)) {
7264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7265 }
7266 arg1 = reinterpret_cast< wxDialog * >(argp1);
7267 ecode2 = SWIG_AsVal_int(obj1, &val2);
7268 if (!SWIG_IsOK(ecode2)) {
7269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7270 }
7271 arg2 = static_cast< int >(val2);
7272 {
7273 PyThreadState* __tstate = wxPyBeginAllowThreads();
7274 (arg1)->SetReturnCode(arg2);
7275 wxPyEndAllowThreads(__tstate);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
7278 resultobj = SWIG_Py_Void();
7279 return resultobj;
7280 fail:
7281 return NULL;
7282 }
7283
7284
7285 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7286 PyObject *resultobj = 0;
7287 wxDialog *arg1 = (wxDialog *) 0 ;
7288 int result;
7289 void *argp1 = 0 ;
7290 int res1 = 0 ;
7291 PyObject *swig_obj[1] ;
7292
7293 if (!args) SWIG_fail;
7294 swig_obj[0] = args;
7295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7296 if (!SWIG_IsOK(res1)) {
7297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7298 }
7299 arg1 = reinterpret_cast< wxDialog * >(argp1);
7300 {
7301 PyThreadState* __tstate = wxPyBeginAllowThreads();
7302 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7303 wxPyEndAllowThreads(__tstate);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 }
7306 resultobj = SWIG_From_int(static_cast< int >(result));
7307 return resultobj;
7308 fail:
7309 return NULL;
7310 }
7311
7312
7313 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7314 PyObject *resultobj = 0;
7315 wxDialog *arg1 = (wxDialog *) 0 ;
7316 int arg2 ;
7317 void *argp1 = 0 ;
7318 int res1 = 0 ;
7319 int val2 ;
7320 int ecode2 = 0 ;
7321 PyObject * obj0 = 0 ;
7322 PyObject * obj1 = 0 ;
7323 char * kwnames[] = {
7324 (char *) "self",(char *) "affirmativeId", NULL
7325 };
7326
7327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7329 if (!SWIG_IsOK(res1)) {
7330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7331 }
7332 arg1 = reinterpret_cast< wxDialog * >(argp1);
7333 ecode2 = SWIG_AsVal_int(obj1, &val2);
7334 if (!SWIG_IsOK(ecode2)) {
7335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7336 }
7337 arg2 = static_cast< int >(val2);
7338 {
7339 PyThreadState* __tstate = wxPyBeginAllowThreads();
7340 (arg1)->SetAffirmativeId(arg2);
7341 wxPyEndAllowThreads(__tstate);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 }
7344 resultobj = SWIG_Py_Void();
7345 return resultobj;
7346 fail:
7347 return NULL;
7348 }
7349
7350
7351 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7352 PyObject *resultobj = 0;
7353 wxDialog *arg1 = (wxDialog *) 0 ;
7354 int result;
7355 void *argp1 = 0 ;
7356 int res1 = 0 ;
7357 PyObject *swig_obj[1] ;
7358
7359 if (!args) SWIG_fail;
7360 swig_obj[0] = args;
7361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7362 if (!SWIG_IsOK(res1)) {
7363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7364 }
7365 arg1 = reinterpret_cast< wxDialog * >(argp1);
7366 {
7367 PyThreadState* __tstate = wxPyBeginAllowThreads();
7368 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7369 wxPyEndAllowThreads(__tstate);
7370 if (PyErr_Occurred()) SWIG_fail;
7371 }
7372 resultobj = SWIG_From_int(static_cast< int >(result));
7373 return resultobj;
7374 fail:
7375 return NULL;
7376 }
7377
7378
7379 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7380 PyObject *resultobj = 0;
7381 wxDialog *arg1 = (wxDialog *) 0 ;
7382 int arg2 ;
7383 void *argp1 = 0 ;
7384 int res1 = 0 ;
7385 int val2 ;
7386 int ecode2 = 0 ;
7387 PyObject * obj0 = 0 ;
7388 PyObject * obj1 = 0 ;
7389 char * kwnames[] = {
7390 (char *) "self",(char *) "escapeId", NULL
7391 };
7392
7393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7395 if (!SWIG_IsOK(res1)) {
7396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7397 }
7398 arg1 = reinterpret_cast< wxDialog * >(argp1);
7399 ecode2 = SWIG_AsVal_int(obj1, &val2);
7400 if (!SWIG_IsOK(ecode2)) {
7401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7402 }
7403 arg2 = static_cast< int >(val2);
7404 {
7405 PyThreadState* __tstate = wxPyBeginAllowThreads();
7406 (arg1)->SetEscapeId(arg2);
7407 wxPyEndAllowThreads(__tstate);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 resultobj = SWIG_Py_Void();
7411 return resultobj;
7412 fail:
7413 return NULL;
7414 }
7415
7416
7417 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7418 PyObject *resultobj = 0;
7419 wxDialog *arg1 = (wxDialog *) 0 ;
7420 int result;
7421 void *argp1 = 0 ;
7422 int res1 = 0 ;
7423 PyObject *swig_obj[1] ;
7424
7425 if (!args) SWIG_fail;
7426 swig_obj[0] = args;
7427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7428 if (!SWIG_IsOK(res1)) {
7429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7430 }
7431 arg1 = reinterpret_cast< wxDialog * >(argp1);
7432 {
7433 PyThreadState* __tstate = wxPyBeginAllowThreads();
7434 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 resultobj = SWIG_From_int(static_cast< int >(result));
7439 return resultobj;
7440 fail:
7441 return NULL;
7442 }
7443
7444
7445 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7446 PyObject *resultobj = 0;
7447 wxDialog *arg1 = (wxDialog *) 0 ;
7448 wxString *arg2 = 0 ;
7449 wxSizer *result = 0 ;
7450 void *argp1 = 0 ;
7451 int res1 = 0 ;
7452 bool temp2 = false ;
7453 PyObject * obj0 = 0 ;
7454 PyObject * obj1 = 0 ;
7455 char * kwnames[] = {
7456 (char *) "self",(char *) "message", NULL
7457 };
7458
7459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7461 if (!SWIG_IsOK(res1)) {
7462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7463 }
7464 arg1 = reinterpret_cast< wxDialog * >(argp1);
7465 {
7466 arg2 = wxString_in_helper(obj1);
7467 if (arg2 == NULL) SWIG_fail;
7468 temp2 = true;
7469 }
7470 {
7471 PyThreadState* __tstate = wxPyBeginAllowThreads();
7472 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7473 wxPyEndAllowThreads(__tstate);
7474 if (PyErr_Occurred()) SWIG_fail;
7475 }
7476 {
7477 resultobj = wxPyMake_wxObject(result, (bool)0);
7478 }
7479 {
7480 if (temp2)
7481 delete arg2;
7482 }
7483 return resultobj;
7484 fail:
7485 {
7486 if (temp2)
7487 delete arg2;
7488 }
7489 return NULL;
7490 }
7491
7492
7493 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7494 PyObject *resultobj = 0;
7495 wxDialog *arg1 = (wxDialog *) 0 ;
7496 long arg2 ;
7497 bool arg3 = (bool) false ;
7498 int arg4 = (int) 0 ;
7499 wxSizer *result = 0 ;
7500 void *argp1 = 0 ;
7501 int res1 = 0 ;
7502 long val2 ;
7503 int ecode2 = 0 ;
7504 bool val3 ;
7505 int ecode3 = 0 ;
7506 int val4 ;
7507 int ecode4 = 0 ;
7508 PyObject * obj0 = 0 ;
7509 PyObject * obj1 = 0 ;
7510 PyObject * obj2 = 0 ;
7511 PyObject * obj3 = 0 ;
7512 char * kwnames[] = {
7513 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7514 };
7515
7516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7518 if (!SWIG_IsOK(res1)) {
7519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7520 }
7521 arg1 = reinterpret_cast< wxDialog * >(argp1);
7522 ecode2 = SWIG_AsVal_long(obj1, &val2);
7523 if (!SWIG_IsOK(ecode2)) {
7524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7525 }
7526 arg2 = static_cast< long >(val2);
7527 if (obj2) {
7528 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7529 if (!SWIG_IsOK(ecode3)) {
7530 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7531 }
7532 arg3 = static_cast< bool >(val3);
7533 }
7534 if (obj3) {
7535 ecode4 = SWIG_AsVal_int(obj3, &val4);
7536 if (!SWIG_IsOK(ecode4)) {
7537 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7538 }
7539 arg4 = static_cast< int >(val4);
7540 }
7541 {
7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
7543 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7544 wxPyEndAllowThreads(__tstate);
7545 if (PyErr_Occurred()) SWIG_fail;
7546 }
7547 {
7548 resultobj = wxPyMake_wxObject(result, (bool)0);
7549 }
7550 return resultobj;
7551 fail:
7552 return NULL;
7553 }
7554
7555
7556 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7557 PyObject *resultobj = 0;
7558 wxDialog *arg1 = (wxDialog *) 0 ;
7559 long arg2 ;
7560 wxStdDialogButtonSizer *result = 0 ;
7561 void *argp1 = 0 ;
7562 int res1 = 0 ;
7563 long val2 ;
7564 int ecode2 = 0 ;
7565 PyObject * obj0 = 0 ;
7566 PyObject * obj1 = 0 ;
7567 char * kwnames[] = {
7568 (char *) "self",(char *) "flags", NULL
7569 };
7570
7571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7573 if (!SWIG_IsOK(res1)) {
7574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7575 }
7576 arg1 = reinterpret_cast< wxDialog * >(argp1);
7577 ecode2 = SWIG_AsVal_long(obj1, &val2);
7578 if (!SWIG_IsOK(ecode2)) {
7579 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7580 }
7581 arg2 = static_cast< long >(val2);
7582 {
7583 PyThreadState* __tstate = wxPyBeginAllowThreads();
7584 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7585 wxPyEndAllowThreads(__tstate);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
7588 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7589 return resultobj;
7590 fail:
7591 return NULL;
7592 }
7593
7594
7595 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7596 PyObject *resultobj = 0;
7597 wxDialog *arg1 = (wxDialog *) 0 ;
7598 bool result;
7599 void *argp1 = 0 ;
7600 int res1 = 0 ;
7601 PyObject *swig_obj[1] ;
7602
7603 if (!args) SWIG_fail;
7604 swig_obj[0] = args;
7605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7606 if (!SWIG_IsOK(res1)) {
7607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7608 }
7609 arg1 = reinterpret_cast< wxDialog * >(argp1);
7610 {
7611 PyThreadState* __tstate = wxPyBeginAllowThreads();
7612 result = (bool)((wxDialog const *)arg1)->IsModal();
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 {
7617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7618 }
7619 return resultobj;
7620 fail:
7621 return NULL;
7622 }
7623
7624
7625 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7626 PyObject *resultobj = 0;
7627 wxDialog *arg1 = (wxDialog *) 0 ;
7628 int result;
7629 void *argp1 = 0 ;
7630 int res1 = 0 ;
7631 PyObject *swig_obj[1] ;
7632
7633 if (!args) SWIG_fail;
7634 swig_obj[0] = args;
7635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7636 if (!SWIG_IsOK(res1)) {
7637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7638 }
7639 arg1 = reinterpret_cast< wxDialog * >(argp1);
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 result = (int)(arg1)->ShowModal();
7643 wxPyEndAllowThreads(__tstate);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 }
7646 resultobj = SWIG_From_int(static_cast< int >(result));
7647 return resultobj;
7648 fail:
7649 return NULL;
7650 }
7651
7652
7653 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7654 PyObject *resultobj = 0;
7655 wxDialog *arg1 = (wxDialog *) 0 ;
7656 int arg2 ;
7657 void *argp1 = 0 ;
7658 int res1 = 0 ;
7659 int val2 ;
7660 int ecode2 = 0 ;
7661 PyObject * obj0 = 0 ;
7662 PyObject * obj1 = 0 ;
7663 char * kwnames[] = {
7664 (char *) "self",(char *) "retCode", NULL
7665 };
7666
7667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7669 if (!SWIG_IsOK(res1)) {
7670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7671 }
7672 arg1 = reinterpret_cast< wxDialog * >(argp1);
7673 ecode2 = SWIG_AsVal_int(obj1, &val2);
7674 if (!SWIG_IsOK(ecode2)) {
7675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7676 }
7677 arg2 = static_cast< int >(val2);
7678 {
7679 PyThreadState* __tstate = wxPyBeginAllowThreads();
7680 (arg1)->EndModal(arg2);
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
7684 resultobj = SWIG_Py_Void();
7685 return resultobj;
7686 fail:
7687 return NULL;
7688 }
7689
7690
7691 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7692 PyObject *resultobj = 0;
7693 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7694 SwigValueWrapper<wxVisualAttributes > result;
7695 int val1 ;
7696 int ecode1 = 0 ;
7697 PyObject * obj0 = 0 ;
7698 char * kwnames[] = {
7699 (char *) "variant", NULL
7700 };
7701
7702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7703 if (obj0) {
7704 ecode1 = SWIG_AsVal_int(obj0, &val1);
7705 if (!SWIG_IsOK(ecode1)) {
7706 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7707 }
7708 arg1 = static_cast< wxWindowVariant >(val1);
7709 }
7710 {
7711 if (!wxPyCheckForApp()) SWIG_fail;
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 result = wxDialog::GetClassDefaultAttributes(arg1);
7714 wxPyEndAllowThreads(__tstate);
7715 if (PyErr_Occurred()) SWIG_fail;
7716 }
7717 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7718 return resultobj;
7719 fail:
7720 return NULL;
7721 }
7722
7723
7724 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7725 PyObject *obj;
7726 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7727 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7728 return SWIG_Py_Void();
7729 }
7730
7731 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7732 return SWIG_Python_InitShadowInstance(args);
7733 }
7734
7735 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7736 PyObject *resultobj = 0;
7737 wxWindow *arg1 = (wxWindow *) 0 ;
7738 int arg2 = (int) (int)-1 ;
7739 wxString const &arg3_defvalue = wxPyEmptyString ;
7740 wxString *arg3 = (wxString *) &arg3_defvalue ;
7741 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7742 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7743 wxSize const &arg5_defvalue = wxDefaultSize ;
7744 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7745 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7746 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7747 wxString *arg7 = (wxString *) &arg7_defvalue ;
7748 wxMiniFrame *result = 0 ;
7749 void *argp1 = 0 ;
7750 int res1 = 0 ;
7751 int val2 ;
7752 int ecode2 = 0 ;
7753 bool temp3 = false ;
7754 wxPoint temp4 ;
7755 wxSize temp5 ;
7756 long val6 ;
7757 int ecode6 = 0 ;
7758 bool temp7 = false ;
7759 PyObject * obj0 = 0 ;
7760 PyObject * obj1 = 0 ;
7761 PyObject * obj2 = 0 ;
7762 PyObject * obj3 = 0 ;
7763 PyObject * obj4 = 0 ;
7764 PyObject * obj5 = 0 ;
7765 PyObject * obj6 = 0 ;
7766 char * kwnames[] = {
7767 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7768 };
7769
7770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7772 if (!SWIG_IsOK(res1)) {
7773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7774 }
7775 arg1 = reinterpret_cast< wxWindow * >(argp1);
7776 if (obj1) {
7777 ecode2 = SWIG_AsVal_int(obj1, &val2);
7778 if (!SWIG_IsOK(ecode2)) {
7779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7780 }
7781 arg2 = static_cast< int >(val2);
7782 }
7783 if (obj2) {
7784 {
7785 arg3 = wxString_in_helper(obj2);
7786 if (arg3 == NULL) SWIG_fail;
7787 temp3 = true;
7788 }
7789 }
7790 if (obj3) {
7791 {
7792 arg4 = &temp4;
7793 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7794 }
7795 }
7796 if (obj4) {
7797 {
7798 arg5 = &temp5;
7799 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7800 }
7801 }
7802 if (obj5) {
7803 ecode6 = SWIG_AsVal_long(obj5, &val6);
7804 if (!SWIG_IsOK(ecode6)) {
7805 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7806 }
7807 arg6 = static_cast< long >(val6);
7808 }
7809 if (obj6) {
7810 {
7811 arg7 = wxString_in_helper(obj6);
7812 if (arg7 == NULL) SWIG_fail;
7813 temp7 = true;
7814 }
7815 }
7816 {
7817 if (!wxPyCheckForApp()) SWIG_fail;
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7820 wxPyEndAllowThreads(__tstate);
7821 if (PyErr_Occurred()) SWIG_fail;
7822 }
7823 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7824 {
7825 if (temp3)
7826 delete arg3;
7827 }
7828 {
7829 if (temp7)
7830 delete arg7;
7831 }
7832 return resultobj;
7833 fail:
7834 {
7835 if (temp3)
7836 delete arg3;
7837 }
7838 {
7839 if (temp7)
7840 delete arg7;
7841 }
7842 return NULL;
7843 }
7844
7845
7846 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7847 PyObject *resultobj = 0;
7848 wxMiniFrame *result = 0 ;
7849
7850 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7851 {
7852 if (!wxPyCheckForApp()) SWIG_fail;
7853 PyThreadState* __tstate = wxPyBeginAllowThreads();
7854 result = (wxMiniFrame *)new wxMiniFrame();
7855 wxPyEndAllowThreads(__tstate);
7856 if (PyErr_Occurred()) SWIG_fail;
7857 }
7858 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7859 return resultobj;
7860 fail:
7861 return NULL;
7862 }
7863
7864
7865 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7866 PyObject *resultobj = 0;
7867 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
7868 wxWindow *arg2 = (wxWindow *) 0 ;
7869 int arg3 = (int) (int)-1 ;
7870 wxString const &arg4_defvalue = wxPyEmptyString ;
7871 wxString *arg4 = (wxString *) &arg4_defvalue ;
7872 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7873 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7874 wxSize const &arg6_defvalue = wxDefaultSize ;
7875 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7876 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
7877 wxString const &arg8_defvalue = wxPyFrameNameStr ;
7878 wxString *arg8 = (wxString *) &arg8_defvalue ;
7879 bool result;
7880 void *argp1 = 0 ;
7881 int res1 = 0 ;
7882 void *argp2 = 0 ;
7883 int res2 = 0 ;
7884 int val3 ;
7885 int ecode3 = 0 ;
7886 bool temp4 = false ;
7887 wxPoint temp5 ;
7888 wxSize temp6 ;
7889 long val7 ;
7890 int ecode7 = 0 ;
7891 bool temp8 = false ;
7892 PyObject * obj0 = 0 ;
7893 PyObject * obj1 = 0 ;
7894 PyObject * obj2 = 0 ;
7895 PyObject * obj3 = 0 ;
7896 PyObject * obj4 = 0 ;
7897 PyObject * obj5 = 0 ;
7898 PyObject * obj6 = 0 ;
7899 PyObject * obj7 = 0 ;
7900 char * kwnames[] = {
7901 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7902 };
7903
7904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
7906 if (!SWIG_IsOK(res1)) {
7907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7908 }
7909 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
7910 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7911 if (!SWIG_IsOK(res2)) {
7912 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7913 }
7914 arg2 = reinterpret_cast< wxWindow * >(argp2);
7915 if (obj2) {
7916 ecode3 = SWIG_AsVal_int(obj2, &val3);
7917 if (!SWIG_IsOK(ecode3)) {
7918 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7919 }
7920 arg3 = static_cast< int >(val3);
7921 }
7922 if (obj3) {
7923 {
7924 arg4 = wxString_in_helper(obj3);
7925 if (arg4 == NULL) SWIG_fail;
7926 temp4 = true;
7927 }
7928 }
7929 if (obj4) {
7930 {
7931 arg5 = &temp5;
7932 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7933 }
7934 }
7935 if (obj5) {
7936 {
7937 arg6 = &temp6;
7938 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7939 }
7940 }
7941 if (obj6) {
7942 ecode7 = SWIG_AsVal_long(obj6, &val7);
7943 if (!SWIG_IsOK(ecode7)) {
7944 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
7945 }
7946 arg7 = static_cast< long >(val7);
7947 }
7948 if (obj7) {
7949 {
7950 arg8 = wxString_in_helper(obj7);
7951 if (arg8 == NULL) SWIG_fail;
7952 temp8 = true;
7953 }
7954 }
7955 {
7956 PyThreadState* __tstate = wxPyBeginAllowThreads();
7957 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7958 wxPyEndAllowThreads(__tstate);
7959 if (PyErr_Occurred()) SWIG_fail;
7960 }
7961 {
7962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7963 }
7964 {
7965 if (temp4)
7966 delete arg4;
7967 }
7968 {
7969 if (temp8)
7970 delete arg8;
7971 }
7972 return resultobj;
7973 fail:
7974 {
7975 if (temp4)
7976 delete arg4;
7977 }
7978 {
7979 if (temp8)
7980 delete arg8;
7981 }
7982 return NULL;
7983 }
7984
7985
7986 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7987 PyObject *obj;
7988 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7989 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
7990 return SWIG_Py_Void();
7991 }
7992
7993 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7994 return SWIG_Python_InitShadowInstance(args);
7995 }
7996
7997 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7998 PyObject *resultobj = 0;
7999 wxBitmap *arg1 = 0 ;
8000 wxWindow *arg2 = (wxWindow *) 0 ;
8001 int arg3 ;
8002 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8003 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8004 wxSize const &arg5_defvalue = wxDefaultSize ;
8005 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8006 long arg6 = (long) wxNO_BORDER ;
8007 wxSplashScreenWindow *result = 0 ;
8008 void *argp1 = 0 ;
8009 int res1 = 0 ;
8010 void *argp2 = 0 ;
8011 int res2 = 0 ;
8012 int val3 ;
8013 int ecode3 = 0 ;
8014 wxPoint temp4 ;
8015 wxSize temp5 ;
8016 long val6 ;
8017 int ecode6 = 0 ;
8018 PyObject * obj0 = 0 ;
8019 PyObject * obj1 = 0 ;
8020 PyObject * obj2 = 0 ;
8021 PyObject * obj3 = 0 ;
8022 PyObject * obj4 = 0 ;
8023 PyObject * obj5 = 0 ;
8024 char * kwnames[] = {
8025 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8026 };
8027
8028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8029 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8030 if (!SWIG_IsOK(res1)) {
8031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8032 }
8033 if (!argp1) {
8034 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8035 }
8036 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8037 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8038 if (!SWIG_IsOK(res2)) {
8039 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8040 }
8041 arg2 = reinterpret_cast< wxWindow * >(argp2);
8042 ecode3 = SWIG_AsVal_int(obj2, &val3);
8043 if (!SWIG_IsOK(ecode3)) {
8044 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8045 }
8046 arg3 = static_cast< int >(val3);
8047 if (obj3) {
8048 {
8049 arg4 = &temp4;
8050 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8051 }
8052 }
8053 if (obj4) {
8054 {
8055 arg5 = &temp5;
8056 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8057 }
8058 }
8059 if (obj5) {
8060 ecode6 = SWIG_AsVal_long(obj5, &val6);
8061 if (!SWIG_IsOK(ecode6)) {
8062 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8063 }
8064 arg6 = static_cast< long >(val6);
8065 }
8066 {
8067 if (!wxPyCheckForApp()) SWIG_fail;
8068 PyThreadState* __tstate = wxPyBeginAllowThreads();
8069 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8070 wxPyEndAllowThreads(__tstate);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 }
8073 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8074 return resultobj;
8075 fail:
8076 return NULL;
8077 }
8078
8079
8080 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8081 PyObject *resultobj = 0;
8082 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8083 wxBitmap *arg2 = 0 ;
8084 void *argp1 = 0 ;
8085 int res1 = 0 ;
8086 void *argp2 = 0 ;
8087 int res2 = 0 ;
8088 PyObject * obj0 = 0 ;
8089 PyObject * obj1 = 0 ;
8090 char * kwnames[] = {
8091 (char *) "self",(char *) "bitmap", NULL
8092 };
8093
8094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8096 if (!SWIG_IsOK(res1)) {
8097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8098 }
8099 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8100 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8101 if (!SWIG_IsOK(res2)) {
8102 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8103 }
8104 if (!argp2) {
8105 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8106 }
8107 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8108 {
8109 PyThreadState* __tstate = wxPyBeginAllowThreads();
8110 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8111 wxPyEndAllowThreads(__tstate);
8112 if (PyErr_Occurred()) SWIG_fail;
8113 }
8114 resultobj = SWIG_Py_Void();
8115 return resultobj;
8116 fail:
8117 return NULL;
8118 }
8119
8120
8121 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8122 PyObject *resultobj = 0;
8123 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8124 wxBitmap *result = 0 ;
8125 void *argp1 = 0 ;
8126 int res1 = 0 ;
8127 PyObject *swig_obj[1] ;
8128
8129 if (!args) SWIG_fail;
8130 swig_obj[0] = args;
8131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8132 if (!SWIG_IsOK(res1)) {
8133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8134 }
8135 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 {
8139 wxBitmap &_result_ref = (arg1)->GetBitmap();
8140 result = (wxBitmap *) &_result_ref;
8141 }
8142 wxPyEndAllowThreads(__tstate);
8143 if (PyErr_Occurred()) SWIG_fail;
8144 }
8145 {
8146 wxBitmap* resultptr = new wxBitmap(*result);
8147 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8148 }
8149 return resultobj;
8150 fail:
8151 return NULL;
8152 }
8153
8154
8155 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8156 PyObject *obj;
8157 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8158 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8159 return SWIG_Py_Void();
8160 }
8161
8162 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8163 return SWIG_Python_InitShadowInstance(args);
8164 }
8165
8166 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8167 PyObject *resultobj = 0;
8168 wxBitmap *arg1 = 0 ;
8169 long arg2 ;
8170 int arg3 ;
8171 wxWindow *arg4 = (wxWindow *) 0 ;
8172 int arg5 = (int) -1 ;
8173 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8174 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8175 wxSize const &arg7_defvalue = wxDefaultSize ;
8176 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8177 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8178 wxSplashScreen *result = 0 ;
8179 void *argp1 = 0 ;
8180 int res1 = 0 ;
8181 long val2 ;
8182 int ecode2 = 0 ;
8183 int val3 ;
8184 int ecode3 = 0 ;
8185 void *argp4 = 0 ;
8186 int res4 = 0 ;
8187 int val5 ;
8188 int ecode5 = 0 ;
8189 wxPoint temp6 ;
8190 wxSize temp7 ;
8191 long val8 ;
8192 int ecode8 = 0 ;
8193 PyObject * obj0 = 0 ;
8194 PyObject * obj1 = 0 ;
8195 PyObject * obj2 = 0 ;
8196 PyObject * obj3 = 0 ;
8197 PyObject * obj4 = 0 ;
8198 PyObject * obj5 = 0 ;
8199 PyObject * obj6 = 0 ;
8200 PyObject * obj7 = 0 ;
8201 char * kwnames[] = {
8202 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8203 };
8204
8205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8206 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8207 if (!SWIG_IsOK(res1)) {
8208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8209 }
8210 if (!argp1) {
8211 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8212 }
8213 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8214 ecode2 = SWIG_AsVal_long(obj1, &val2);
8215 if (!SWIG_IsOK(ecode2)) {
8216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8217 }
8218 arg2 = static_cast< long >(val2);
8219 ecode3 = SWIG_AsVal_int(obj2, &val3);
8220 if (!SWIG_IsOK(ecode3)) {
8221 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8222 }
8223 arg3 = static_cast< int >(val3);
8224 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8225 if (!SWIG_IsOK(res4)) {
8226 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8227 }
8228 arg4 = reinterpret_cast< wxWindow * >(argp4);
8229 if (obj4) {
8230 ecode5 = SWIG_AsVal_int(obj4, &val5);
8231 if (!SWIG_IsOK(ecode5)) {
8232 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8233 }
8234 arg5 = static_cast< int >(val5);
8235 }
8236 if (obj5) {
8237 {
8238 arg6 = &temp6;
8239 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8240 }
8241 }
8242 if (obj6) {
8243 {
8244 arg7 = &temp7;
8245 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8246 }
8247 }
8248 if (obj7) {
8249 ecode8 = SWIG_AsVal_long(obj7, &val8);
8250 if (!SWIG_IsOK(ecode8)) {
8251 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8252 }
8253 arg8 = static_cast< long >(val8);
8254 }
8255 {
8256 if (!wxPyCheckForApp()) SWIG_fail;
8257 PyThreadState* __tstate = wxPyBeginAllowThreads();
8258 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8259 wxPyEndAllowThreads(__tstate);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 }
8262 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8263 return resultobj;
8264 fail:
8265 return NULL;
8266 }
8267
8268
8269 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8270 PyObject *resultobj = 0;
8271 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8272 long result;
8273 void *argp1 = 0 ;
8274 int res1 = 0 ;
8275 PyObject *swig_obj[1] ;
8276
8277 if (!args) SWIG_fail;
8278 swig_obj[0] = args;
8279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8280 if (!SWIG_IsOK(res1)) {
8281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8282 }
8283 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8284 {
8285 PyThreadState* __tstate = wxPyBeginAllowThreads();
8286 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8287 wxPyEndAllowThreads(__tstate);
8288 if (PyErr_Occurred()) SWIG_fail;
8289 }
8290 resultobj = SWIG_From_long(static_cast< long >(result));
8291 return resultobj;
8292 fail:
8293 return NULL;
8294 }
8295
8296
8297 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8298 PyObject *resultobj = 0;
8299 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8300 wxSplashScreenWindow *result = 0 ;
8301 void *argp1 = 0 ;
8302 int res1 = 0 ;
8303 PyObject *swig_obj[1] ;
8304
8305 if (!args) SWIG_fail;
8306 swig_obj[0] = args;
8307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8308 if (!SWIG_IsOK(res1)) {
8309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8310 }
8311 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8312 {
8313 PyThreadState* __tstate = wxPyBeginAllowThreads();
8314 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8315 wxPyEndAllowThreads(__tstate);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
8318 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8319 return resultobj;
8320 fail:
8321 return NULL;
8322 }
8323
8324
8325 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8326 PyObject *resultobj = 0;
8327 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8328 int result;
8329 void *argp1 = 0 ;
8330 int res1 = 0 ;
8331 PyObject *swig_obj[1] ;
8332
8333 if (!args) SWIG_fail;
8334 swig_obj[0] = args;
8335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8336 if (!SWIG_IsOK(res1)) {
8337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8338 }
8339 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8340 {
8341 PyThreadState* __tstate = wxPyBeginAllowThreads();
8342 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8343 wxPyEndAllowThreads(__tstate);
8344 if (PyErr_Occurred()) SWIG_fail;
8345 }
8346 resultobj = SWIG_From_int(static_cast< int >(result));
8347 return resultobj;
8348 fail:
8349 return NULL;
8350 }
8351
8352
8353 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8354 PyObject *obj;
8355 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8356 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8357 return SWIG_Py_Void();
8358 }
8359
8360 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8361 return SWIG_Python_InitShadowInstance(args);
8362 }
8363
8364 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8365 PyObject *resultobj = 0;
8366 wxWindow *arg1 = (wxWindow *) 0 ;
8367 int arg2 = (int) -1 ;
8368 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8369 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8370 wxString *arg4 = (wxString *) &arg4_defvalue ;
8371 wxStatusBar *result = 0 ;
8372 void *argp1 = 0 ;
8373 int res1 = 0 ;
8374 int val2 ;
8375 int ecode2 = 0 ;
8376 long val3 ;
8377 int ecode3 = 0 ;
8378 bool temp4 = false ;
8379 PyObject * obj0 = 0 ;
8380 PyObject * obj1 = 0 ;
8381 PyObject * obj2 = 0 ;
8382 PyObject * obj3 = 0 ;
8383 char * kwnames[] = {
8384 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8385 };
8386
8387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8389 if (!SWIG_IsOK(res1)) {
8390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8391 }
8392 arg1 = reinterpret_cast< wxWindow * >(argp1);
8393 if (obj1) {
8394 ecode2 = SWIG_AsVal_int(obj1, &val2);
8395 if (!SWIG_IsOK(ecode2)) {
8396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8397 }
8398 arg2 = static_cast< int >(val2);
8399 }
8400 if (obj2) {
8401 ecode3 = SWIG_AsVal_long(obj2, &val3);
8402 if (!SWIG_IsOK(ecode3)) {
8403 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8404 }
8405 arg3 = static_cast< long >(val3);
8406 }
8407 if (obj3) {
8408 {
8409 arg4 = wxString_in_helper(obj3);
8410 if (arg4 == NULL) SWIG_fail;
8411 temp4 = true;
8412 }
8413 }
8414 {
8415 if (!wxPyCheckForApp()) SWIG_fail;
8416 PyThreadState* __tstate = wxPyBeginAllowThreads();
8417 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8418 wxPyEndAllowThreads(__tstate);
8419 if (PyErr_Occurred()) SWIG_fail;
8420 }
8421 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8422 {
8423 if (temp4)
8424 delete arg4;
8425 }
8426 return resultobj;
8427 fail:
8428 {
8429 if (temp4)
8430 delete arg4;
8431 }
8432 return NULL;
8433 }
8434
8435
8436 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8437 PyObject *resultobj = 0;
8438 wxStatusBar *result = 0 ;
8439
8440 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8441 {
8442 if (!wxPyCheckForApp()) SWIG_fail;
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 result = (wxStatusBar *)new wxStatusBar();
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8449 return resultobj;
8450 fail:
8451 return NULL;
8452 }
8453
8454
8455 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8456 PyObject *resultobj = 0;
8457 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8458 wxWindow *arg2 = (wxWindow *) 0 ;
8459 int arg3 = (int) -1 ;
8460 long arg4 = (long) wxST_SIZEGRIP ;
8461 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8462 wxString *arg5 = (wxString *) &arg5_defvalue ;
8463 bool result;
8464 void *argp1 = 0 ;
8465 int res1 = 0 ;
8466 void *argp2 = 0 ;
8467 int res2 = 0 ;
8468 int val3 ;
8469 int ecode3 = 0 ;
8470 long val4 ;
8471 int ecode4 = 0 ;
8472 bool temp5 = false ;
8473 PyObject * obj0 = 0 ;
8474 PyObject * obj1 = 0 ;
8475 PyObject * obj2 = 0 ;
8476 PyObject * obj3 = 0 ;
8477 PyObject * obj4 = 0 ;
8478 char * kwnames[] = {
8479 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8480 };
8481
8482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8484 if (!SWIG_IsOK(res1)) {
8485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8486 }
8487 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8488 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8489 if (!SWIG_IsOK(res2)) {
8490 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8491 }
8492 arg2 = reinterpret_cast< wxWindow * >(argp2);
8493 if (obj2) {
8494 ecode3 = SWIG_AsVal_int(obj2, &val3);
8495 if (!SWIG_IsOK(ecode3)) {
8496 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8497 }
8498 arg3 = static_cast< int >(val3);
8499 }
8500 if (obj3) {
8501 ecode4 = SWIG_AsVal_long(obj3, &val4);
8502 if (!SWIG_IsOK(ecode4)) {
8503 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8504 }
8505 arg4 = static_cast< long >(val4);
8506 }
8507 if (obj4) {
8508 {
8509 arg5 = wxString_in_helper(obj4);
8510 if (arg5 == NULL) SWIG_fail;
8511 temp5 = true;
8512 }
8513 }
8514 {
8515 PyThreadState* __tstate = wxPyBeginAllowThreads();
8516 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8517 wxPyEndAllowThreads(__tstate);
8518 if (PyErr_Occurred()) SWIG_fail;
8519 }
8520 {
8521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8522 }
8523 {
8524 if (temp5)
8525 delete arg5;
8526 }
8527 return resultobj;
8528 fail:
8529 {
8530 if (temp5)
8531 delete arg5;
8532 }
8533 return NULL;
8534 }
8535
8536
8537 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8538 PyObject *resultobj = 0;
8539 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8540 int arg2 = (int) 1 ;
8541 void *argp1 = 0 ;
8542 int res1 = 0 ;
8543 int val2 ;
8544 int ecode2 = 0 ;
8545 PyObject * obj0 = 0 ;
8546 PyObject * obj1 = 0 ;
8547 char * kwnames[] = {
8548 (char *) "self",(char *) "number", NULL
8549 };
8550
8551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) 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_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8555 }
8556 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8557 if (obj1) {
8558 ecode2 = SWIG_AsVal_int(obj1, &val2);
8559 if (!SWIG_IsOK(ecode2)) {
8560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8561 }
8562 arg2 = static_cast< int >(val2);
8563 }
8564 {
8565 PyThreadState* __tstate = wxPyBeginAllowThreads();
8566 (arg1)->SetFieldsCount(arg2);
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
8570 resultobj = SWIG_Py_Void();
8571 return resultobj;
8572 fail:
8573 return NULL;
8574 }
8575
8576
8577 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8578 PyObject *resultobj = 0;
8579 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8580 int result;
8581 void *argp1 = 0 ;
8582 int res1 = 0 ;
8583 PyObject *swig_obj[1] ;
8584
8585 if (!args) SWIG_fail;
8586 swig_obj[0] = args;
8587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8588 if (!SWIG_IsOK(res1)) {
8589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8590 }
8591 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8592 {
8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
8594 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8595 wxPyEndAllowThreads(__tstate);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
8598 resultobj = SWIG_From_int(static_cast< int >(result));
8599 return resultobj;
8600 fail:
8601 return NULL;
8602 }
8603
8604
8605 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8606 PyObject *resultobj = 0;
8607 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8608 wxString *arg2 = 0 ;
8609 int arg3 = (int) 0 ;
8610 void *argp1 = 0 ;
8611 int res1 = 0 ;
8612 bool temp2 = false ;
8613 int val3 ;
8614 int ecode3 = 0 ;
8615 PyObject * obj0 = 0 ;
8616 PyObject * obj1 = 0 ;
8617 PyObject * obj2 = 0 ;
8618 char * kwnames[] = {
8619 (char *) "self",(char *) "text",(char *) "number", NULL
8620 };
8621
8622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8624 if (!SWIG_IsOK(res1)) {
8625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8626 }
8627 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8628 {
8629 arg2 = wxString_in_helper(obj1);
8630 if (arg2 == NULL) SWIG_fail;
8631 temp2 = true;
8632 }
8633 if (obj2) {
8634 ecode3 = SWIG_AsVal_int(obj2, &val3);
8635 if (!SWIG_IsOK(ecode3)) {
8636 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8637 }
8638 arg3 = static_cast< int >(val3);
8639 }
8640 {
8641 PyThreadState* __tstate = wxPyBeginAllowThreads();
8642 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8643 wxPyEndAllowThreads(__tstate);
8644 if (PyErr_Occurred()) SWIG_fail;
8645 }
8646 resultobj = SWIG_Py_Void();
8647 {
8648 if (temp2)
8649 delete arg2;
8650 }
8651 return resultobj;
8652 fail:
8653 {
8654 if (temp2)
8655 delete arg2;
8656 }
8657 return NULL;
8658 }
8659
8660
8661 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8662 PyObject *resultobj = 0;
8663 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8664 int arg2 = (int) 0 ;
8665 wxString result;
8666 void *argp1 = 0 ;
8667 int res1 = 0 ;
8668 int val2 ;
8669 int ecode2 = 0 ;
8670 PyObject * obj0 = 0 ;
8671 PyObject * obj1 = 0 ;
8672 char * kwnames[] = {
8673 (char *) "self",(char *) "number", NULL
8674 };
8675
8676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8678 if (!SWIG_IsOK(res1)) {
8679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8680 }
8681 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8682 if (obj1) {
8683 ecode2 = SWIG_AsVal_int(obj1, &val2);
8684 if (!SWIG_IsOK(ecode2)) {
8685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8686 }
8687 arg2 = static_cast< int >(val2);
8688 }
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 {
8696 #if wxUSE_UNICODE
8697 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8698 #else
8699 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8700 #endif
8701 }
8702 return resultobj;
8703 fail:
8704 return NULL;
8705 }
8706
8707
8708 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8709 PyObject *resultobj = 0;
8710 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8711 wxString *arg2 = 0 ;
8712 int arg3 = (int) 0 ;
8713 void *argp1 = 0 ;
8714 int res1 = 0 ;
8715 bool temp2 = false ;
8716 int val3 ;
8717 int ecode3 = 0 ;
8718 PyObject * obj0 = 0 ;
8719 PyObject * obj1 = 0 ;
8720 PyObject * obj2 = 0 ;
8721 char * kwnames[] = {
8722 (char *) "self",(char *) "text",(char *) "number", NULL
8723 };
8724
8725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8727 if (!SWIG_IsOK(res1)) {
8728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8729 }
8730 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8731 {
8732 arg2 = wxString_in_helper(obj1);
8733 if (arg2 == NULL) SWIG_fail;
8734 temp2 = true;
8735 }
8736 if (obj2) {
8737 ecode3 = SWIG_AsVal_int(obj2, &val3);
8738 if (!SWIG_IsOK(ecode3)) {
8739 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8740 }
8741 arg3 = static_cast< int >(val3);
8742 }
8743 {
8744 PyThreadState* __tstate = wxPyBeginAllowThreads();
8745 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8746 wxPyEndAllowThreads(__tstate);
8747 if (PyErr_Occurred()) SWIG_fail;
8748 }
8749 resultobj = SWIG_Py_Void();
8750 {
8751 if (temp2)
8752 delete arg2;
8753 }
8754 return resultobj;
8755 fail:
8756 {
8757 if (temp2)
8758 delete arg2;
8759 }
8760 return NULL;
8761 }
8762
8763
8764 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8765 PyObject *resultobj = 0;
8766 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8767 int arg2 = (int) 0 ;
8768 void *argp1 = 0 ;
8769 int res1 = 0 ;
8770 int val2 ;
8771 int ecode2 = 0 ;
8772 PyObject * obj0 = 0 ;
8773 PyObject * obj1 = 0 ;
8774 char * kwnames[] = {
8775 (char *) "self",(char *) "number", NULL
8776 };
8777
8778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8780 if (!SWIG_IsOK(res1)) {
8781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8782 }
8783 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8784 if (obj1) {
8785 ecode2 = SWIG_AsVal_int(obj1, &val2);
8786 if (!SWIG_IsOK(ecode2)) {
8787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8788 }
8789 arg2 = static_cast< int >(val2);
8790 }
8791 {
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 (arg1)->PopStatusText(arg2);
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 }
8797 resultobj = SWIG_Py_Void();
8798 return resultobj;
8799 fail:
8800 return NULL;
8801 }
8802
8803
8804 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8805 PyObject *resultobj = 0;
8806 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8807 int arg2 ;
8808 int *arg3 = (int *) 0 ;
8809 void *argp1 = 0 ;
8810 int res1 = 0 ;
8811 PyObject * obj0 = 0 ;
8812 PyObject * obj1 = 0 ;
8813 char * kwnames[] = {
8814 (char *) "self",(char *) "widths", NULL
8815 };
8816
8817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8819 if (!SWIG_IsOK(res1)) {
8820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8821 }
8822 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8823 {
8824 arg2 = PyList_Size(obj1);
8825 arg3 = int_LIST_helper(obj1);
8826 if (arg3 == NULL) SWIG_fail;
8827 }
8828 {
8829 PyThreadState* __tstate = wxPyBeginAllowThreads();
8830 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8831 wxPyEndAllowThreads(__tstate);
8832 if (PyErr_Occurred()) SWIG_fail;
8833 }
8834 resultobj = SWIG_Py_Void();
8835 {
8836 if (arg3) delete [] arg3;
8837 }
8838 return resultobj;
8839 fail:
8840 {
8841 if (arg3) delete [] arg3;
8842 }
8843 return NULL;
8844 }
8845
8846
8847 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8848 PyObject *resultobj = 0;
8849 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8850 int arg2 ;
8851 int *arg3 = (int *) 0 ;
8852 void *argp1 = 0 ;
8853 int res1 = 0 ;
8854 PyObject * obj0 = 0 ;
8855 PyObject * obj1 = 0 ;
8856 char * kwnames[] = {
8857 (char *) "self",(char *) "styles", NULL
8858 };
8859
8860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8862 if (!SWIG_IsOK(res1)) {
8863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8864 }
8865 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8866 {
8867 arg2 = PyList_Size(obj1);
8868 arg3 = int_LIST_helper(obj1);
8869 if (arg3 == NULL) SWIG_fail;
8870 }
8871 {
8872 PyThreadState* __tstate = wxPyBeginAllowThreads();
8873 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
8874 wxPyEndAllowThreads(__tstate);
8875 if (PyErr_Occurred()) SWIG_fail;
8876 }
8877 resultobj = SWIG_Py_Void();
8878 {
8879 if (arg3) delete [] arg3;
8880 }
8881 return resultobj;
8882 fail:
8883 {
8884 if (arg3) delete [] arg3;
8885 }
8886 return NULL;
8887 }
8888
8889
8890 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8891 PyObject *resultobj = 0;
8892 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8893 int arg2 ;
8894 wxRect result;
8895 void *argp1 = 0 ;
8896 int res1 = 0 ;
8897 int val2 ;
8898 int ecode2 = 0 ;
8899 PyObject * obj0 = 0 ;
8900 PyObject * obj1 = 0 ;
8901 char * kwnames[] = {
8902 (char *) "self",(char *) "i", NULL
8903 };
8904
8905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
8906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8907 if (!SWIG_IsOK(res1)) {
8908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8909 }
8910 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8911 ecode2 = SWIG_AsVal_int(obj1, &val2);
8912 if (!SWIG_IsOK(ecode2)) {
8913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8914 }
8915 arg2 = static_cast< int >(val2);
8916 {
8917 PyThreadState* __tstate = wxPyBeginAllowThreads();
8918 result = wxStatusBar_GetFieldRect(arg1,arg2);
8919 wxPyEndAllowThreads(__tstate);
8920 if (PyErr_Occurred()) SWIG_fail;
8921 }
8922 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
8923 return resultobj;
8924 fail:
8925 return NULL;
8926 }
8927
8928
8929 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8930 PyObject *resultobj = 0;
8931 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8932 int arg2 ;
8933 void *argp1 = 0 ;
8934 int res1 = 0 ;
8935 int val2 ;
8936 int ecode2 = 0 ;
8937 PyObject * obj0 = 0 ;
8938 PyObject * obj1 = 0 ;
8939 char * kwnames[] = {
8940 (char *) "self",(char *) "height", NULL
8941 };
8942
8943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
8944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8945 if (!SWIG_IsOK(res1)) {
8946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8947 }
8948 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8949 ecode2 = SWIG_AsVal_int(obj1, &val2);
8950 if (!SWIG_IsOK(ecode2)) {
8951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8952 }
8953 arg2 = static_cast< int >(val2);
8954 {
8955 PyThreadState* __tstate = wxPyBeginAllowThreads();
8956 (arg1)->SetMinHeight(arg2);
8957 wxPyEndAllowThreads(__tstate);
8958 if (PyErr_Occurred()) SWIG_fail;
8959 }
8960 resultobj = SWIG_Py_Void();
8961 return resultobj;
8962 fail:
8963 return NULL;
8964 }
8965
8966
8967 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8968 PyObject *resultobj = 0;
8969 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8970 int result;
8971 void *argp1 = 0 ;
8972 int res1 = 0 ;
8973 PyObject *swig_obj[1] ;
8974
8975 if (!args) SWIG_fail;
8976 swig_obj[0] = args;
8977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8978 if (!SWIG_IsOK(res1)) {
8979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8980 }
8981 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8982 {
8983 PyThreadState* __tstate = wxPyBeginAllowThreads();
8984 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
8985 wxPyEndAllowThreads(__tstate);
8986 if (PyErr_Occurred()) SWIG_fail;
8987 }
8988 resultobj = SWIG_From_int(static_cast< int >(result));
8989 return resultobj;
8990 fail:
8991 return NULL;
8992 }
8993
8994
8995 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8996 PyObject *resultobj = 0;
8997 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8998 int result;
8999 void *argp1 = 0 ;
9000 int res1 = 0 ;
9001 PyObject *swig_obj[1] ;
9002
9003 if (!args) SWIG_fail;
9004 swig_obj[0] = args;
9005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9006 if (!SWIG_IsOK(res1)) {
9007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9008 }
9009 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9010 {
9011 PyThreadState* __tstate = wxPyBeginAllowThreads();
9012 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9013 wxPyEndAllowThreads(__tstate);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 }
9016 resultobj = SWIG_From_int(static_cast< int >(result));
9017 return resultobj;
9018 fail:
9019 return NULL;
9020 }
9021
9022
9023 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9024 PyObject *resultobj = 0;
9025 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9026 SwigValueWrapper<wxVisualAttributes > result;
9027 int val1 ;
9028 int ecode1 = 0 ;
9029 PyObject * obj0 = 0 ;
9030 char * kwnames[] = {
9031 (char *) "variant", NULL
9032 };
9033
9034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9035 if (obj0) {
9036 ecode1 = SWIG_AsVal_int(obj0, &val1);
9037 if (!SWIG_IsOK(ecode1)) {
9038 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9039 }
9040 arg1 = static_cast< wxWindowVariant >(val1);
9041 }
9042 {
9043 if (!wxPyCheckForApp()) SWIG_fail;
9044 PyThreadState* __tstate = wxPyBeginAllowThreads();
9045 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9046 wxPyEndAllowThreads(__tstate);
9047 if (PyErr_Occurred()) SWIG_fail;
9048 }
9049 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9050 return resultobj;
9051 fail:
9052 return NULL;
9053 }
9054
9055
9056 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9057 PyObject *obj;
9058 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9059 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9060 return SWIG_Py_Void();
9061 }
9062
9063 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9064 return SWIG_Python_InitShadowInstance(args);
9065 }
9066
9067 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9068 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9069 return 1;
9070 }
9071
9072
9073 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9074 PyObject *pyobj = 0;
9075
9076 {
9077 #if wxUSE_UNICODE
9078 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9079 #else
9080 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9081 #endif
9082 }
9083 return pyobj;
9084 }
9085
9086
9087 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9088 PyObject *resultobj = 0;
9089 wxWindow *arg1 = (wxWindow *) 0 ;
9090 int arg2 = (int) -1 ;
9091 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9092 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9093 wxSize const &arg4_defvalue = wxDefaultSize ;
9094 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9095 long arg5 = (long) wxSP_3D ;
9096 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9097 wxString *arg6 = (wxString *) &arg6_defvalue ;
9098 wxSplitterWindow *result = 0 ;
9099 void *argp1 = 0 ;
9100 int res1 = 0 ;
9101 int val2 ;
9102 int ecode2 = 0 ;
9103 wxPoint temp3 ;
9104 wxSize temp4 ;
9105 long val5 ;
9106 int ecode5 = 0 ;
9107 bool temp6 = false ;
9108 PyObject * obj0 = 0 ;
9109 PyObject * obj1 = 0 ;
9110 PyObject * obj2 = 0 ;
9111 PyObject * obj3 = 0 ;
9112 PyObject * obj4 = 0 ;
9113 PyObject * obj5 = 0 ;
9114 char * kwnames[] = {
9115 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9116 };
9117
9118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9120 if (!SWIG_IsOK(res1)) {
9121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9122 }
9123 arg1 = reinterpret_cast< wxWindow * >(argp1);
9124 if (obj1) {
9125 ecode2 = SWIG_AsVal_int(obj1, &val2);
9126 if (!SWIG_IsOK(ecode2)) {
9127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9128 }
9129 arg2 = static_cast< int >(val2);
9130 }
9131 if (obj2) {
9132 {
9133 arg3 = &temp3;
9134 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9135 }
9136 }
9137 if (obj3) {
9138 {
9139 arg4 = &temp4;
9140 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9141 }
9142 }
9143 if (obj4) {
9144 ecode5 = SWIG_AsVal_long(obj4, &val5);
9145 if (!SWIG_IsOK(ecode5)) {
9146 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9147 }
9148 arg5 = static_cast< long >(val5);
9149 }
9150 if (obj5) {
9151 {
9152 arg6 = wxString_in_helper(obj5);
9153 if (arg6 == NULL) SWIG_fail;
9154 temp6 = true;
9155 }
9156 }
9157 {
9158 if (!wxPyCheckForApp()) SWIG_fail;
9159 PyThreadState* __tstate = wxPyBeginAllowThreads();
9160 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9161 wxPyEndAllowThreads(__tstate);
9162 if (PyErr_Occurred()) SWIG_fail;
9163 }
9164 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9165 {
9166 if (temp6)
9167 delete arg6;
9168 }
9169 return resultobj;
9170 fail:
9171 {
9172 if (temp6)
9173 delete arg6;
9174 }
9175 return NULL;
9176 }
9177
9178
9179 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9180 PyObject *resultobj = 0;
9181 wxSplitterWindow *result = 0 ;
9182
9183 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9184 {
9185 if (!wxPyCheckForApp()) SWIG_fail;
9186 PyThreadState* __tstate = wxPyBeginAllowThreads();
9187 result = (wxSplitterWindow *)new wxSplitterWindow();
9188 wxPyEndAllowThreads(__tstate);
9189 if (PyErr_Occurred()) SWIG_fail;
9190 }
9191 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9192 return resultobj;
9193 fail:
9194 return NULL;
9195 }
9196
9197
9198 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9199 PyObject *resultobj = 0;
9200 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9201 wxWindow *arg2 = (wxWindow *) 0 ;
9202 int arg3 = (int) -1 ;
9203 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9204 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9205 wxSize const &arg5_defvalue = wxDefaultSize ;
9206 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9207 long arg6 = (long) wxSP_3D ;
9208 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9209 wxString *arg7 = (wxString *) &arg7_defvalue ;
9210 bool result;
9211 void *argp1 = 0 ;
9212 int res1 = 0 ;
9213 void *argp2 = 0 ;
9214 int res2 = 0 ;
9215 int val3 ;
9216 int ecode3 = 0 ;
9217 wxPoint temp4 ;
9218 wxSize temp5 ;
9219 long val6 ;
9220 int ecode6 = 0 ;
9221 bool temp7 = false ;
9222 PyObject * obj0 = 0 ;
9223 PyObject * obj1 = 0 ;
9224 PyObject * obj2 = 0 ;
9225 PyObject * obj3 = 0 ;
9226 PyObject * obj4 = 0 ;
9227 PyObject * obj5 = 0 ;
9228 PyObject * obj6 = 0 ;
9229 char * kwnames[] = {
9230 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9231 };
9232
9233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9235 if (!SWIG_IsOK(res1)) {
9236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9237 }
9238 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9239 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9240 if (!SWIG_IsOK(res2)) {
9241 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9242 }
9243 arg2 = reinterpret_cast< wxWindow * >(argp2);
9244 if (obj2) {
9245 ecode3 = SWIG_AsVal_int(obj2, &val3);
9246 if (!SWIG_IsOK(ecode3)) {
9247 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9248 }
9249 arg3 = static_cast< int >(val3);
9250 }
9251 if (obj3) {
9252 {
9253 arg4 = &temp4;
9254 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9255 }
9256 }
9257 if (obj4) {
9258 {
9259 arg5 = &temp5;
9260 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9261 }
9262 }
9263 if (obj5) {
9264 ecode6 = SWIG_AsVal_long(obj5, &val6);
9265 if (!SWIG_IsOK(ecode6)) {
9266 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9267 }
9268 arg6 = static_cast< long >(val6);
9269 }
9270 if (obj6) {
9271 {
9272 arg7 = wxString_in_helper(obj6);
9273 if (arg7 == NULL) SWIG_fail;
9274 temp7 = true;
9275 }
9276 }
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 {
9284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9285 }
9286 {
9287 if (temp7)
9288 delete arg7;
9289 }
9290 return resultobj;
9291 fail:
9292 {
9293 if (temp7)
9294 delete arg7;
9295 }
9296 return NULL;
9297 }
9298
9299
9300 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9301 PyObject *resultobj = 0;
9302 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9303 wxWindow *result = 0 ;
9304 void *argp1 = 0 ;
9305 int res1 = 0 ;
9306 PyObject *swig_obj[1] ;
9307
9308 if (!args) SWIG_fail;
9309 swig_obj[0] = args;
9310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9311 if (!SWIG_IsOK(res1)) {
9312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9313 }
9314 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9315 {
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 {
9322 resultobj = wxPyMake_wxObject(result, 0);
9323 }
9324 return resultobj;
9325 fail:
9326 return NULL;
9327 }
9328
9329
9330 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9331 PyObject *resultobj = 0;
9332 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9333 wxWindow *result = 0 ;
9334 void *argp1 = 0 ;
9335 int res1 = 0 ;
9336 PyObject *swig_obj[1] ;
9337
9338 if (!args) SWIG_fail;
9339 swig_obj[0] = args;
9340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9341 if (!SWIG_IsOK(res1)) {
9342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9343 }
9344 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9345 {
9346 PyThreadState* __tstate = wxPyBeginAllowThreads();
9347 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9348 wxPyEndAllowThreads(__tstate);
9349 if (PyErr_Occurred()) SWIG_fail;
9350 }
9351 {
9352 resultobj = wxPyMake_wxObject(result, 0);
9353 }
9354 return resultobj;
9355 fail:
9356 return NULL;
9357 }
9358
9359
9360 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9361 PyObject *resultobj = 0;
9362 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9363 int arg2 ;
9364 void *argp1 = 0 ;
9365 int res1 = 0 ;
9366 int val2 ;
9367 int ecode2 = 0 ;
9368 PyObject * obj0 = 0 ;
9369 PyObject * obj1 = 0 ;
9370 char * kwnames[] = {
9371 (char *) "self",(char *) "mode", NULL
9372 };
9373
9374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9376 if (!SWIG_IsOK(res1)) {
9377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9378 }
9379 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9380 ecode2 = SWIG_AsVal_int(obj1, &val2);
9381 if (!SWIG_IsOK(ecode2)) {
9382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9383 }
9384 arg2 = static_cast< int >(val2);
9385 {
9386 PyThreadState* __tstate = wxPyBeginAllowThreads();
9387 (arg1)->SetSplitMode(arg2);
9388 wxPyEndAllowThreads(__tstate);
9389 if (PyErr_Occurred()) SWIG_fail;
9390 }
9391 resultobj = SWIG_Py_Void();
9392 return resultobj;
9393 fail:
9394 return NULL;
9395 }
9396
9397
9398 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9399 PyObject *resultobj = 0;
9400 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9401 wxSplitMode result;
9402 void *argp1 = 0 ;
9403 int res1 = 0 ;
9404 PyObject *swig_obj[1] ;
9405
9406 if (!args) SWIG_fail;
9407 swig_obj[0] = args;
9408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9409 if (!SWIG_IsOK(res1)) {
9410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9411 }
9412 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9413 {
9414 PyThreadState* __tstate = wxPyBeginAllowThreads();
9415 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9416 wxPyEndAllowThreads(__tstate);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
9419 resultobj = SWIG_From_int(static_cast< int >(result));
9420 return resultobj;
9421 fail:
9422 return NULL;
9423 }
9424
9425
9426 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9427 PyObject *resultobj = 0;
9428 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9429 wxWindow *arg2 = (wxWindow *) 0 ;
9430 void *argp1 = 0 ;
9431 int res1 = 0 ;
9432 void *argp2 = 0 ;
9433 int res2 = 0 ;
9434 PyObject * obj0 = 0 ;
9435 PyObject * obj1 = 0 ;
9436 char * kwnames[] = {
9437 (char *) "self",(char *) "window", NULL
9438 };
9439
9440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9442 if (!SWIG_IsOK(res1)) {
9443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9444 }
9445 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9446 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9447 if (!SWIG_IsOK(res2)) {
9448 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9449 }
9450 arg2 = reinterpret_cast< wxWindow * >(argp2);
9451 {
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 (arg1)->Initialize(arg2);
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 resultobj = SWIG_Py_Void();
9458 return resultobj;
9459 fail:
9460 return NULL;
9461 }
9462
9463
9464 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9465 PyObject *resultobj = 0;
9466 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9467 wxWindow *arg2 = (wxWindow *) 0 ;
9468 wxWindow *arg3 = (wxWindow *) 0 ;
9469 int arg4 = (int) 0 ;
9470 bool result;
9471 void *argp1 = 0 ;
9472 int res1 = 0 ;
9473 void *argp2 = 0 ;
9474 int res2 = 0 ;
9475 void *argp3 = 0 ;
9476 int res3 = 0 ;
9477 int val4 ;
9478 int ecode4 = 0 ;
9479 PyObject * obj0 = 0 ;
9480 PyObject * obj1 = 0 ;
9481 PyObject * obj2 = 0 ;
9482 PyObject * obj3 = 0 ;
9483 char * kwnames[] = {
9484 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9485 };
9486
9487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9489 if (!SWIG_IsOK(res1)) {
9490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9491 }
9492 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9493 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9494 if (!SWIG_IsOK(res2)) {
9495 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9496 }
9497 arg2 = reinterpret_cast< wxWindow * >(argp2);
9498 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9499 if (!SWIG_IsOK(res3)) {
9500 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9501 }
9502 arg3 = reinterpret_cast< wxWindow * >(argp3);
9503 if (obj3) {
9504 ecode4 = SWIG_AsVal_int(obj3, &val4);
9505 if (!SWIG_IsOK(ecode4)) {
9506 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9507 }
9508 arg4 = static_cast< int >(val4);
9509 }
9510 {
9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
9512 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9513 wxPyEndAllowThreads(__tstate);
9514 if (PyErr_Occurred()) SWIG_fail;
9515 }
9516 {
9517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9518 }
9519 return resultobj;
9520 fail:
9521 return NULL;
9522 }
9523
9524
9525 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9526 PyObject *resultobj = 0;
9527 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9528 wxWindow *arg2 = (wxWindow *) 0 ;
9529 wxWindow *arg3 = (wxWindow *) 0 ;
9530 int arg4 = (int) 0 ;
9531 bool result;
9532 void *argp1 = 0 ;
9533 int res1 = 0 ;
9534 void *argp2 = 0 ;
9535 int res2 = 0 ;
9536 void *argp3 = 0 ;
9537 int res3 = 0 ;
9538 int val4 ;
9539 int ecode4 = 0 ;
9540 PyObject * obj0 = 0 ;
9541 PyObject * obj1 = 0 ;
9542 PyObject * obj2 = 0 ;
9543 PyObject * obj3 = 0 ;
9544 char * kwnames[] = {
9545 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9546 };
9547
9548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9550 if (!SWIG_IsOK(res1)) {
9551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9552 }
9553 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9554 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9555 if (!SWIG_IsOK(res2)) {
9556 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9557 }
9558 arg2 = reinterpret_cast< wxWindow * >(argp2);
9559 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9560 if (!SWIG_IsOK(res3)) {
9561 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9562 }
9563 arg3 = reinterpret_cast< wxWindow * >(argp3);
9564 if (obj3) {
9565 ecode4 = SWIG_AsVal_int(obj3, &val4);
9566 if (!SWIG_IsOK(ecode4)) {
9567 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9568 }
9569 arg4 = static_cast< int >(val4);
9570 }
9571 {
9572 PyThreadState* __tstate = wxPyBeginAllowThreads();
9573 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9574 wxPyEndAllowThreads(__tstate);
9575 if (PyErr_Occurred()) SWIG_fail;
9576 }
9577 {
9578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9579 }
9580 return resultobj;
9581 fail:
9582 return NULL;
9583 }
9584
9585
9586 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9587 PyObject *resultobj = 0;
9588 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9589 wxWindow *arg2 = (wxWindow *) NULL ;
9590 bool result;
9591 void *argp1 = 0 ;
9592 int res1 = 0 ;
9593 void *argp2 = 0 ;
9594 int res2 = 0 ;
9595 PyObject * obj0 = 0 ;
9596 PyObject * obj1 = 0 ;
9597 char * kwnames[] = {
9598 (char *) "self",(char *) "toRemove", NULL
9599 };
9600
9601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9603 if (!SWIG_IsOK(res1)) {
9604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9605 }
9606 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9607 if (obj1) {
9608 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9609 if (!SWIG_IsOK(res2)) {
9610 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9611 }
9612 arg2 = reinterpret_cast< wxWindow * >(argp2);
9613 }
9614 {
9615 PyThreadState* __tstate = wxPyBeginAllowThreads();
9616 result = (bool)(arg1)->Unsplit(arg2);
9617 wxPyEndAllowThreads(__tstate);
9618 if (PyErr_Occurred()) SWIG_fail;
9619 }
9620 {
9621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9622 }
9623 return resultobj;
9624 fail:
9625 return NULL;
9626 }
9627
9628
9629 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9630 PyObject *resultobj = 0;
9631 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9632 wxWindow *arg2 = (wxWindow *) 0 ;
9633 wxWindow *arg3 = (wxWindow *) 0 ;
9634 bool result;
9635 void *argp1 = 0 ;
9636 int res1 = 0 ;
9637 void *argp2 = 0 ;
9638 int res2 = 0 ;
9639 void *argp3 = 0 ;
9640 int res3 = 0 ;
9641 PyObject * obj0 = 0 ;
9642 PyObject * obj1 = 0 ;
9643 PyObject * obj2 = 0 ;
9644 char * kwnames[] = {
9645 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9646 };
9647
9648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9650 if (!SWIG_IsOK(res1)) {
9651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9652 }
9653 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9654 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9655 if (!SWIG_IsOK(res2)) {
9656 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9657 }
9658 arg2 = reinterpret_cast< wxWindow * >(argp2);
9659 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9660 if (!SWIG_IsOK(res3)) {
9661 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9662 }
9663 arg3 = reinterpret_cast< wxWindow * >(argp3);
9664 {
9665 PyThreadState* __tstate = wxPyBeginAllowThreads();
9666 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9667 wxPyEndAllowThreads(__tstate);
9668 if (PyErr_Occurred()) SWIG_fail;
9669 }
9670 {
9671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9672 }
9673 return resultobj;
9674 fail:
9675 return NULL;
9676 }
9677
9678
9679 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9680 PyObject *resultobj = 0;
9681 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9682 void *argp1 = 0 ;
9683 int res1 = 0 ;
9684 PyObject *swig_obj[1] ;
9685
9686 if (!args) SWIG_fail;
9687 swig_obj[0] = args;
9688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9689 if (!SWIG_IsOK(res1)) {
9690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9691 }
9692 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9693 {
9694 PyThreadState* __tstate = wxPyBeginAllowThreads();
9695 (arg1)->UpdateSize();
9696 wxPyEndAllowThreads(__tstate);
9697 if (PyErr_Occurred()) SWIG_fail;
9698 }
9699 resultobj = SWIG_Py_Void();
9700 return resultobj;
9701 fail:
9702 return NULL;
9703 }
9704
9705
9706 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9707 PyObject *resultobj = 0;
9708 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9709 bool result;
9710 void *argp1 = 0 ;
9711 int res1 = 0 ;
9712 PyObject *swig_obj[1] ;
9713
9714 if (!args) SWIG_fail;
9715 swig_obj[0] = args;
9716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9717 if (!SWIG_IsOK(res1)) {
9718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9719 }
9720 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9721 {
9722 PyThreadState* __tstate = wxPyBeginAllowThreads();
9723 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 {
9728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9729 }
9730 return resultobj;
9731 fail:
9732 return NULL;
9733 }
9734
9735
9736 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9737 PyObject *resultobj = 0;
9738 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9739 int arg2 ;
9740 void *argp1 = 0 ;
9741 int res1 = 0 ;
9742 int val2 ;
9743 int ecode2 = 0 ;
9744 PyObject * obj0 = 0 ;
9745 PyObject * obj1 = 0 ;
9746 char * kwnames[] = {
9747 (char *) "self",(char *) "width", NULL
9748 };
9749
9750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9752 if (!SWIG_IsOK(res1)) {
9753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9754 }
9755 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9756 ecode2 = SWIG_AsVal_int(obj1, &val2);
9757 if (!SWIG_IsOK(ecode2)) {
9758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9759 }
9760 arg2 = static_cast< int >(val2);
9761 {
9762 PyThreadState* __tstate = wxPyBeginAllowThreads();
9763 (arg1)->SetSashSize(arg2);
9764 wxPyEndAllowThreads(__tstate);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
9767 resultobj = SWIG_Py_Void();
9768 return resultobj;
9769 fail:
9770 return NULL;
9771 }
9772
9773
9774 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9775 PyObject *resultobj = 0;
9776 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9777 int arg2 ;
9778 void *argp1 = 0 ;
9779 int res1 = 0 ;
9780 int val2 ;
9781 int ecode2 = 0 ;
9782 PyObject * obj0 = 0 ;
9783 PyObject * obj1 = 0 ;
9784 char * kwnames[] = {
9785 (char *) "self",(char *) "width", NULL
9786 };
9787
9788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9790 if (!SWIG_IsOK(res1)) {
9791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9792 }
9793 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9794 ecode2 = SWIG_AsVal_int(obj1, &val2);
9795 if (!SWIG_IsOK(ecode2)) {
9796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9797 }
9798 arg2 = static_cast< int >(val2);
9799 {
9800 PyThreadState* __tstate = wxPyBeginAllowThreads();
9801 (arg1)->SetBorderSize(arg2);
9802 wxPyEndAllowThreads(__tstate);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 }
9805 resultobj = SWIG_Py_Void();
9806 return resultobj;
9807 fail:
9808 return NULL;
9809 }
9810
9811
9812 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9813 PyObject *resultobj = 0;
9814 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9815 int result;
9816 void *argp1 = 0 ;
9817 int res1 = 0 ;
9818 PyObject *swig_obj[1] ;
9819
9820 if (!args) SWIG_fail;
9821 swig_obj[0] = args;
9822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9823 if (!SWIG_IsOK(res1)) {
9824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9825 }
9826 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9827 {
9828 PyThreadState* __tstate = wxPyBeginAllowThreads();
9829 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
9833 resultobj = SWIG_From_int(static_cast< int >(result));
9834 return resultobj;
9835 fail:
9836 return NULL;
9837 }
9838
9839
9840 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9841 PyObject *resultobj = 0;
9842 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9843 int result;
9844 void *argp1 = 0 ;
9845 int res1 = 0 ;
9846 PyObject *swig_obj[1] ;
9847
9848 if (!args) SWIG_fail;
9849 swig_obj[0] = args;
9850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9851 if (!SWIG_IsOK(res1)) {
9852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9853 }
9854 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9855 {
9856 PyThreadState* __tstate = wxPyBeginAllowThreads();
9857 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9858 wxPyEndAllowThreads(__tstate);
9859 if (PyErr_Occurred()) SWIG_fail;
9860 }
9861 resultobj = SWIG_From_int(static_cast< int >(result));
9862 return resultobj;
9863 fail:
9864 return NULL;
9865 }
9866
9867
9868 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9869 PyObject *resultobj = 0;
9870 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9871 int arg2 ;
9872 bool arg3 = (bool) true ;
9873 void *argp1 = 0 ;
9874 int res1 = 0 ;
9875 int val2 ;
9876 int ecode2 = 0 ;
9877 bool val3 ;
9878 int ecode3 = 0 ;
9879 PyObject * obj0 = 0 ;
9880 PyObject * obj1 = 0 ;
9881 PyObject * obj2 = 0 ;
9882 char * kwnames[] = {
9883 (char *) "self",(char *) "position",(char *) "redraw", NULL
9884 };
9885
9886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9888 if (!SWIG_IsOK(res1)) {
9889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9890 }
9891 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9892 ecode2 = SWIG_AsVal_int(obj1, &val2);
9893 if (!SWIG_IsOK(ecode2)) {
9894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9895 }
9896 arg2 = static_cast< int >(val2);
9897 if (obj2) {
9898 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9899 if (!SWIG_IsOK(ecode3)) {
9900 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9901 }
9902 arg3 = static_cast< bool >(val3);
9903 }
9904 {
9905 PyThreadState* __tstate = wxPyBeginAllowThreads();
9906 (arg1)->SetSashPosition(arg2,arg3);
9907 wxPyEndAllowThreads(__tstate);
9908 if (PyErr_Occurred()) SWIG_fail;
9909 }
9910 resultobj = SWIG_Py_Void();
9911 return resultobj;
9912 fail:
9913 return NULL;
9914 }
9915
9916
9917 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9918 PyObject *resultobj = 0;
9919 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9920 int result;
9921 void *argp1 = 0 ;
9922 int res1 = 0 ;
9923 PyObject *swig_obj[1] ;
9924
9925 if (!args) SWIG_fail;
9926 swig_obj[0] = args;
9927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9928 if (!SWIG_IsOK(res1)) {
9929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9930 }
9931 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9932 {
9933 PyThreadState* __tstate = wxPyBeginAllowThreads();
9934 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 resultobj = SWIG_From_int(static_cast< int >(result));
9939 return resultobj;
9940 fail:
9941 return NULL;
9942 }
9943
9944
9945 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9946 PyObject *resultobj = 0;
9947 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9948 double arg2 ;
9949 void *argp1 = 0 ;
9950 int res1 = 0 ;
9951 double val2 ;
9952 int ecode2 = 0 ;
9953 PyObject * obj0 = 0 ;
9954 PyObject * obj1 = 0 ;
9955 char * kwnames[] = {
9956 (char *) "self",(char *) "gravity", NULL
9957 };
9958
9959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
9960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9961 if (!SWIG_IsOK(res1)) {
9962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9963 }
9964 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9965 ecode2 = SWIG_AsVal_double(obj1, &val2);
9966 if (!SWIG_IsOK(ecode2)) {
9967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
9968 }
9969 arg2 = static_cast< double >(val2);
9970 {
9971 PyThreadState* __tstate = wxPyBeginAllowThreads();
9972 (arg1)->SetSashGravity(arg2);
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
9976 resultobj = SWIG_Py_Void();
9977 return resultobj;
9978 fail:
9979 return NULL;
9980 }
9981
9982
9983 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9984 PyObject *resultobj = 0;
9985 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9986 double result;
9987 void *argp1 = 0 ;
9988 int res1 = 0 ;
9989 PyObject *swig_obj[1] ;
9990
9991 if (!args) SWIG_fail;
9992 swig_obj[0] = args;
9993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9994 if (!SWIG_IsOK(res1)) {
9995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9996 }
9997 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9998 {
9999 PyThreadState* __tstate = wxPyBeginAllowThreads();
10000 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10001 wxPyEndAllowThreads(__tstate);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
10004 resultobj = SWIG_From_double(static_cast< double >(result));
10005 return resultobj;
10006 fail:
10007 return NULL;
10008 }
10009
10010
10011 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10012 PyObject *resultobj = 0;
10013 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10014 int arg2 ;
10015 void *argp1 = 0 ;
10016 int res1 = 0 ;
10017 int val2 ;
10018 int ecode2 = 0 ;
10019 PyObject * obj0 = 0 ;
10020 PyObject * obj1 = 0 ;
10021 char * kwnames[] = {
10022 (char *) "self",(char *) "min", NULL
10023 };
10024
10025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10027 if (!SWIG_IsOK(res1)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10029 }
10030 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10031 ecode2 = SWIG_AsVal_int(obj1, &val2);
10032 if (!SWIG_IsOK(ecode2)) {
10033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10034 }
10035 arg2 = static_cast< int >(val2);
10036 {
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 (arg1)->SetMinimumPaneSize(arg2);
10039 wxPyEndAllowThreads(__tstate);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 }
10042 resultobj = SWIG_Py_Void();
10043 return resultobj;
10044 fail:
10045 return NULL;
10046 }
10047
10048
10049 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10050 PyObject *resultobj = 0;
10051 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10052 int result;
10053 void *argp1 = 0 ;
10054 int res1 = 0 ;
10055 PyObject *swig_obj[1] ;
10056
10057 if (!args) SWIG_fail;
10058 swig_obj[0] = args;
10059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10060 if (!SWIG_IsOK(res1)) {
10061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10062 }
10063 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10064 {
10065 PyThreadState* __tstate = wxPyBeginAllowThreads();
10066 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10067 wxPyEndAllowThreads(__tstate);
10068 if (PyErr_Occurred()) SWIG_fail;
10069 }
10070 resultobj = SWIG_From_int(static_cast< int >(result));
10071 return resultobj;
10072 fail:
10073 return NULL;
10074 }
10075
10076
10077 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10078 PyObject *resultobj = 0;
10079 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10080 int arg2 ;
10081 int arg3 ;
10082 int arg4 = (int) 5 ;
10083 bool result;
10084 void *argp1 = 0 ;
10085 int res1 = 0 ;
10086 int val2 ;
10087 int ecode2 = 0 ;
10088 int val3 ;
10089 int ecode3 = 0 ;
10090 int val4 ;
10091 int ecode4 = 0 ;
10092 PyObject * obj0 = 0 ;
10093 PyObject * obj1 = 0 ;
10094 PyObject * obj2 = 0 ;
10095 PyObject * obj3 = 0 ;
10096 char * kwnames[] = {
10097 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10098 };
10099
10100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10102 if (!SWIG_IsOK(res1)) {
10103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10104 }
10105 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10106 ecode2 = SWIG_AsVal_int(obj1, &val2);
10107 if (!SWIG_IsOK(ecode2)) {
10108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10109 }
10110 arg2 = static_cast< int >(val2);
10111 ecode3 = SWIG_AsVal_int(obj2, &val3);
10112 if (!SWIG_IsOK(ecode3)) {
10113 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10114 }
10115 arg3 = static_cast< int >(val3);
10116 if (obj3) {
10117 ecode4 = SWIG_AsVal_int(obj3, &val4);
10118 if (!SWIG_IsOK(ecode4)) {
10119 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10120 }
10121 arg4 = static_cast< int >(val4);
10122 }
10123 {
10124 PyThreadState* __tstate = wxPyBeginAllowThreads();
10125 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 {
10130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10131 }
10132 return resultobj;
10133 fail:
10134 return NULL;
10135 }
10136
10137
10138 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10139 PyObject *resultobj = 0;
10140 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10141 void *argp1 = 0 ;
10142 int res1 = 0 ;
10143 PyObject *swig_obj[1] ;
10144
10145 if (!args) SWIG_fail;
10146 swig_obj[0] = args;
10147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10148 if (!SWIG_IsOK(res1)) {
10149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10150 }
10151 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10152 {
10153 PyThreadState* __tstate = wxPyBeginAllowThreads();
10154 (arg1)->SizeWindows();
10155 wxPyEndAllowThreads(__tstate);
10156 if (PyErr_Occurred()) SWIG_fail;
10157 }
10158 resultobj = SWIG_Py_Void();
10159 return resultobj;
10160 fail:
10161 return NULL;
10162 }
10163
10164
10165 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10166 PyObject *resultobj = 0;
10167 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10168 bool arg2 ;
10169 void *argp1 = 0 ;
10170 int res1 = 0 ;
10171 bool val2 ;
10172 int ecode2 = 0 ;
10173 PyObject * obj0 = 0 ;
10174 PyObject * obj1 = 0 ;
10175 char * kwnames[] = {
10176 (char *) "self",(char *) "needUpdating", NULL
10177 };
10178
10179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10181 if (!SWIG_IsOK(res1)) {
10182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10183 }
10184 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10185 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10186 if (!SWIG_IsOK(ecode2)) {
10187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10188 }
10189 arg2 = static_cast< bool >(val2);
10190 {
10191 PyThreadState* __tstate = wxPyBeginAllowThreads();
10192 (arg1)->SetNeedUpdating(arg2);
10193 wxPyEndAllowThreads(__tstate);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 }
10196 resultobj = SWIG_Py_Void();
10197 return resultobj;
10198 fail:
10199 return NULL;
10200 }
10201
10202
10203 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10204 PyObject *resultobj = 0;
10205 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10206 bool result;
10207 void *argp1 = 0 ;
10208 int res1 = 0 ;
10209 PyObject *swig_obj[1] ;
10210
10211 if (!args) SWIG_fail;
10212 swig_obj[0] = args;
10213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10214 if (!SWIG_IsOK(res1)) {
10215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10216 }
10217 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10218 {
10219 PyThreadState* __tstate = wxPyBeginAllowThreads();
10220 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10221 wxPyEndAllowThreads(__tstate);
10222 if (PyErr_Occurred()) SWIG_fail;
10223 }
10224 {
10225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10226 }
10227 return resultobj;
10228 fail:
10229 return NULL;
10230 }
10231
10232
10233 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10234 PyObject *resultobj = 0;
10235 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10236 SwigValueWrapper<wxVisualAttributes > result;
10237 int val1 ;
10238 int ecode1 = 0 ;
10239 PyObject * obj0 = 0 ;
10240 char * kwnames[] = {
10241 (char *) "variant", NULL
10242 };
10243
10244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10245 if (obj0) {
10246 ecode1 = SWIG_AsVal_int(obj0, &val1);
10247 if (!SWIG_IsOK(ecode1)) {
10248 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10249 }
10250 arg1 = static_cast< wxWindowVariant >(val1);
10251 }
10252 {
10253 if (!wxPyCheckForApp()) SWIG_fail;
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10256 wxPyEndAllowThreads(__tstate);
10257 if (PyErr_Occurred()) SWIG_fail;
10258 }
10259 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10260 return resultobj;
10261 fail:
10262 return NULL;
10263 }
10264
10265
10266 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10267 PyObject *obj;
10268 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10269 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10270 return SWIG_Py_Void();
10271 }
10272
10273 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10274 return SWIG_Python_InitShadowInstance(args);
10275 }
10276
10277 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10278 PyObject *resultobj = 0;
10279 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10280 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10281 wxSplitterEvent *result = 0 ;
10282 int val1 ;
10283 int ecode1 = 0 ;
10284 void *argp2 = 0 ;
10285 int res2 = 0 ;
10286 PyObject * obj0 = 0 ;
10287 PyObject * obj1 = 0 ;
10288 char * kwnames[] = {
10289 (char *) "type",(char *) "splitter", NULL
10290 };
10291
10292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10293 if (obj0) {
10294 ecode1 = SWIG_AsVal_int(obj0, &val1);
10295 if (!SWIG_IsOK(ecode1)) {
10296 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10297 }
10298 arg1 = static_cast< wxEventType >(val1);
10299 }
10300 if (obj1) {
10301 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10302 if (!SWIG_IsOK(res2)) {
10303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10304 }
10305 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10306 }
10307 {
10308 PyThreadState* __tstate = wxPyBeginAllowThreads();
10309 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10310 wxPyEndAllowThreads(__tstate);
10311 if (PyErr_Occurred()) SWIG_fail;
10312 }
10313 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10314 return resultobj;
10315 fail:
10316 return NULL;
10317 }
10318
10319
10320 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10321 PyObject *resultobj = 0;
10322 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10323 int arg2 ;
10324 void *argp1 = 0 ;
10325 int res1 = 0 ;
10326 int val2 ;
10327 int ecode2 = 0 ;
10328 PyObject * obj0 = 0 ;
10329 PyObject * obj1 = 0 ;
10330 char * kwnames[] = {
10331 (char *) "self",(char *) "pos", NULL
10332 };
10333
10334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10336 if (!SWIG_IsOK(res1)) {
10337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10338 }
10339 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10340 ecode2 = SWIG_AsVal_int(obj1, &val2);
10341 if (!SWIG_IsOK(ecode2)) {
10342 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10343 }
10344 arg2 = static_cast< int >(val2);
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
10347 (arg1)->SetSashPosition(arg2);
10348 wxPyEndAllowThreads(__tstate);
10349 if (PyErr_Occurred()) SWIG_fail;
10350 }
10351 resultobj = SWIG_Py_Void();
10352 return resultobj;
10353 fail:
10354 return NULL;
10355 }
10356
10357
10358 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10359 PyObject *resultobj = 0;
10360 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10361 int result;
10362 void *argp1 = 0 ;
10363 int res1 = 0 ;
10364 PyObject *swig_obj[1] ;
10365
10366 if (!args) SWIG_fail;
10367 swig_obj[0] = args;
10368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10369 if (!SWIG_IsOK(res1)) {
10370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10371 }
10372 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10373 {
10374 PyThreadState* __tstate = wxPyBeginAllowThreads();
10375 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10376 wxPyEndAllowThreads(__tstate);
10377 if (PyErr_Occurred()) SWIG_fail;
10378 }
10379 resultobj = SWIG_From_int(static_cast< int >(result));
10380 return resultobj;
10381 fail:
10382 return NULL;
10383 }
10384
10385
10386 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10387 PyObject *resultobj = 0;
10388 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10389 wxWindow *result = 0 ;
10390 void *argp1 = 0 ;
10391 int res1 = 0 ;
10392 PyObject *swig_obj[1] ;
10393
10394 if (!args) SWIG_fail;
10395 swig_obj[0] = args;
10396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10397 if (!SWIG_IsOK(res1)) {
10398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10399 }
10400 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10401 {
10402 PyThreadState* __tstate = wxPyBeginAllowThreads();
10403 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10404 wxPyEndAllowThreads(__tstate);
10405 if (PyErr_Occurred()) SWIG_fail;
10406 }
10407 {
10408 resultobj = wxPyMake_wxObject(result, 0);
10409 }
10410 return resultobj;
10411 fail:
10412 return NULL;
10413 }
10414
10415
10416 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10417 PyObject *resultobj = 0;
10418 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10419 int result;
10420 void *argp1 = 0 ;
10421 int res1 = 0 ;
10422 PyObject *swig_obj[1] ;
10423
10424 if (!args) SWIG_fail;
10425 swig_obj[0] = args;
10426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10427 if (!SWIG_IsOK(res1)) {
10428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10429 }
10430 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10434 wxPyEndAllowThreads(__tstate);
10435 if (PyErr_Occurred()) SWIG_fail;
10436 }
10437 resultobj = SWIG_From_int(static_cast< int >(result));
10438 return resultobj;
10439 fail:
10440 return NULL;
10441 }
10442
10443
10444 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10445 PyObject *resultobj = 0;
10446 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10447 int result;
10448 void *argp1 = 0 ;
10449 int res1 = 0 ;
10450 PyObject *swig_obj[1] ;
10451
10452 if (!args) SWIG_fail;
10453 swig_obj[0] = args;
10454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10455 if (!SWIG_IsOK(res1)) {
10456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10457 }
10458 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10459 {
10460 PyThreadState* __tstate = wxPyBeginAllowThreads();
10461 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 resultobj = SWIG_From_int(static_cast< int >(result));
10466 return resultobj;
10467 fail:
10468 return NULL;
10469 }
10470
10471
10472 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10473 PyObject *obj;
10474 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10475 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10476 return SWIG_Py_Void();
10477 }
10478
10479 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10480 return SWIG_Python_InitShadowInstance(args);
10481 }
10482
10483 SWIGINTERN int SashNameStr_set(PyObject *) {
10484 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10485 return 1;
10486 }
10487
10488
10489 SWIGINTERN PyObject *SashNameStr_get(void) {
10490 PyObject *pyobj = 0;
10491
10492 {
10493 #if wxUSE_UNICODE
10494 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10495 #else
10496 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10497 #endif
10498 }
10499 return pyobj;
10500 }
10501
10502
10503 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10504 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10505 return 1;
10506 }
10507
10508
10509 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10510 PyObject *pyobj = 0;
10511
10512 {
10513 #if wxUSE_UNICODE
10514 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10515 #else
10516 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10517 #endif
10518 }
10519 return pyobj;
10520 }
10521
10522
10523 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10524 PyObject *resultobj = 0;
10525 wxWindow *arg1 = (wxWindow *) 0 ;
10526 int arg2 = (int) -1 ;
10527 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10528 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10529 wxSize const &arg4_defvalue = wxDefaultSize ;
10530 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10531 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10532 wxString const &arg6_defvalue = wxPySashNameStr ;
10533 wxString *arg6 = (wxString *) &arg6_defvalue ;
10534 wxSashWindow *result = 0 ;
10535 void *argp1 = 0 ;
10536 int res1 = 0 ;
10537 int val2 ;
10538 int ecode2 = 0 ;
10539 wxPoint temp3 ;
10540 wxSize temp4 ;
10541 long val5 ;
10542 int ecode5 = 0 ;
10543 bool temp6 = false ;
10544 PyObject * obj0 = 0 ;
10545 PyObject * obj1 = 0 ;
10546 PyObject * obj2 = 0 ;
10547 PyObject * obj3 = 0 ;
10548 PyObject * obj4 = 0 ;
10549 PyObject * obj5 = 0 ;
10550 char * kwnames[] = {
10551 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10552 };
10553
10554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10556 if (!SWIG_IsOK(res1)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10558 }
10559 arg1 = reinterpret_cast< wxWindow * >(argp1);
10560 if (obj1) {
10561 ecode2 = SWIG_AsVal_int(obj1, &val2);
10562 if (!SWIG_IsOK(ecode2)) {
10563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10564 }
10565 arg2 = static_cast< int >(val2);
10566 }
10567 if (obj2) {
10568 {
10569 arg3 = &temp3;
10570 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10571 }
10572 }
10573 if (obj3) {
10574 {
10575 arg4 = &temp4;
10576 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10577 }
10578 }
10579 if (obj4) {
10580 ecode5 = SWIG_AsVal_long(obj4, &val5);
10581 if (!SWIG_IsOK(ecode5)) {
10582 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10583 }
10584 arg5 = static_cast< long >(val5);
10585 }
10586 if (obj5) {
10587 {
10588 arg6 = wxString_in_helper(obj5);
10589 if (arg6 == NULL) SWIG_fail;
10590 temp6 = true;
10591 }
10592 }
10593 {
10594 if (!wxPyCheckForApp()) SWIG_fail;
10595 PyThreadState* __tstate = wxPyBeginAllowThreads();
10596 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10597 wxPyEndAllowThreads(__tstate);
10598 if (PyErr_Occurred()) SWIG_fail;
10599 }
10600 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10601 {
10602 if (temp6)
10603 delete arg6;
10604 }
10605 return resultobj;
10606 fail:
10607 {
10608 if (temp6)
10609 delete arg6;
10610 }
10611 return NULL;
10612 }
10613
10614
10615 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10616 PyObject *resultobj = 0;
10617 wxSashWindow *result = 0 ;
10618
10619 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10620 {
10621 if (!wxPyCheckForApp()) SWIG_fail;
10622 PyThreadState* __tstate = wxPyBeginAllowThreads();
10623 result = (wxSashWindow *)new wxSashWindow();
10624 wxPyEndAllowThreads(__tstate);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 }
10627 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10628 return resultobj;
10629 fail:
10630 return NULL;
10631 }
10632
10633
10634 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10635 PyObject *resultobj = 0;
10636 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10637 wxWindow *arg2 = (wxWindow *) 0 ;
10638 int arg3 = (int) -1 ;
10639 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10640 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10641 wxSize const &arg5_defvalue = wxDefaultSize ;
10642 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10643 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10644 wxString const &arg7_defvalue = wxPySashNameStr ;
10645 wxString *arg7 = (wxString *) &arg7_defvalue ;
10646 bool result;
10647 void *argp1 = 0 ;
10648 int res1 = 0 ;
10649 void *argp2 = 0 ;
10650 int res2 = 0 ;
10651 int val3 ;
10652 int ecode3 = 0 ;
10653 wxPoint temp4 ;
10654 wxSize temp5 ;
10655 long val6 ;
10656 int ecode6 = 0 ;
10657 bool temp7 = false ;
10658 PyObject * obj0 = 0 ;
10659 PyObject * obj1 = 0 ;
10660 PyObject * obj2 = 0 ;
10661 PyObject * obj3 = 0 ;
10662 PyObject * obj4 = 0 ;
10663 PyObject * obj5 = 0 ;
10664 PyObject * obj6 = 0 ;
10665 char * kwnames[] = {
10666 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10667 };
10668
10669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10671 if (!SWIG_IsOK(res1)) {
10672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10673 }
10674 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10675 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10676 if (!SWIG_IsOK(res2)) {
10677 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10678 }
10679 arg2 = reinterpret_cast< wxWindow * >(argp2);
10680 if (obj2) {
10681 ecode3 = SWIG_AsVal_int(obj2, &val3);
10682 if (!SWIG_IsOK(ecode3)) {
10683 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10684 }
10685 arg3 = static_cast< int >(val3);
10686 }
10687 if (obj3) {
10688 {
10689 arg4 = &temp4;
10690 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10691 }
10692 }
10693 if (obj4) {
10694 {
10695 arg5 = &temp5;
10696 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10697 }
10698 }
10699 if (obj5) {
10700 ecode6 = SWIG_AsVal_long(obj5, &val6);
10701 if (!SWIG_IsOK(ecode6)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10703 }
10704 arg6 = static_cast< long >(val6);
10705 }
10706 if (obj6) {
10707 {
10708 arg7 = wxString_in_helper(obj6);
10709 if (arg7 == NULL) SWIG_fail;
10710 temp7 = true;
10711 }
10712 }
10713 {
10714 PyThreadState* __tstate = wxPyBeginAllowThreads();
10715 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 {
10720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10721 }
10722 {
10723 if (temp7)
10724 delete arg7;
10725 }
10726 return resultobj;
10727 fail:
10728 {
10729 if (temp7)
10730 delete arg7;
10731 }
10732 return NULL;
10733 }
10734
10735
10736 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10737 PyObject *resultobj = 0;
10738 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10739 wxSashEdgePosition arg2 ;
10740 bool arg3 ;
10741 void *argp1 = 0 ;
10742 int res1 = 0 ;
10743 int val2 ;
10744 int ecode2 = 0 ;
10745 bool val3 ;
10746 int ecode3 = 0 ;
10747 PyObject * obj0 = 0 ;
10748 PyObject * obj1 = 0 ;
10749 PyObject * obj2 = 0 ;
10750 char * kwnames[] = {
10751 (char *) "self",(char *) "edge",(char *) "sash", NULL
10752 };
10753
10754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10756 if (!SWIG_IsOK(res1)) {
10757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10758 }
10759 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10760 ecode2 = SWIG_AsVal_int(obj1, &val2);
10761 if (!SWIG_IsOK(ecode2)) {
10762 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10763 }
10764 arg2 = static_cast< wxSashEdgePosition >(val2);
10765 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10766 if (!SWIG_IsOK(ecode3)) {
10767 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10768 }
10769 arg3 = static_cast< bool >(val3);
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 (arg1)->SetSashVisible(arg2,arg3);
10773 wxPyEndAllowThreads(__tstate);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 }
10776 resultobj = SWIG_Py_Void();
10777 return resultobj;
10778 fail:
10779 return NULL;
10780 }
10781
10782
10783 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10784 PyObject *resultobj = 0;
10785 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10786 wxSashEdgePosition arg2 ;
10787 bool result;
10788 void *argp1 = 0 ;
10789 int res1 = 0 ;
10790 int val2 ;
10791 int ecode2 = 0 ;
10792 PyObject * obj0 = 0 ;
10793 PyObject * obj1 = 0 ;
10794 char * kwnames[] = {
10795 (char *) "self",(char *) "edge", NULL
10796 };
10797
10798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10800 if (!SWIG_IsOK(res1)) {
10801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10802 }
10803 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10804 ecode2 = SWIG_AsVal_int(obj1, &val2);
10805 if (!SWIG_IsOK(ecode2)) {
10806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10807 }
10808 arg2 = static_cast< wxSashEdgePosition >(val2);
10809 {
10810 PyThreadState* __tstate = wxPyBeginAllowThreads();
10811 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10812 wxPyEndAllowThreads(__tstate);
10813 if (PyErr_Occurred()) SWIG_fail;
10814 }
10815 {
10816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10817 }
10818 return resultobj;
10819 fail:
10820 return NULL;
10821 }
10822
10823
10824 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10825 PyObject *resultobj = 0;
10826 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10827 wxSashEdgePosition arg2 ;
10828 bool arg3 ;
10829 void *argp1 = 0 ;
10830 int res1 = 0 ;
10831 int val2 ;
10832 int ecode2 = 0 ;
10833 bool val3 ;
10834 int ecode3 = 0 ;
10835 PyObject * obj0 = 0 ;
10836 PyObject * obj1 = 0 ;
10837 PyObject * obj2 = 0 ;
10838 char * kwnames[] = {
10839 (char *) "self",(char *) "edge",(char *) "border", NULL
10840 };
10841
10842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10844 if (!SWIG_IsOK(res1)) {
10845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10846 }
10847 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10848 ecode2 = SWIG_AsVal_int(obj1, &val2);
10849 if (!SWIG_IsOK(ecode2)) {
10850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10851 }
10852 arg2 = static_cast< wxSashEdgePosition >(val2);
10853 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10854 if (!SWIG_IsOK(ecode3)) {
10855 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10856 }
10857 arg3 = static_cast< bool >(val3);
10858 {
10859 PyThreadState* __tstate = wxPyBeginAllowThreads();
10860 (arg1)->SetSashBorder(arg2,arg3);
10861 wxPyEndAllowThreads(__tstate);
10862 if (PyErr_Occurred()) SWIG_fail;
10863 }
10864 resultobj = SWIG_Py_Void();
10865 return resultobj;
10866 fail:
10867 return NULL;
10868 }
10869
10870
10871 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10872 PyObject *resultobj = 0;
10873 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10874 wxSashEdgePosition arg2 ;
10875 bool result;
10876 void *argp1 = 0 ;
10877 int res1 = 0 ;
10878 int val2 ;
10879 int ecode2 = 0 ;
10880 PyObject * obj0 = 0 ;
10881 PyObject * obj1 = 0 ;
10882 char * kwnames[] = {
10883 (char *) "self",(char *) "edge", NULL
10884 };
10885
10886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
10887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10888 if (!SWIG_IsOK(res1)) {
10889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10890 }
10891 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10892 ecode2 = SWIG_AsVal_int(obj1, &val2);
10893 if (!SWIG_IsOK(ecode2)) {
10894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10895 }
10896 arg2 = static_cast< wxSashEdgePosition >(val2);
10897 {
10898 PyThreadState* __tstate = wxPyBeginAllowThreads();
10899 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
10900 wxPyEndAllowThreads(__tstate);
10901 if (PyErr_Occurred()) SWIG_fail;
10902 }
10903 {
10904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10905 }
10906 return resultobj;
10907 fail:
10908 return NULL;
10909 }
10910
10911
10912 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10913 PyObject *resultobj = 0;
10914 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10915 wxSashEdgePosition arg2 ;
10916 int result;
10917 void *argp1 = 0 ;
10918 int res1 = 0 ;
10919 int val2 ;
10920 int ecode2 = 0 ;
10921 PyObject * obj0 = 0 ;
10922 PyObject * obj1 = 0 ;
10923 char * kwnames[] = {
10924 (char *) "self",(char *) "edge", NULL
10925 };
10926
10927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
10928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10929 if (!SWIG_IsOK(res1)) {
10930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10931 }
10932 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10933 ecode2 = SWIG_AsVal_int(obj1, &val2);
10934 if (!SWIG_IsOK(ecode2)) {
10935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10936 }
10937 arg2 = static_cast< wxSashEdgePosition >(val2);
10938 {
10939 PyThreadState* __tstate = wxPyBeginAllowThreads();
10940 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
10941 wxPyEndAllowThreads(__tstate);
10942 if (PyErr_Occurred()) SWIG_fail;
10943 }
10944 resultobj = SWIG_From_int(static_cast< int >(result));
10945 return resultobj;
10946 fail:
10947 return NULL;
10948 }
10949
10950
10951 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10952 PyObject *resultobj = 0;
10953 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10954 int arg2 ;
10955 void *argp1 = 0 ;
10956 int res1 = 0 ;
10957 int val2 ;
10958 int ecode2 = 0 ;
10959 PyObject * obj0 = 0 ;
10960 PyObject * obj1 = 0 ;
10961 char * kwnames[] = {
10962 (char *) "self",(char *) "width", NULL
10963 };
10964
10965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10967 if (!SWIG_IsOK(res1)) {
10968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10969 }
10970 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10971 ecode2 = SWIG_AsVal_int(obj1, &val2);
10972 if (!SWIG_IsOK(ecode2)) {
10973 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
10974 }
10975 arg2 = static_cast< int >(val2);
10976 {
10977 PyThreadState* __tstate = wxPyBeginAllowThreads();
10978 (arg1)->SetDefaultBorderSize(arg2);
10979 wxPyEndAllowThreads(__tstate);
10980 if (PyErr_Occurred()) SWIG_fail;
10981 }
10982 resultobj = SWIG_Py_Void();
10983 return resultobj;
10984 fail:
10985 return NULL;
10986 }
10987
10988
10989 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10990 PyObject *resultobj = 0;
10991 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10992 int result;
10993 void *argp1 = 0 ;
10994 int res1 = 0 ;
10995 PyObject *swig_obj[1] ;
10996
10997 if (!args) SWIG_fail;
10998 swig_obj[0] = args;
10999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11000 if (!SWIG_IsOK(res1)) {
11001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11002 }
11003 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11004 {
11005 PyThreadState* __tstate = wxPyBeginAllowThreads();
11006 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11007 wxPyEndAllowThreads(__tstate);
11008 if (PyErr_Occurred()) SWIG_fail;
11009 }
11010 resultobj = SWIG_From_int(static_cast< int >(result));
11011 return resultobj;
11012 fail:
11013 return NULL;
11014 }
11015
11016
11017 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11018 PyObject *resultobj = 0;
11019 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11020 int arg2 ;
11021 void *argp1 = 0 ;
11022 int res1 = 0 ;
11023 int val2 ;
11024 int ecode2 = 0 ;
11025 PyObject * obj0 = 0 ;
11026 PyObject * obj1 = 0 ;
11027 char * kwnames[] = {
11028 (char *) "self",(char *) "width", NULL
11029 };
11030
11031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11033 if (!SWIG_IsOK(res1)) {
11034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11035 }
11036 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11037 ecode2 = SWIG_AsVal_int(obj1, &val2);
11038 if (!SWIG_IsOK(ecode2)) {
11039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11040 }
11041 arg2 = static_cast< int >(val2);
11042 {
11043 PyThreadState* __tstate = wxPyBeginAllowThreads();
11044 (arg1)->SetExtraBorderSize(arg2);
11045 wxPyEndAllowThreads(__tstate);
11046 if (PyErr_Occurred()) SWIG_fail;
11047 }
11048 resultobj = SWIG_Py_Void();
11049 return resultobj;
11050 fail:
11051 return NULL;
11052 }
11053
11054
11055 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11056 PyObject *resultobj = 0;
11057 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11058 int result;
11059 void *argp1 = 0 ;
11060 int res1 = 0 ;
11061 PyObject *swig_obj[1] ;
11062
11063 if (!args) SWIG_fail;
11064 swig_obj[0] = args;
11065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11066 if (!SWIG_IsOK(res1)) {
11067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11068 }
11069 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11070 {
11071 PyThreadState* __tstate = wxPyBeginAllowThreads();
11072 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11073 wxPyEndAllowThreads(__tstate);
11074 if (PyErr_Occurred()) SWIG_fail;
11075 }
11076 resultobj = SWIG_From_int(static_cast< int >(result));
11077 return resultobj;
11078 fail:
11079 return NULL;
11080 }
11081
11082
11083 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11084 PyObject *resultobj = 0;
11085 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11086 int arg2 ;
11087 void *argp1 = 0 ;
11088 int res1 = 0 ;
11089 int val2 ;
11090 int ecode2 = 0 ;
11091 PyObject * obj0 = 0 ;
11092 PyObject * obj1 = 0 ;
11093 char * kwnames[] = {
11094 (char *) "self",(char *) "min", NULL
11095 };
11096
11097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11099 if (!SWIG_IsOK(res1)) {
11100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11101 }
11102 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11103 ecode2 = SWIG_AsVal_int(obj1, &val2);
11104 if (!SWIG_IsOK(ecode2)) {
11105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11106 }
11107 arg2 = static_cast< int >(val2);
11108 {
11109 PyThreadState* __tstate = wxPyBeginAllowThreads();
11110 (arg1)->SetMinimumSizeX(arg2);
11111 wxPyEndAllowThreads(__tstate);
11112 if (PyErr_Occurred()) SWIG_fail;
11113 }
11114 resultobj = SWIG_Py_Void();
11115 return resultobj;
11116 fail:
11117 return NULL;
11118 }
11119
11120
11121 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11122 PyObject *resultobj = 0;
11123 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11124 int arg2 ;
11125 void *argp1 = 0 ;
11126 int res1 = 0 ;
11127 int val2 ;
11128 int ecode2 = 0 ;
11129 PyObject * obj0 = 0 ;
11130 PyObject * obj1 = 0 ;
11131 char * kwnames[] = {
11132 (char *) "self",(char *) "min", NULL
11133 };
11134
11135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11137 if (!SWIG_IsOK(res1)) {
11138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11139 }
11140 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11141 ecode2 = SWIG_AsVal_int(obj1, &val2);
11142 if (!SWIG_IsOK(ecode2)) {
11143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11144 }
11145 arg2 = static_cast< int >(val2);
11146 {
11147 PyThreadState* __tstate = wxPyBeginAllowThreads();
11148 (arg1)->SetMinimumSizeY(arg2);
11149 wxPyEndAllowThreads(__tstate);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 }
11152 resultobj = SWIG_Py_Void();
11153 return resultobj;
11154 fail:
11155 return NULL;
11156 }
11157
11158
11159 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11160 PyObject *resultobj = 0;
11161 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11162 int result;
11163 void *argp1 = 0 ;
11164 int res1 = 0 ;
11165 PyObject *swig_obj[1] ;
11166
11167 if (!args) SWIG_fail;
11168 swig_obj[0] = args;
11169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11170 if (!SWIG_IsOK(res1)) {
11171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11172 }
11173 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11174 {
11175 PyThreadState* __tstate = wxPyBeginAllowThreads();
11176 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 resultobj = SWIG_From_int(static_cast< int >(result));
11181 return resultobj;
11182 fail:
11183 return NULL;
11184 }
11185
11186
11187 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11188 PyObject *resultobj = 0;
11189 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11190 int result;
11191 void *argp1 = 0 ;
11192 int res1 = 0 ;
11193 PyObject *swig_obj[1] ;
11194
11195 if (!args) SWIG_fail;
11196 swig_obj[0] = args;
11197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11198 if (!SWIG_IsOK(res1)) {
11199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11200 }
11201 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11202 {
11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
11204 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11205 wxPyEndAllowThreads(__tstate);
11206 if (PyErr_Occurred()) SWIG_fail;
11207 }
11208 resultobj = SWIG_From_int(static_cast< int >(result));
11209 return resultobj;
11210 fail:
11211 return NULL;
11212 }
11213
11214
11215 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11216 PyObject *resultobj = 0;
11217 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11218 int arg2 ;
11219 void *argp1 = 0 ;
11220 int res1 = 0 ;
11221 int val2 ;
11222 int ecode2 = 0 ;
11223 PyObject * obj0 = 0 ;
11224 PyObject * obj1 = 0 ;
11225 char * kwnames[] = {
11226 (char *) "self",(char *) "max", NULL
11227 };
11228
11229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11231 if (!SWIG_IsOK(res1)) {
11232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11233 }
11234 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11235 ecode2 = SWIG_AsVal_int(obj1, &val2);
11236 if (!SWIG_IsOK(ecode2)) {
11237 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11238 }
11239 arg2 = static_cast< int >(val2);
11240 {
11241 PyThreadState* __tstate = wxPyBeginAllowThreads();
11242 (arg1)->SetMaximumSizeX(arg2);
11243 wxPyEndAllowThreads(__tstate);
11244 if (PyErr_Occurred()) SWIG_fail;
11245 }
11246 resultobj = SWIG_Py_Void();
11247 return resultobj;
11248 fail:
11249 return NULL;
11250 }
11251
11252
11253 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11254 PyObject *resultobj = 0;
11255 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11256 int arg2 ;
11257 void *argp1 = 0 ;
11258 int res1 = 0 ;
11259 int val2 ;
11260 int ecode2 = 0 ;
11261 PyObject * obj0 = 0 ;
11262 PyObject * obj1 = 0 ;
11263 char * kwnames[] = {
11264 (char *) "self",(char *) "max", NULL
11265 };
11266
11267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11269 if (!SWIG_IsOK(res1)) {
11270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11271 }
11272 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11273 ecode2 = SWIG_AsVal_int(obj1, &val2);
11274 if (!SWIG_IsOK(ecode2)) {
11275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11276 }
11277 arg2 = static_cast< int >(val2);
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 (arg1)->SetMaximumSizeY(arg2);
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 resultobj = SWIG_Py_Void();
11285 return resultobj;
11286 fail:
11287 return NULL;
11288 }
11289
11290
11291 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11292 PyObject *resultobj = 0;
11293 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11294 int result;
11295 void *argp1 = 0 ;
11296 int res1 = 0 ;
11297 PyObject *swig_obj[1] ;
11298
11299 if (!args) SWIG_fail;
11300 swig_obj[0] = args;
11301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11302 if (!SWIG_IsOK(res1)) {
11303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11304 }
11305 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11306 {
11307 PyThreadState* __tstate = wxPyBeginAllowThreads();
11308 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11309 wxPyEndAllowThreads(__tstate);
11310 if (PyErr_Occurred()) SWIG_fail;
11311 }
11312 resultobj = SWIG_From_int(static_cast< int >(result));
11313 return resultobj;
11314 fail:
11315 return NULL;
11316 }
11317
11318
11319 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11320 PyObject *resultobj = 0;
11321 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11322 int result;
11323 void *argp1 = 0 ;
11324 int res1 = 0 ;
11325 PyObject *swig_obj[1] ;
11326
11327 if (!args) SWIG_fail;
11328 swig_obj[0] = args;
11329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11330 if (!SWIG_IsOK(res1)) {
11331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11332 }
11333 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
11336 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11337 wxPyEndAllowThreads(__tstate);
11338 if (PyErr_Occurred()) SWIG_fail;
11339 }
11340 resultobj = SWIG_From_int(static_cast< int >(result));
11341 return resultobj;
11342 fail:
11343 return NULL;
11344 }
11345
11346
11347 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11348 PyObject *resultobj = 0;
11349 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11350 int arg2 ;
11351 int arg3 ;
11352 int arg4 = (int) 2 ;
11353 wxSashEdgePosition result;
11354 void *argp1 = 0 ;
11355 int res1 = 0 ;
11356 int val2 ;
11357 int ecode2 = 0 ;
11358 int val3 ;
11359 int ecode3 = 0 ;
11360 int val4 ;
11361 int ecode4 = 0 ;
11362 PyObject * obj0 = 0 ;
11363 PyObject * obj1 = 0 ;
11364 PyObject * obj2 = 0 ;
11365 PyObject * obj3 = 0 ;
11366 char * kwnames[] = {
11367 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11368 };
11369
11370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11372 if (!SWIG_IsOK(res1)) {
11373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11374 }
11375 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11376 ecode2 = SWIG_AsVal_int(obj1, &val2);
11377 if (!SWIG_IsOK(ecode2)) {
11378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11379 }
11380 arg2 = static_cast< int >(val2);
11381 ecode3 = SWIG_AsVal_int(obj2, &val3);
11382 if (!SWIG_IsOK(ecode3)) {
11383 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11384 }
11385 arg3 = static_cast< int >(val3);
11386 if (obj3) {
11387 ecode4 = SWIG_AsVal_int(obj3, &val4);
11388 if (!SWIG_IsOK(ecode4)) {
11389 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11390 }
11391 arg4 = static_cast< int >(val4);
11392 }
11393 {
11394 PyThreadState* __tstate = wxPyBeginAllowThreads();
11395 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11396 wxPyEndAllowThreads(__tstate);
11397 if (PyErr_Occurred()) SWIG_fail;
11398 }
11399 resultobj = SWIG_From_int(static_cast< int >(result));
11400 return resultobj;
11401 fail:
11402 return NULL;
11403 }
11404
11405
11406 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11407 PyObject *resultobj = 0;
11408 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11409 void *argp1 = 0 ;
11410 int res1 = 0 ;
11411 PyObject *swig_obj[1] ;
11412
11413 if (!args) SWIG_fail;
11414 swig_obj[0] = args;
11415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11416 if (!SWIG_IsOK(res1)) {
11417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11418 }
11419 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11420 {
11421 PyThreadState* __tstate = wxPyBeginAllowThreads();
11422 (arg1)->SizeWindows();
11423 wxPyEndAllowThreads(__tstate);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 resultobj = SWIG_Py_Void();
11427 return resultobj;
11428 fail:
11429 return NULL;
11430 }
11431
11432
11433 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11434 PyObject *obj;
11435 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11436 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11437 return SWIG_Py_Void();
11438 }
11439
11440 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11441 return SWIG_Python_InitShadowInstance(args);
11442 }
11443
11444 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11445 PyObject *resultobj = 0;
11446 int arg1 = (int) 0 ;
11447 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11448 wxSashEvent *result = 0 ;
11449 int val1 ;
11450 int ecode1 = 0 ;
11451 int val2 ;
11452 int ecode2 = 0 ;
11453 PyObject * obj0 = 0 ;
11454 PyObject * obj1 = 0 ;
11455 char * kwnames[] = {
11456 (char *) "id",(char *) "edge", NULL
11457 };
11458
11459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11460 if (obj0) {
11461 ecode1 = SWIG_AsVal_int(obj0, &val1);
11462 if (!SWIG_IsOK(ecode1)) {
11463 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11464 }
11465 arg1 = static_cast< int >(val1);
11466 }
11467 if (obj1) {
11468 ecode2 = SWIG_AsVal_int(obj1, &val2);
11469 if (!SWIG_IsOK(ecode2)) {
11470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11471 }
11472 arg2 = static_cast< wxSashEdgePosition >(val2);
11473 }
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11477 wxPyEndAllowThreads(__tstate);
11478 if (PyErr_Occurred()) SWIG_fail;
11479 }
11480 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11481 return resultobj;
11482 fail:
11483 return NULL;
11484 }
11485
11486
11487 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11488 PyObject *resultobj = 0;
11489 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11490 wxSashEdgePosition arg2 ;
11491 void *argp1 = 0 ;
11492 int res1 = 0 ;
11493 int val2 ;
11494 int ecode2 = 0 ;
11495 PyObject * obj0 = 0 ;
11496 PyObject * obj1 = 0 ;
11497 char * kwnames[] = {
11498 (char *) "self",(char *) "edge", NULL
11499 };
11500
11501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11503 if (!SWIG_IsOK(res1)) {
11504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11505 }
11506 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11507 ecode2 = SWIG_AsVal_int(obj1, &val2);
11508 if (!SWIG_IsOK(ecode2)) {
11509 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11510 }
11511 arg2 = static_cast< wxSashEdgePosition >(val2);
11512 {
11513 PyThreadState* __tstate = wxPyBeginAllowThreads();
11514 (arg1)->SetEdge(arg2);
11515 wxPyEndAllowThreads(__tstate);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 resultobj = SWIG_Py_Void();
11519 return resultobj;
11520 fail:
11521 return NULL;
11522 }
11523
11524
11525 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11526 PyObject *resultobj = 0;
11527 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11528 wxSashEdgePosition result;
11529 void *argp1 = 0 ;
11530 int res1 = 0 ;
11531 PyObject *swig_obj[1] ;
11532
11533 if (!args) SWIG_fail;
11534 swig_obj[0] = args;
11535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11536 if (!SWIG_IsOK(res1)) {
11537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11538 }
11539 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11540 {
11541 PyThreadState* __tstate = wxPyBeginAllowThreads();
11542 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11543 wxPyEndAllowThreads(__tstate);
11544 if (PyErr_Occurred()) SWIG_fail;
11545 }
11546 resultobj = SWIG_From_int(static_cast< int >(result));
11547 return resultobj;
11548 fail:
11549 return NULL;
11550 }
11551
11552
11553 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11554 PyObject *resultobj = 0;
11555 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11556 wxRect *arg2 = 0 ;
11557 void *argp1 = 0 ;
11558 int res1 = 0 ;
11559 wxRect temp2 ;
11560 PyObject * obj0 = 0 ;
11561 PyObject * obj1 = 0 ;
11562 char * kwnames[] = {
11563 (char *) "self",(char *) "rect", NULL
11564 };
11565
11566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11568 if (!SWIG_IsOK(res1)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11570 }
11571 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11572 {
11573 arg2 = &temp2;
11574 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11575 }
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 (arg1)->SetDragRect((wxRect const &)*arg2);
11579 wxPyEndAllowThreads(__tstate);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 }
11582 resultobj = SWIG_Py_Void();
11583 return resultobj;
11584 fail:
11585 return NULL;
11586 }
11587
11588
11589 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11590 PyObject *resultobj = 0;
11591 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11592 wxRect result;
11593 void *argp1 = 0 ;
11594 int res1 = 0 ;
11595 PyObject *swig_obj[1] ;
11596
11597 if (!args) SWIG_fail;
11598 swig_obj[0] = args;
11599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11600 if (!SWIG_IsOK(res1)) {
11601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11602 }
11603 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11604 {
11605 PyThreadState* __tstate = wxPyBeginAllowThreads();
11606 result = ((wxSashEvent const *)arg1)->GetDragRect();
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
11610 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11611 return resultobj;
11612 fail:
11613 return NULL;
11614 }
11615
11616
11617 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11618 PyObject *resultobj = 0;
11619 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11620 wxSashDragStatus arg2 ;
11621 void *argp1 = 0 ;
11622 int res1 = 0 ;
11623 int val2 ;
11624 int ecode2 = 0 ;
11625 PyObject * obj0 = 0 ;
11626 PyObject * obj1 = 0 ;
11627 char * kwnames[] = {
11628 (char *) "self",(char *) "status", NULL
11629 };
11630
11631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11633 if (!SWIG_IsOK(res1)) {
11634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11635 }
11636 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11637 ecode2 = SWIG_AsVal_int(obj1, &val2);
11638 if (!SWIG_IsOK(ecode2)) {
11639 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11640 }
11641 arg2 = static_cast< wxSashDragStatus >(val2);
11642 {
11643 PyThreadState* __tstate = wxPyBeginAllowThreads();
11644 (arg1)->SetDragStatus(arg2);
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 resultobj = SWIG_Py_Void();
11649 return resultobj;
11650 fail:
11651 return NULL;
11652 }
11653
11654
11655 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11656 PyObject *resultobj = 0;
11657 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11658 wxSashDragStatus result;
11659 void *argp1 = 0 ;
11660 int res1 = 0 ;
11661 PyObject *swig_obj[1] ;
11662
11663 if (!args) SWIG_fail;
11664 swig_obj[0] = args;
11665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11666 if (!SWIG_IsOK(res1)) {
11667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11668 }
11669 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11670 {
11671 PyThreadState* __tstate = wxPyBeginAllowThreads();
11672 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 resultobj = SWIG_From_int(static_cast< int >(result));
11677 return resultobj;
11678 fail:
11679 return NULL;
11680 }
11681
11682
11683 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11684 PyObject *obj;
11685 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11686 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11687 return SWIG_Py_Void();
11688 }
11689
11690 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11691 return SWIG_Python_InitShadowInstance(args);
11692 }
11693
11694 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11695 PyObject *resultobj = 0;
11696 int arg1 = (int) 0 ;
11697 wxQueryLayoutInfoEvent *result = 0 ;
11698 int val1 ;
11699 int ecode1 = 0 ;
11700 PyObject * obj0 = 0 ;
11701 char * kwnames[] = {
11702 (char *) "id", NULL
11703 };
11704
11705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11706 if (obj0) {
11707 ecode1 = SWIG_AsVal_int(obj0, &val1);
11708 if (!SWIG_IsOK(ecode1)) {
11709 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11710 }
11711 arg1 = static_cast< int >(val1);
11712 }
11713 {
11714 PyThreadState* __tstate = wxPyBeginAllowThreads();
11715 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11716 wxPyEndAllowThreads(__tstate);
11717 if (PyErr_Occurred()) SWIG_fail;
11718 }
11719 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11720 return resultobj;
11721 fail:
11722 return NULL;
11723 }
11724
11725
11726 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11727 PyObject *resultobj = 0;
11728 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11729 int arg2 ;
11730 void *argp1 = 0 ;
11731 int res1 = 0 ;
11732 int val2 ;
11733 int ecode2 = 0 ;
11734 PyObject * obj0 = 0 ;
11735 PyObject * obj1 = 0 ;
11736 char * kwnames[] = {
11737 (char *) "self",(char *) "length", NULL
11738 };
11739
11740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11742 if (!SWIG_IsOK(res1)) {
11743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11744 }
11745 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11746 ecode2 = SWIG_AsVal_int(obj1, &val2);
11747 if (!SWIG_IsOK(ecode2)) {
11748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11749 }
11750 arg2 = static_cast< int >(val2);
11751 {
11752 PyThreadState* __tstate = wxPyBeginAllowThreads();
11753 (arg1)->SetRequestedLength(arg2);
11754 wxPyEndAllowThreads(__tstate);
11755 if (PyErr_Occurred()) SWIG_fail;
11756 }
11757 resultobj = SWIG_Py_Void();
11758 return resultobj;
11759 fail:
11760 return NULL;
11761 }
11762
11763
11764 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11765 PyObject *resultobj = 0;
11766 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11767 int result;
11768 void *argp1 = 0 ;
11769 int res1 = 0 ;
11770 PyObject *swig_obj[1] ;
11771
11772 if (!args) SWIG_fail;
11773 swig_obj[0] = args;
11774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11775 if (!SWIG_IsOK(res1)) {
11776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11777 }
11778 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11782 wxPyEndAllowThreads(__tstate);
11783 if (PyErr_Occurred()) SWIG_fail;
11784 }
11785 resultobj = SWIG_From_int(static_cast< int >(result));
11786 return resultobj;
11787 fail:
11788 return NULL;
11789 }
11790
11791
11792 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11793 PyObject *resultobj = 0;
11794 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11795 int arg2 ;
11796 void *argp1 = 0 ;
11797 int res1 = 0 ;
11798 int val2 ;
11799 int ecode2 = 0 ;
11800 PyObject * obj0 = 0 ;
11801 PyObject * obj1 = 0 ;
11802 char * kwnames[] = {
11803 (char *) "self",(char *) "flags", NULL
11804 };
11805
11806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11808 if (!SWIG_IsOK(res1)) {
11809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11810 }
11811 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11812 ecode2 = SWIG_AsVal_int(obj1, &val2);
11813 if (!SWIG_IsOK(ecode2)) {
11814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11815 }
11816 arg2 = static_cast< int >(val2);
11817 {
11818 PyThreadState* __tstate = wxPyBeginAllowThreads();
11819 (arg1)->SetFlags(arg2);
11820 wxPyEndAllowThreads(__tstate);
11821 if (PyErr_Occurred()) SWIG_fail;
11822 }
11823 resultobj = SWIG_Py_Void();
11824 return resultobj;
11825 fail:
11826 return NULL;
11827 }
11828
11829
11830 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11831 PyObject *resultobj = 0;
11832 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11833 int result;
11834 void *argp1 = 0 ;
11835 int res1 = 0 ;
11836 PyObject *swig_obj[1] ;
11837
11838 if (!args) SWIG_fail;
11839 swig_obj[0] = args;
11840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11841 if (!SWIG_IsOK(res1)) {
11842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11843 }
11844 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11845 {
11846 PyThreadState* __tstate = wxPyBeginAllowThreads();
11847 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11848 wxPyEndAllowThreads(__tstate);
11849 if (PyErr_Occurred()) SWIG_fail;
11850 }
11851 resultobj = SWIG_From_int(static_cast< int >(result));
11852 return resultobj;
11853 fail:
11854 return NULL;
11855 }
11856
11857
11858 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11859 PyObject *resultobj = 0;
11860 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11861 wxSize *arg2 = 0 ;
11862 void *argp1 = 0 ;
11863 int res1 = 0 ;
11864 wxSize temp2 ;
11865 PyObject * obj0 = 0 ;
11866 PyObject * obj1 = 0 ;
11867 char * kwnames[] = {
11868 (char *) "self",(char *) "size", NULL
11869 };
11870
11871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
11872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11873 if (!SWIG_IsOK(res1)) {
11874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11875 }
11876 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11877 {
11878 arg2 = &temp2;
11879 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11880 }
11881 {
11882 PyThreadState* __tstate = wxPyBeginAllowThreads();
11883 (arg1)->SetSize((wxSize const &)*arg2);
11884 wxPyEndAllowThreads(__tstate);
11885 if (PyErr_Occurred()) SWIG_fail;
11886 }
11887 resultobj = SWIG_Py_Void();
11888 return resultobj;
11889 fail:
11890 return NULL;
11891 }
11892
11893
11894 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11895 PyObject *resultobj = 0;
11896 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11897 wxSize result;
11898 void *argp1 = 0 ;
11899 int res1 = 0 ;
11900 PyObject *swig_obj[1] ;
11901
11902 if (!args) SWIG_fail;
11903 swig_obj[0] = args;
11904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11905 if (!SWIG_IsOK(res1)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11907 }
11908 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11909 {
11910 PyThreadState* __tstate = wxPyBeginAllowThreads();
11911 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
11912 wxPyEndAllowThreads(__tstate);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 }
11915 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
11916 return resultobj;
11917 fail:
11918 return NULL;
11919 }
11920
11921
11922 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11923 PyObject *resultobj = 0;
11924 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11925 wxLayoutOrientation arg2 ;
11926 void *argp1 = 0 ;
11927 int res1 = 0 ;
11928 int val2 ;
11929 int ecode2 = 0 ;
11930 PyObject * obj0 = 0 ;
11931 PyObject * obj1 = 0 ;
11932 char * kwnames[] = {
11933 (char *) "self",(char *) "orient", NULL
11934 };
11935
11936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
11937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11938 if (!SWIG_IsOK(res1)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11940 }
11941 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11942 ecode2 = SWIG_AsVal_int(obj1, &val2);
11943 if (!SWIG_IsOK(ecode2)) {
11944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
11945 }
11946 arg2 = static_cast< wxLayoutOrientation >(val2);
11947 {
11948 PyThreadState* __tstate = wxPyBeginAllowThreads();
11949 (arg1)->SetOrientation(arg2);
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
11953 resultobj = SWIG_Py_Void();
11954 return resultobj;
11955 fail:
11956 return NULL;
11957 }
11958
11959
11960 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11961 PyObject *resultobj = 0;
11962 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11963 wxLayoutOrientation result;
11964 void *argp1 = 0 ;
11965 int res1 = 0 ;
11966 PyObject *swig_obj[1] ;
11967
11968 if (!args) SWIG_fail;
11969 swig_obj[0] = args;
11970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11971 if (!SWIG_IsOK(res1)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11973 }
11974 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11975 {
11976 PyThreadState* __tstate = wxPyBeginAllowThreads();
11977 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 resultobj = SWIG_From_int(static_cast< int >(result));
11982 return resultobj;
11983 fail:
11984 return NULL;
11985 }
11986
11987
11988 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11989 PyObject *resultobj = 0;
11990 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11991 wxLayoutAlignment arg2 ;
11992 void *argp1 = 0 ;
11993 int res1 = 0 ;
11994 int val2 ;
11995 int ecode2 = 0 ;
11996 PyObject * obj0 = 0 ;
11997 PyObject * obj1 = 0 ;
11998 char * kwnames[] = {
11999 (char *) "self",(char *) "align", NULL
12000 };
12001
12002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12004 if (!SWIG_IsOK(res1)) {
12005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12006 }
12007 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12008 ecode2 = SWIG_AsVal_int(obj1, &val2);
12009 if (!SWIG_IsOK(ecode2)) {
12010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12011 }
12012 arg2 = static_cast< wxLayoutAlignment >(val2);
12013 {
12014 PyThreadState* __tstate = wxPyBeginAllowThreads();
12015 (arg1)->SetAlignment(arg2);
12016 wxPyEndAllowThreads(__tstate);
12017 if (PyErr_Occurred()) SWIG_fail;
12018 }
12019 resultobj = SWIG_Py_Void();
12020 return resultobj;
12021 fail:
12022 return NULL;
12023 }
12024
12025
12026 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12027 PyObject *resultobj = 0;
12028 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12029 wxLayoutAlignment result;
12030 void *argp1 = 0 ;
12031 int res1 = 0 ;
12032 PyObject *swig_obj[1] ;
12033
12034 if (!args) SWIG_fail;
12035 swig_obj[0] = args;
12036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12037 if (!SWIG_IsOK(res1)) {
12038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12039 }
12040 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12041 {
12042 PyThreadState* __tstate = wxPyBeginAllowThreads();
12043 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12044 wxPyEndAllowThreads(__tstate);
12045 if (PyErr_Occurred()) SWIG_fail;
12046 }
12047 resultobj = SWIG_From_int(static_cast< int >(result));
12048 return resultobj;
12049 fail:
12050 return NULL;
12051 }
12052
12053
12054 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12055 PyObject *obj;
12056 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12057 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12058 return SWIG_Py_Void();
12059 }
12060
12061 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12062 return SWIG_Python_InitShadowInstance(args);
12063 }
12064
12065 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12066 PyObject *resultobj = 0;
12067 int arg1 = (int) 0 ;
12068 wxCalculateLayoutEvent *result = 0 ;
12069 int val1 ;
12070 int ecode1 = 0 ;
12071 PyObject * obj0 = 0 ;
12072 char * kwnames[] = {
12073 (char *) "id", NULL
12074 };
12075
12076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12077 if (obj0) {
12078 ecode1 = SWIG_AsVal_int(obj0, &val1);
12079 if (!SWIG_IsOK(ecode1)) {
12080 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12081 }
12082 arg1 = static_cast< int >(val1);
12083 }
12084 {
12085 PyThreadState* __tstate = wxPyBeginAllowThreads();
12086 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12087 wxPyEndAllowThreads(__tstate);
12088 if (PyErr_Occurred()) SWIG_fail;
12089 }
12090 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12091 return resultobj;
12092 fail:
12093 return NULL;
12094 }
12095
12096
12097 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12098 PyObject *resultobj = 0;
12099 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12100 int arg2 ;
12101 void *argp1 = 0 ;
12102 int res1 = 0 ;
12103 int val2 ;
12104 int ecode2 = 0 ;
12105 PyObject * obj0 = 0 ;
12106 PyObject * obj1 = 0 ;
12107 char * kwnames[] = {
12108 (char *) "self",(char *) "flags", NULL
12109 };
12110
12111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12113 if (!SWIG_IsOK(res1)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12115 }
12116 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12117 ecode2 = SWIG_AsVal_int(obj1, &val2);
12118 if (!SWIG_IsOK(ecode2)) {
12119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12120 }
12121 arg2 = static_cast< int >(val2);
12122 {
12123 PyThreadState* __tstate = wxPyBeginAllowThreads();
12124 (arg1)->SetFlags(arg2);
12125 wxPyEndAllowThreads(__tstate);
12126 if (PyErr_Occurred()) SWIG_fail;
12127 }
12128 resultobj = SWIG_Py_Void();
12129 return resultobj;
12130 fail:
12131 return NULL;
12132 }
12133
12134
12135 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12136 PyObject *resultobj = 0;
12137 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12138 int result;
12139 void *argp1 = 0 ;
12140 int res1 = 0 ;
12141 PyObject *swig_obj[1] ;
12142
12143 if (!args) SWIG_fail;
12144 swig_obj[0] = args;
12145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12146 if (!SWIG_IsOK(res1)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12148 }
12149 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12150 {
12151 PyThreadState* __tstate = wxPyBeginAllowThreads();
12152 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12153 wxPyEndAllowThreads(__tstate);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
12156 resultobj = SWIG_From_int(static_cast< int >(result));
12157 return resultobj;
12158 fail:
12159 return NULL;
12160 }
12161
12162
12163 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12164 PyObject *resultobj = 0;
12165 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12166 wxRect *arg2 = 0 ;
12167 void *argp1 = 0 ;
12168 int res1 = 0 ;
12169 wxRect temp2 ;
12170 PyObject * obj0 = 0 ;
12171 PyObject * obj1 = 0 ;
12172 char * kwnames[] = {
12173 (char *) "self",(char *) "rect", NULL
12174 };
12175
12176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12178 if (!SWIG_IsOK(res1)) {
12179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12180 }
12181 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12182 {
12183 arg2 = &temp2;
12184 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12185 }
12186 {
12187 PyThreadState* __tstate = wxPyBeginAllowThreads();
12188 (arg1)->SetRect((wxRect const &)*arg2);
12189 wxPyEndAllowThreads(__tstate);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 }
12192 resultobj = SWIG_Py_Void();
12193 return resultobj;
12194 fail:
12195 return NULL;
12196 }
12197
12198
12199 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12200 PyObject *resultobj = 0;
12201 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12202 wxRect result;
12203 void *argp1 = 0 ;
12204 int res1 = 0 ;
12205 PyObject *swig_obj[1] ;
12206
12207 if (!args) SWIG_fail;
12208 swig_obj[0] = args;
12209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12210 if (!SWIG_IsOK(res1)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12212 }
12213 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12217 wxPyEndAllowThreads(__tstate);
12218 if (PyErr_Occurred()) SWIG_fail;
12219 }
12220 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12221 return resultobj;
12222 fail:
12223 return NULL;
12224 }
12225
12226
12227 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12228 PyObject *obj;
12229 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12230 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12231 return SWIG_Py_Void();
12232 }
12233
12234 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12235 return SWIG_Python_InitShadowInstance(args);
12236 }
12237
12238 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12239 PyObject *resultobj = 0;
12240 wxWindow *arg1 = (wxWindow *) 0 ;
12241 int arg2 = (int) -1 ;
12242 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12243 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12244 wxSize const &arg4_defvalue = wxDefaultSize ;
12245 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12246 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12247 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12248 wxString *arg6 = (wxString *) &arg6_defvalue ;
12249 wxSashLayoutWindow *result = 0 ;
12250 void *argp1 = 0 ;
12251 int res1 = 0 ;
12252 int val2 ;
12253 int ecode2 = 0 ;
12254 wxPoint temp3 ;
12255 wxSize temp4 ;
12256 long val5 ;
12257 int ecode5 = 0 ;
12258 bool temp6 = false ;
12259 PyObject * obj0 = 0 ;
12260 PyObject * obj1 = 0 ;
12261 PyObject * obj2 = 0 ;
12262 PyObject * obj3 = 0 ;
12263 PyObject * obj4 = 0 ;
12264 PyObject * obj5 = 0 ;
12265 char * kwnames[] = {
12266 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12267 };
12268
12269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12271 if (!SWIG_IsOK(res1)) {
12272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12273 }
12274 arg1 = reinterpret_cast< wxWindow * >(argp1);
12275 if (obj1) {
12276 ecode2 = SWIG_AsVal_int(obj1, &val2);
12277 if (!SWIG_IsOK(ecode2)) {
12278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12279 }
12280 arg2 = static_cast< int >(val2);
12281 }
12282 if (obj2) {
12283 {
12284 arg3 = &temp3;
12285 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12286 }
12287 }
12288 if (obj3) {
12289 {
12290 arg4 = &temp4;
12291 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12292 }
12293 }
12294 if (obj4) {
12295 ecode5 = SWIG_AsVal_long(obj4, &val5);
12296 if (!SWIG_IsOK(ecode5)) {
12297 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12298 }
12299 arg5 = static_cast< long >(val5);
12300 }
12301 if (obj5) {
12302 {
12303 arg6 = wxString_in_helper(obj5);
12304 if (arg6 == NULL) SWIG_fail;
12305 temp6 = true;
12306 }
12307 }
12308 {
12309 if (!wxPyCheckForApp()) SWIG_fail;
12310 PyThreadState* __tstate = wxPyBeginAllowThreads();
12311 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12316 {
12317 if (temp6)
12318 delete arg6;
12319 }
12320 return resultobj;
12321 fail:
12322 {
12323 if (temp6)
12324 delete arg6;
12325 }
12326 return NULL;
12327 }
12328
12329
12330 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12331 PyObject *resultobj = 0;
12332 wxSashLayoutWindow *result = 0 ;
12333
12334 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12335 {
12336 if (!wxPyCheckForApp()) SWIG_fail;
12337 PyThreadState* __tstate = wxPyBeginAllowThreads();
12338 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12339 wxPyEndAllowThreads(__tstate);
12340 if (PyErr_Occurred()) SWIG_fail;
12341 }
12342 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12343 return resultobj;
12344 fail:
12345 return NULL;
12346 }
12347
12348
12349 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12350 PyObject *resultobj = 0;
12351 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12352 wxWindow *arg2 = (wxWindow *) 0 ;
12353 int arg3 = (int) -1 ;
12354 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12355 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12356 wxSize const &arg5_defvalue = wxDefaultSize ;
12357 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12358 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12359 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12360 wxString *arg7 = (wxString *) &arg7_defvalue ;
12361 bool result;
12362 void *argp1 = 0 ;
12363 int res1 = 0 ;
12364 void *argp2 = 0 ;
12365 int res2 = 0 ;
12366 int val3 ;
12367 int ecode3 = 0 ;
12368 wxPoint temp4 ;
12369 wxSize temp5 ;
12370 long val6 ;
12371 int ecode6 = 0 ;
12372 bool temp7 = false ;
12373 PyObject * obj0 = 0 ;
12374 PyObject * obj1 = 0 ;
12375 PyObject * obj2 = 0 ;
12376 PyObject * obj3 = 0 ;
12377 PyObject * obj4 = 0 ;
12378 PyObject * obj5 = 0 ;
12379 PyObject * obj6 = 0 ;
12380 char * kwnames[] = {
12381 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12382 };
12383
12384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12386 if (!SWIG_IsOK(res1)) {
12387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12388 }
12389 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12390 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12391 if (!SWIG_IsOK(res2)) {
12392 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12393 }
12394 arg2 = reinterpret_cast< wxWindow * >(argp2);
12395 if (obj2) {
12396 ecode3 = SWIG_AsVal_int(obj2, &val3);
12397 if (!SWIG_IsOK(ecode3)) {
12398 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12399 }
12400 arg3 = static_cast< int >(val3);
12401 }
12402 if (obj3) {
12403 {
12404 arg4 = &temp4;
12405 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12406 }
12407 }
12408 if (obj4) {
12409 {
12410 arg5 = &temp5;
12411 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12412 }
12413 }
12414 if (obj5) {
12415 ecode6 = SWIG_AsVal_long(obj5, &val6);
12416 if (!SWIG_IsOK(ecode6)) {
12417 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12418 }
12419 arg6 = static_cast< long >(val6);
12420 }
12421 if (obj6) {
12422 {
12423 arg7 = wxString_in_helper(obj6);
12424 if (arg7 == NULL) SWIG_fail;
12425 temp7 = true;
12426 }
12427 }
12428 {
12429 PyThreadState* __tstate = wxPyBeginAllowThreads();
12430 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12431 wxPyEndAllowThreads(__tstate);
12432 if (PyErr_Occurred()) SWIG_fail;
12433 }
12434 {
12435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12436 }
12437 {
12438 if (temp7)
12439 delete arg7;
12440 }
12441 return resultobj;
12442 fail:
12443 {
12444 if (temp7)
12445 delete arg7;
12446 }
12447 return NULL;
12448 }
12449
12450
12451 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12452 PyObject *resultobj = 0;
12453 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12454 wxLayoutAlignment result;
12455 void *argp1 = 0 ;
12456 int res1 = 0 ;
12457 PyObject *swig_obj[1] ;
12458
12459 if (!args) SWIG_fail;
12460 swig_obj[0] = args;
12461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12462 if (!SWIG_IsOK(res1)) {
12463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12464 }
12465 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12466 {
12467 PyThreadState* __tstate = wxPyBeginAllowThreads();
12468 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12469 wxPyEndAllowThreads(__tstate);
12470 if (PyErr_Occurred()) SWIG_fail;
12471 }
12472 resultobj = SWIG_From_int(static_cast< int >(result));
12473 return resultobj;
12474 fail:
12475 return NULL;
12476 }
12477
12478
12479 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12480 PyObject *resultobj = 0;
12481 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12482 wxLayoutOrientation result;
12483 void *argp1 = 0 ;
12484 int res1 = 0 ;
12485 PyObject *swig_obj[1] ;
12486
12487 if (!args) SWIG_fail;
12488 swig_obj[0] = args;
12489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12490 if (!SWIG_IsOK(res1)) {
12491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12492 }
12493 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12494 {
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12497 wxPyEndAllowThreads(__tstate);
12498 if (PyErr_Occurred()) SWIG_fail;
12499 }
12500 resultobj = SWIG_From_int(static_cast< int >(result));
12501 return resultobj;
12502 fail:
12503 return NULL;
12504 }
12505
12506
12507 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12508 PyObject *resultobj = 0;
12509 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12510 wxLayoutAlignment arg2 ;
12511 void *argp1 = 0 ;
12512 int res1 = 0 ;
12513 int val2 ;
12514 int ecode2 = 0 ;
12515 PyObject * obj0 = 0 ;
12516 PyObject * obj1 = 0 ;
12517 char * kwnames[] = {
12518 (char *) "self",(char *) "alignment", NULL
12519 };
12520
12521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12523 if (!SWIG_IsOK(res1)) {
12524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12525 }
12526 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12527 ecode2 = SWIG_AsVal_int(obj1, &val2);
12528 if (!SWIG_IsOK(ecode2)) {
12529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12530 }
12531 arg2 = static_cast< wxLayoutAlignment >(val2);
12532 {
12533 PyThreadState* __tstate = wxPyBeginAllowThreads();
12534 (arg1)->SetAlignment(arg2);
12535 wxPyEndAllowThreads(__tstate);
12536 if (PyErr_Occurred()) SWIG_fail;
12537 }
12538 resultobj = SWIG_Py_Void();
12539 return resultobj;
12540 fail:
12541 return NULL;
12542 }
12543
12544
12545 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12546 PyObject *resultobj = 0;
12547 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12548 wxSize *arg2 = 0 ;
12549 void *argp1 = 0 ;
12550 int res1 = 0 ;
12551 wxSize temp2 ;
12552 PyObject * obj0 = 0 ;
12553 PyObject * obj1 = 0 ;
12554 char * kwnames[] = {
12555 (char *) "self",(char *) "size", NULL
12556 };
12557
12558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12560 if (!SWIG_IsOK(res1)) {
12561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12562 }
12563 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12564 {
12565 arg2 = &temp2;
12566 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12567 }
12568 {
12569 PyThreadState* __tstate = wxPyBeginAllowThreads();
12570 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12571 wxPyEndAllowThreads(__tstate);
12572 if (PyErr_Occurred()) SWIG_fail;
12573 }
12574 resultobj = SWIG_Py_Void();
12575 return resultobj;
12576 fail:
12577 return NULL;
12578 }
12579
12580
12581 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12582 PyObject *resultobj = 0;
12583 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12584 wxLayoutOrientation arg2 ;
12585 void *argp1 = 0 ;
12586 int res1 = 0 ;
12587 int val2 ;
12588 int ecode2 = 0 ;
12589 PyObject * obj0 = 0 ;
12590 PyObject * obj1 = 0 ;
12591 char * kwnames[] = {
12592 (char *) "self",(char *) "orientation", NULL
12593 };
12594
12595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12597 if (!SWIG_IsOK(res1)) {
12598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12599 }
12600 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12601 ecode2 = SWIG_AsVal_int(obj1, &val2);
12602 if (!SWIG_IsOK(ecode2)) {
12603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12604 }
12605 arg2 = static_cast< wxLayoutOrientation >(val2);
12606 {
12607 PyThreadState* __tstate = wxPyBeginAllowThreads();
12608 (arg1)->SetOrientation(arg2);
12609 wxPyEndAllowThreads(__tstate);
12610 if (PyErr_Occurred()) SWIG_fail;
12611 }
12612 resultobj = SWIG_Py_Void();
12613 return resultobj;
12614 fail:
12615 return NULL;
12616 }
12617
12618
12619 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12620 PyObject *obj;
12621 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12622 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12623 return SWIG_Py_Void();
12624 }
12625
12626 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12627 return SWIG_Python_InitShadowInstance(args);
12628 }
12629
12630 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12631 PyObject *resultobj = 0;
12632 wxLayoutAlgorithm *result = 0 ;
12633
12634 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12635 {
12636 PyThreadState* __tstate = wxPyBeginAllowThreads();
12637 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12638 wxPyEndAllowThreads(__tstate);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 }
12641 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12642 return resultobj;
12643 fail:
12644 return NULL;
12645 }
12646
12647
12648 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12649 PyObject *resultobj = 0;
12650 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12651 void *argp1 = 0 ;
12652 int res1 = 0 ;
12653 PyObject *swig_obj[1] ;
12654
12655 if (!args) SWIG_fail;
12656 swig_obj[0] = args;
12657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12658 if (!SWIG_IsOK(res1)) {
12659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12660 }
12661 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12662 {
12663 PyThreadState* __tstate = wxPyBeginAllowThreads();
12664 delete arg1;
12665
12666 wxPyEndAllowThreads(__tstate);
12667 if (PyErr_Occurred()) SWIG_fail;
12668 }
12669 resultobj = SWIG_Py_Void();
12670 return resultobj;
12671 fail:
12672 return NULL;
12673 }
12674
12675
12676 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12677 PyObject *resultobj = 0;
12678 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12679 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12680 wxRect *arg3 = (wxRect *) NULL ;
12681 bool result;
12682 void *argp1 = 0 ;
12683 int res1 = 0 ;
12684 void *argp2 = 0 ;
12685 int res2 = 0 ;
12686 void *argp3 = 0 ;
12687 int res3 = 0 ;
12688 PyObject * obj0 = 0 ;
12689 PyObject * obj1 = 0 ;
12690 PyObject * obj2 = 0 ;
12691 char * kwnames[] = {
12692 (char *) "self",(char *) "frame",(char *) "rect", NULL
12693 };
12694
12695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12697 if (!SWIG_IsOK(res1)) {
12698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12699 }
12700 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12701 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12702 if (!SWIG_IsOK(res2)) {
12703 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12704 }
12705 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12706 if (obj2) {
12707 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12708 if (!SWIG_IsOK(res3)) {
12709 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12710 }
12711 arg3 = reinterpret_cast< wxRect * >(argp3);
12712 }
12713 {
12714 PyThreadState* __tstate = wxPyBeginAllowThreads();
12715 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12716 wxPyEndAllowThreads(__tstate);
12717 if (PyErr_Occurred()) SWIG_fail;
12718 }
12719 {
12720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12721 }
12722 return resultobj;
12723 fail:
12724 return NULL;
12725 }
12726
12727
12728 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12729 PyObject *resultobj = 0;
12730 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12731 wxFrame *arg2 = (wxFrame *) 0 ;
12732 wxWindow *arg3 = (wxWindow *) NULL ;
12733 bool result;
12734 void *argp1 = 0 ;
12735 int res1 = 0 ;
12736 void *argp2 = 0 ;
12737 int res2 = 0 ;
12738 void *argp3 = 0 ;
12739 int res3 = 0 ;
12740 PyObject * obj0 = 0 ;
12741 PyObject * obj1 = 0 ;
12742 PyObject * obj2 = 0 ;
12743 char * kwnames[] = {
12744 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12745 };
12746
12747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12749 if (!SWIG_IsOK(res1)) {
12750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12751 }
12752 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12753 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12754 if (!SWIG_IsOK(res2)) {
12755 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12756 }
12757 arg2 = reinterpret_cast< wxFrame * >(argp2);
12758 if (obj2) {
12759 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12760 if (!SWIG_IsOK(res3)) {
12761 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12762 }
12763 arg3 = reinterpret_cast< wxWindow * >(argp3);
12764 }
12765 {
12766 PyThreadState* __tstate = wxPyBeginAllowThreads();
12767 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12768 wxPyEndAllowThreads(__tstate);
12769 if (PyErr_Occurred()) SWIG_fail;
12770 }
12771 {
12772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12773 }
12774 return resultobj;
12775 fail:
12776 return NULL;
12777 }
12778
12779
12780 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12781 PyObject *resultobj = 0;
12782 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12783 wxWindow *arg2 = (wxWindow *) 0 ;
12784 wxWindow *arg3 = (wxWindow *) NULL ;
12785 bool result;
12786 void *argp1 = 0 ;
12787 int res1 = 0 ;
12788 void *argp2 = 0 ;
12789 int res2 = 0 ;
12790 void *argp3 = 0 ;
12791 int res3 = 0 ;
12792 PyObject * obj0 = 0 ;
12793 PyObject * obj1 = 0 ;
12794 PyObject * obj2 = 0 ;
12795 char * kwnames[] = {
12796 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12797 };
12798
12799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12801 if (!SWIG_IsOK(res1)) {
12802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12803 }
12804 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12805 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12806 if (!SWIG_IsOK(res2)) {
12807 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12808 }
12809 arg2 = reinterpret_cast< wxWindow * >(argp2);
12810 if (obj2) {
12811 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12812 if (!SWIG_IsOK(res3)) {
12813 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12814 }
12815 arg3 = reinterpret_cast< wxWindow * >(argp3);
12816 }
12817 {
12818 PyThreadState* __tstate = wxPyBeginAllowThreads();
12819 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12820 wxPyEndAllowThreads(__tstate);
12821 if (PyErr_Occurred()) SWIG_fail;
12822 }
12823 {
12824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12825 }
12826 return resultobj;
12827 fail:
12828 return NULL;
12829 }
12830
12831
12832 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12833 PyObject *obj;
12834 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12835 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12836 return SWIG_Py_Void();
12837 }
12838
12839 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12840 return SWIG_Python_InitShadowInstance(args);
12841 }
12842
12843 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12844 PyObject *resultobj = 0;
12845 wxWindow *arg1 = (wxWindow *) 0 ;
12846 int arg2 = (int) wxBORDER_NONE ;
12847 wxPopupWindow *result = 0 ;
12848 void *argp1 = 0 ;
12849 int res1 = 0 ;
12850 int val2 ;
12851 int ecode2 = 0 ;
12852 PyObject * obj0 = 0 ;
12853 PyObject * obj1 = 0 ;
12854 char * kwnames[] = {
12855 (char *) "parent",(char *) "flags", NULL
12856 };
12857
12858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12860 if (!SWIG_IsOK(res1)) {
12861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12862 }
12863 arg1 = reinterpret_cast< wxWindow * >(argp1);
12864 if (obj1) {
12865 ecode2 = SWIG_AsVal_int(obj1, &val2);
12866 if (!SWIG_IsOK(ecode2)) {
12867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12868 }
12869 arg2 = static_cast< int >(val2);
12870 }
12871 {
12872 if (!wxPyCheckForApp()) SWIG_fail;
12873 PyThreadState* __tstate = wxPyBeginAllowThreads();
12874 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
12875 wxPyEndAllowThreads(__tstate);
12876 if (PyErr_Occurred()) SWIG_fail;
12877 }
12878 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
12879 return resultobj;
12880 fail:
12881 return NULL;
12882 }
12883
12884
12885 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12886 PyObject *resultobj = 0;
12887 wxPopupWindow *result = 0 ;
12888
12889 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
12890 {
12891 if (!wxPyCheckForApp()) SWIG_fail;
12892 PyThreadState* __tstate = wxPyBeginAllowThreads();
12893 result = (wxPopupWindow *)new wxPopupWindow();
12894 wxPyEndAllowThreads(__tstate);
12895 if (PyErr_Occurred()) SWIG_fail;
12896 }
12897 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
12898 return resultobj;
12899 fail:
12900 return NULL;
12901 }
12902
12903
12904 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12905 PyObject *resultobj = 0;
12906 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
12907 wxWindow *arg2 = (wxWindow *) 0 ;
12908 int arg3 = (int) wxBORDER_NONE ;
12909 bool result;
12910 void *argp1 = 0 ;
12911 int res1 = 0 ;
12912 void *argp2 = 0 ;
12913 int res2 = 0 ;
12914 int val3 ;
12915 int ecode3 = 0 ;
12916 PyObject * obj0 = 0 ;
12917 PyObject * obj1 = 0 ;
12918 PyObject * obj2 = 0 ;
12919 char * kwnames[] = {
12920 (char *) "self",(char *) "parent",(char *) "flags", NULL
12921 };
12922
12923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
12925 if (!SWIG_IsOK(res1)) {
12926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12927 }
12928 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
12929 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12930 if (!SWIG_IsOK(res2)) {
12931 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12932 }
12933 arg2 = reinterpret_cast< wxWindow * >(argp2);
12934 if (obj2) {
12935 ecode3 = SWIG_AsVal_int(obj2, &val3);
12936 if (!SWIG_IsOK(ecode3)) {
12937 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
12938 }
12939 arg3 = static_cast< int >(val3);
12940 }
12941 {
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 result = (bool)(arg1)->Create(arg2,arg3);
12944 wxPyEndAllowThreads(__tstate);
12945 if (PyErr_Occurred()) SWIG_fail;
12946 }
12947 {
12948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12949 }
12950 return resultobj;
12951 fail:
12952 return NULL;
12953 }
12954
12955
12956 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12957 PyObject *resultobj = 0;
12958 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
12959 wxPoint *arg2 = 0 ;
12960 wxSize *arg3 = 0 ;
12961 void *argp1 = 0 ;
12962 int res1 = 0 ;
12963 wxPoint temp2 ;
12964 wxSize temp3 ;
12965 PyObject * obj0 = 0 ;
12966 PyObject * obj1 = 0 ;
12967 PyObject * obj2 = 0 ;
12968 char * kwnames[] = {
12969 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
12970 };
12971
12972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
12974 if (!SWIG_IsOK(res1)) {
12975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12976 }
12977 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
12978 {
12979 arg2 = &temp2;
12980 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12981 }
12982 {
12983 arg3 = &temp3;
12984 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
12985 }
12986 {
12987 PyThreadState* __tstate = wxPyBeginAllowThreads();
12988 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 resultobj = SWIG_Py_Void();
12993 return resultobj;
12994 fail:
12995 return NULL;
12996 }
12997
12998
12999 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13000 PyObject *obj;
13001 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13002 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13003 return SWIG_Py_Void();
13004 }
13005
13006 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13007 return SWIG_Python_InitShadowInstance(args);
13008 }
13009
13010 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13011 PyObject *resultobj = 0;
13012 wxWindow *arg1 = (wxWindow *) 0 ;
13013 int arg2 = (int) wxBORDER_NONE ;
13014 wxPyPopupTransientWindow *result = 0 ;
13015 void *argp1 = 0 ;
13016 int res1 = 0 ;
13017 int val2 ;
13018 int ecode2 = 0 ;
13019 PyObject * obj0 = 0 ;
13020 PyObject * obj1 = 0 ;
13021 char * kwnames[] = {
13022 (char *) "parent",(char *) "style", NULL
13023 };
13024
13025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13027 if (!SWIG_IsOK(res1)) {
13028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13029 }
13030 arg1 = reinterpret_cast< wxWindow * >(argp1);
13031 if (obj1) {
13032 ecode2 = SWIG_AsVal_int(obj1, &val2);
13033 if (!SWIG_IsOK(ecode2)) {
13034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13035 }
13036 arg2 = static_cast< int >(val2);
13037 }
13038 {
13039 if (!wxPyCheckForApp()) SWIG_fail;
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13042 wxPyEndAllowThreads(__tstate);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 }
13045 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13046 return resultobj;
13047 fail:
13048 return NULL;
13049 }
13050
13051
13052 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13053 PyObject *resultobj = 0;
13054 wxPyPopupTransientWindow *result = 0 ;
13055
13056 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13057 {
13058 if (!wxPyCheckForApp()) SWIG_fail;
13059 PyThreadState* __tstate = wxPyBeginAllowThreads();
13060 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13061 wxPyEndAllowThreads(__tstate);
13062 if (PyErr_Occurred()) SWIG_fail;
13063 }
13064 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13065 return resultobj;
13066 fail:
13067 return NULL;
13068 }
13069
13070
13071 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13072 PyObject *resultobj = 0;
13073 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13074 PyObject *arg2 = (PyObject *) 0 ;
13075 PyObject *arg3 = (PyObject *) 0 ;
13076 void *argp1 = 0 ;
13077 int res1 = 0 ;
13078 PyObject * obj0 = 0 ;
13079 PyObject * obj1 = 0 ;
13080 PyObject * obj2 = 0 ;
13081 char * kwnames[] = {
13082 (char *) "self",(char *) "self",(char *) "_class", NULL
13083 };
13084
13085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13087 if (!SWIG_IsOK(res1)) {
13088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13089 }
13090 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13091 arg2 = obj1;
13092 arg3 = obj2;
13093 {
13094 PyThreadState* __tstate = wxPyBeginAllowThreads();
13095 (arg1)->_setCallbackInfo(arg2,arg3);
13096 wxPyEndAllowThreads(__tstate);
13097 if (PyErr_Occurred()) SWIG_fail;
13098 }
13099 resultobj = SWIG_Py_Void();
13100 return resultobj;
13101 fail:
13102 return NULL;
13103 }
13104
13105
13106 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13107 PyObject *resultobj = 0;
13108 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13109 wxWindow *arg2 = (wxWindow *) NULL ;
13110 void *argp1 = 0 ;
13111 int res1 = 0 ;
13112 void *argp2 = 0 ;
13113 int res2 = 0 ;
13114 PyObject * obj0 = 0 ;
13115 PyObject * obj1 = 0 ;
13116 char * kwnames[] = {
13117 (char *) "self",(char *) "focus", NULL
13118 };
13119
13120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13122 if (!SWIG_IsOK(res1)) {
13123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13124 }
13125 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13126 if (obj1) {
13127 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13128 if (!SWIG_IsOK(res2)) {
13129 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13130 }
13131 arg2 = reinterpret_cast< wxWindow * >(argp2);
13132 }
13133 {
13134 PyThreadState* __tstate = wxPyBeginAllowThreads();
13135 (arg1)->Popup(arg2);
13136 wxPyEndAllowThreads(__tstate);
13137 if (PyErr_Occurred()) SWIG_fail;
13138 }
13139 resultobj = SWIG_Py_Void();
13140 return resultobj;
13141 fail:
13142 return NULL;
13143 }
13144
13145
13146 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13147 PyObject *resultobj = 0;
13148 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13149 void *argp1 = 0 ;
13150 int res1 = 0 ;
13151 PyObject *swig_obj[1] ;
13152
13153 if (!args) SWIG_fail;
13154 swig_obj[0] = args;
13155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13156 if (!SWIG_IsOK(res1)) {
13157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13158 }
13159 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13160 {
13161 PyThreadState* __tstate = wxPyBeginAllowThreads();
13162 (arg1)->Dismiss();
13163 wxPyEndAllowThreads(__tstate);
13164 if (PyErr_Occurred()) SWIG_fail;
13165 }
13166 resultobj = SWIG_Py_Void();
13167 return resultobj;
13168 fail:
13169 return NULL;
13170 }
13171
13172
13173 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13174 PyObject *obj;
13175 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13176 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13177 return SWIG_Py_Void();
13178 }
13179
13180 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13181 return SWIG_Python_InitShadowInstance(args);
13182 }
13183
13184 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13185 PyObject *resultobj = 0;
13186 wxWindow *arg1 = (wxWindow *) 0 ;
13187 wxString *arg2 = 0 ;
13188 int arg3 = (int) 100 ;
13189 wxRect *arg4 = (wxRect *) NULL ;
13190 wxTipWindow *result = 0 ;
13191 void *argp1 = 0 ;
13192 int res1 = 0 ;
13193 bool temp2 = false ;
13194 int val3 ;
13195 int ecode3 = 0 ;
13196 void *argp4 = 0 ;
13197 int res4 = 0 ;
13198 PyObject * obj0 = 0 ;
13199 PyObject * obj1 = 0 ;
13200 PyObject * obj2 = 0 ;
13201 PyObject * obj3 = 0 ;
13202 char * kwnames[] = {
13203 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13204 };
13205
13206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13208 if (!SWIG_IsOK(res1)) {
13209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13210 }
13211 arg1 = reinterpret_cast< wxWindow * >(argp1);
13212 {
13213 arg2 = wxString_in_helper(obj1);
13214 if (arg2 == NULL) SWIG_fail;
13215 temp2 = true;
13216 }
13217 if (obj2) {
13218 ecode3 = SWIG_AsVal_int(obj2, &val3);
13219 if (!SWIG_IsOK(ecode3)) {
13220 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13221 }
13222 arg3 = static_cast< int >(val3);
13223 }
13224 if (obj3) {
13225 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13226 if (!SWIG_IsOK(res4)) {
13227 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13228 }
13229 arg4 = reinterpret_cast< wxRect * >(argp4);
13230 }
13231 {
13232 if (!wxPyCheckForApp()) SWIG_fail;
13233 PyThreadState* __tstate = wxPyBeginAllowThreads();
13234 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13235 wxPyEndAllowThreads(__tstate);
13236 if (PyErr_Occurred()) SWIG_fail;
13237 }
13238 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13239 {
13240 if (temp2)
13241 delete arg2;
13242 }
13243 return resultobj;
13244 fail:
13245 {
13246 if (temp2)
13247 delete arg2;
13248 }
13249 return NULL;
13250 }
13251
13252
13253 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj = 0;
13255 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13256 wxRect *arg2 = 0 ;
13257 void *argp1 = 0 ;
13258 int res1 = 0 ;
13259 wxRect temp2 ;
13260 PyObject * obj0 = 0 ;
13261 PyObject * obj1 = 0 ;
13262 char * kwnames[] = {
13263 (char *) "self",(char *) "rectBound", NULL
13264 };
13265
13266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13268 if (!SWIG_IsOK(res1)) {
13269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13270 }
13271 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13272 {
13273 arg2 = &temp2;
13274 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13275 }
13276 {
13277 PyThreadState* __tstate = wxPyBeginAllowThreads();
13278 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13279 wxPyEndAllowThreads(__tstate);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
13282 resultobj = SWIG_Py_Void();
13283 return resultobj;
13284 fail:
13285 return NULL;
13286 }
13287
13288
13289 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13290 PyObject *resultobj = 0;
13291 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13292 void *argp1 = 0 ;
13293 int res1 = 0 ;
13294 PyObject *swig_obj[1] ;
13295
13296 if (!args) SWIG_fail;
13297 swig_obj[0] = args;
13298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13299 if (!SWIG_IsOK(res1)) {
13300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13301 }
13302 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13303 {
13304 PyThreadState* __tstate = wxPyBeginAllowThreads();
13305 (arg1)->Close();
13306 wxPyEndAllowThreads(__tstate);
13307 if (PyErr_Occurred()) SWIG_fail;
13308 }
13309 resultobj = SWIG_Py_Void();
13310 return resultobj;
13311 fail:
13312 return NULL;
13313 }
13314
13315
13316 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13317 PyObject *obj;
13318 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13319 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13320 return SWIG_Py_Void();
13321 }
13322
13323 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13324 return SWIG_Python_InitShadowInstance(args);
13325 }
13326
13327 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13328 PyObject *resultobj = 0;
13329 wxWindow *arg1 = (wxWindow *) 0 ;
13330 int arg2 = (int) wxID_ANY ;
13331 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13332 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13333 wxSize const &arg4_defvalue = wxDefaultSize ;
13334 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13335 long arg5 = (long) 0 ;
13336 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13337 wxString *arg6 = (wxString *) &arg6_defvalue ;
13338 wxPyVScrolledWindow *result = 0 ;
13339 void *argp1 = 0 ;
13340 int res1 = 0 ;
13341 int val2 ;
13342 int ecode2 = 0 ;
13343 wxPoint temp3 ;
13344 wxSize temp4 ;
13345 long val5 ;
13346 int ecode5 = 0 ;
13347 bool temp6 = false ;
13348 PyObject * obj0 = 0 ;
13349 PyObject * obj1 = 0 ;
13350 PyObject * obj2 = 0 ;
13351 PyObject * obj3 = 0 ;
13352 PyObject * obj4 = 0 ;
13353 PyObject * obj5 = 0 ;
13354 char * kwnames[] = {
13355 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13356 };
13357
13358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13360 if (!SWIG_IsOK(res1)) {
13361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13362 }
13363 arg1 = reinterpret_cast< wxWindow * >(argp1);
13364 if (obj1) {
13365 ecode2 = SWIG_AsVal_int(obj1, &val2);
13366 if (!SWIG_IsOK(ecode2)) {
13367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13368 }
13369 arg2 = static_cast< int >(val2);
13370 }
13371 if (obj2) {
13372 {
13373 arg3 = &temp3;
13374 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13375 }
13376 }
13377 if (obj3) {
13378 {
13379 arg4 = &temp4;
13380 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13381 }
13382 }
13383 if (obj4) {
13384 ecode5 = SWIG_AsVal_long(obj4, &val5);
13385 if (!SWIG_IsOK(ecode5)) {
13386 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13387 }
13388 arg5 = static_cast< long >(val5);
13389 }
13390 if (obj5) {
13391 {
13392 arg6 = wxString_in_helper(obj5);
13393 if (arg6 == NULL) SWIG_fail;
13394 temp6 = true;
13395 }
13396 }
13397 {
13398 if (!wxPyCheckForApp()) SWIG_fail;
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13401 wxPyEndAllowThreads(__tstate);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13405 {
13406 if (temp6)
13407 delete arg6;
13408 }
13409 return resultobj;
13410 fail:
13411 {
13412 if (temp6)
13413 delete arg6;
13414 }
13415 return NULL;
13416 }
13417
13418
13419 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13420 PyObject *resultobj = 0;
13421 wxPyVScrolledWindow *result = 0 ;
13422
13423 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13424 {
13425 if (!wxPyCheckForApp()) SWIG_fail;
13426 PyThreadState* __tstate = wxPyBeginAllowThreads();
13427 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13428 wxPyEndAllowThreads(__tstate);
13429 if (PyErr_Occurred()) SWIG_fail;
13430 }
13431 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13432 return resultobj;
13433 fail:
13434 return NULL;
13435 }
13436
13437
13438 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13439 PyObject *resultobj = 0;
13440 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13441 PyObject *arg2 = (PyObject *) 0 ;
13442 PyObject *arg3 = (PyObject *) 0 ;
13443 void *argp1 = 0 ;
13444 int res1 = 0 ;
13445 PyObject * obj0 = 0 ;
13446 PyObject * obj1 = 0 ;
13447 PyObject * obj2 = 0 ;
13448 char * kwnames[] = {
13449 (char *) "self",(char *) "self",(char *) "_class", NULL
13450 };
13451
13452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13454 if (!SWIG_IsOK(res1)) {
13455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13456 }
13457 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13458 arg2 = obj1;
13459 arg3 = obj2;
13460 {
13461 PyThreadState* __tstate = wxPyBeginAllowThreads();
13462 (arg1)->_setCallbackInfo(arg2,arg3);
13463 wxPyEndAllowThreads(__tstate);
13464 if (PyErr_Occurred()) SWIG_fail;
13465 }
13466 resultobj = SWIG_Py_Void();
13467 return resultobj;
13468 fail:
13469 return NULL;
13470 }
13471
13472
13473 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13474 PyObject *resultobj = 0;
13475 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13476 wxWindow *arg2 = (wxWindow *) 0 ;
13477 int arg3 = (int) wxID_ANY ;
13478 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13479 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13480 wxSize const &arg5_defvalue = wxDefaultSize ;
13481 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13482 long arg6 = (long) 0 ;
13483 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13484 wxString *arg7 = (wxString *) &arg7_defvalue ;
13485 bool result;
13486 void *argp1 = 0 ;
13487 int res1 = 0 ;
13488 void *argp2 = 0 ;
13489 int res2 = 0 ;
13490 int val3 ;
13491 int ecode3 = 0 ;
13492 wxPoint temp4 ;
13493 wxSize temp5 ;
13494 long val6 ;
13495 int ecode6 = 0 ;
13496 bool temp7 = false ;
13497 PyObject * obj0 = 0 ;
13498 PyObject * obj1 = 0 ;
13499 PyObject * obj2 = 0 ;
13500 PyObject * obj3 = 0 ;
13501 PyObject * obj4 = 0 ;
13502 PyObject * obj5 = 0 ;
13503 PyObject * obj6 = 0 ;
13504 char * kwnames[] = {
13505 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13506 };
13507
13508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13510 if (!SWIG_IsOK(res1)) {
13511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13512 }
13513 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13514 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13515 if (!SWIG_IsOK(res2)) {
13516 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13517 }
13518 arg2 = reinterpret_cast< wxWindow * >(argp2);
13519 if (obj2) {
13520 ecode3 = SWIG_AsVal_int(obj2, &val3);
13521 if (!SWIG_IsOK(ecode3)) {
13522 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13523 }
13524 arg3 = static_cast< int >(val3);
13525 }
13526 if (obj3) {
13527 {
13528 arg4 = &temp4;
13529 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13530 }
13531 }
13532 if (obj4) {
13533 {
13534 arg5 = &temp5;
13535 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13536 }
13537 }
13538 if (obj5) {
13539 ecode6 = SWIG_AsVal_long(obj5, &val6);
13540 if (!SWIG_IsOK(ecode6)) {
13541 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13542 }
13543 arg6 = static_cast< long >(val6);
13544 }
13545 if (obj6) {
13546 {
13547 arg7 = wxString_in_helper(obj6);
13548 if (arg7 == NULL) SWIG_fail;
13549 temp7 = true;
13550 }
13551 }
13552 {
13553 PyThreadState* __tstate = wxPyBeginAllowThreads();
13554 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13555 wxPyEndAllowThreads(__tstate);
13556 if (PyErr_Occurred()) SWIG_fail;
13557 }
13558 {
13559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13560 }
13561 {
13562 if (temp7)
13563 delete arg7;
13564 }
13565 return resultobj;
13566 fail:
13567 {
13568 if (temp7)
13569 delete arg7;
13570 }
13571 return NULL;
13572 }
13573
13574
13575 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13576 PyObject *resultobj = 0;
13577 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13578 size_t arg2 ;
13579 void *argp1 = 0 ;
13580 int res1 = 0 ;
13581 size_t val2 ;
13582 int ecode2 = 0 ;
13583 PyObject * obj0 = 0 ;
13584 PyObject * obj1 = 0 ;
13585 char * kwnames[] = {
13586 (char *) "self",(char *) "count", NULL
13587 };
13588
13589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13591 if (!SWIG_IsOK(res1)) {
13592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13593 }
13594 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13595 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13596 if (!SWIG_IsOK(ecode2)) {
13597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13598 }
13599 arg2 = static_cast< size_t >(val2);
13600 {
13601 PyThreadState* __tstate = wxPyBeginAllowThreads();
13602 (arg1)->SetLineCount(arg2);
13603 wxPyEndAllowThreads(__tstate);
13604 if (PyErr_Occurred()) SWIG_fail;
13605 }
13606 resultobj = SWIG_Py_Void();
13607 return resultobj;
13608 fail:
13609 return NULL;
13610 }
13611
13612
13613 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13614 PyObject *resultobj = 0;
13615 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13616 size_t arg2 ;
13617 bool result;
13618 void *argp1 = 0 ;
13619 int res1 = 0 ;
13620 size_t val2 ;
13621 int ecode2 = 0 ;
13622 PyObject * obj0 = 0 ;
13623 PyObject * obj1 = 0 ;
13624 char * kwnames[] = {
13625 (char *) "self",(char *) "line", NULL
13626 };
13627
13628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13630 if (!SWIG_IsOK(res1)) {
13631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13632 }
13633 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13634 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13635 if (!SWIG_IsOK(ecode2)) {
13636 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13637 }
13638 arg2 = static_cast< size_t >(val2);
13639 {
13640 PyThreadState* __tstate = wxPyBeginAllowThreads();
13641 result = (bool)(arg1)->ScrollToLine(arg2);
13642 wxPyEndAllowThreads(__tstate);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
13645 {
13646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13647 }
13648 return resultobj;
13649 fail:
13650 return NULL;
13651 }
13652
13653
13654 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13655 PyObject *resultobj = 0;
13656 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13657 size_t arg2 ;
13658 void *argp1 = 0 ;
13659 int res1 = 0 ;
13660 size_t val2 ;
13661 int ecode2 = 0 ;
13662 PyObject * obj0 = 0 ;
13663 PyObject * obj1 = 0 ;
13664 char * kwnames[] = {
13665 (char *) "self",(char *) "line", NULL
13666 };
13667
13668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13670 if (!SWIG_IsOK(res1)) {
13671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13672 }
13673 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13674 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13675 if (!SWIG_IsOK(ecode2)) {
13676 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13677 }
13678 arg2 = static_cast< size_t >(val2);
13679 {
13680 PyThreadState* __tstate = wxPyBeginAllowThreads();
13681 (arg1)->RefreshLine(arg2);
13682 wxPyEndAllowThreads(__tstate);
13683 if (PyErr_Occurred()) SWIG_fail;
13684 }
13685 resultobj = SWIG_Py_Void();
13686 return resultobj;
13687 fail:
13688 return NULL;
13689 }
13690
13691
13692 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13693 PyObject *resultobj = 0;
13694 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13695 size_t arg2 ;
13696 size_t arg3 ;
13697 void *argp1 = 0 ;
13698 int res1 = 0 ;
13699 size_t val2 ;
13700 int ecode2 = 0 ;
13701 size_t val3 ;
13702 int ecode3 = 0 ;
13703 PyObject * obj0 = 0 ;
13704 PyObject * obj1 = 0 ;
13705 PyObject * obj2 = 0 ;
13706 char * kwnames[] = {
13707 (char *) "self",(char *) "_from",(char *) "to", NULL
13708 };
13709
13710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13712 if (!SWIG_IsOK(res1)) {
13713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13714 }
13715 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13716 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13717 if (!SWIG_IsOK(ecode2)) {
13718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13719 }
13720 arg2 = static_cast< size_t >(val2);
13721 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13722 if (!SWIG_IsOK(ecode3)) {
13723 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13724 }
13725 arg3 = static_cast< size_t >(val3);
13726 {
13727 PyThreadState* __tstate = wxPyBeginAllowThreads();
13728 (arg1)->RefreshLines(arg2,arg3);
13729 wxPyEndAllowThreads(__tstate);
13730 if (PyErr_Occurred()) SWIG_fail;
13731 }
13732 resultobj = SWIG_Py_Void();
13733 return resultobj;
13734 fail:
13735 return NULL;
13736 }
13737
13738
13739 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13740 PyObject *resultobj = 0;
13741 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13742 int arg2 ;
13743 int arg3 ;
13744 int result;
13745 void *argp1 = 0 ;
13746 int res1 = 0 ;
13747 int val2 ;
13748 int ecode2 = 0 ;
13749 int val3 ;
13750 int ecode3 = 0 ;
13751 PyObject * obj0 = 0 ;
13752 PyObject * obj1 = 0 ;
13753 PyObject * obj2 = 0 ;
13754 char * kwnames[] = {
13755 (char *) "self",(char *) "x",(char *) "y", NULL
13756 };
13757
13758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13760 if (!SWIG_IsOK(res1)) {
13761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13762 }
13763 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13764 ecode2 = SWIG_AsVal_int(obj1, &val2);
13765 if (!SWIG_IsOK(ecode2)) {
13766 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13767 }
13768 arg2 = static_cast< int >(val2);
13769 ecode3 = SWIG_AsVal_int(obj2, &val3);
13770 if (!SWIG_IsOK(ecode3)) {
13771 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13772 }
13773 arg3 = static_cast< int >(val3);
13774 {
13775 PyThreadState* __tstate = wxPyBeginAllowThreads();
13776 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13777 wxPyEndAllowThreads(__tstate);
13778 if (PyErr_Occurred()) SWIG_fail;
13779 }
13780 resultobj = SWIG_From_int(static_cast< int >(result));
13781 return resultobj;
13782 fail:
13783 return NULL;
13784 }
13785
13786
13787 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13788 PyObject *resultobj = 0;
13789 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13790 wxPoint *arg2 = 0 ;
13791 int result;
13792 void *argp1 = 0 ;
13793 int res1 = 0 ;
13794 wxPoint temp2 ;
13795 PyObject * obj0 = 0 ;
13796 PyObject * obj1 = 0 ;
13797 char * kwnames[] = {
13798 (char *) "self",(char *) "pt", NULL
13799 };
13800
13801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13803 if (!SWIG_IsOK(res1)) {
13804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13805 }
13806 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13807 {
13808 arg2 = &temp2;
13809 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13810 }
13811 {
13812 PyThreadState* __tstate = wxPyBeginAllowThreads();
13813 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13814 wxPyEndAllowThreads(__tstate);
13815 if (PyErr_Occurred()) SWIG_fail;
13816 }
13817 resultobj = SWIG_From_int(static_cast< int >(result));
13818 return resultobj;
13819 fail:
13820 return NULL;
13821 }
13822
13823
13824 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13825 PyObject *resultobj = 0;
13826 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13827 void *argp1 = 0 ;
13828 int res1 = 0 ;
13829 PyObject *swig_obj[1] ;
13830
13831 if (!args) SWIG_fail;
13832 swig_obj[0] = args;
13833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13834 if (!SWIG_IsOK(res1)) {
13835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13836 }
13837 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13838 {
13839 PyThreadState* __tstate = wxPyBeginAllowThreads();
13840 (arg1)->RefreshAll();
13841 wxPyEndAllowThreads(__tstate);
13842 if (PyErr_Occurred()) SWIG_fail;
13843 }
13844 resultobj = SWIG_Py_Void();
13845 return resultobj;
13846 fail:
13847 return NULL;
13848 }
13849
13850
13851 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13852 PyObject *resultobj = 0;
13853 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13854 size_t result;
13855 void *argp1 = 0 ;
13856 int res1 = 0 ;
13857 PyObject *swig_obj[1] ;
13858
13859 if (!args) SWIG_fail;
13860 swig_obj[0] = args;
13861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13862 if (!SWIG_IsOK(res1)) {
13863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13864 }
13865 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13866 {
13867 PyThreadState* __tstate = wxPyBeginAllowThreads();
13868 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13869 wxPyEndAllowThreads(__tstate);
13870 if (PyErr_Occurred()) SWIG_fail;
13871 }
13872 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13873 return resultobj;
13874 fail:
13875 return NULL;
13876 }
13877
13878
13879 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13880 PyObject *resultobj = 0;
13881 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13882 size_t result;
13883 void *argp1 = 0 ;
13884 int res1 = 0 ;
13885 PyObject *swig_obj[1] ;
13886
13887 if (!args) SWIG_fail;
13888 swig_obj[0] = args;
13889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13890 if (!SWIG_IsOK(res1)) {
13891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13892 }
13893 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13894 {
13895 PyThreadState* __tstate = wxPyBeginAllowThreads();
13896 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13901 return resultobj;
13902 fail:
13903 return NULL;
13904 }
13905
13906
13907 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13908 PyObject *resultobj = 0;
13909 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13910 size_t result;
13911 void *argp1 = 0 ;
13912 int res1 = 0 ;
13913 PyObject *swig_obj[1] ;
13914
13915 if (!args) SWIG_fail;
13916 swig_obj[0] = args;
13917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13918 if (!SWIG_IsOK(res1)) {
13919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13920 }
13921 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13922 {
13923 PyThreadState* __tstate = wxPyBeginAllowThreads();
13924 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13925 wxPyEndAllowThreads(__tstate);
13926 if (PyErr_Occurred()) SWIG_fail;
13927 }
13928 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13929 return resultobj;
13930 fail:
13931 return NULL;
13932 }
13933
13934
13935 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13936 PyObject *resultobj = 0;
13937 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13938 size_t arg2 ;
13939 bool result;
13940 void *argp1 = 0 ;
13941 int res1 = 0 ;
13942 size_t val2 ;
13943 int ecode2 = 0 ;
13944 PyObject * obj0 = 0 ;
13945 PyObject * obj1 = 0 ;
13946 char * kwnames[] = {
13947 (char *) "self",(char *) "line", NULL
13948 };
13949
13950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
13951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13952 if (!SWIG_IsOK(res1)) {
13953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13954 }
13955 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13956 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13957 if (!SWIG_IsOK(ecode2)) {
13958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13959 }
13960 arg2 = static_cast< size_t >(val2);
13961 {
13962 PyThreadState* __tstate = wxPyBeginAllowThreads();
13963 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
13964 wxPyEndAllowThreads(__tstate);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 }
13967 {
13968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13969 }
13970 return resultobj;
13971 fail:
13972 return NULL;
13973 }
13974
13975
13976 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(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_GetFirstVisibleLine" "', 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)->GetFirstVisibleLine();
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_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14005 PyObject *resultobj = 0;
14006 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14007 size_t result;
14008 void *argp1 = 0 ;
14009 int res1 = 0 ;
14010 PyObject *swig_obj[1] ;
14011
14012 if (!args) SWIG_fail;
14013 swig_obj[0] = args;
14014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14015 if (!SWIG_IsOK(res1)) {
14016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14017 }
14018 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14019 {
14020 PyThreadState* __tstate = wxPyBeginAllowThreads();
14021 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14022 wxPyEndAllowThreads(__tstate);
14023 if (PyErr_Occurred()) SWIG_fail;
14024 }
14025 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14026 return resultobj;
14027 fail:
14028 return NULL;
14029 }
14030
14031
14032 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14033 PyObject *resultobj = 0;
14034 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14035 size_t arg2 ;
14036 bool arg3 = (bool) false ;
14037 size_t result;
14038 void *argp1 = 0 ;
14039 int res1 = 0 ;
14040 size_t val2 ;
14041 int ecode2 = 0 ;
14042 bool val3 ;
14043 int ecode3 = 0 ;
14044 PyObject * obj0 = 0 ;
14045 PyObject * obj1 = 0 ;
14046 PyObject * obj2 = 0 ;
14047 char * kwnames[] = {
14048 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14049 };
14050
14051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14053 if (!SWIG_IsOK(res1)) {
14054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14055 }
14056 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14057 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14058 if (!SWIG_IsOK(ecode2)) {
14059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14060 }
14061 arg2 = static_cast< size_t >(val2);
14062 if (obj2) {
14063 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14064 if (!SWIG_IsOK(ecode3)) {
14065 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14066 }
14067 arg3 = static_cast< bool >(val3);
14068 }
14069 {
14070 PyThreadState* __tstate = wxPyBeginAllowThreads();
14071 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14072 wxPyEndAllowThreads(__tstate);
14073 if (PyErr_Occurred()) SWIG_fail;
14074 }
14075 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14076 return resultobj;
14077 fail:
14078 return NULL;
14079 }
14080
14081
14082 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14083 PyObject *resultobj = 0;
14084 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14085 size_t arg2 ;
14086 size_t arg3 ;
14087 int result;
14088 void *argp1 = 0 ;
14089 int res1 = 0 ;
14090 size_t val2 ;
14091 int ecode2 = 0 ;
14092 size_t val3 ;
14093 int ecode3 = 0 ;
14094 PyObject * obj0 = 0 ;
14095 PyObject * obj1 = 0 ;
14096 PyObject * obj2 = 0 ;
14097 char * kwnames[] = {
14098 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14099 };
14100
14101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14103 if (!SWIG_IsOK(res1)) {
14104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14105 }
14106 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14107 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14108 if (!SWIG_IsOK(ecode2)) {
14109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14110 }
14111 arg2 = static_cast< size_t >(val2);
14112 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14113 if (!SWIG_IsOK(ecode3)) {
14114 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14115 }
14116 arg3 = static_cast< size_t >(val3);
14117 {
14118 PyThreadState* __tstate = wxPyBeginAllowThreads();
14119 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14120 wxPyEndAllowThreads(__tstate);
14121 if (PyErr_Occurred()) SWIG_fail;
14122 }
14123 resultobj = SWIG_From_int(static_cast< int >(result));
14124 return resultobj;
14125 fail:
14126 return NULL;
14127 }
14128
14129
14130 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14131 PyObject *obj;
14132 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14133 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14134 return SWIG_Py_Void();
14135 }
14136
14137 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14138 return SWIG_Python_InitShadowInstance(args);
14139 }
14140
14141 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14142 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14143 return 1;
14144 }
14145
14146
14147 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14148 PyObject *pyobj = 0;
14149
14150 {
14151 #if wxUSE_UNICODE
14152 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14153 #else
14154 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14155 #endif
14156 }
14157 return pyobj;
14158 }
14159
14160
14161 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14162 PyObject *resultobj = 0;
14163 wxWindow *arg1 = (wxWindow *) 0 ;
14164 int arg2 = (int) wxID_ANY ;
14165 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14166 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14167 wxSize const &arg4_defvalue = wxDefaultSize ;
14168 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14169 long arg5 = (long) 0 ;
14170 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14171 wxString *arg6 = (wxString *) &arg6_defvalue ;
14172 wxPyVListBox *result = 0 ;
14173 void *argp1 = 0 ;
14174 int res1 = 0 ;
14175 int val2 ;
14176 int ecode2 = 0 ;
14177 wxPoint temp3 ;
14178 wxSize temp4 ;
14179 long val5 ;
14180 int ecode5 = 0 ;
14181 bool temp6 = false ;
14182 PyObject * obj0 = 0 ;
14183 PyObject * obj1 = 0 ;
14184 PyObject * obj2 = 0 ;
14185 PyObject * obj3 = 0 ;
14186 PyObject * obj4 = 0 ;
14187 PyObject * obj5 = 0 ;
14188 char * kwnames[] = {
14189 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14190 };
14191
14192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14194 if (!SWIG_IsOK(res1)) {
14195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14196 }
14197 arg1 = reinterpret_cast< wxWindow * >(argp1);
14198 if (obj1) {
14199 ecode2 = SWIG_AsVal_int(obj1, &val2);
14200 if (!SWIG_IsOK(ecode2)) {
14201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14202 }
14203 arg2 = static_cast< int >(val2);
14204 }
14205 if (obj2) {
14206 {
14207 arg3 = &temp3;
14208 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14209 }
14210 }
14211 if (obj3) {
14212 {
14213 arg4 = &temp4;
14214 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14215 }
14216 }
14217 if (obj4) {
14218 ecode5 = SWIG_AsVal_long(obj4, &val5);
14219 if (!SWIG_IsOK(ecode5)) {
14220 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14221 }
14222 arg5 = static_cast< long >(val5);
14223 }
14224 if (obj5) {
14225 {
14226 arg6 = wxString_in_helper(obj5);
14227 if (arg6 == NULL) SWIG_fail;
14228 temp6 = true;
14229 }
14230 }
14231 {
14232 if (!wxPyCheckForApp()) SWIG_fail;
14233 PyThreadState* __tstate = wxPyBeginAllowThreads();
14234 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14235 wxPyEndAllowThreads(__tstate);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 }
14238 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14239 {
14240 if (temp6)
14241 delete arg6;
14242 }
14243 return resultobj;
14244 fail:
14245 {
14246 if (temp6)
14247 delete arg6;
14248 }
14249 return NULL;
14250 }
14251
14252
14253 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14254 PyObject *resultobj = 0;
14255 wxPyVListBox *result = 0 ;
14256
14257 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14258 {
14259 if (!wxPyCheckForApp()) SWIG_fail;
14260 PyThreadState* __tstate = wxPyBeginAllowThreads();
14261 result = (wxPyVListBox *)new wxPyVListBox();
14262 wxPyEndAllowThreads(__tstate);
14263 if (PyErr_Occurred()) SWIG_fail;
14264 }
14265 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14266 return resultobj;
14267 fail:
14268 return NULL;
14269 }
14270
14271
14272 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14273 PyObject *resultobj = 0;
14274 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14275 PyObject *arg2 = (PyObject *) 0 ;
14276 PyObject *arg3 = (PyObject *) 0 ;
14277 void *argp1 = 0 ;
14278 int res1 = 0 ;
14279 PyObject * obj0 = 0 ;
14280 PyObject * obj1 = 0 ;
14281 PyObject * obj2 = 0 ;
14282 char * kwnames[] = {
14283 (char *) "self",(char *) "self",(char *) "_class", NULL
14284 };
14285
14286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14288 if (!SWIG_IsOK(res1)) {
14289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14290 }
14291 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14292 arg2 = obj1;
14293 arg3 = obj2;
14294 {
14295 PyThreadState* __tstate = wxPyBeginAllowThreads();
14296 (arg1)->_setCallbackInfo(arg2,arg3);
14297 wxPyEndAllowThreads(__tstate);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
14300 resultobj = SWIG_Py_Void();
14301 return resultobj;
14302 fail:
14303 return NULL;
14304 }
14305
14306
14307 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14308 PyObject *resultobj = 0;
14309 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14310 wxWindow *arg2 = (wxWindow *) 0 ;
14311 int arg3 = (int) wxID_ANY ;
14312 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14313 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14314 wxSize const &arg5_defvalue = wxDefaultSize ;
14315 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14316 long arg6 = (long) 0 ;
14317 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14318 wxString *arg7 = (wxString *) &arg7_defvalue ;
14319 bool result;
14320 void *argp1 = 0 ;
14321 int res1 = 0 ;
14322 void *argp2 = 0 ;
14323 int res2 = 0 ;
14324 int val3 ;
14325 int ecode3 = 0 ;
14326 wxPoint temp4 ;
14327 wxSize temp5 ;
14328 long val6 ;
14329 int ecode6 = 0 ;
14330 bool temp7 = false ;
14331 PyObject * obj0 = 0 ;
14332 PyObject * obj1 = 0 ;
14333 PyObject * obj2 = 0 ;
14334 PyObject * obj3 = 0 ;
14335 PyObject * obj4 = 0 ;
14336 PyObject * obj5 = 0 ;
14337 PyObject * obj6 = 0 ;
14338 char * kwnames[] = {
14339 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14340 };
14341
14342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14344 if (!SWIG_IsOK(res1)) {
14345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14346 }
14347 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14348 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14349 if (!SWIG_IsOK(res2)) {
14350 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14351 }
14352 arg2 = reinterpret_cast< wxWindow * >(argp2);
14353 if (obj2) {
14354 ecode3 = SWIG_AsVal_int(obj2, &val3);
14355 if (!SWIG_IsOK(ecode3)) {
14356 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14357 }
14358 arg3 = static_cast< int >(val3);
14359 }
14360 if (obj3) {
14361 {
14362 arg4 = &temp4;
14363 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14364 }
14365 }
14366 if (obj4) {
14367 {
14368 arg5 = &temp5;
14369 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14370 }
14371 }
14372 if (obj5) {
14373 ecode6 = SWIG_AsVal_long(obj5, &val6);
14374 if (!SWIG_IsOK(ecode6)) {
14375 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14376 }
14377 arg6 = static_cast< long >(val6);
14378 }
14379 if (obj6) {
14380 {
14381 arg7 = wxString_in_helper(obj6);
14382 if (arg7 == NULL) SWIG_fail;
14383 temp7 = true;
14384 }
14385 }
14386 {
14387 PyThreadState* __tstate = wxPyBeginAllowThreads();
14388 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14389 wxPyEndAllowThreads(__tstate);
14390 if (PyErr_Occurred()) SWIG_fail;
14391 }
14392 {
14393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14394 }
14395 {
14396 if (temp7)
14397 delete arg7;
14398 }
14399 return resultobj;
14400 fail:
14401 {
14402 if (temp7)
14403 delete arg7;
14404 }
14405 return NULL;
14406 }
14407
14408
14409 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14410 PyObject *resultobj = 0;
14411 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14412 size_t result;
14413 void *argp1 = 0 ;
14414 int res1 = 0 ;
14415 PyObject *swig_obj[1] ;
14416
14417 if (!args) SWIG_fail;
14418 swig_obj[0] = args;
14419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14420 if (!SWIG_IsOK(res1)) {
14421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14422 }
14423 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14424 {
14425 PyThreadState* __tstate = wxPyBeginAllowThreads();
14426 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14427 wxPyEndAllowThreads(__tstate);
14428 if (PyErr_Occurred()) SWIG_fail;
14429 }
14430 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14431 return resultobj;
14432 fail:
14433 return NULL;
14434 }
14435
14436
14437 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14438 PyObject *resultobj = 0;
14439 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14440 bool result;
14441 void *argp1 = 0 ;
14442 int res1 = 0 ;
14443 PyObject *swig_obj[1] ;
14444
14445 if (!args) SWIG_fail;
14446 swig_obj[0] = args;
14447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14448 if (!SWIG_IsOK(res1)) {
14449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14450 }
14451 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14452 {
14453 PyThreadState* __tstate = wxPyBeginAllowThreads();
14454 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14455 wxPyEndAllowThreads(__tstate);
14456 if (PyErr_Occurred()) SWIG_fail;
14457 }
14458 {
14459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14460 }
14461 return resultobj;
14462 fail:
14463 return NULL;
14464 }
14465
14466
14467 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14468 PyObject *resultobj = 0;
14469 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14470 int result;
14471 void *argp1 = 0 ;
14472 int res1 = 0 ;
14473 PyObject *swig_obj[1] ;
14474
14475 if (!args) SWIG_fail;
14476 swig_obj[0] = args;
14477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14478 if (!SWIG_IsOK(res1)) {
14479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14480 }
14481 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14482 {
14483 PyThreadState* __tstate = wxPyBeginAllowThreads();
14484 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14485 wxPyEndAllowThreads(__tstate);
14486 if (PyErr_Occurred()) SWIG_fail;
14487 }
14488 resultobj = SWIG_From_int(static_cast< int >(result));
14489 return resultobj;
14490 fail:
14491 return NULL;
14492 }
14493
14494
14495 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14496 PyObject *resultobj = 0;
14497 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14498 size_t arg2 ;
14499 bool result;
14500 void *argp1 = 0 ;
14501 int res1 = 0 ;
14502 size_t val2 ;
14503 int ecode2 = 0 ;
14504 PyObject * obj0 = 0 ;
14505 PyObject * obj1 = 0 ;
14506 char * kwnames[] = {
14507 (char *) "self",(char *) "item", NULL
14508 };
14509
14510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14512 if (!SWIG_IsOK(res1)) {
14513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14514 }
14515 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14516 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14517 if (!SWIG_IsOK(ecode2)) {
14518 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14519 }
14520 arg2 = static_cast< size_t >(val2);
14521 {
14522 PyThreadState* __tstate = wxPyBeginAllowThreads();
14523 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
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_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14537 PyObject *resultobj = 0;
14538 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14539 size_t arg2 ;
14540 bool result;
14541 void *argp1 = 0 ;
14542 int res1 = 0 ;
14543 size_t val2 ;
14544 int ecode2 = 0 ;
14545 PyObject * obj0 = 0 ;
14546 PyObject * obj1 = 0 ;
14547 char * kwnames[] = {
14548 (char *) "self",(char *) "item", NULL
14549 };
14550
14551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14553 if (!SWIG_IsOK(res1)) {
14554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14555 }
14556 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14557 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14558 if (!SWIG_IsOK(ecode2)) {
14559 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14560 }
14561 arg2 = static_cast< size_t >(val2);
14562 {
14563 PyThreadState* __tstate = wxPyBeginAllowThreads();
14564 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14565 wxPyEndAllowThreads(__tstate);
14566 if (PyErr_Occurred()) SWIG_fail;
14567 }
14568 {
14569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14570 }
14571 return resultobj;
14572 fail:
14573 return NULL;
14574 }
14575
14576
14577 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14578 PyObject *resultobj = 0;
14579 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14580 size_t result;
14581 void *argp1 = 0 ;
14582 int res1 = 0 ;
14583 PyObject *swig_obj[1] ;
14584
14585 if (!args) SWIG_fail;
14586 swig_obj[0] = args;
14587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14588 if (!SWIG_IsOK(res1)) {
14589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14590 }
14591 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14592 {
14593 PyThreadState* __tstate = wxPyBeginAllowThreads();
14594 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14595 wxPyEndAllowThreads(__tstate);
14596 if (PyErr_Occurred()) SWIG_fail;
14597 }
14598 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14599 return resultobj;
14600 fail:
14601 return NULL;
14602 }
14603
14604
14605 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14606 PyObject *resultobj = 0;
14607 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14608 PyObject *result = 0 ;
14609 void *argp1 = 0 ;
14610 int res1 = 0 ;
14611 PyObject *swig_obj[1] ;
14612
14613 if (!args) SWIG_fail;
14614 swig_obj[0] = args;
14615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14616 if (!SWIG_IsOK(res1)) {
14617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14618 }
14619 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14620 {
14621 PyThreadState* __tstate = wxPyBeginAllowThreads();
14622 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 resultobj = result;
14627 return resultobj;
14628 fail:
14629 return NULL;
14630 }
14631
14632
14633 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14634 PyObject *resultobj = 0;
14635 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14636 unsigned long arg2 ;
14637 PyObject *result = 0 ;
14638 void *argp1 = 0 ;
14639 int res1 = 0 ;
14640 unsigned long val2 ;
14641 int ecode2 = 0 ;
14642 PyObject * obj0 = 0 ;
14643 PyObject * obj1 = 0 ;
14644 char * kwnames[] = {
14645 (char *) "self",(char *) "cookie", NULL
14646 };
14647
14648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14650 if (!SWIG_IsOK(res1)) {
14651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14652 }
14653 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14654 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14655 if (!SWIG_IsOK(ecode2)) {
14656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14657 }
14658 arg2 = static_cast< unsigned long >(val2);
14659 {
14660 PyThreadState* __tstate = wxPyBeginAllowThreads();
14661 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 resultobj = result;
14666 return resultobj;
14667 fail:
14668 return NULL;
14669 }
14670
14671
14672 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14673 PyObject *resultobj = 0;
14674 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14675 wxPoint result;
14676 void *argp1 = 0 ;
14677 int res1 = 0 ;
14678 PyObject *swig_obj[1] ;
14679
14680 if (!args) SWIG_fail;
14681 swig_obj[0] = args;
14682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14683 if (!SWIG_IsOK(res1)) {
14684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14685 }
14686 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14687 {
14688 PyThreadState* __tstate = wxPyBeginAllowThreads();
14689 result = ((wxPyVListBox const *)arg1)->GetMargins();
14690 wxPyEndAllowThreads(__tstate);
14691 if (PyErr_Occurred()) SWIG_fail;
14692 }
14693 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14694 return resultobj;
14695 fail:
14696 return NULL;
14697 }
14698
14699
14700 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14701 PyObject *resultobj = 0;
14702 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14703 wxColour *result = 0 ;
14704 void *argp1 = 0 ;
14705 int res1 = 0 ;
14706 PyObject *swig_obj[1] ;
14707
14708 if (!args) SWIG_fail;
14709 swig_obj[0] = args;
14710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14711 if (!SWIG_IsOK(res1)) {
14712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14713 }
14714 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14715 {
14716 PyThreadState* __tstate = wxPyBeginAllowThreads();
14717 {
14718 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14719 result = (wxColour *) &_result_ref;
14720 }
14721 wxPyEndAllowThreads(__tstate);
14722 if (PyErr_Occurred()) SWIG_fail;
14723 }
14724 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14725 return resultobj;
14726 fail:
14727 return NULL;
14728 }
14729
14730
14731 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14732 PyObject *resultobj = 0;
14733 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14734 size_t arg2 ;
14735 void *argp1 = 0 ;
14736 int res1 = 0 ;
14737 size_t val2 ;
14738 int ecode2 = 0 ;
14739 PyObject * obj0 = 0 ;
14740 PyObject * obj1 = 0 ;
14741 char * kwnames[] = {
14742 (char *) "self",(char *) "count", NULL
14743 };
14744
14745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14747 if (!SWIG_IsOK(res1)) {
14748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14749 }
14750 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14751 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14752 if (!SWIG_IsOK(ecode2)) {
14753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14754 }
14755 arg2 = static_cast< size_t >(val2);
14756 {
14757 PyThreadState* __tstate = wxPyBeginAllowThreads();
14758 (arg1)->SetItemCount(arg2);
14759 wxPyEndAllowThreads(__tstate);
14760 if (PyErr_Occurred()) SWIG_fail;
14761 }
14762 resultobj = SWIG_Py_Void();
14763 return resultobj;
14764 fail:
14765 return NULL;
14766 }
14767
14768
14769 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14770 PyObject *resultobj = 0;
14771 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14772 void *argp1 = 0 ;
14773 int res1 = 0 ;
14774 PyObject *swig_obj[1] ;
14775
14776 if (!args) SWIG_fail;
14777 swig_obj[0] = args;
14778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14779 if (!SWIG_IsOK(res1)) {
14780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14781 }
14782 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14783 {
14784 PyThreadState* __tstate = wxPyBeginAllowThreads();
14785 (arg1)->Clear();
14786 wxPyEndAllowThreads(__tstate);
14787 if (PyErr_Occurred()) SWIG_fail;
14788 }
14789 resultobj = SWIG_Py_Void();
14790 return resultobj;
14791 fail:
14792 return NULL;
14793 }
14794
14795
14796 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14797 PyObject *resultobj = 0;
14798 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14799 int arg2 ;
14800 void *argp1 = 0 ;
14801 int res1 = 0 ;
14802 int val2 ;
14803 int ecode2 = 0 ;
14804 PyObject * obj0 = 0 ;
14805 PyObject * obj1 = 0 ;
14806 char * kwnames[] = {
14807 (char *) "self",(char *) "selection", NULL
14808 };
14809
14810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14812 if (!SWIG_IsOK(res1)) {
14813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14814 }
14815 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14816 ecode2 = SWIG_AsVal_int(obj1, &val2);
14817 if (!SWIG_IsOK(ecode2)) {
14818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14819 }
14820 arg2 = static_cast< int >(val2);
14821 {
14822 PyThreadState* __tstate = wxPyBeginAllowThreads();
14823 (arg1)->SetSelection(arg2);
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 resultobj = SWIG_Py_Void();
14828 return resultobj;
14829 fail:
14830 return NULL;
14831 }
14832
14833
14834 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14835 PyObject *resultobj = 0;
14836 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14837 size_t arg2 ;
14838 bool arg3 = (bool) true ;
14839 bool result;
14840 void *argp1 = 0 ;
14841 int res1 = 0 ;
14842 size_t val2 ;
14843 int ecode2 = 0 ;
14844 bool val3 ;
14845 int ecode3 = 0 ;
14846 PyObject * obj0 = 0 ;
14847 PyObject * obj1 = 0 ;
14848 PyObject * obj2 = 0 ;
14849 char * kwnames[] = {
14850 (char *) "self",(char *) "item",(char *) "select", NULL
14851 };
14852
14853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14855 if (!SWIG_IsOK(res1)) {
14856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14857 }
14858 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14859 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14860 if (!SWIG_IsOK(ecode2)) {
14861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14862 }
14863 arg2 = static_cast< size_t >(val2);
14864 if (obj2) {
14865 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14866 if (!SWIG_IsOK(ecode3)) {
14867 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14868 }
14869 arg3 = static_cast< bool >(val3);
14870 }
14871 {
14872 PyThreadState* __tstate = wxPyBeginAllowThreads();
14873 result = (bool)(arg1)->Select(arg2,arg3);
14874 wxPyEndAllowThreads(__tstate);
14875 if (PyErr_Occurred()) SWIG_fail;
14876 }
14877 {
14878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14879 }
14880 return resultobj;
14881 fail:
14882 return NULL;
14883 }
14884
14885
14886 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14887 PyObject *resultobj = 0;
14888 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14889 size_t arg2 ;
14890 size_t arg3 ;
14891 bool result;
14892 void *argp1 = 0 ;
14893 int res1 = 0 ;
14894 size_t val2 ;
14895 int ecode2 = 0 ;
14896 size_t val3 ;
14897 int ecode3 = 0 ;
14898 PyObject * obj0 = 0 ;
14899 PyObject * obj1 = 0 ;
14900 PyObject * obj2 = 0 ;
14901 char * kwnames[] = {
14902 (char *) "self",(char *) "_from",(char *) "to", NULL
14903 };
14904
14905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14907 if (!SWIG_IsOK(res1)) {
14908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14909 }
14910 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14911 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14912 if (!SWIG_IsOK(ecode2)) {
14913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14914 }
14915 arg2 = static_cast< size_t >(val2);
14916 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14917 if (!SWIG_IsOK(ecode3)) {
14918 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14919 }
14920 arg3 = static_cast< size_t >(val3);
14921 {
14922 PyThreadState* __tstate = wxPyBeginAllowThreads();
14923 result = (bool)(arg1)->SelectRange(arg2,arg3);
14924 wxPyEndAllowThreads(__tstate);
14925 if (PyErr_Occurred()) SWIG_fail;
14926 }
14927 {
14928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14929 }
14930 return resultobj;
14931 fail:
14932 return NULL;
14933 }
14934
14935
14936 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14937 PyObject *resultobj = 0;
14938 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14939 size_t arg2 ;
14940 void *argp1 = 0 ;
14941 int res1 = 0 ;
14942 size_t val2 ;
14943 int ecode2 = 0 ;
14944 PyObject * obj0 = 0 ;
14945 PyObject * obj1 = 0 ;
14946 char * kwnames[] = {
14947 (char *) "self",(char *) "item", NULL
14948 };
14949
14950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
14951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14952 if (!SWIG_IsOK(res1)) {
14953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14954 }
14955 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14956 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14957 if (!SWIG_IsOK(ecode2)) {
14958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14959 }
14960 arg2 = static_cast< size_t >(val2);
14961 {
14962 PyThreadState* __tstate = wxPyBeginAllowThreads();
14963 (arg1)->Toggle(arg2);
14964 wxPyEndAllowThreads(__tstate);
14965 if (PyErr_Occurred()) SWIG_fail;
14966 }
14967 resultobj = SWIG_Py_Void();
14968 return resultobj;
14969 fail:
14970 return NULL;
14971 }
14972
14973
14974 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14975 PyObject *resultobj = 0;
14976 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14977 bool result;
14978 void *argp1 = 0 ;
14979 int res1 = 0 ;
14980 PyObject *swig_obj[1] ;
14981
14982 if (!args) SWIG_fail;
14983 swig_obj[0] = args;
14984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14985 if (!SWIG_IsOK(res1)) {
14986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14987 }
14988 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14989 {
14990 PyThreadState* __tstate = wxPyBeginAllowThreads();
14991 result = (bool)(arg1)->SelectAll();
14992 wxPyEndAllowThreads(__tstate);
14993 if (PyErr_Occurred()) SWIG_fail;
14994 }
14995 {
14996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14997 }
14998 return resultobj;
14999 fail:
15000 return NULL;
15001 }
15002
15003
15004 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15005 PyObject *resultobj = 0;
15006 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15007 bool result;
15008 void *argp1 = 0 ;
15009 int res1 = 0 ;
15010 PyObject *swig_obj[1] ;
15011
15012 if (!args) SWIG_fail;
15013 swig_obj[0] = args;
15014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15015 if (!SWIG_IsOK(res1)) {
15016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15017 }
15018 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15019 {
15020 PyThreadState* __tstate = wxPyBeginAllowThreads();
15021 result = (bool)(arg1)->DeselectAll();
15022 wxPyEndAllowThreads(__tstate);
15023 if (PyErr_Occurred()) SWIG_fail;
15024 }
15025 {
15026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15027 }
15028 return resultobj;
15029 fail:
15030 return NULL;
15031 }
15032
15033
15034 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15035 PyObject *resultobj = 0;
15036 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15037 wxPoint *arg2 = 0 ;
15038 void *argp1 = 0 ;
15039 int res1 = 0 ;
15040 wxPoint temp2 ;
15041 PyObject * obj0 = 0 ;
15042 PyObject * obj1 = 0 ;
15043 char * kwnames[] = {
15044 (char *) "self",(char *) "pt", NULL
15045 };
15046
15047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15049 if (!SWIG_IsOK(res1)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15051 }
15052 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15053 {
15054 arg2 = &temp2;
15055 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15056 }
15057 {
15058 PyThreadState* __tstate = wxPyBeginAllowThreads();
15059 (arg1)->SetMargins((wxPoint const &)*arg2);
15060 wxPyEndAllowThreads(__tstate);
15061 if (PyErr_Occurred()) SWIG_fail;
15062 }
15063 resultobj = SWIG_Py_Void();
15064 return resultobj;
15065 fail:
15066 return NULL;
15067 }
15068
15069
15070 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15071 PyObject *resultobj = 0;
15072 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15073 int arg2 ;
15074 int arg3 ;
15075 void *argp1 = 0 ;
15076 int res1 = 0 ;
15077 int val2 ;
15078 int ecode2 = 0 ;
15079 int val3 ;
15080 int ecode3 = 0 ;
15081 PyObject * obj0 = 0 ;
15082 PyObject * obj1 = 0 ;
15083 PyObject * obj2 = 0 ;
15084 char * kwnames[] = {
15085 (char *) "self",(char *) "x",(char *) "y", NULL
15086 };
15087
15088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15090 if (!SWIG_IsOK(res1)) {
15091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15092 }
15093 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15094 ecode2 = SWIG_AsVal_int(obj1, &val2);
15095 if (!SWIG_IsOK(ecode2)) {
15096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15097 }
15098 arg2 = static_cast< int >(val2);
15099 ecode3 = SWIG_AsVal_int(obj2, &val3);
15100 if (!SWIG_IsOK(ecode3)) {
15101 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15102 }
15103 arg3 = static_cast< int >(val3);
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 (arg1)->SetMargins(arg2,arg3);
15107 wxPyEndAllowThreads(__tstate);
15108 if (PyErr_Occurred()) SWIG_fail;
15109 }
15110 resultobj = SWIG_Py_Void();
15111 return resultobj;
15112 fail:
15113 return NULL;
15114 }
15115
15116
15117 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15118 PyObject *resultobj = 0;
15119 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15120 wxColour *arg2 = 0 ;
15121 void *argp1 = 0 ;
15122 int res1 = 0 ;
15123 wxColour temp2 ;
15124 PyObject * obj0 = 0 ;
15125 PyObject * obj1 = 0 ;
15126 char * kwnames[] = {
15127 (char *) "self",(char *) "col", NULL
15128 };
15129
15130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15132 if (!SWIG_IsOK(res1)) {
15133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15134 }
15135 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15136 {
15137 arg2 = &temp2;
15138 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15139 }
15140 {
15141 PyThreadState* __tstate = wxPyBeginAllowThreads();
15142 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15143 wxPyEndAllowThreads(__tstate);
15144 if (PyErr_Occurred()) SWIG_fail;
15145 }
15146 resultobj = SWIG_Py_Void();
15147 return resultobj;
15148 fail:
15149 return NULL;
15150 }
15151
15152
15153 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15154 PyObject *resultobj = 0;
15155 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15156 wxDC *arg2 = 0 ;
15157 wxRect *arg3 = 0 ;
15158 size_t arg4 ;
15159 void *argp1 = 0 ;
15160 int res1 = 0 ;
15161 void *argp2 = 0 ;
15162 int res2 = 0 ;
15163 wxRect temp3 ;
15164 size_t val4 ;
15165 int ecode4 = 0 ;
15166 PyObject * obj0 = 0 ;
15167 PyObject * obj1 = 0 ;
15168 PyObject * obj2 = 0 ;
15169 PyObject * obj3 = 0 ;
15170 char * kwnames[] = {
15171 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15172 };
15173
15174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15176 if (!SWIG_IsOK(res1)) {
15177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15178 }
15179 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15180 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15181 if (!SWIG_IsOK(res2)) {
15182 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15183 }
15184 if (!argp2) {
15185 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15186 }
15187 arg2 = reinterpret_cast< wxDC * >(argp2);
15188 {
15189 arg3 = &temp3;
15190 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15191 }
15192 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15193 if (!SWIG_IsOK(ecode4)) {
15194 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15195 }
15196 arg4 = static_cast< size_t >(val4);
15197 {
15198 PyThreadState* __tstate = wxPyBeginAllowThreads();
15199 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15200 wxPyEndAllowThreads(__tstate);
15201 if (PyErr_Occurred()) SWIG_fail;
15202 }
15203 resultobj = SWIG_Py_Void();
15204 return resultobj;
15205 fail:
15206 return NULL;
15207 }
15208
15209
15210 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15211 PyObject *resultobj = 0;
15212 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15213 wxDC *arg2 = 0 ;
15214 wxRect *arg3 = 0 ;
15215 size_t arg4 ;
15216 void *argp1 = 0 ;
15217 int res1 = 0 ;
15218 void *argp2 = 0 ;
15219 int res2 = 0 ;
15220 wxRect temp3 ;
15221 size_t val4 ;
15222 int ecode4 = 0 ;
15223 PyObject * obj0 = 0 ;
15224 PyObject * obj1 = 0 ;
15225 PyObject * obj2 = 0 ;
15226 PyObject * obj3 = 0 ;
15227 char * kwnames[] = {
15228 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15229 };
15230
15231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15233 if (!SWIG_IsOK(res1)) {
15234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15235 }
15236 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15237 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15238 if (!SWIG_IsOK(res2)) {
15239 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15240 }
15241 if (!argp2) {
15242 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15243 }
15244 arg2 = reinterpret_cast< wxDC * >(argp2);
15245 {
15246 arg3 = &temp3;
15247 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15248 }
15249 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15250 if (!SWIG_IsOK(ecode4)) {
15251 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15252 }
15253 arg4 = static_cast< size_t >(val4);
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15257 wxPyEndAllowThreads(__tstate);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 }
15260 resultobj = SWIG_Py_Void();
15261 return resultobj;
15262 fail:
15263 return NULL;
15264 }
15265
15266
15267 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15268 PyObject *obj;
15269 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15270 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15271 return SWIG_Py_Void();
15272 }
15273
15274 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15275 return SWIG_Python_InitShadowInstance(args);
15276 }
15277
15278 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15279 PyObject *resultobj = 0;
15280 wxWindow *arg1 = (wxWindow *) 0 ;
15281 int arg2 = (int) wxID_ANY ;
15282 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15283 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15284 wxSize const &arg4_defvalue = wxDefaultSize ;
15285 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15286 long arg5 = (long) 0 ;
15287 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15288 wxString *arg6 = (wxString *) &arg6_defvalue ;
15289 wxPyHtmlListBox *result = 0 ;
15290 void *argp1 = 0 ;
15291 int res1 = 0 ;
15292 int val2 ;
15293 int ecode2 = 0 ;
15294 wxPoint temp3 ;
15295 wxSize temp4 ;
15296 long val5 ;
15297 int ecode5 = 0 ;
15298 bool temp6 = false ;
15299 PyObject * obj0 = 0 ;
15300 PyObject * obj1 = 0 ;
15301 PyObject * obj2 = 0 ;
15302 PyObject * obj3 = 0 ;
15303 PyObject * obj4 = 0 ;
15304 PyObject * obj5 = 0 ;
15305 char * kwnames[] = {
15306 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15307 };
15308
15309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15311 if (!SWIG_IsOK(res1)) {
15312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15313 }
15314 arg1 = reinterpret_cast< wxWindow * >(argp1);
15315 if (obj1) {
15316 ecode2 = SWIG_AsVal_int(obj1, &val2);
15317 if (!SWIG_IsOK(ecode2)) {
15318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15319 }
15320 arg2 = static_cast< int >(val2);
15321 }
15322 if (obj2) {
15323 {
15324 arg3 = &temp3;
15325 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15326 }
15327 }
15328 if (obj3) {
15329 {
15330 arg4 = &temp4;
15331 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15332 }
15333 }
15334 if (obj4) {
15335 ecode5 = SWIG_AsVal_long(obj4, &val5);
15336 if (!SWIG_IsOK(ecode5)) {
15337 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15338 }
15339 arg5 = static_cast< long >(val5);
15340 }
15341 if (obj5) {
15342 {
15343 arg6 = wxString_in_helper(obj5);
15344 if (arg6 == NULL) SWIG_fail;
15345 temp6 = true;
15346 }
15347 }
15348 {
15349 if (!wxPyCheckForApp()) SWIG_fail;
15350 PyThreadState* __tstate = wxPyBeginAllowThreads();
15351 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15352 wxPyEndAllowThreads(__tstate);
15353 if (PyErr_Occurred()) SWIG_fail;
15354 }
15355 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15356 {
15357 if (temp6)
15358 delete arg6;
15359 }
15360 return resultobj;
15361 fail:
15362 {
15363 if (temp6)
15364 delete arg6;
15365 }
15366 return NULL;
15367 }
15368
15369
15370 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15371 PyObject *resultobj = 0;
15372 wxPyHtmlListBox *result = 0 ;
15373
15374 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15375 {
15376 if (!wxPyCheckForApp()) SWIG_fail;
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15379 wxPyEndAllowThreads(__tstate);
15380 if (PyErr_Occurred()) SWIG_fail;
15381 }
15382 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15383 return resultobj;
15384 fail:
15385 return NULL;
15386 }
15387
15388
15389 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15390 PyObject *resultobj = 0;
15391 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15392 PyObject *arg2 = (PyObject *) 0 ;
15393 PyObject *arg3 = (PyObject *) 0 ;
15394 void *argp1 = 0 ;
15395 int res1 = 0 ;
15396 PyObject * obj0 = 0 ;
15397 PyObject * obj1 = 0 ;
15398 PyObject * obj2 = 0 ;
15399 char * kwnames[] = {
15400 (char *) "self",(char *) "self",(char *) "_class", NULL
15401 };
15402
15403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15405 if (!SWIG_IsOK(res1)) {
15406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15407 }
15408 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15409 arg2 = obj1;
15410 arg3 = obj2;
15411 {
15412 PyThreadState* __tstate = wxPyBeginAllowThreads();
15413 (arg1)->_setCallbackInfo(arg2,arg3);
15414 wxPyEndAllowThreads(__tstate);
15415 if (PyErr_Occurred()) SWIG_fail;
15416 }
15417 resultobj = SWIG_Py_Void();
15418 return resultobj;
15419 fail:
15420 return NULL;
15421 }
15422
15423
15424 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15425 PyObject *resultobj = 0;
15426 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15427 wxWindow *arg2 = (wxWindow *) 0 ;
15428 int arg3 = (int) wxID_ANY ;
15429 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15430 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15431 wxSize const &arg5_defvalue = wxDefaultSize ;
15432 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15433 long arg6 = (long) 0 ;
15434 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15435 wxString *arg7 = (wxString *) &arg7_defvalue ;
15436 bool result;
15437 void *argp1 = 0 ;
15438 int res1 = 0 ;
15439 void *argp2 = 0 ;
15440 int res2 = 0 ;
15441 int val3 ;
15442 int ecode3 = 0 ;
15443 wxPoint temp4 ;
15444 wxSize temp5 ;
15445 long val6 ;
15446 int ecode6 = 0 ;
15447 bool temp7 = false ;
15448 PyObject * obj0 = 0 ;
15449 PyObject * obj1 = 0 ;
15450 PyObject * obj2 = 0 ;
15451 PyObject * obj3 = 0 ;
15452 PyObject * obj4 = 0 ;
15453 PyObject * obj5 = 0 ;
15454 PyObject * obj6 = 0 ;
15455 char * kwnames[] = {
15456 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15457 };
15458
15459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15461 if (!SWIG_IsOK(res1)) {
15462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15463 }
15464 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15465 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15466 if (!SWIG_IsOK(res2)) {
15467 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15468 }
15469 arg2 = reinterpret_cast< wxWindow * >(argp2);
15470 if (obj2) {
15471 ecode3 = SWIG_AsVal_int(obj2, &val3);
15472 if (!SWIG_IsOK(ecode3)) {
15473 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15474 }
15475 arg3 = static_cast< int >(val3);
15476 }
15477 if (obj3) {
15478 {
15479 arg4 = &temp4;
15480 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15481 }
15482 }
15483 if (obj4) {
15484 {
15485 arg5 = &temp5;
15486 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15487 }
15488 }
15489 if (obj5) {
15490 ecode6 = SWIG_AsVal_long(obj5, &val6);
15491 if (!SWIG_IsOK(ecode6)) {
15492 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15493 }
15494 arg6 = static_cast< long >(val6);
15495 }
15496 if (obj6) {
15497 {
15498 arg7 = wxString_in_helper(obj6);
15499 if (arg7 == NULL) SWIG_fail;
15500 temp7 = true;
15501 }
15502 }
15503 {
15504 PyThreadState* __tstate = wxPyBeginAllowThreads();
15505 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15506 wxPyEndAllowThreads(__tstate);
15507 if (PyErr_Occurred()) SWIG_fail;
15508 }
15509 {
15510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15511 }
15512 {
15513 if (temp7)
15514 delete arg7;
15515 }
15516 return resultobj;
15517 fail:
15518 {
15519 if (temp7)
15520 delete arg7;
15521 }
15522 return NULL;
15523 }
15524
15525
15526 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15527 PyObject *resultobj = 0;
15528 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15529 size_t arg2 ;
15530 void *argp1 = 0 ;
15531 int res1 = 0 ;
15532 size_t val2 ;
15533 int ecode2 = 0 ;
15534 PyObject * obj0 = 0 ;
15535 PyObject * obj1 = 0 ;
15536 char * kwnames[] = {
15537 (char *) "self",(char *) "count", NULL
15538 };
15539
15540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15542 if (!SWIG_IsOK(res1)) {
15543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15544 }
15545 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15546 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15547 if (!SWIG_IsOK(ecode2)) {
15548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15549 }
15550 arg2 = static_cast< size_t >(val2);
15551 {
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 (arg1)->SetItemCount(arg2);
15554 wxPyEndAllowThreads(__tstate);
15555 if (PyErr_Occurred()) SWIG_fail;
15556 }
15557 resultobj = SWIG_Py_Void();
15558 return resultobj;
15559 fail:
15560 return NULL;
15561 }
15562
15563
15564 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15565 PyObject *resultobj = 0;
15566 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15567 wxFileSystem *result = 0 ;
15568 void *argp1 = 0 ;
15569 int res1 = 0 ;
15570 PyObject *swig_obj[1] ;
15571
15572 if (!args) SWIG_fail;
15573 swig_obj[0] = args;
15574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15575 if (!SWIG_IsOK(res1)) {
15576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15577 }
15578 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15579 {
15580 PyThreadState* __tstate = wxPyBeginAllowThreads();
15581 {
15582 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15583 result = (wxFileSystem *) &_result_ref;
15584 }
15585 wxPyEndAllowThreads(__tstate);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15588 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15589 return resultobj;
15590 fail:
15591 return NULL;
15592 }
15593
15594
15595 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15596 PyObject *obj;
15597 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15598 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15599 return SWIG_Py_Void();
15600 }
15601
15602 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15603 return SWIG_Python_InitShadowInstance(args);
15604 }
15605
15606 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15607 PyObject *resultobj = 0;
15608 wxPyTaskBarIcon *result = 0 ;
15609
15610 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15611 {
15612 if (!wxPyCheckForApp()) SWIG_fail;
15613 PyThreadState* __tstate = wxPyBeginAllowThreads();
15614 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15615 wxPyEndAllowThreads(__tstate);
15616 if (PyErr_Occurred()) SWIG_fail;
15617 }
15618 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15619 return resultobj;
15620 fail:
15621 return NULL;
15622 }
15623
15624
15625 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15626 PyObject *resultobj = 0;
15627 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15628 void *argp1 = 0 ;
15629 int res1 = 0 ;
15630 PyObject *swig_obj[1] ;
15631
15632 if (!args) SWIG_fail;
15633 swig_obj[0] = args;
15634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15635 if (!SWIG_IsOK(res1)) {
15636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15637 }
15638 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15639 {
15640 PyThreadState* __tstate = wxPyBeginAllowThreads();
15641 delete arg1;
15642
15643 wxPyEndAllowThreads(__tstate);
15644 if (PyErr_Occurred()) SWIG_fail;
15645 }
15646 resultobj = SWIG_Py_Void();
15647 return resultobj;
15648 fail:
15649 return NULL;
15650 }
15651
15652
15653 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15654 PyObject *resultobj = 0;
15655 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15656 PyObject *arg2 = (PyObject *) 0 ;
15657 PyObject *arg3 = (PyObject *) 0 ;
15658 int arg4 ;
15659 void *argp1 = 0 ;
15660 int res1 = 0 ;
15661 int val4 ;
15662 int ecode4 = 0 ;
15663 PyObject * obj0 = 0 ;
15664 PyObject * obj1 = 0 ;
15665 PyObject * obj2 = 0 ;
15666 PyObject * obj3 = 0 ;
15667 char * kwnames[] = {
15668 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15669 };
15670
15671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15673 if (!SWIG_IsOK(res1)) {
15674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15675 }
15676 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15677 arg2 = obj1;
15678 arg3 = obj2;
15679 ecode4 = SWIG_AsVal_int(obj3, &val4);
15680 if (!SWIG_IsOK(ecode4)) {
15681 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15682 }
15683 arg4 = static_cast< int >(val4);
15684 {
15685 PyThreadState* __tstate = wxPyBeginAllowThreads();
15686 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15687 wxPyEndAllowThreads(__tstate);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15690 resultobj = SWIG_Py_Void();
15691 return resultobj;
15692 fail:
15693 return NULL;
15694 }
15695
15696
15697 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15698 PyObject *resultobj = 0;
15699 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15700 void *argp1 = 0 ;
15701 int res1 = 0 ;
15702 PyObject *swig_obj[1] ;
15703
15704 if (!args) SWIG_fail;
15705 swig_obj[0] = args;
15706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15707 if (!SWIG_IsOK(res1)) {
15708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15709 }
15710 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15711 {
15712 PyThreadState* __tstate = wxPyBeginAllowThreads();
15713 wxPyTaskBarIcon_Destroy(arg1);
15714 wxPyEndAllowThreads(__tstate);
15715 if (PyErr_Occurred()) SWIG_fail;
15716 }
15717 resultobj = SWIG_Py_Void();
15718 return resultobj;
15719 fail:
15720 return NULL;
15721 }
15722
15723
15724 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15725 PyObject *resultobj = 0;
15726 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15727 bool result;
15728 void *argp1 = 0 ;
15729 int res1 = 0 ;
15730 PyObject *swig_obj[1] ;
15731
15732 if (!args) SWIG_fail;
15733 swig_obj[0] = args;
15734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15735 if (!SWIG_IsOK(res1)) {
15736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15737 }
15738 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15739 {
15740 PyThreadState* __tstate = wxPyBeginAllowThreads();
15741 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15742 wxPyEndAllowThreads(__tstate);
15743 if (PyErr_Occurred()) SWIG_fail;
15744 }
15745 {
15746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15747 }
15748 return resultobj;
15749 fail:
15750 return NULL;
15751 }
15752
15753
15754 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15755 PyObject *resultobj = 0;
15756 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15757 bool result;
15758 void *argp1 = 0 ;
15759 int res1 = 0 ;
15760 PyObject *swig_obj[1] ;
15761
15762 if (!args) SWIG_fail;
15763 swig_obj[0] = args;
15764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15765 if (!SWIG_IsOK(res1)) {
15766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15767 }
15768 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15769 {
15770 PyThreadState* __tstate = wxPyBeginAllowThreads();
15771 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15772 wxPyEndAllowThreads(__tstate);
15773 if (PyErr_Occurred()) SWIG_fail;
15774 }
15775 {
15776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15777 }
15778 return resultobj;
15779 fail:
15780 return NULL;
15781 }
15782
15783
15784 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15785 PyObject *resultobj = 0;
15786 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15787 wxIcon *arg2 = 0 ;
15788 wxString const &arg3_defvalue = wxPyEmptyString ;
15789 wxString *arg3 = (wxString *) &arg3_defvalue ;
15790 bool result;
15791 void *argp1 = 0 ;
15792 int res1 = 0 ;
15793 void *argp2 = 0 ;
15794 int res2 = 0 ;
15795 bool temp3 = false ;
15796 PyObject * obj0 = 0 ;
15797 PyObject * obj1 = 0 ;
15798 PyObject * obj2 = 0 ;
15799 char * kwnames[] = {
15800 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15801 };
15802
15803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15805 if (!SWIG_IsOK(res1)) {
15806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15807 }
15808 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15809 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15810 if (!SWIG_IsOK(res2)) {
15811 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15812 }
15813 if (!argp2) {
15814 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15815 }
15816 arg2 = reinterpret_cast< wxIcon * >(argp2);
15817 if (obj2) {
15818 {
15819 arg3 = wxString_in_helper(obj2);
15820 if (arg3 == NULL) SWIG_fail;
15821 temp3 = true;
15822 }
15823 }
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
15826 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15827 wxPyEndAllowThreads(__tstate);
15828 if (PyErr_Occurred()) SWIG_fail;
15829 }
15830 {
15831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15832 }
15833 {
15834 if (temp3)
15835 delete arg3;
15836 }
15837 return resultobj;
15838 fail:
15839 {
15840 if (temp3)
15841 delete arg3;
15842 }
15843 return NULL;
15844 }
15845
15846
15847 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15848 PyObject *resultobj = 0;
15849 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15850 bool result;
15851 void *argp1 = 0 ;
15852 int res1 = 0 ;
15853 PyObject *swig_obj[1] ;
15854
15855 if (!args) SWIG_fail;
15856 swig_obj[0] = args;
15857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15858 if (!SWIG_IsOK(res1)) {
15859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15860 }
15861 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 result = (bool)(arg1)->RemoveIcon();
15865 wxPyEndAllowThreads(__tstate);
15866 if (PyErr_Occurred()) SWIG_fail;
15867 }
15868 {
15869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15870 }
15871 return resultobj;
15872 fail:
15873 return NULL;
15874 }
15875
15876
15877 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15878 PyObject *resultobj = 0;
15879 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15880 wxMenu *arg2 = (wxMenu *) 0 ;
15881 bool result;
15882 void *argp1 = 0 ;
15883 int res1 = 0 ;
15884 void *argp2 = 0 ;
15885 int res2 = 0 ;
15886 PyObject * obj0 = 0 ;
15887 PyObject * obj1 = 0 ;
15888 char * kwnames[] = {
15889 (char *) "self",(char *) "menu", NULL
15890 };
15891
15892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
15893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15894 if (!SWIG_IsOK(res1)) {
15895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15896 }
15897 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15898 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
15899 if (!SWIG_IsOK(res2)) {
15900 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15901 }
15902 arg2 = reinterpret_cast< wxMenu * >(argp2);
15903 {
15904 PyThreadState* __tstate = wxPyBeginAllowThreads();
15905 result = (bool)(arg1)->PopupMenu(arg2);
15906 wxPyEndAllowThreads(__tstate);
15907 if (PyErr_Occurred()) SWIG_fail;
15908 }
15909 {
15910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15911 }
15912 return resultobj;
15913 fail:
15914 return NULL;
15915 }
15916
15917
15918 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15919 PyObject *obj;
15920 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15921 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
15922 return SWIG_Py_Void();
15923 }
15924
15925 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15926 return SWIG_Python_InitShadowInstance(args);
15927 }
15928
15929 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15930 PyObject *resultobj = 0;
15931 wxEventType arg1 ;
15932 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
15933 wxTaskBarIconEvent *result = 0 ;
15934 int val1 ;
15935 int ecode1 = 0 ;
15936 void *argp2 = 0 ;
15937 int res2 = 0 ;
15938 PyObject * obj0 = 0 ;
15939 PyObject * obj1 = 0 ;
15940 char * kwnames[] = {
15941 (char *) "evtType",(char *) "tbIcon", NULL
15942 };
15943
15944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15945 ecode1 = SWIG_AsVal_int(obj0, &val1);
15946 if (!SWIG_IsOK(ecode1)) {
15947 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15948 }
15949 arg1 = static_cast< wxEventType >(val1);
15950 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
15951 if (!SWIG_IsOK(res2)) {
15952 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15953 }
15954 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
15955 {
15956 PyThreadState* __tstate = wxPyBeginAllowThreads();
15957 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
15958 wxPyEndAllowThreads(__tstate);
15959 if (PyErr_Occurred()) SWIG_fail;
15960 }
15961 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
15962 return resultobj;
15963 fail:
15964 return NULL;
15965 }
15966
15967
15968 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15969 PyObject *obj;
15970 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15971 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
15972 return SWIG_Py_Void();
15973 }
15974
15975 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15976 return SWIG_Python_InitShadowInstance(args);
15977 }
15978
15979 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
15980 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
15981 return 1;
15982 }
15983
15984
15985 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
15986 PyObject *pyobj = 0;
15987
15988 {
15989 #if wxUSE_UNICODE
15990 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
15991 #else
15992 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
15993 #endif
15994 }
15995 return pyobj;
15996 }
15997
15998
15999 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16000 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16001 return 1;
16002 }
16003
16004
16005 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16006 PyObject *pyobj = 0;
16007
16008 {
16009 #if wxUSE_UNICODE
16010 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16011 #else
16012 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16013 #endif
16014 }
16015 return pyobj;
16016 }
16017
16018
16019 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16020 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16021 return 1;
16022 }
16023
16024
16025 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16026 PyObject *pyobj = 0;
16027
16028 {
16029 #if wxUSE_UNICODE
16030 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16031 #else
16032 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16033 #endif
16034 }
16035 return pyobj;
16036 }
16037
16038
16039 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16040 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16041 return 1;
16042 }
16043
16044
16045 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16046 PyObject *pyobj = 0;
16047
16048 {
16049 #if wxUSE_UNICODE
16050 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16051 #else
16052 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16053 #endif
16054 }
16055 return pyobj;
16056 }
16057
16058
16059 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16060 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16061 return 1;
16062 }
16063
16064
16065 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16066 PyObject *pyobj = 0;
16067
16068 {
16069 #if wxUSE_UNICODE
16070 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16071 #else
16072 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16073 #endif
16074 }
16075 return pyobj;
16076 }
16077
16078
16079 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16080 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16081 return 1;
16082 }
16083
16084
16085 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16086 PyObject *pyobj = 0;
16087
16088 {
16089 #if wxUSE_UNICODE
16090 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16091 #else
16092 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16093 #endif
16094 }
16095 return pyobj;
16096 }
16097
16098
16099 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16100 PyObject *resultobj = 0;
16101 wxColourData *result = 0 ;
16102
16103 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16104 {
16105 PyThreadState* __tstate = wxPyBeginAllowThreads();
16106 result = (wxColourData *)new wxColourData();
16107 wxPyEndAllowThreads(__tstate);
16108 if (PyErr_Occurred()) SWIG_fail;
16109 }
16110 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16111 return resultobj;
16112 fail:
16113 return NULL;
16114 }
16115
16116
16117 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16118 PyObject *resultobj = 0;
16119 wxColourData *arg1 = (wxColourData *) 0 ;
16120 void *argp1 = 0 ;
16121 int res1 = 0 ;
16122 PyObject *swig_obj[1] ;
16123
16124 if (!args) SWIG_fail;
16125 swig_obj[0] = args;
16126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16127 if (!SWIG_IsOK(res1)) {
16128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16129 }
16130 arg1 = reinterpret_cast< wxColourData * >(argp1);
16131 {
16132 PyThreadState* __tstate = wxPyBeginAllowThreads();
16133 delete arg1;
16134
16135 wxPyEndAllowThreads(__tstate);
16136 if (PyErr_Occurred()) SWIG_fail;
16137 }
16138 resultobj = SWIG_Py_Void();
16139 return resultobj;
16140 fail:
16141 return NULL;
16142 }
16143
16144
16145 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16146 PyObject *resultobj = 0;
16147 wxColourData *arg1 = (wxColourData *) 0 ;
16148 bool result;
16149 void *argp1 = 0 ;
16150 int res1 = 0 ;
16151 PyObject *swig_obj[1] ;
16152
16153 if (!args) SWIG_fail;
16154 swig_obj[0] = args;
16155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16156 if (!SWIG_IsOK(res1)) {
16157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16158 }
16159 arg1 = reinterpret_cast< wxColourData * >(argp1);
16160 {
16161 PyThreadState* __tstate = wxPyBeginAllowThreads();
16162 result = (bool)(arg1)->GetChooseFull();
16163 wxPyEndAllowThreads(__tstate);
16164 if (PyErr_Occurred()) SWIG_fail;
16165 }
16166 {
16167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16168 }
16169 return resultobj;
16170 fail:
16171 return NULL;
16172 }
16173
16174
16175 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16176 PyObject *resultobj = 0;
16177 wxColourData *arg1 = (wxColourData *) 0 ;
16178 wxColour result;
16179 void *argp1 = 0 ;
16180 int res1 = 0 ;
16181 PyObject *swig_obj[1] ;
16182
16183 if (!args) SWIG_fail;
16184 swig_obj[0] = args;
16185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16186 if (!SWIG_IsOK(res1)) {
16187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16188 }
16189 arg1 = reinterpret_cast< wxColourData * >(argp1);
16190 {
16191 PyThreadState* __tstate = wxPyBeginAllowThreads();
16192 result = (arg1)->GetColour();
16193 wxPyEndAllowThreads(__tstate);
16194 if (PyErr_Occurred()) SWIG_fail;
16195 }
16196 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16197 return resultobj;
16198 fail:
16199 return NULL;
16200 }
16201
16202
16203 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16204 PyObject *resultobj = 0;
16205 wxColourData *arg1 = (wxColourData *) 0 ;
16206 int arg2 ;
16207 wxColour result;
16208 void *argp1 = 0 ;
16209 int res1 = 0 ;
16210 int val2 ;
16211 int ecode2 = 0 ;
16212 PyObject * obj0 = 0 ;
16213 PyObject * obj1 = 0 ;
16214 char * kwnames[] = {
16215 (char *) "self",(char *) "i", NULL
16216 };
16217
16218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16220 if (!SWIG_IsOK(res1)) {
16221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16222 }
16223 arg1 = reinterpret_cast< wxColourData * >(argp1);
16224 ecode2 = SWIG_AsVal_int(obj1, &val2);
16225 if (!SWIG_IsOK(ecode2)) {
16226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16227 }
16228 arg2 = static_cast< int >(val2);
16229 {
16230 PyThreadState* __tstate = wxPyBeginAllowThreads();
16231 result = (arg1)->GetCustomColour(arg2);
16232 wxPyEndAllowThreads(__tstate);
16233 if (PyErr_Occurred()) SWIG_fail;
16234 }
16235 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16236 return resultobj;
16237 fail:
16238 return NULL;
16239 }
16240
16241
16242 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16243 PyObject *resultobj = 0;
16244 wxColourData *arg1 = (wxColourData *) 0 ;
16245 int arg2 ;
16246 void *argp1 = 0 ;
16247 int res1 = 0 ;
16248 int val2 ;
16249 int ecode2 = 0 ;
16250 PyObject * obj0 = 0 ;
16251 PyObject * obj1 = 0 ;
16252 char * kwnames[] = {
16253 (char *) "self",(char *) "flag", NULL
16254 };
16255
16256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16258 if (!SWIG_IsOK(res1)) {
16259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16260 }
16261 arg1 = reinterpret_cast< wxColourData * >(argp1);
16262 ecode2 = SWIG_AsVal_int(obj1, &val2);
16263 if (!SWIG_IsOK(ecode2)) {
16264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16265 }
16266 arg2 = static_cast< int >(val2);
16267 {
16268 PyThreadState* __tstate = wxPyBeginAllowThreads();
16269 (arg1)->SetChooseFull(arg2);
16270 wxPyEndAllowThreads(__tstate);
16271 if (PyErr_Occurred()) SWIG_fail;
16272 }
16273 resultobj = SWIG_Py_Void();
16274 return resultobj;
16275 fail:
16276 return NULL;
16277 }
16278
16279
16280 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16281 PyObject *resultobj = 0;
16282 wxColourData *arg1 = (wxColourData *) 0 ;
16283 wxColour *arg2 = 0 ;
16284 void *argp1 = 0 ;
16285 int res1 = 0 ;
16286 wxColour temp2 ;
16287 PyObject * obj0 = 0 ;
16288 PyObject * obj1 = 0 ;
16289 char * kwnames[] = {
16290 (char *) "self",(char *) "colour", NULL
16291 };
16292
16293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16295 if (!SWIG_IsOK(res1)) {
16296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16297 }
16298 arg1 = reinterpret_cast< wxColourData * >(argp1);
16299 {
16300 arg2 = &temp2;
16301 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16302 }
16303 {
16304 PyThreadState* __tstate = wxPyBeginAllowThreads();
16305 (arg1)->SetColour((wxColour const &)*arg2);
16306 wxPyEndAllowThreads(__tstate);
16307 if (PyErr_Occurred()) SWIG_fail;
16308 }
16309 resultobj = SWIG_Py_Void();
16310 return resultobj;
16311 fail:
16312 return NULL;
16313 }
16314
16315
16316 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16317 PyObject *resultobj = 0;
16318 wxColourData *arg1 = (wxColourData *) 0 ;
16319 int arg2 ;
16320 wxColour *arg3 = 0 ;
16321 void *argp1 = 0 ;
16322 int res1 = 0 ;
16323 int val2 ;
16324 int ecode2 = 0 ;
16325 wxColour temp3 ;
16326 PyObject * obj0 = 0 ;
16327 PyObject * obj1 = 0 ;
16328 PyObject * obj2 = 0 ;
16329 char * kwnames[] = {
16330 (char *) "self",(char *) "i",(char *) "colour", NULL
16331 };
16332
16333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16335 if (!SWIG_IsOK(res1)) {
16336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16337 }
16338 arg1 = reinterpret_cast< wxColourData * >(argp1);
16339 ecode2 = SWIG_AsVal_int(obj1, &val2);
16340 if (!SWIG_IsOK(ecode2)) {
16341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16342 }
16343 arg2 = static_cast< int >(val2);
16344 {
16345 arg3 = &temp3;
16346 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16347 }
16348 {
16349 PyThreadState* __tstate = wxPyBeginAllowThreads();
16350 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 resultobj = SWIG_Py_Void();
16355 return resultobj;
16356 fail:
16357 return NULL;
16358 }
16359
16360
16361 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16362 PyObject *obj;
16363 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16364 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16365 return SWIG_Py_Void();
16366 }
16367
16368 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16369 return SWIG_Python_InitShadowInstance(args);
16370 }
16371
16372 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16373 PyObject *resultobj = 0;
16374 wxWindow *arg1 = (wxWindow *) 0 ;
16375 wxColourData *arg2 = (wxColourData *) NULL ;
16376 wxColourDialog *result = 0 ;
16377 void *argp1 = 0 ;
16378 int res1 = 0 ;
16379 void *argp2 = 0 ;
16380 int res2 = 0 ;
16381 PyObject * obj0 = 0 ;
16382 PyObject * obj1 = 0 ;
16383 char * kwnames[] = {
16384 (char *) "parent",(char *) "data", NULL
16385 };
16386
16387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16389 if (!SWIG_IsOK(res1)) {
16390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16391 }
16392 arg1 = reinterpret_cast< wxWindow * >(argp1);
16393 if (obj1) {
16394 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16395 if (!SWIG_IsOK(res2)) {
16396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16397 }
16398 arg2 = reinterpret_cast< wxColourData * >(argp2);
16399 }
16400 {
16401 if (!wxPyCheckForApp()) SWIG_fail;
16402 PyThreadState* __tstate = wxPyBeginAllowThreads();
16403 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16404 wxPyEndAllowThreads(__tstate);
16405 if (PyErr_Occurred()) SWIG_fail;
16406 }
16407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16408 return resultobj;
16409 fail:
16410 return NULL;
16411 }
16412
16413
16414 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16415 PyObject *resultobj = 0;
16416 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16417 wxColourData *result = 0 ;
16418 void *argp1 = 0 ;
16419 int res1 = 0 ;
16420 PyObject *swig_obj[1] ;
16421
16422 if (!args) SWIG_fail;
16423 swig_obj[0] = args;
16424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16425 if (!SWIG_IsOK(res1)) {
16426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16427 }
16428 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16429 {
16430 PyThreadState* __tstate = wxPyBeginAllowThreads();
16431 {
16432 wxColourData &_result_ref = (arg1)->GetColourData();
16433 result = (wxColourData *) &_result_ref;
16434 }
16435 wxPyEndAllowThreads(__tstate);
16436 if (PyErr_Occurred()) SWIG_fail;
16437 }
16438 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16439 return resultobj;
16440 fail:
16441 return NULL;
16442 }
16443
16444
16445 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16446 PyObject *obj;
16447 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16448 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16449 return SWIG_Py_Void();
16450 }
16451
16452 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16453 return SWIG_Python_InitShadowInstance(args);
16454 }
16455
16456 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16457 PyObject *resultobj = 0;
16458 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16459 wxColour const &arg2_defvalue = wxNullColour ;
16460 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16461 wxString const &arg3_defvalue = wxPyEmptyString ;
16462 wxString *arg3 = (wxString *) &arg3_defvalue ;
16463 wxColour result;
16464 void *argp1 = 0 ;
16465 int res1 = 0 ;
16466 wxColour temp2 ;
16467 bool temp3 = false ;
16468 PyObject * obj0 = 0 ;
16469 PyObject * obj1 = 0 ;
16470 PyObject * obj2 = 0 ;
16471 char * kwnames[] = {
16472 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16473 };
16474
16475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16476 if (obj0) {
16477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16478 if (!SWIG_IsOK(res1)) {
16479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16480 }
16481 arg1 = reinterpret_cast< wxWindow * >(argp1);
16482 }
16483 if (obj1) {
16484 {
16485 arg2 = &temp2;
16486 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16487 }
16488 }
16489 if (obj2) {
16490 {
16491 arg3 = wxString_in_helper(obj2);
16492 if (arg3 == NULL) SWIG_fail;
16493 temp3 = true;
16494 }
16495 }
16496 {
16497 PyThreadState* __tstate = wxPyBeginAllowThreads();
16498 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16499 wxPyEndAllowThreads(__tstate);
16500 if (PyErr_Occurred()) SWIG_fail;
16501 }
16502 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16503 {
16504 if (temp3)
16505 delete arg3;
16506 }
16507 return resultobj;
16508 fail:
16509 {
16510 if (temp3)
16511 delete arg3;
16512 }
16513 return NULL;
16514 }
16515
16516
16517 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16518 PyObject *resultobj = 0;
16519 wxWindow *arg1 = (wxWindow *) 0 ;
16520 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16521 wxString *arg2 = (wxString *) &arg2_defvalue ;
16522 wxString const &arg3_defvalue = wxPyEmptyString ;
16523 wxString *arg3 = (wxString *) &arg3_defvalue ;
16524 long arg4 = (long) 0 ;
16525 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16526 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16527 wxSize const &arg6_defvalue = wxDefaultSize ;
16528 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16529 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16530 wxString *arg7 = (wxString *) &arg7_defvalue ;
16531 wxDirDialog *result = 0 ;
16532 void *argp1 = 0 ;
16533 int res1 = 0 ;
16534 bool temp2 = false ;
16535 bool temp3 = false ;
16536 long val4 ;
16537 int ecode4 = 0 ;
16538 wxPoint temp5 ;
16539 wxSize temp6 ;
16540 bool temp7 = false ;
16541 PyObject * obj0 = 0 ;
16542 PyObject * obj1 = 0 ;
16543 PyObject * obj2 = 0 ;
16544 PyObject * obj3 = 0 ;
16545 PyObject * obj4 = 0 ;
16546 PyObject * obj5 = 0 ;
16547 PyObject * obj6 = 0 ;
16548 char * kwnames[] = {
16549 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16550 };
16551
16552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16554 if (!SWIG_IsOK(res1)) {
16555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16556 }
16557 arg1 = reinterpret_cast< wxWindow * >(argp1);
16558 if (obj1) {
16559 {
16560 arg2 = wxString_in_helper(obj1);
16561 if (arg2 == NULL) SWIG_fail;
16562 temp2 = true;
16563 }
16564 }
16565 if (obj2) {
16566 {
16567 arg3 = wxString_in_helper(obj2);
16568 if (arg3 == NULL) SWIG_fail;
16569 temp3 = true;
16570 }
16571 }
16572 if (obj3) {
16573 ecode4 = SWIG_AsVal_long(obj3, &val4);
16574 if (!SWIG_IsOK(ecode4)) {
16575 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16576 }
16577 arg4 = static_cast< long >(val4);
16578 }
16579 if (obj4) {
16580 {
16581 arg5 = &temp5;
16582 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16583 }
16584 }
16585 if (obj5) {
16586 {
16587 arg6 = &temp6;
16588 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16589 }
16590 }
16591 if (obj6) {
16592 {
16593 arg7 = wxString_in_helper(obj6);
16594 if (arg7 == NULL) SWIG_fail;
16595 temp7 = true;
16596 }
16597 }
16598 {
16599 if (!wxPyCheckForApp()) SWIG_fail;
16600 PyThreadState* __tstate = wxPyBeginAllowThreads();
16601 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16602 wxPyEndAllowThreads(__tstate);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 }
16605 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16606 {
16607 if (temp2)
16608 delete arg2;
16609 }
16610 {
16611 if (temp3)
16612 delete arg3;
16613 }
16614 {
16615 if (temp7)
16616 delete arg7;
16617 }
16618 return resultobj;
16619 fail:
16620 {
16621 if (temp2)
16622 delete arg2;
16623 }
16624 {
16625 if (temp3)
16626 delete arg3;
16627 }
16628 {
16629 if (temp7)
16630 delete arg7;
16631 }
16632 return NULL;
16633 }
16634
16635
16636 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16637 PyObject *resultobj = 0;
16638 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16639 wxString result;
16640 void *argp1 = 0 ;
16641 int res1 = 0 ;
16642 PyObject *swig_obj[1] ;
16643
16644 if (!args) SWIG_fail;
16645 swig_obj[0] = args;
16646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16647 if (!SWIG_IsOK(res1)) {
16648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16649 }
16650 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16651 {
16652 PyThreadState* __tstate = wxPyBeginAllowThreads();
16653 result = (arg1)->GetPath();
16654 wxPyEndAllowThreads(__tstate);
16655 if (PyErr_Occurred()) SWIG_fail;
16656 }
16657 {
16658 #if wxUSE_UNICODE
16659 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16660 #else
16661 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16662 #endif
16663 }
16664 return resultobj;
16665 fail:
16666 return NULL;
16667 }
16668
16669
16670 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16671 PyObject *resultobj = 0;
16672 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16673 wxString result;
16674 void *argp1 = 0 ;
16675 int res1 = 0 ;
16676 PyObject *swig_obj[1] ;
16677
16678 if (!args) SWIG_fail;
16679 swig_obj[0] = args;
16680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16681 if (!SWIG_IsOK(res1)) {
16682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16683 }
16684 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16685 {
16686 PyThreadState* __tstate = wxPyBeginAllowThreads();
16687 result = (arg1)->GetMessage();
16688 wxPyEndAllowThreads(__tstate);
16689 if (PyErr_Occurred()) SWIG_fail;
16690 }
16691 {
16692 #if wxUSE_UNICODE
16693 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16694 #else
16695 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16696 #endif
16697 }
16698 return resultobj;
16699 fail:
16700 return NULL;
16701 }
16702
16703
16704 SWIGINTERN PyObject *_wrap_DirDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16705 PyObject *resultobj = 0;
16706 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16707 long result;
16708 void *argp1 = 0 ;
16709 int res1 = 0 ;
16710 PyObject *swig_obj[1] ;
16711
16712 if (!args) SWIG_fail;
16713 swig_obj[0] = args;
16714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16715 if (!SWIG_IsOK(res1)) {
16716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetStyle" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16717 }
16718 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16719 {
16720 PyThreadState* __tstate = wxPyBeginAllowThreads();
16721 result = (long)(arg1)->GetStyle();
16722 wxPyEndAllowThreads(__tstate);
16723 if (PyErr_Occurred()) SWIG_fail;
16724 }
16725 resultobj = SWIG_From_long(static_cast< long >(result));
16726 return resultobj;
16727 fail:
16728 return NULL;
16729 }
16730
16731
16732 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16733 PyObject *resultobj = 0;
16734 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16735 wxString *arg2 = 0 ;
16736 void *argp1 = 0 ;
16737 int res1 = 0 ;
16738 bool temp2 = false ;
16739 PyObject * obj0 = 0 ;
16740 PyObject * obj1 = 0 ;
16741 char * kwnames[] = {
16742 (char *) "self",(char *) "message", NULL
16743 };
16744
16745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16747 if (!SWIG_IsOK(res1)) {
16748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16749 }
16750 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16751 {
16752 arg2 = wxString_in_helper(obj1);
16753 if (arg2 == NULL) SWIG_fail;
16754 temp2 = true;
16755 }
16756 {
16757 PyThreadState* __tstate = wxPyBeginAllowThreads();
16758 (arg1)->SetMessage((wxString const &)*arg2);
16759 wxPyEndAllowThreads(__tstate);
16760 if (PyErr_Occurred()) SWIG_fail;
16761 }
16762 resultobj = SWIG_Py_Void();
16763 {
16764 if (temp2)
16765 delete arg2;
16766 }
16767 return resultobj;
16768 fail:
16769 {
16770 if (temp2)
16771 delete arg2;
16772 }
16773 return NULL;
16774 }
16775
16776
16777 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16778 PyObject *resultobj = 0;
16779 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16780 wxString *arg2 = 0 ;
16781 void *argp1 = 0 ;
16782 int res1 = 0 ;
16783 bool temp2 = false ;
16784 PyObject * obj0 = 0 ;
16785 PyObject * obj1 = 0 ;
16786 char * kwnames[] = {
16787 (char *) "self",(char *) "path", NULL
16788 };
16789
16790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16792 if (!SWIG_IsOK(res1)) {
16793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16794 }
16795 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16796 {
16797 arg2 = wxString_in_helper(obj1);
16798 if (arg2 == NULL) SWIG_fail;
16799 temp2 = true;
16800 }
16801 {
16802 PyThreadState* __tstate = wxPyBeginAllowThreads();
16803 (arg1)->SetPath((wxString const &)*arg2);
16804 wxPyEndAllowThreads(__tstate);
16805 if (PyErr_Occurred()) SWIG_fail;
16806 }
16807 resultobj = SWIG_Py_Void();
16808 {
16809 if (temp2)
16810 delete arg2;
16811 }
16812 return resultobj;
16813 fail:
16814 {
16815 if (temp2)
16816 delete arg2;
16817 }
16818 return NULL;
16819 }
16820
16821
16822 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16823 PyObject *obj;
16824 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16825 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16826 return SWIG_Py_Void();
16827 }
16828
16829 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16830 return SWIG_Python_InitShadowInstance(args);
16831 }
16832
16833 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16834 PyObject *resultobj = 0;
16835 wxWindow *arg1 = (wxWindow *) 0 ;
16836 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16837 wxString *arg2 = (wxString *) &arg2_defvalue ;
16838 wxString const &arg3_defvalue = wxPyEmptyString ;
16839 wxString *arg3 = (wxString *) &arg3_defvalue ;
16840 wxString const &arg4_defvalue = wxPyEmptyString ;
16841 wxString *arg4 = (wxString *) &arg4_defvalue ;
16842 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16843 wxString *arg5 = (wxString *) &arg5_defvalue ;
16844 long arg6 = (long) 0 ;
16845 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16846 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16847 wxFileDialog *result = 0 ;
16848 void *argp1 = 0 ;
16849 int res1 = 0 ;
16850 bool temp2 = false ;
16851 bool temp3 = false ;
16852 bool temp4 = false ;
16853 bool temp5 = false ;
16854 long val6 ;
16855 int ecode6 = 0 ;
16856 wxPoint temp7 ;
16857 PyObject * obj0 = 0 ;
16858 PyObject * obj1 = 0 ;
16859 PyObject * obj2 = 0 ;
16860 PyObject * obj3 = 0 ;
16861 PyObject * obj4 = 0 ;
16862 PyObject * obj5 = 0 ;
16863 PyObject * obj6 = 0 ;
16864 char * kwnames[] = {
16865 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16866 };
16867
16868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16870 if (!SWIG_IsOK(res1)) {
16871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16872 }
16873 arg1 = reinterpret_cast< wxWindow * >(argp1);
16874 if (obj1) {
16875 {
16876 arg2 = wxString_in_helper(obj1);
16877 if (arg2 == NULL) SWIG_fail;
16878 temp2 = true;
16879 }
16880 }
16881 if (obj2) {
16882 {
16883 arg3 = wxString_in_helper(obj2);
16884 if (arg3 == NULL) SWIG_fail;
16885 temp3 = true;
16886 }
16887 }
16888 if (obj3) {
16889 {
16890 arg4 = wxString_in_helper(obj3);
16891 if (arg4 == NULL) SWIG_fail;
16892 temp4 = true;
16893 }
16894 }
16895 if (obj4) {
16896 {
16897 arg5 = wxString_in_helper(obj4);
16898 if (arg5 == NULL) SWIG_fail;
16899 temp5 = true;
16900 }
16901 }
16902 if (obj5) {
16903 ecode6 = SWIG_AsVal_long(obj5, &val6);
16904 if (!SWIG_IsOK(ecode6)) {
16905 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16906 }
16907 arg6 = static_cast< long >(val6);
16908 }
16909 if (obj6) {
16910 {
16911 arg7 = &temp7;
16912 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
16913 }
16914 }
16915 {
16916 if (!wxPyCheckForApp()) SWIG_fail;
16917 PyThreadState* __tstate = wxPyBeginAllowThreads();
16918 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
16919 wxPyEndAllowThreads(__tstate);
16920 if (PyErr_Occurred()) SWIG_fail;
16921 }
16922 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
16923 {
16924 if (temp2)
16925 delete arg2;
16926 }
16927 {
16928 if (temp3)
16929 delete arg3;
16930 }
16931 {
16932 if (temp4)
16933 delete arg4;
16934 }
16935 {
16936 if (temp5)
16937 delete arg5;
16938 }
16939 return resultobj;
16940 fail:
16941 {
16942 if (temp2)
16943 delete arg2;
16944 }
16945 {
16946 if (temp3)
16947 delete arg3;
16948 }
16949 {
16950 if (temp4)
16951 delete arg4;
16952 }
16953 {
16954 if (temp5)
16955 delete arg5;
16956 }
16957 return NULL;
16958 }
16959
16960
16961 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16962 PyObject *resultobj = 0;
16963 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16964 wxString *arg2 = 0 ;
16965 void *argp1 = 0 ;
16966 int res1 = 0 ;
16967 bool temp2 = false ;
16968 PyObject * obj0 = 0 ;
16969 PyObject * obj1 = 0 ;
16970 char * kwnames[] = {
16971 (char *) "self",(char *) "message", NULL
16972 };
16973
16974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16976 if (!SWIG_IsOK(res1)) {
16977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16978 }
16979 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16980 {
16981 arg2 = wxString_in_helper(obj1);
16982 if (arg2 == NULL) SWIG_fail;
16983 temp2 = true;
16984 }
16985 {
16986 PyThreadState* __tstate = wxPyBeginAllowThreads();
16987 (arg1)->SetMessage((wxString const &)*arg2);
16988 wxPyEndAllowThreads(__tstate);
16989 if (PyErr_Occurred()) SWIG_fail;
16990 }
16991 resultobj = SWIG_Py_Void();
16992 {
16993 if (temp2)
16994 delete arg2;
16995 }
16996 return resultobj;
16997 fail:
16998 {
16999 if (temp2)
17000 delete arg2;
17001 }
17002 return NULL;
17003 }
17004
17005
17006 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17007 PyObject *resultobj = 0;
17008 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17009 wxString *arg2 = 0 ;
17010 void *argp1 = 0 ;
17011 int res1 = 0 ;
17012 bool temp2 = false ;
17013 PyObject * obj0 = 0 ;
17014 PyObject * obj1 = 0 ;
17015 char * kwnames[] = {
17016 (char *) "self",(char *) "path", NULL
17017 };
17018
17019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17021 if (!SWIG_IsOK(res1)) {
17022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17023 }
17024 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17025 {
17026 arg2 = wxString_in_helper(obj1);
17027 if (arg2 == NULL) SWIG_fail;
17028 temp2 = true;
17029 }
17030 {
17031 PyThreadState* __tstate = wxPyBeginAllowThreads();
17032 (arg1)->SetPath((wxString const &)*arg2);
17033 wxPyEndAllowThreads(__tstate);
17034 if (PyErr_Occurred()) SWIG_fail;
17035 }
17036 resultobj = SWIG_Py_Void();
17037 {
17038 if (temp2)
17039 delete arg2;
17040 }
17041 return resultobj;
17042 fail:
17043 {
17044 if (temp2)
17045 delete arg2;
17046 }
17047 return NULL;
17048 }
17049
17050
17051 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17052 PyObject *resultobj = 0;
17053 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17054 wxString *arg2 = 0 ;
17055 void *argp1 = 0 ;
17056 int res1 = 0 ;
17057 bool temp2 = false ;
17058 PyObject * obj0 = 0 ;
17059 PyObject * obj1 = 0 ;
17060 char * kwnames[] = {
17061 (char *) "self",(char *) "dir", NULL
17062 };
17063
17064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17066 if (!SWIG_IsOK(res1)) {
17067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17068 }
17069 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17070 {
17071 arg2 = wxString_in_helper(obj1);
17072 if (arg2 == NULL) SWIG_fail;
17073 temp2 = true;
17074 }
17075 {
17076 PyThreadState* __tstate = wxPyBeginAllowThreads();
17077 (arg1)->SetDirectory((wxString const &)*arg2);
17078 wxPyEndAllowThreads(__tstate);
17079 if (PyErr_Occurred()) SWIG_fail;
17080 }
17081 resultobj = SWIG_Py_Void();
17082 {
17083 if (temp2)
17084 delete arg2;
17085 }
17086 return resultobj;
17087 fail:
17088 {
17089 if (temp2)
17090 delete arg2;
17091 }
17092 return NULL;
17093 }
17094
17095
17096 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17097 PyObject *resultobj = 0;
17098 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17099 wxString *arg2 = 0 ;
17100 void *argp1 = 0 ;
17101 int res1 = 0 ;
17102 bool temp2 = false ;
17103 PyObject * obj0 = 0 ;
17104 PyObject * obj1 = 0 ;
17105 char * kwnames[] = {
17106 (char *) "self",(char *) "name", NULL
17107 };
17108
17109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17111 if (!SWIG_IsOK(res1)) {
17112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17113 }
17114 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17115 {
17116 arg2 = wxString_in_helper(obj1);
17117 if (arg2 == NULL) SWIG_fail;
17118 temp2 = true;
17119 }
17120 {
17121 PyThreadState* __tstate = wxPyBeginAllowThreads();
17122 (arg1)->SetFilename((wxString const &)*arg2);
17123 wxPyEndAllowThreads(__tstate);
17124 if (PyErr_Occurred()) SWIG_fail;
17125 }
17126 resultobj = SWIG_Py_Void();
17127 {
17128 if (temp2)
17129 delete arg2;
17130 }
17131 return resultobj;
17132 fail:
17133 {
17134 if (temp2)
17135 delete arg2;
17136 }
17137 return NULL;
17138 }
17139
17140
17141 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17142 PyObject *resultobj = 0;
17143 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17144 wxString *arg2 = 0 ;
17145 void *argp1 = 0 ;
17146 int res1 = 0 ;
17147 bool temp2 = false ;
17148 PyObject * obj0 = 0 ;
17149 PyObject * obj1 = 0 ;
17150 char * kwnames[] = {
17151 (char *) "self",(char *) "wildCard", NULL
17152 };
17153
17154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17156 if (!SWIG_IsOK(res1)) {
17157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17158 }
17159 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17160 {
17161 arg2 = wxString_in_helper(obj1);
17162 if (arg2 == NULL) SWIG_fail;
17163 temp2 = true;
17164 }
17165 {
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 (arg1)->SetWildcard((wxString const &)*arg2);
17168 wxPyEndAllowThreads(__tstate);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
17171 resultobj = SWIG_Py_Void();
17172 {
17173 if (temp2)
17174 delete arg2;
17175 }
17176 return resultobj;
17177 fail:
17178 {
17179 if (temp2)
17180 delete arg2;
17181 }
17182 return NULL;
17183 }
17184
17185
17186 SWIGINTERN PyObject *_wrap_FileDialog_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17187 PyObject *resultobj = 0;
17188 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17189 long arg2 ;
17190 void *argp1 = 0 ;
17191 int res1 = 0 ;
17192 long val2 ;
17193 int ecode2 = 0 ;
17194 PyObject * obj0 = 0 ;
17195 PyObject * obj1 = 0 ;
17196 char * kwnames[] = {
17197 (char *) "self",(char *) "style", NULL
17198 };
17199
17200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",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_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17204 }
17205 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17206 ecode2 = SWIG_AsVal_long(obj1, &val2);
17207 if (!SWIG_IsOK(ecode2)) {
17208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17209 }
17210 arg2 = static_cast< long >(val2);
17211 {
17212 PyThreadState* __tstate = wxPyBeginAllowThreads();
17213 (arg1)->SetStyle(arg2);
17214 wxPyEndAllowThreads(__tstate);
17215 if (PyErr_Occurred()) SWIG_fail;
17216 }
17217 resultobj = SWIG_Py_Void();
17218 return resultobj;
17219 fail:
17220 return NULL;
17221 }
17222
17223
17224 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17225 PyObject *resultobj = 0;
17226 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17227 int arg2 ;
17228 void *argp1 = 0 ;
17229 int res1 = 0 ;
17230 int val2 ;
17231 int ecode2 = 0 ;
17232 PyObject * obj0 = 0 ;
17233 PyObject * obj1 = 0 ;
17234 char * kwnames[] = {
17235 (char *) "self",(char *) "filterIndex", NULL
17236 };
17237
17238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17240 if (!SWIG_IsOK(res1)) {
17241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17242 }
17243 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17244 ecode2 = SWIG_AsVal_int(obj1, &val2);
17245 if (!SWIG_IsOK(ecode2)) {
17246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17247 }
17248 arg2 = static_cast< int >(val2);
17249 {
17250 PyThreadState* __tstate = wxPyBeginAllowThreads();
17251 (arg1)->SetFilterIndex(arg2);
17252 wxPyEndAllowThreads(__tstate);
17253 if (PyErr_Occurred()) SWIG_fail;
17254 }
17255 resultobj = SWIG_Py_Void();
17256 return resultobj;
17257 fail:
17258 return NULL;
17259 }
17260
17261
17262 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17263 PyObject *resultobj = 0;
17264 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17265 wxString result;
17266 void *argp1 = 0 ;
17267 int res1 = 0 ;
17268 PyObject *swig_obj[1] ;
17269
17270 if (!args) SWIG_fail;
17271 swig_obj[0] = args;
17272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17273 if (!SWIG_IsOK(res1)) {
17274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17275 }
17276 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17277 {
17278 PyThreadState* __tstate = wxPyBeginAllowThreads();
17279 result = ((wxFileDialog const *)arg1)->GetMessage();
17280 wxPyEndAllowThreads(__tstate);
17281 if (PyErr_Occurred()) SWIG_fail;
17282 }
17283 {
17284 #if wxUSE_UNICODE
17285 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17286 #else
17287 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17288 #endif
17289 }
17290 return resultobj;
17291 fail:
17292 return NULL;
17293 }
17294
17295
17296 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17297 PyObject *resultobj = 0;
17298 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17299 wxString result;
17300 void *argp1 = 0 ;
17301 int res1 = 0 ;
17302 PyObject *swig_obj[1] ;
17303
17304 if (!args) SWIG_fail;
17305 swig_obj[0] = args;
17306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17307 if (!SWIG_IsOK(res1)) {
17308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17309 }
17310 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17311 {
17312 PyThreadState* __tstate = wxPyBeginAllowThreads();
17313 result = ((wxFileDialog const *)arg1)->GetPath();
17314 wxPyEndAllowThreads(__tstate);
17315 if (PyErr_Occurred()) SWIG_fail;
17316 }
17317 {
17318 #if wxUSE_UNICODE
17319 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17320 #else
17321 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17322 #endif
17323 }
17324 return resultobj;
17325 fail:
17326 return NULL;
17327 }
17328
17329
17330 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17331 PyObject *resultobj = 0;
17332 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17333 wxString result;
17334 void *argp1 = 0 ;
17335 int res1 = 0 ;
17336 PyObject *swig_obj[1] ;
17337
17338 if (!args) SWIG_fail;
17339 swig_obj[0] = args;
17340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17341 if (!SWIG_IsOK(res1)) {
17342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17343 }
17344 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17345 {
17346 PyThreadState* __tstate = wxPyBeginAllowThreads();
17347 result = ((wxFileDialog const *)arg1)->GetDirectory();
17348 wxPyEndAllowThreads(__tstate);
17349 if (PyErr_Occurred()) SWIG_fail;
17350 }
17351 {
17352 #if wxUSE_UNICODE
17353 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17354 #else
17355 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17356 #endif
17357 }
17358 return resultobj;
17359 fail:
17360 return NULL;
17361 }
17362
17363
17364 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17365 PyObject *resultobj = 0;
17366 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17367 wxString result;
17368 void *argp1 = 0 ;
17369 int res1 = 0 ;
17370 PyObject *swig_obj[1] ;
17371
17372 if (!args) SWIG_fail;
17373 swig_obj[0] = args;
17374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17375 if (!SWIG_IsOK(res1)) {
17376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17377 }
17378 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17379 {
17380 PyThreadState* __tstate = wxPyBeginAllowThreads();
17381 result = ((wxFileDialog const *)arg1)->GetFilename();
17382 wxPyEndAllowThreads(__tstate);
17383 if (PyErr_Occurred()) SWIG_fail;
17384 }
17385 {
17386 #if wxUSE_UNICODE
17387 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17388 #else
17389 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17390 #endif
17391 }
17392 return resultobj;
17393 fail:
17394 return NULL;
17395 }
17396
17397
17398 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17399 PyObject *resultobj = 0;
17400 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17401 wxString result;
17402 void *argp1 = 0 ;
17403 int res1 = 0 ;
17404 PyObject *swig_obj[1] ;
17405
17406 if (!args) SWIG_fail;
17407 swig_obj[0] = args;
17408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17409 if (!SWIG_IsOK(res1)) {
17410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17411 }
17412 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17413 {
17414 PyThreadState* __tstate = wxPyBeginAllowThreads();
17415 result = ((wxFileDialog const *)arg1)->GetWildcard();
17416 wxPyEndAllowThreads(__tstate);
17417 if (PyErr_Occurred()) SWIG_fail;
17418 }
17419 {
17420 #if wxUSE_UNICODE
17421 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17422 #else
17423 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17424 #endif
17425 }
17426 return resultobj;
17427 fail:
17428 return NULL;
17429 }
17430
17431
17432 SWIGINTERN PyObject *_wrap_FileDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17433 PyObject *resultobj = 0;
17434 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17435 long result;
17436 void *argp1 = 0 ;
17437 int res1 = 0 ;
17438 PyObject *swig_obj[1] ;
17439
17440 if (!args) SWIG_fail;
17441 swig_obj[0] = args;
17442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17443 if (!SWIG_IsOK(res1)) {
17444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17445 }
17446 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17447 {
17448 PyThreadState* __tstate = wxPyBeginAllowThreads();
17449 result = (long)((wxFileDialog const *)arg1)->GetStyle();
17450 wxPyEndAllowThreads(__tstate);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
17453 resultobj = SWIG_From_long(static_cast< long >(result));
17454 return resultobj;
17455 fail:
17456 return NULL;
17457 }
17458
17459
17460 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17461 PyObject *resultobj = 0;
17462 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17463 int result;
17464 void *argp1 = 0 ;
17465 int res1 = 0 ;
17466 PyObject *swig_obj[1] ;
17467
17468 if (!args) SWIG_fail;
17469 swig_obj[0] = args;
17470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17471 if (!SWIG_IsOK(res1)) {
17472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17473 }
17474 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17475 {
17476 PyThreadState* __tstate = wxPyBeginAllowThreads();
17477 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17478 wxPyEndAllowThreads(__tstate);
17479 if (PyErr_Occurred()) SWIG_fail;
17480 }
17481 resultobj = SWIG_From_int(static_cast< int >(result));
17482 return resultobj;
17483 fail:
17484 return NULL;
17485 }
17486
17487
17488 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17489 PyObject *resultobj = 0;
17490 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17491 PyObject *result = 0 ;
17492 void *argp1 = 0 ;
17493 int res1 = 0 ;
17494 PyObject *swig_obj[1] ;
17495
17496 if (!args) SWIG_fail;
17497 swig_obj[0] = args;
17498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17499 if (!SWIG_IsOK(res1)) {
17500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17501 }
17502 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17503 {
17504 PyThreadState* __tstate = wxPyBeginAllowThreads();
17505 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17506 wxPyEndAllowThreads(__tstate);
17507 if (PyErr_Occurred()) SWIG_fail;
17508 }
17509 resultobj = result;
17510 return resultobj;
17511 fail:
17512 return NULL;
17513 }
17514
17515
17516 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17517 PyObject *resultobj = 0;
17518 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17519 PyObject *result = 0 ;
17520 void *argp1 = 0 ;
17521 int res1 = 0 ;
17522 PyObject *swig_obj[1] ;
17523
17524 if (!args) SWIG_fail;
17525 swig_obj[0] = args;
17526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17527 if (!SWIG_IsOK(res1)) {
17528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17529 }
17530 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17531 {
17532 PyThreadState* __tstate = wxPyBeginAllowThreads();
17533 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17534 wxPyEndAllowThreads(__tstate);
17535 if (PyErr_Occurred()) SWIG_fail;
17536 }
17537 resultobj = result;
17538 return resultobj;
17539 fail:
17540 return NULL;
17541 }
17542
17543
17544 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17545 PyObject *obj;
17546 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17547 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17548 return SWIG_Py_Void();
17549 }
17550
17551 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17552 return SWIG_Python_InitShadowInstance(args);
17553 }
17554
17555 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17556 PyObject *resultobj = 0;
17557 wxWindow *arg1 = (wxWindow *) 0 ;
17558 wxString *arg2 = 0 ;
17559 wxString *arg3 = 0 ;
17560 int arg4 = (int) 0 ;
17561 wxString *arg5 = (wxString *) NULL ;
17562 long arg6 = (long) wxCHOICEDLG_STYLE ;
17563 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17564 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17565 wxMultiChoiceDialog *result = 0 ;
17566 void *argp1 = 0 ;
17567 int res1 = 0 ;
17568 bool temp2 = false ;
17569 bool temp3 = false ;
17570 long val6 ;
17571 int ecode6 = 0 ;
17572 wxPoint temp7 ;
17573 PyObject * obj0 = 0 ;
17574 PyObject * obj1 = 0 ;
17575 PyObject * obj2 = 0 ;
17576 PyObject * obj3 = 0 ;
17577 PyObject * obj4 = 0 ;
17578 PyObject * obj5 = 0 ;
17579 char * kwnames[] = {
17580 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17581 };
17582
17583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17585 if (!SWIG_IsOK(res1)) {
17586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17587 }
17588 arg1 = reinterpret_cast< wxWindow * >(argp1);
17589 {
17590 arg2 = wxString_in_helper(obj1);
17591 if (arg2 == NULL) SWIG_fail;
17592 temp2 = true;
17593 }
17594 {
17595 arg3 = wxString_in_helper(obj2);
17596 if (arg3 == NULL) SWIG_fail;
17597 temp3 = true;
17598 }
17599 if (obj3) {
17600 {
17601 arg4 = PyList_Size(obj3);
17602 arg5 = wxString_LIST_helper(obj3);
17603 if (arg5 == NULL) SWIG_fail;
17604 }
17605 }
17606 if (obj4) {
17607 ecode6 = SWIG_AsVal_long(obj4, &val6);
17608 if (!SWIG_IsOK(ecode6)) {
17609 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17610 }
17611 arg6 = static_cast< long >(val6);
17612 }
17613 if (obj5) {
17614 {
17615 arg7 = &temp7;
17616 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17617 }
17618 }
17619 {
17620 if (!wxPyCheckForApp()) SWIG_fail;
17621 PyThreadState* __tstate = wxPyBeginAllowThreads();
17622 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17623 wxPyEndAllowThreads(__tstate);
17624 if (PyErr_Occurred()) SWIG_fail;
17625 }
17626 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17627 {
17628 if (temp2)
17629 delete arg2;
17630 }
17631 {
17632 if (temp3)
17633 delete arg3;
17634 }
17635 {
17636 if (arg5) delete [] arg5;
17637 }
17638 return resultobj;
17639 fail:
17640 {
17641 if (temp2)
17642 delete arg2;
17643 }
17644 {
17645 if (temp3)
17646 delete arg3;
17647 }
17648 {
17649 if (arg5) delete [] arg5;
17650 }
17651 return NULL;
17652 }
17653
17654
17655 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17656 PyObject *resultobj = 0;
17657 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17658 wxArrayInt *arg2 = 0 ;
17659 void *argp1 = 0 ;
17660 int res1 = 0 ;
17661 bool temp2 = false ;
17662 PyObject * obj0 = 0 ;
17663 PyObject * obj1 = 0 ;
17664 char * kwnames[] = {
17665 (char *) "self",(char *) "selections", NULL
17666 };
17667
17668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17670 if (!SWIG_IsOK(res1)) {
17671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17672 }
17673 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17674 {
17675 if (! PySequence_Check(obj1)) {
17676 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17677 SWIG_fail;
17678 }
17679 arg2 = new wxArrayInt;
17680 temp2 = true;
17681 int i, len=PySequence_Length(obj1);
17682 for (i=0; i<len; i++) {
17683 PyObject* item = PySequence_GetItem(obj1, i);
17684 PyObject* number = PyNumber_Int(item);
17685 arg2->Add(PyInt_AS_LONG(number));
17686 Py_DECREF(item);
17687 Py_DECREF(number);
17688 }
17689 }
17690 {
17691 PyThreadState* __tstate = wxPyBeginAllowThreads();
17692 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17693 wxPyEndAllowThreads(__tstate);
17694 if (PyErr_Occurred()) SWIG_fail;
17695 }
17696 resultobj = SWIG_Py_Void();
17697 {
17698 if (temp2) delete arg2;
17699 }
17700 return resultobj;
17701 fail:
17702 {
17703 if (temp2) delete arg2;
17704 }
17705 return NULL;
17706 }
17707
17708
17709 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17710 PyObject *resultobj = 0;
17711 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17712 PyObject *result = 0 ;
17713 void *argp1 = 0 ;
17714 int res1 = 0 ;
17715 PyObject *swig_obj[1] ;
17716
17717 if (!args) SWIG_fail;
17718 swig_obj[0] = args;
17719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17720 if (!SWIG_IsOK(res1)) {
17721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17722 }
17723 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17724 {
17725 PyThreadState* __tstate = wxPyBeginAllowThreads();
17726 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17727 wxPyEndAllowThreads(__tstate);
17728 if (PyErr_Occurred()) SWIG_fail;
17729 }
17730 resultobj = result;
17731 return resultobj;
17732 fail:
17733 return NULL;
17734 }
17735
17736
17737 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17738 PyObject *obj;
17739 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17740 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17741 return SWIG_Py_Void();
17742 }
17743
17744 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17745 return SWIG_Python_InitShadowInstance(args);
17746 }
17747
17748 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17749 PyObject *resultobj = 0;
17750 wxWindow *arg1 = (wxWindow *) 0 ;
17751 wxString *arg2 = 0 ;
17752 wxString *arg3 = 0 ;
17753 int arg4 ;
17754 wxString *arg5 = (wxString *) 0 ;
17755 long arg6 = (long) wxCHOICEDLG_STYLE ;
17756 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17757 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17758 wxSingleChoiceDialog *result = 0 ;
17759 void *argp1 = 0 ;
17760 int res1 = 0 ;
17761 bool temp2 = false ;
17762 bool temp3 = false ;
17763 long val6 ;
17764 int ecode6 = 0 ;
17765 wxPoint temp7 ;
17766 PyObject * obj0 = 0 ;
17767 PyObject * obj1 = 0 ;
17768 PyObject * obj2 = 0 ;
17769 PyObject * obj3 = 0 ;
17770 PyObject * obj4 = 0 ;
17771 PyObject * obj5 = 0 ;
17772 char * kwnames[] = {
17773 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17774 };
17775
17776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17778 if (!SWIG_IsOK(res1)) {
17779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17780 }
17781 arg1 = reinterpret_cast< wxWindow * >(argp1);
17782 {
17783 arg2 = wxString_in_helper(obj1);
17784 if (arg2 == NULL) SWIG_fail;
17785 temp2 = true;
17786 }
17787 {
17788 arg3 = wxString_in_helper(obj2);
17789 if (arg3 == NULL) SWIG_fail;
17790 temp3 = true;
17791 }
17792 {
17793 arg4 = PyList_Size(obj3);
17794 arg5 = wxString_LIST_helper(obj3);
17795 if (arg5 == NULL) SWIG_fail;
17796 }
17797 if (obj4) {
17798 ecode6 = SWIG_AsVal_long(obj4, &val6);
17799 if (!SWIG_IsOK(ecode6)) {
17800 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17801 }
17802 arg6 = static_cast< long >(val6);
17803 }
17804 if (obj5) {
17805 {
17806 arg7 = &temp7;
17807 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17808 }
17809 }
17810 {
17811 if (!wxPyCheckForApp()) SWIG_fail;
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17814 wxPyEndAllowThreads(__tstate);
17815 if (PyErr_Occurred()) SWIG_fail;
17816 }
17817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17818 {
17819 if (temp2)
17820 delete arg2;
17821 }
17822 {
17823 if (temp3)
17824 delete arg3;
17825 }
17826 {
17827 if (arg5) delete [] arg5;
17828 }
17829 return resultobj;
17830 fail:
17831 {
17832 if (temp2)
17833 delete arg2;
17834 }
17835 {
17836 if (temp3)
17837 delete arg3;
17838 }
17839 {
17840 if (arg5) delete [] arg5;
17841 }
17842 return NULL;
17843 }
17844
17845
17846 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17847 PyObject *resultobj = 0;
17848 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17849 int result;
17850 void *argp1 = 0 ;
17851 int res1 = 0 ;
17852 PyObject *swig_obj[1] ;
17853
17854 if (!args) SWIG_fail;
17855 swig_obj[0] = args;
17856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17857 if (!SWIG_IsOK(res1)) {
17858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17859 }
17860 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17861 {
17862 PyThreadState* __tstate = wxPyBeginAllowThreads();
17863 result = (int)(arg1)->GetSelection();
17864 wxPyEndAllowThreads(__tstate);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 }
17867 resultobj = SWIG_From_int(static_cast< int >(result));
17868 return resultobj;
17869 fail:
17870 return NULL;
17871 }
17872
17873
17874 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17875 PyObject *resultobj = 0;
17876 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17877 wxString result;
17878 void *argp1 = 0 ;
17879 int res1 = 0 ;
17880 PyObject *swig_obj[1] ;
17881
17882 if (!args) SWIG_fail;
17883 swig_obj[0] = args;
17884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17885 if (!SWIG_IsOK(res1)) {
17886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17887 }
17888 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 result = (arg1)->GetStringSelection();
17892 wxPyEndAllowThreads(__tstate);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 }
17895 {
17896 #if wxUSE_UNICODE
17897 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17898 #else
17899 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17900 #endif
17901 }
17902 return resultobj;
17903 fail:
17904 return NULL;
17905 }
17906
17907
17908 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17909 PyObject *resultobj = 0;
17910 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17911 int arg2 ;
17912 void *argp1 = 0 ;
17913 int res1 = 0 ;
17914 int val2 ;
17915 int ecode2 = 0 ;
17916 PyObject * obj0 = 0 ;
17917 PyObject * obj1 = 0 ;
17918 char * kwnames[] = {
17919 (char *) "self",(char *) "sel", NULL
17920 };
17921
17922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17924 if (!SWIG_IsOK(res1)) {
17925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17926 }
17927 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17928 ecode2 = SWIG_AsVal_int(obj1, &val2);
17929 if (!SWIG_IsOK(ecode2)) {
17930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17931 }
17932 arg2 = static_cast< int >(val2);
17933 {
17934 PyThreadState* __tstate = wxPyBeginAllowThreads();
17935 (arg1)->SetSelection(arg2);
17936 wxPyEndAllowThreads(__tstate);
17937 if (PyErr_Occurred()) SWIG_fail;
17938 }
17939 resultobj = SWIG_Py_Void();
17940 return resultobj;
17941 fail:
17942 return NULL;
17943 }
17944
17945
17946 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17947 PyObject *obj;
17948 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17949 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
17950 return SWIG_Py_Void();
17951 }
17952
17953 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17954 return SWIG_Python_InitShadowInstance(args);
17955 }
17956
17957 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17958 PyObject *resultobj = 0;
17959 wxWindow *arg1 = (wxWindow *) 0 ;
17960 wxString *arg2 = 0 ;
17961 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
17962 wxString *arg3 = (wxString *) &arg3_defvalue ;
17963 wxString const &arg4_defvalue = wxPyEmptyString ;
17964 wxString *arg4 = (wxString *) &arg4_defvalue ;
17965 long arg5 = (long) wxTextEntryDialogStyle ;
17966 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17967 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17968 wxTextEntryDialog *result = 0 ;
17969 void *argp1 = 0 ;
17970 int res1 = 0 ;
17971 bool temp2 = false ;
17972 bool temp3 = false ;
17973 bool temp4 = false ;
17974 long val5 ;
17975 int ecode5 = 0 ;
17976 wxPoint temp6 ;
17977 PyObject * obj0 = 0 ;
17978 PyObject * obj1 = 0 ;
17979 PyObject * obj2 = 0 ;
17980 PyObject * obj3 = 0 ;
17981 PyObject * obj4 = 0 ;
17982 PyObject * obj5 = 0 ;
17983 char * kwnames[] = {
17984 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17985 };
17986
17987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17989 if (!SWIG_IsOK(res1)) {
17990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17991 }
17992 arg1 = reinterpret_cast< wxWindow * >(argp1);
17993 {
17994 arg2 = wxString_in_helper(obj1);
17995 if (arg2 == NULL) SWIG_fail;
17996 temp2 = true;
17997 }
17998 if (obj2) {
17999 {
18000 arg3 = wxString_in_helper(obj2);
18001 if (arg3 == NULL) SWIG_fail;
18002 temp3 = true;
18003 }
18004 }
18005 if (obj3) {
18006 {
18007 arg4 = wxString_in_helper(obj3);
18008 if (arg4 == NULL) SWIG_fail;
18009 temp4 = true;
18010 }
18011 }
18012 if (obj4) {
18013 ecode5 = SWIG_AsVal_long(obj4, &val5);
18014 if (!SWIG_IsOK(ecode5)) {
18015 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18016 }
18017 arg5 = static_cast< long >(val5);
18018 }
18019 if (obj5) {
18020 {
18021 arg6 = &temp6;
18022 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18023 }
18024 }
18025 {
18026 if (!wxPyCheckForApp()) SWIG_fail;
18027 PyThreadState* __tstate = wxPyBeginAllowThreads();
18028 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18029 wxPyEndAllowThreads(__tstate);
18030 if (PyErr_Occurred()) SWIG_fail;
18031 }
18032 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18033 {
18034 if (temp2)
18035 delete arg2;
18036 }
18037 {
18038 if (temp3)
18039 delete arg3;
18040 }
18041 {
18042 if (temp4)
18043 delete arg4;
18044 }
18045 return resultobj;
18046 fail:
18047 {
18048 if (temp2)
18049 delete arg2;
18050 }
18051 {
18052 if (temp3)
18053 delete arg3;
18054 }
18055 {
18056 if (temp4)
18057 delete arg4;
18058 }
18059 return NULL;
18060 }
18061
18062
18063 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18064 PyObject *resultobj = 0;
18065 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18066 wxString result;
18067 void *argp1 = 0 ;
18068 int res1 = 0 ;
18069 PyObject *swig_obj[1] ;
18070
18071 if (!args) SWIG_fail;
18072 swig_obj[0] = args;
18073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18074 if (!SWIG_IsOK(res1)) {
18075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18076 }
18077 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18078 {
18079 PyThreadState* __tstate = wxPyBeginAllowThreads();
18080 result = (arg1)->GetValue();
18081 wxPyEndAllowThreads(__tstate);
18082 if (PyErr_Occurred()) SWIG_fail;
18083 }
18084 {
18085 #if wxUSE_UNICODE
18086 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18087 #else
18088 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18089 #endif
18090 }
18091 return resultobj;
18092 fail:
18093 return NULL;
18094 }
18095
18096
18097 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18098 PyObject *resultobj = 0;
18099 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18100 wxString *arg2 = 0 ;
18101 void *argp1 = 0 ;
18102 int res1 = 0 ;
18103 bool temp2 = false ;
18104 PyObject * obj0 = 0 ;
18105 PyObject * obj1 = 0 ;
18106 char * kwnames[] = {
18107 (char *) "self",(char *) "value", NULL
18108 };
18109
18110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18112 if (!SWIG_IsOK(res1)) {
18113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18114 }
18115 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18116 {
18117 arg2 = wxString_in_helper(obj1);
18118 if (arg2 == NULL) SWIG_fail;
18119 temp2 = true;
18120 }
18121 {
18122 PyThreadState* __tstate = wxPyBeginAllowThreads();
18123 (arg1)->SetValue((wxString const &)*arg2);
18124 wxPyEndAllowThreads(__tstate);
18125 if (PyErr_Occurred()) SWIG_fail;
18126 }
18127 resultobj = SWIG_Py_Void();
18128 {
18129 if (temp2)
18130 delete arg2;
18131 }
18132 return resultobj;
18133 fail:
18134 {
18135 if (temp2)
18136 delete arg2;
18137 }
18138 return NULL;
18139 }
18140
18141
18142 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18143 PyObject *obj;
18144 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18145 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18146 return SWIG_Py_Void();
18147 }
18148
18149 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18150 return SWIG_Python_InitShadowInstance(args);
18151 }
18152
18153 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18154 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18155 return 1;
18156 }
18157
18158
18159 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18160 PyObject *pyobj = 0;
18161
18162 {
18163 #if wxUSE_UNICODE
18164 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18165 #else
18166 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18167 #endif
18168 }
18169 return pyobj;
18170 }
18171
18172
18173 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18174 PyObject *resultobj = 0;
18175 wxWindow *arg1 = (wxWindow *) 0 ;
18176 wxString *arg2 = 0 ;
18177 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18178 wxString *arg3 = (wxString *) &arg3_defvalue ;
18179 wxString const &arg4_defvalue = wxPyEmptyString ;
18180 wxString *arg4 = (wxString *) &arg4_defvalue ;
18181 long arg5 = (long) wxTextEntryDialogStyle ;
18182 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18183 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18184 wxPasswordEntryDialog *result = 0 ;
18185 void *argp1 = 0 ;
18186 int res1 = 0 ;
18187 bool temp2 = false ;
18188 bool temp3 = false ;
18189 bool temp4 = false ;
18190 long val5 ;
18191 int ecode5 = 0 ;
18192 wxPoint temp6 ;
18193 PyObject * obj0 = 0 ;
18194 PyObject * obj1 = 0 ;
18195 PyObject * obj2 = 0 ;
18196 PyObject * obj3 = 0 ;
18197 PyObject * obj4 = 0 ;
18198 PyObject * obj5 = 0 ;
18199 char * kwnames[] = {
18200 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18201 };
18202
18203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18205 if (!SWIG_IsOK(res1)) {
18206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18207 }
18208 arg1 = reinterpret_cast< wxWindow * >(argp1);
18209 {
18210 arg2 = wxString_in_helper(obj1);
18211 if (arg2 == NULL) SWIG_fail;
18212 temp2 = true;
18213 }
18214 if (obj2) {
18215 {
18216 arg3 = wxString_in_helper(obj2);
18217 if (arg3 == NULL) SWIG_fail;
18218 temp3 = true;
18219 }
18220 }
18221 if (obj3) {
18222 {
18223 arg4 = wxString_in_helper(obj3);
18224 if (arg4 == NULL) SWIG_fail;
18225 temp4 = true;
18226 }
18227 }
18228 if (obj4) {
18229 ecode5 = SWIG_AsVal_long(obj4, &val5);
18230 if (!SWIG_IsOK(ecode5)) {
18231 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18232 }
18233 arg5 = static_cast< long >(val5);
18234 }
18235 if (obj5) {
18236 {
18237 arg6 = &temp6;
18238 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18239 }
18240 }
18241 {
18242 PyThreadState* __tstate = wxPyBeginAllowThreads();
18243 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18244 wxPyEndAllowThreads(__tstate);
18245 if (PyErr_Occurred()) SWIG_fail;
18246 }
18247 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18248 {
18249 if (temp2)
18250 delete arg2;
18251 }
18252 {
18253 if (temp3)
18254 delete arg3;
18255 }
18256 {
18257 if (temp4)
18258 delete arg4;
18259 }
18260 return resultobj;
18261 fail:
18262 {
18263 if (temp2)
18264 delete arg2;
18265 }
18266 {
18267 if (temp3)
18268 delete arg3;
18269 }
18270 {
18271 if (temp4)
18272 delete arg4;
18273 }
18274 return NULL;
18275 }
18276
18277
18278 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18279 PyObject *obj;
18280 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18281 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18282 return SWIG_Py_Void();
18283 }
18284
18285 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18286 return SWIG_Python_InitShadowInstance(args);
18287 }
18288
18289 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18290 PyObject *resultobj = 0;
18291 wxFontData *result = 0 ;
18292
18293 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18294 {
18295 PyThreadState* __tstate = wxPyBeginAllowThreads();
18296 result = (wxFontData *)new wxFontData();
18297 wxPyEndAllowThreads(__tstate);
18298 if (PyErr_Occurred()) SWIG_fail;
18299 }
18300 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18301 return resultobj;
18302 fail:
18303 return NULL;
18304 }
18305
18306
18307 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18308 PyObject *resultobj = 0;
18309 wxFontData *arg1 = (wxFontData *) 0 ;
18310 void *argp1 = 0 ;
18311 int res1 = 0 ;
18312 PyObject *swig_obj[1] ;
18313
18314 if (!args) SWIG_fail;
18315 swig_obj[0] = args;
18316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18317 if (!SWIG_IsOK(res1)) {
18318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18319 }
18320 arg1 = reinterpret_cast< wxFontData * >(argp1);
18321 {
18322 PyThreadState* __tstate = wxPyBeginAllowThreads();
18323 delete arg1;
18324
18325 wxPyEndAllowThreads(__tstate);
18326 if (PyErr_Occurred()) SWIG_fail;
18327 }
18328 resultobj = SWIG_Py_Void();
18329 return resultobj;
18330 fail:
18331 return NULL;
18332 }
18333
18334
18335 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18336 PyObject *resultobj = 0;
18337 wxFontData *arg1 = (wxFontData *) 0 ;
18338 bool arg2 ;
18339 void *argp1 = 0 ;
18340 int res1 = 0 ;
18341 bool val2 ;
18342 int ecode2 = 0 ;
18343 PyObject * obj0 = 0 ;
18344 PyObject * obj1 = 0 ;
18345 char * kwnames[] = {
18346 (char *) "self",(char *) "enable", NULL
18347 };
18348
18349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18351 if (!SWIG_IsOK(res1)) {
18352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18353 }
18354 arg1 = reinterpret_cast< wxFontData * >(argp1);
18355 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18356 if (!SWIG_IsOK(ecode2)) {
18357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18358 }
18359 arg2 = static_cast< bool >(val2);
18360 {
18361 PyThreadState* __tstate = wxPyBeginAllowThreads();
18362 (arg1)->EnableEffects(arg2);
18363 wxPyEndAllowThreads(__tstate);
18364 if (PyErr_Occurred()) SWIG_fail;
18365 }
18366 resultobj = SWIG_Py_Void();
18367 return resultobj;
18368 fail:
18369 return NULL;
18370 }
18371
18372
18373 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18374 PyObject *resultobj = 0;
18375 wxFontData *arg1 = (wxFontData *) 0 ;
18376 bool result;
18377 void *argp1 = 0 ;
18378 int res1 = 0 ;
18379 PyObject *swig_obj[1] ;
18380
18381 if (!args) SWIG_fail;
18382 swig_obj[0] = args;
18383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18384 if (!SWIG_IsOK(res1)) {
18385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18386 }
18387 arg1 = reinterpret_cast< wxFontData * >(argp1);
18388 {
18389 PyThreadState* __tstate = wxPyBeginAllowThreads();
18390 result = (bool)(arg1)->GetAllowSymbols();
18391 wxPyEndAllowThreads(__tstate);
18392 if (PyErr_Occurred()) SWIG_fail;
18393 }
18394 {
18395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18396 }
18397 return resultobj;
18398 fail:
18399 return NULL;
18400 }
18401
18402
18403 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18404 PyObject *resultobj = 0;
18405 wxFontData *arg1 = (wxFontData *) 0 ;
18406 wxColour result;
18407 void *argp1 = 0 ;
18408 int res1 = 0 ;
18409 PyObject *swig_obj[1] ;
18410
18411 if (!args) SWIG_fail;
18412 swig_obj[0] = args;
18413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18414 if (!SWIG_IsOK(res1)) {
18415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18416 }
18417 arg1 = reinterpret_cast< wxFontData * >(argp1);
18418 {
18419 PyThreadState* __tstate = wxPyBeginAllowThreads();
18420 result = (arg1)->GetColour();
18421 wxPyEndAllowThreads(__tstate);
18422 if (PyErr_Occurred()) SWIG_fail;
18423 }
18424 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18425 return resultobj;
18426 fail:
18427 return NULL;
18428 }
18429
18430
18431 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18432 PyObject *resultobj = 0;
18433 wxFontData *arg1 = (wxFontData *) 0 ;
18434 wxFont result;
18435 void *argp1 = 0 ;
18436 int res1 = 0 ;
18437 PyObject *swig_obj[1] ;
18438
18439 if (!args) SWIG_fail;
18440 swig_obj[0] = args;
18441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18442 if (!SWIG_IsOK(res1)) {
18443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18444 }
18445 arg1 = reinterpret_cast< wxFontData * >(argp1);
18446 {
18447 PyThreadState* __tstate = wxPyBeginAllowThreads();
18448 result = (arg1)->GetChosenFont();
18449 wxPyEndAllowThreads(__tstate);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
18452 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18453 return resultobj;
18454 fail:
18455 return NULL;
18456 }
18457
18458
18459 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18460 PyObject *resultobj = 0;
18461 wxFontData *arg1 = (wxFontData *) 0 ;
18462 bool result;
18463 void *argp1 = 0 ;
18464 int res1 = 0 ;
18465 PyObject *swig_obj[1] ;
18466
18467 if (!args) SWIG_fail;
18468 swig_obj[0] = args;
18469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18470 if (!SWIG_IsOK(res1)) {
18471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18472 }
18473 arg1 = reinterpret_cast< wxFontData * >(argp1);
18474 {
18475 PyThreadState* __tstate = wxPyBeginAllowThreads();
18476 result = (bool)(arg1)->GetEnableEffects();
18477 wxPyEndAllowThreads(__tstate);
18478 if (PyErr_Occurred()) SWIG_fail;
18479 }
18480 {
18481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18482 }
18483 return resultobj;
18484 fail:
18485 return NULL;
18486 }
18487
18488
18489 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18490 PyObject *resultobj = 0;
18491 wxFontData *arg1 = (wxFontData *) 0 ;
18492 wxFont result;
18493 void *argp1 = 0 ;
18494 int res1 = 0 ;
18495 PyObject *swig_obj[1] ;
18496
18497 if (!args) SWIG_fail;
18498 swig_obj[0] = args;
18499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18500 if (!SWIG_IsOK(res1)) {
18501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18502 }
18503 arg1 = reinterpret_cast< wxFontData * >(argp1);
18504 {
18505 PyThreadState* __tstate = wxPyBeginAllowThreads();
18506 result = (arg1)->GetInitialFont();
18507 wxPyEndAllowThreads(__tstate);
18508 if (PyErr_Occurred()) SWIG_fail;
18509 }
18510 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18511 return resultobj;
18512 fail:
18513 return NULL;
18514 }
18515
18516
18517 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18518 PyObject *resultobj = 0;
18519 wxFontData *arg1 = (wxFontData *) 0 ;
18520 bool result;
18521 void *argp1 = 0 ;
18522 int res1 = 0 ;
18523 PyObject *swig_obj[1] ;
18524
18525 if (!args) SWIG_fail;
18526 swig_obj[0] = args;
18527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18528 if (!SWIG_IsOK(res1)) {
18529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18530 }
18531 arg1 = reinterpret_cast< wxFontData * >(argp1);
18532 {
18533 PyThreadState* __tstate = wxPyBeginAllowThreads();
18534 result = (bool)(arg1)->GetShowHelp();
18535 wxPyEndAllowThreads(__tstate);
18536 if (PyErr_Occurred()) SWIG_fail;
18537 }
18538 {
18539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18540 }
18541 return resultobj;
18542 fail:
18543 return NULL;
18544 }
18545
18546
18547 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18548 PyObject *resultobj = 0;
18549 wxFontData *arg1 = (wxFontData *) 0 ;
18550 bool arg2 ;
18551 void *argp1 = 0 ;
18552 int res1 = 0 ;
18553 bool val2 ;
18554 int ecode2 = 0 ;
18555 PyObject * obj0 = 0 ;
18556 PyObject * obj1 = 0 ;
18557 char * kwnames[] = {
18558 (char *) "self",(char *) "allowSymbols", NULL
18559 };
18560
18561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18563 if (!SWIG_IsOK(res1)) {
18564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18565 }
18566 arg1 = reinterpret_cast< wxFontData * >(argp1);
18567 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18568 if (!SWIG_IsOK(ecode2)) {
18569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18570 }
18571 arg2 = static_cast< bool >(val2);
18572 {
18573 PyThreadState* __tstate = wxPyBeginAllowThreads();
18574 (arg1)->SetAllowSymbols(arg2);
18575 wxPyEndAllowThreads(__tstate);
18576 if (PyErr_Occurred()) SWIG_fail;
18577 }
18578 resultobj = SWIG_Py_Void();
18579 return resultobj;
18580 fail:
18581 return NULL;
18582 }
18583
18584
18585 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18586 PyObject *resultobj = 0;
18587 wxFontData *arg1 = (wxFontData *) 0 ;
18588 wxFont *arg2 = 0 ;
18589 void *argp1 = 0 ;
18590 int res1 = 0 ;
18591 void *argp2 = 0 ;
18592 int res2 = 0 ;
18593 PyObject * obj0 = 0 ;
18594 PyObject * obj1 = 0 ;
18595 char * kwnames[] = {
18596 (char *) "self",(char *) "font", NULL
18597 };
18598
18599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18601 if (!SWIG_IsOK(res1)) {
18602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18603 }
18604 arg1 = reinterpret_cast< wxFontData * >(argp1);
18605 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18606 if (!SWIG_IsOK(res2)) {
18607 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18608 }
18609 if (!argp2) {
18610 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18611 }
18612 arg2 = reinterpret_cast< wxFont * >(argp2);
18613 {
18614 PyThreadState* __tstate = wxPyBeginAllowThreads();
18615 (arg1)->SetChosenFont((wxFont const &)*arg2);
18616 wxPyEndAllowThreads(__tstate);
18617 if (PyErr_Occurred()) SWIG_fail;
18618 }
18619 resultobj = SWIG_Py_Void();
18620 return resultobj;
18621 fail:
18622 return NULL;
18623 }
18624
18625
18626 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18627 PyObject *resultobj = 0;
18628 wxFontData *arg1 = (wxFontData *) 0 ;
18629 wxColour *arg2 = 0 ;
18630 void *argp1 = 0 ;
18631 int res1 = 0 ;
18632 wxColour temp2 ;
18633 PyObject * obj0 = 0 ;
18634 PyObject * obj1 = 0 ;
18635 char * kwnames[] = {
18636 (char *) "self",(char *) "colour", NULL
18637 };
18638
18639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18641 if (!SWIG_IsOK(res1)) {
18642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18643 }
18644 arg1 = reinterpret_cast< wxFontData * >(argp1);
18645 {
18646 arg2 = &temp2;
18647 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18648 }
18649 {
18650 PyThreadState* __tstate = wxPyBeginAllowThreads();
18651 (arg1)->SetColour((wxColour const &)*arg2);
18652 wxPyEndAllowThreads(__tstate);
18653 if (PyErr_Occurred()) SWIG_fail;
18654 }
18655 resultobj = SWIG_Py_Void();
18656 return resultobj;
18657 fail:
18658 return NULL;
18659 }
18660
18661
18662 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18663 PyObject *resultobj = 0;
18664 wxFontData *arg1 = (wxFontData *) 0 ;
18665 wxFont *arg2 = 0 ;
18666 void *argp1 = 0 ;
18667 int res1 = 0 ;
18668 void *argp2 = 0 ;
18669 int res2 = 0 ;
18670 PyObject * obj0 = 0 ;
18671 PyObject * obj1 = 0 ;
18672 char * kwnames[] = {
18673 (char *) "self",(char *) "font", NULL
18674 };
18675
18676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18678 if (!SWIG_IsOK(res1)) {
18679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18680 }
18681 arg1 = reinterpret_cast< wxFontData * >(argp1);
18682 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18683 if (!SWIG_IsOK(res2)) {
18684 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18685 }
18686 if (!argp2) {
18687 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18688 }
18689 arg2 = reinterpret_cast< wxFont * >(argp2);
18690 {
18691 PyThreadState* __tstate = wxPyBeginAllowThreads();
18692 (arg1)->SetInitialFont((wxFont const &)*arg2);
18693 wxPyEndAllowThreads(__tstate);
18694 if (PyErr_Occurred()) SWIG_fail;
18695 }
18696 resultobj = SWIG_Py_Void();
18697 return resultobj;
18698 fail:
18699 return NULL;
18700 }
18701
18702
18703 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18704 PyObject *resultobj = 0;
18705 wxFontData *arg1 = (wxFontData *) 0 ;
18706 int arg2 ;
18707 int arg3 ;
18708 void *argp1 = 0 ;
18709 int res1 = 0 ;
18710 int val2 ;
18711 int ecode2 = 0 ;
18712 int val3 ;
18713 int ecode3 = 0 ;
18714 PyObject * obj0 = 0 ;
18715 PyObject * obj1 = 0 ;
18716 PyObject * obj2 = 0 ;
18717 char * kwnames[] = {
18718 (char *) "self",(char *) "min",(char *) "max", NULL
18719 };
18720
18721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18723 if (!SWIG_IsOK(res1)) {
18724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18725 }
18726 arg1 = reinterpret_cast< wxFontData * >(argp1);
18727 ecode2 = SWIG_AsVal_int(obj1, &val2);
18728 if (!SWIG_IsOK(ecode2)) {
18729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18730 }
18731 arg2 = static_cast< int >(val2);
18732 ecode3 = SWIG_AsVal_int(obj2, &val3);
18733 if (!SWIG_IsOK(ecode3)) {
18734 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18735 }
18736 arg3 = static_cast< int >(val3);
18737 {
18738 PyThreadState* __tstate = wxPyBeginAllowThreads();
18739 (arg1)->SetRange(arg2,arg3);
18740 wxPyEndAllowThreads(__tstate);
18741 if (PyErr_Occurred()) SWIG_fail;
18742 }
18743 resultobj = SWIG_Py_Void();
18744 return resultobj;
18745 fail:
18746 return NULL;
18747 }
18748
18749
18750 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18751 PyObject *resultobj = 0;
18752 wxFontData *arg1 = (wxFontData *) 0 ;
18753 bool arg2 ;
18754 void *argp1 = 0 ;
18755 int res1 = 0 ;
18756 bool val2 ;
18757 int ecode2 = 0 ;
18758 PyObject * obj0 = 0 ;
18759 PyObject * obj1 = 0 ;
18760 char * kwnames[] = {
18761 (char *) "self",(char *) "showHelp", NULL
18762 };
18763
18764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18766 if (!SWIG_IsOK(res1)) {
18767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18768 }
18769 arg1 = reinterpret_cast< wxFontData * >(argp1);
18770 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18771 if (!SWIG_IsOK(ecode2)) {
18772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18773 }
18774 arg2 = static_cast< bool >(val2);
18775 {
18776 PyThreadState* __tstate = wxPyBeginAllowThreads();
18777 (arg1)->SetShowHelp(arg2);
18778 wxPyEndAllowThreads(__tstate);
18779 if (PyErr_Occurred()) SWIG_fail;
18780 }
18781 resultobj = SWIG_Py_Void();
18782 return resultobj;
18783 fail:
18784 return NULL;
18785 }
18786
18787
18788 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18789 PyObject *obj;
18790 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18791 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18792 return SWIG_Py_Void();
18793 }
18794
18795 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18796 return SWIG_Python_InitShadowInstance(args);
18797 }
18798
18799 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18800 PyObject *resultobj = 0;
18801 wxWindow *arg1 = (wxWindow *) 0 ;
18802 wxFontData *arg2 = 0 ;
18803 wxFontDialog *result = 0 ;
18804 void *argp1 = 0 ;
18805 int res1 = 0 ;
18806 void *argp2 = 0 ;
18807 int res2 = 0 ;
18808 PyObject * obj0 = 0 ;
18809 PyObject * obj1 = 0 ;
18810 char * kwnames[] = {
18811 (char *) "parent",(char *) "data", NULL
18812 };
18813
18814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18816 if (!SWIG_IsOK(res1)) {
18817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18818 }
18819 arg1 = reinterpret_cast< wxWindow * >(argp1);
18820 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18821 if (!SWIG_IsOK(res2)) {
18822 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18823 }
18824 if (!argp2) {
18825 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18826 }
18827 arg2 = reinterpret_cast< wxFontData * >(argp2);
18828 {
18829 if (!wxPyCheckForApp()) SWIG_fail;
18830 PyThreadState* __tstate = wxPyBeginAllowThreads();
18831 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18832 wxPyEndAllowThreads(__tstate);
18833 if (PyErr_Occurred()) SWIG_fail;
18834 }
18835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18836 return resultobj;
18837 fail:
18838 return NULL;
18839 }
18840
18841
18842 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18843 PyObject *resultobj = 0;
18844 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18845 wxFontData *result = 0 ;
18846 void *argp1 = 0 ;
18847 int res1 = 0 ;
18848 PyObject *swig_obj[1] ;
18849
18850 if (!args) SWIG_fail;
18851 swig_obj[0] = args;
18852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
18853 if (!SWIG_IsOK(res1)) {
18854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18855 }
18856 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
18857 {
18858 PyThreadState* __tstate = wxPyBeginAllowThreads();
18859 {
18860 wxFontData &_result_ref = (arg1)->GetFontData();
18861 result = (wxFontData *) &_result_ref;
18862 }
18863 wxPyEndAllowThreads(__tstate);
18864 if (PyErr_Occurred()) SWIG_fail;
18865 }
18866 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
18867 return resultobj;
18868 fail:
18869 return NULL;
18870 }
18871
18872
18873 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18874 PyObject *obj;
18875 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18876 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
18877 return SWIG_Py_Void();
18878 }
18879
18880 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18881 return SWIG_Python_InitShadowInstance(args);
18882 }
18883
18884 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18885 PyObject *resultobj = 0;
18886 wxWindow *arg1 = (wxWindow *) NULL ;
18887 wxFont const &arg2_defvalue = wxNullFont ;
18888 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
18889 wxString const &arg3_defvalue = wxPyEmptyString ;
18890 wxString *arg3 = (wxString *) &arg3_defvalue ;
18891 wxFont result;
18892 void *argp1 = 0 ;
18893 int res1 = 0 ;
18894 void *argp2 = 0 ;
18895 int res2 = 0 ;
18896 bool temp3 = false ;
18897 PyObject * obj0 = 0 ;
18898 PyObject * obj1 = 0 ;
18899 PyObject * obj2 = 0 ;
18900 char * kwnames[] = {
18901 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18902 };
18903
18904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18905 if (obj0) {
18906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18907 if (!SWIG_IsOK(res1)) {
18908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18909 }
18910 arg1 = reinterpret_cast< wxWindow * >(argp1);
18911 }
18912 if (obj1) {
18913 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18914 if (!SWIG_IsOK(res2)) {
18915 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18916 }
18917 if (!argp2) {
18918 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18919 }
18920 arg2 = reinterpret_cast< wxFont * >(argp2);
18921 }
18922 if (obj2) {
18923 {
18924 arg3 = wxString_in_helper(obj2);
18925 if (arg3 == NULL) SWIG_fail;
18926 temp3 = true;
18927 }
18928 }
18929 {
18930 PyThreadState* __tstate = wxPyBeginAllowThreads();
18931 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
18932 wxPyEndAllowThreads(__tstate);
18933 if (PyErr_Occurred()) SWIG_fail;
18934 }
18935 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18936 {
18937 if (temp3)
18938 delete arg3;
18939 }
18940 return resultobj;
18941 fail:
18942 {
18943 if (temp3)
18944 delete arg3;
18945 }
18946 return NULL;
18947 }
18948
18949
18950 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18951 PyObject *resultobj = 0;
18952 wxWindow *arg1 = (wxWindow *) 0 ;
18953 wxString *arg2 = 0 ;
18954 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
18955 wxString *arg3 = (wxString *) &arg3_defvalue ;
18956 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
18957 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18958 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18959 wxMessageDialog *result = 0 ;
18960 void *argp1 = 0 ;
18961 int res1 = 0 ;
18962 bool temp2 = false ;
18963 bool temp3 = false ;
18964 long val4 ;
18965 int ecode4 = 0 ;
18966 wxPoint temp5 ;
18967 PyObject * obj0 = 0 ;
18968 PyObject * obj1 = 0 ;
18969 PyObject * obj2 = 0 ;
18970 PyObject * obj3 = 0 ;
18971 PyObject * obj4 = 0 ;
18972 char * kwnames[] = {
18973 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18974 };
18975
18976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
18977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18978 if (!SWIG_IsOK(res1)) {
18979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18980 }
18981 arg1 = reinterpret_cast< wxWindow * >(argp1);
18982 {
18983 arg2 = wxString_in_helper(obj1);
18984 if (arg2 == NULL) SWIG_fail;
18985 temp2 = true;
18986 }
18987 if (obj2) {
18988 {
18989 arg3 = wxString_in_helper(obj2);
18990 if (arg3 == NULL) SWIG_fail;
18991 temp3 = true;
18992 }
18993 }
18994 if (obj3) {
18995 ecode4 = SWIG_AsVal_long(obj3, &val4);
18996 if (!SWIG_IsOK(ecode4)) {
18997 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
18998 }
18999 arg4 = static_cast< long >(val4);
19000 }
19001 if (obj4) {
19002 {
19003 arg5 = &temp5;
19004 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19005 }
19006 }
19007 {
19008 if (!wxPyCheckForApp()) SWIG_fail;
19009 PyThreadState* __tstate = wxPyBeginAllowThreads();
19010 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19011 wxPyEndAllowThreads(__tstate);
19012 if (PyErr_Occurred()) SWIG_fail;
19013 }
19014 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19015 {
19016 if (temp2)
19017 delete arg2;
19018 }
19019 {
19020 if (temp3)
19021 delete arg3;
19022 }
19023 return resultobj;
19024 fail:
19025 {
19026 if (temp2)
19027 delete arg2;
19028 }
19029 {
19030 if (temp3)
19031 delete arg3;
19032 }
19033 return NULL;
19034 }
19035
19036
19037 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19038 PyObject *obj;
19039 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19040 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19041 return SWIG_Py_Void();
19042 }
19043
19044 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19045 return SWIG_Python_InitShadowInstance(args);
19046 }
19047
19048 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19049 PyObject *resultobj = 0;
19050 wxString *arg1 = 0 ;
19051 wxString *arg2 = 0 ;
19052 int arg3 = (int) 100 ;
19053 wxWindow *arg4 = (wxWindow *) NULL ;
19054 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19055 wxProgressDialog *result = 0 ;
19056 bool temp1 = false ;
19057 bool temp2 = false ;
19058 int val3 ;
19059 int ecode3 = 0 ;
19060 void *argp4 = 0 ;
19061 int res4 = 0 ;
19062 int val5 ;
19063 int ecode5 = 0 ;
19064 PyObject * obj0 = 0 ;
19065 PyObject * obj1 = 0 ;
19066 PyObject * obj2 = 0 ;
19067 PyObject * obj3 = 0 ;
19068 PyObject * obj4 = 0 ;
19069 char * kwnames[] = {
19070 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19071 };
19072
19073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19074 {
19075 arg1 = wxString_in_helper(obj0);
19076 if (arg1 == NULL) SWIG_fail;
19077 temp1 = true;
19078 }
19079 {
19080 arg2 = wxString_in_helper(obj1);
19081 if (arg2 == NULL) SWIG_fail;
19082 temp2 = true;
19083 }
19084 if (obj2) {
19085 ecode3 = SWIG_AsVal_int(obj2, &val3);
19086 if (!SWIG_IsOK(ecode3)) {
19087 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19088 }
19089 arg3 = static_cast< int >(val3);
19090 }
19091 if (obj3) {
19092 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19093 if (!SWIG_IsOK(res4)) {
19094 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19095 }
19096 arg4 = reinterpret_cast< wxWindow * >(argp4);
19097 }
19098 if (obj4) {
19099 ecode5 = SWIG_AsVal_int(obj4, &val5);
19100 if (!SWIG_IsOK(ecode5)) {
19101 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19102 }
19103 arg5 = static_cast< int >(val5);
19104 }
19105 {
19106 if (!wxPyCheckForApp()) SWIG_fail;
19107 PyThreadState* __tstate = wxPyBeginAllowThreads();
19108 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19109 wxPyEndAllowThreads(__tstate);
19110 if (PyErr_Occurred()) SWIG_fail;
19111 }
19112 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19113 {
19114 if (temp1)
19115 delete arg1;
19116 }
19117 {
19118 if (temp2)
19119 delete arg2;
19120 }
19121 return resultobj;
19122 fail:
19123 {
19124 if (temp1)
19125 delete arg1;
19126 }
19127 {
19128 if (temp2)
19129 delete arg2;
19130 }
19131 return NULL;
19132 }
19133
19134
19135 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19136 PyObject *resultobj = 0;
19137 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19138 int arg2 ;
19139 wxString const &arg3_defvalue = wxPyEmptyString ;
19140 wxString *arg3 = (wxString *) &arg3_defvalue ;
19141 bool result;
19142 void *argp1 = 0 ;
19143 int res1 = 0 ;
19144 int val2 ;
19145 int ecode2 = 0 ;
19146 bool temp3 = false ;
19147 PyObject * obj0 = 0 ;
19148 PyObject * obj1 = 0 ;
19149 PyObject * obj2 = 0 ;
19150 char * kwnames[] = {
19151 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19152 };
19153
19154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19156 if (!SWIG_IsOK(res1)) {
19157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19158 }
19159 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19160 ecode2 = SWIG_AsVal_int(obj1, &val2);
19161 if (!SWIG_IsOK(ecode2)) {
19162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19163 }
19164 arg2 = static_cast< int >(val2);
19165 if (obj2) {
19166 {
19167 arg3 = wxString_in_helper(obj2);
19168 if (arg3 == NULL) SWIG_fail;
19169 temp3 = true;
19170 }
19171 }
19172 {
19173 PyThreadState* __tstate = wxPyBeginAllowThreads();
19174 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
19175 wxPyEndAllowThreads(__tstate);
19176 if (PyErr_Occurred()) SWIG_fail;
19177 }
19178 {
19179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19180 }
19181 {
19182 if (temp3)
19183 delete arg3;
19184 }
19185 return resultobj;
19186 fail:
19187 {
19188 if (temp3)
19189 delete arg3;
19190 }
19191 return NULL;
19192 }
19193
19194
19195 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19196 PyObject *resultobj = 0;
19197 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19198 void *argp1 = 0 ;
19199 int res1 = 0 ;
19200 PyObject *swig_obj[1] ;
19201
19202 if (!args) SWIG_fail;
19203 swig_obj[0] = args;
19204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19205 if (!SWIG_IsOK(res1)) {
19206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19207 }
19208 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19209 {
19210 PyThreadState* __tstate = wxPyBeginAllowThreads();
19211 (arg1)->Resume();
19212 wxPyEndAllowThreads(__tstate);
19213 if (PyErr_Occurred()) SWIG_fail;
19214 }
19215 resultobj = SWIG_Py_Void();
19216 return resultobj;
19217 fail:
19218 return NULL;
19219 }
19220
19221
19222 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19223 PyObject *obj;
19224 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19225 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19226 return SWIG_Py_Void();
19227 }
19228
19229 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19230 return SWIG_Python_InitShadowInstance(args);
19231 }
19232
19233 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19234 PyObject *resultobj = 0;
19235 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19236 int arg2 = (int) 0 ;
19237 wxFindDialogEvent *result = 0 ;
19238 int val1 ;
19239 int ecode1 = 0 ;
19240 int val2 ;
19241 int ecode2 = 0 ;
19242 PyObject * obj0 = 0 ;
19243 PyObject * obj1 = 0 ;
19244 char * kwnames[] = {
19245 (char *) "commandType",(char *) "id", NULL
19246 };
19247
19248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19249 if (obj0) {
19250 ecode1 = SWIG_AsVal_int(obj0, &val1);
19251 if (!SWIG_IsOK(ecode1)) {
19252 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19253 }
19254 arg1 = static_cast< wxEventType >(val1);
19255 }
19256 if (obj1) {
19257 ecode2 = SWIG_AsVal_int(obj1, &val2);
19258 if (!SWIG_IsOK(ecode2)) {
19259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19260 }
19261 arg2 = static_cast< int >(val2);
19262 }
19263 {
19264 PyThreadState* __tstate = wxPyBeginAllowThreads();
19265 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19266 wxPyEndAllowThreads(__tstate);
19267 if (PyErr_Occurred()) SWIG_fail;
19268 }
19269 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19270 return resultobj;
19271 fail:
19272 return NULL;
19273 }
19274
19275
19276 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19277 PyObject *resultobj = 0;
19278 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19279 int result;
19280 void *argp1 = 0 ;
19281 int res1 = 0 ;
19282 PyObject *swig_obj[1] ;
19283
19284 if (!args) SWIG_fail;
19285 swig_obj[0] = args;
19286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19287 if (!SWIG_IsOK(res1)) {
19288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19289 }
19290 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19291 {
19292 PyThreadState* __tstate = wxPyBeginAllowThreads();
19293 result = (int)(arg1)->GetFlags();
19294 wxPyEndAllowThreads(__tstate);
19295 if (PyErr_Occurred()) SWIG_fail;
19296 }
19297 resultobj = SWIG_From_int(static_cast< int >(result));
19298 return resultobj;
19299 fail:
19300 return NULL;
19301 }
19302
19303
19304 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19305 PyObject *resultobj = 0;
19306 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19307 wxString *result = 0 ;
19308 void *argp1 = 0 ;
19309 int res1 = 0 ;
19310 PyObject *swig_obj[1] ;
19311
19312 if (!args) SWIG_fail;
19313 swig_obj[0] = args;
19314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19315 if (!SWIG_IsOK(res1)) {
19316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19317 }
19318 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19319 {
19320 PyThreadState* __tstate = wxPyBeginAllowThreads();
19321 {
19322 wxString const &_result_ref = (arg1)->GetFindString();
19323 result = (wxString *) &_result_ref;
19324 }
19325 wxPyEndAllowThreads(__tstate);
19326 if (PyErr_Occurred()) SWIG_fail;
19327 }
19328 {
19329 #if wxUSE_UNICODE
19330 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19331 #else
19332 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19333 #endif
19334 }
19335 return resultobj;
19336 fail:
19337 return NULL;
19338 }
19339
19340
19341 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19342 PyObject *resultobj = 0;
19343 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19344 wxString *result = 0 ;
19345 void *argp1 = 0 ;
19346 int res1 = 0 ;
19347 PyObject *swig_obj[1] ;
19348
19349 if (!args) SWIG_fail;
19350 swig_obj[0] = args;
19351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19352 if (!SWIG_IsOK(res1)) {
19353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19354 }
19355 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19356 {
19357 PyThreadState* __tstate = wxPyBeginAllowThreads();
19358 {
19359 wxString const &_result_ref = (arg1)->GetReplaceString();
19360 result = (wxString *) &_result_ref;
19361 }
19362 wxPyEndAllowThreads(__tstate);
19363 if (PyErr_Occurred()) SWIG_fail;
19364 }
19365 {
19366 #if wxUSE_UNICODE
19367 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19368 #else
19369 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19370 #endif
19371 }
19372 return resultobj;
19373 fail:
19374 return NULL;
19375 }
19376
19377
19378 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19379 PyObject *resultobj = 0;
19380 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19381 wxFindReplaceDialog *result = 0 ;
19382 void *argp1 = 0 ;
19383 int res1 = 0 ;
19384 PyObject *swig_obj[1] ;
19385
19386 if (!args) SWIG_fail;
19387 swig_obj[0] = args;
19388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19389 if (!SWIG_IsOK(res1)) {
19390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19391 }
19392 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19393 {
19394 PyThreadState* __tstate = wxPyBeginAllowThreads();
19395 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19396 wxPyEndAllowThreads(__tstate);
19397 if (PyErr_Occurred()) SWIG_fail;
19398 }
19399 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19400 return resultobj;
19401 fail:
19402 return NULL;
19403 }
19404
19405
19406 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19407 PyObject *resultobj = 0;
19408 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19409 int arg2 ;
19410 void *argp1 = 0 ;
19411 int res1 = 0 ;
19412 int val2 ;
19413 int ecode2 = 0 ;
19414 PyObject * obj0 = 0 ;
19415 PyObject * obj1 = 0 ;
19416 char * kwnames[] = {
19417 (char *) "self",(char *) "flags", NULL
19418 };
19419
19420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19422 if (!SWIG_IsOK(res1)) {
19423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19424 }
19425 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19426 ecode2 = SWIG_AsVal_int(obj1, &val2);
19427 if (!SWIG_IsOK(ecode2)) {
19428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19429 }
19430 arg2 = static_cast< int >(val2);
19431 {
19432 PyThreadState* __tstate = wxPyBeginAllowThreads();
19433 (arg1)->SetFlags(arg2);
19434 wxPyEndAllowThreads(__tstate);
19435 if (PyErr_Occurred()) SWIG_fail;
19436 }
19437 resultobj = SWIG_Py_Void();
19438 return resultobj;
19439 fail:
19440 return NULL;
19441 }
19442
19443
19444 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19445 PyObject *resultobj = 0;
19446 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19447 wxString *arg2 = 0 ;
19448 void *argp1 = 0 ;
19449 int res1 = 0 ;
19450 bool temp2 = false ;
19451 PyObject * obj0 = 0 ;
19452 PyObject * obj1 = 0 ;
19453 char * kwnames[] = {
19454 (char *) "self",(char *) "str", NULL
19455 };
19456
19457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19459 if (!SWIG_IsOK(res1)) {
19460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19461 }
19462 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19463 {
19464 arg2 = wxString_in_helper(obj1);
19465 if (arg2 == NULL) SWIG_fail;
19466 temp2 = true;
19467 }
19468 {
19469 PyThreadState* __tstate = wxPyBeginAllowThreads();
19470 (arg1)->SetFindString((wxString const &)*arg2);
19471 wxPyEndAllowThreads(__tstate);
19472 if (PyErr_Occurred()) SWIG_fail;
19473 }
19474 resultobj = SWIG_Py_Void();
19475 {
19476 if (temp2)
19477 delete arg2;
19478 }
19479 return resultobj;
19480 fail:
19481 {
19482 if (temp2)
19483 delete arg2;
19484 }
19485 return NULL;
19486 }
19487
19488
19489 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19490 PyObject *resultobj = 0;
19491 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19492 wxString *arg2 = 0 ;
19493 void *argp1 = 0 ;
19494 int res1 = 0 ;
19495 bool temp2 = false ;
19496 PyObject * obj0 = 0 ;
19497 PyObject * obj1 = 0 ;
19498 char * kwnames[] = {
19499 (char *) "self",(char *) "str", NULL
19500 };
19501
19502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19504 if (!SWIG_IsOK(res1)) {
19505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19506 }
19507 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19508 {
19509 arg2 = wxString_in_helper(obj1);
19510 if (arg2 == NULL) SWIG_fail;
19511 temp2 = true;
19512 }
19513 {
19514 PyThreadState* __tstate = wxPyBeginAllowThreads();
19515 (arg1)->SetReplaceString((wxString const &)*arg2);
19516 wxPyEndAllowThreads(__tstate);
19517 if (PyErr_Occurred()) SWIG_fail;
19518 }
19519 resultobj = SWIG_Py_Void();
19520 {
19521 if (temp2)
19522 delete arg2;
19523 }
19524 return resultobj;
19525 fail:
19526 {
19527 if (temp2)
19528 delete arg2;
19529 }
19530 return NULL;
19531 }
19532
19533
19534 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19535 PyObject *obj;
19536 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19537 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19538 return SWIG_Py_Void();
19539 }
19540
19541 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19542 return SWIG_Python_InitShadowInstance(args);
19543 }
19544
19545 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19546 PyObject *resultobj = 0;
19547 int arg1 = (int) 0 ;
19548 wxFindReplaceData *result = 0 ;
19549 int val1 ;
19550 int ecode1 = 0 ;
19551 PyObject * obj0 = 0 ;
19552 char * kwnames[] = {
19553 (char *) "flags", NULL
19554 };
19555
19556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19557 if (obj0) {
19558 ecode1 = SWIG_AsVal_int(obj0, &val1);
19559 if (!SWIG_IsOK(ecode1)) {
19560 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19561 }
19562 arg1 = static_cast< int >(val1);
19563 }
19564 {
19565 PyThreadState* __tstate = wxPyBeginAllowThreads();
19566 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19567 wxPyEndAllowThreads(__tstate);
19568 if (PyErr_Occurred()) SWIG_fail;
19569 }
19570 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19571 return resultobj;
19572 fail:
19573 return NULL;
19574 }
19575
19576
19577 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19578 PyObject *resultobj = 0;
19579 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19580 void *argp1 = 0 ;
19581 int res1 = 0 ;
19582 PyObject *swig_obj[1] ;
19583
19584 if (!args) SWIG_fail;
19585 swig_obj[0] = args;
19586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19587 if (!SWIG_IsOK(res1)) {
19588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19589 }
19590 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19591 {
19592 PyThreadState* __tstate = wxPyBeginAllowThreads();
19593 delete arg1;
19594
19595 wxPyEndAllowThreads(__tstate);
19596 if (PyErr_Occurred()) SWIG_fail;
19597 }
19598 resultobj = SWIG_Py_Void();
19599 return resultobj;
19600 fail:
19601 return NULL;
19602 }
19603
19604
19605 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19606 PyObject *resultobj = 0;
19607 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19608 wxString *result = 0 ;
19609 void *argp1 = 0 ;
19610 int res1 = 0 ;
19611 PyObject *swig_obj[1] ;
19612
19613 if (!args) SWIG_fail;
19614 swig_obj[0] = args;
19615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19616 if (!SWIG_IsOK(res1)) {
19617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19618 }
19619 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19620 {
19621 PyThreadState* __tstate = wxPyBeginAllowThreads();
19622 {
19623 wxString const &_result_ref = (arg1)->GetFindString();
19624 result = (wxString *) &_result_ref;
19625 }
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 {
19630 #if wxUSE_UNICODE
19631 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19632 #else
19633 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19634 #endif
19635 }
19636 return resultobj;
19637 fail:
19638 return NULL;
19639 }
19640
19641
19642 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19643 PyObject *resultobj = 0;
19644 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19645 wxString *result = 0 ;
19646 void *argp1 = 0 ;
19647 int res1 = 0 ;
19648 PyObject *swig_obj[1] ;
19649
19650 if (!args) SWIG_fail;
19651 swig_obj[0] = args;
19652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19653 if (!SWIG_IsOK(res1)) {
19654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19655 }
19656 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19657 {
19658 PyThreadState* __tstate = wxPyBeginAllowThreads();
19659 {
19660 wxString const &_result_ref = (arg1)->GetReplaceString();
19661 result = (wxString *) &_result_ref;
19662 }
19663 wxPyEndAllowThreads(__tstate);
19664 if (PyErr_Occurred()) SWIG_fail;
19665 }
19666 {
19667 #if wxUSE_UNICODE
19668 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19669 #else
19670 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19671 #endif
19672 }
19673 return resultobj;
19674 fail:
19675 return NULL;
19676 }
19677
19678
19679 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19680 PyObject *resultobj = 0;
19681 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19682 int result;
19683 void *argp1 = 0 ;
19684 int res1 = 0 ;
19685 PyObject *swig_obj[1] ;
19686
19687 if (!args) SWIG_fail;
19688 swig_obj[0] = args;
19689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19690 if (!SWIG_IsOK(res1)) {
19691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19692 }
19693 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19694 {
19695 PyThreadState* __tstate = wxPyBeginAllowThreads();
19696 result = (int)(arg1)->GetFlags();
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 resultobj = SWIG_From_int(static_cast< int >(result));
19701 return resultobj;
19702 fail:
19703 return NULL;
19704 }
19705
19706
19707 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19708 PyObject *resultobj = 0;
19709 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19710 int arg2 ;
19711 void *argp1 = 0 ;
19712 int res1 = 0 ;
19713 int val2 ;
19714 int ecode2 = 0 ;
19715 PyObject * obj0 = 0 ;
19716 PyObject * obj1 = 0 ;
19717 char * kwnames[] = {
19718 (char *) "self",(char *) "flags", NULL
19719 };
19720
19721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19723 if (!SWIG_IsOK(res1)) {
19724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19725 }
19726 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19727 ecode2 = SWIG_AsVal_int(obj1, &val2);
19728 if (!SWIG_IsOK(ecode2)) {
19729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19730 }
19731 arg2 = static_cast< int >(val2);
19732 {
19733 PyThreadState* __tstate = wxPyBeginAllowThreads();
19734 (arg1)->SetFlags(arg2);
19735 wxPyEndAllowThreads(__tstate);
19736 if (PyErr_Occurred()) SWIG_fail;
19737 }
19738 resultobj = SWIG_Py_Void();
19739 return resultobj;
19740 fail:
19741 return NULL;
19742 }
19743
19744
19745 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19746 PyObject *resultobj = 0;
19747 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19748 wxString *arg2 = 0 ;
19749 void *argp1 = 0 ;
19750 int res1 = 0 ;
19751 bool temp2 = false ;
19752 PyObject * obj0 = 0 ;
19753 PyObject * obj1 = 0 ;
19754 char * kwnames[] = {
19755 (char *) "self",(char *) "str", NULL
19756 };
19757
19758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19760 if (!SWIG_IsOK(res1)) {
19761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19762 }
19763 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19764 {
19765 arg2 = wxString_in_helper(obj1);
19766 if (arg2 == NULL) SWIG_fail;
19767 temp2 = true;
19768 }
19769 {
19770 PyThreadState* __tstate = wxPyBeginAllowThreads();
19771 (arg1)->SetFindString((wxString const &)*arg2);
19772 wxPyEndAllowThreads(__tstate);
19773 if (PyErr_Occurred()) SWIG_fail;
19774 }
19775 resultobj = SWIG_Py_Void();
19776 {
19777 if (temp2)
19778 delete arg2;
19779 }
19780 return resultobj;
19781 fail:
19782 {
19783 if (temp2)
19784 delete arg2;
19785 }
19786 return NULL;
19787 }
19788
19789
19790 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19791 PyObject *resultobj = 0;
19792 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19793 wxString *arg2 = 0 ;
19794 void *argp1 = 0 ;
19795 int res1 = 0 ;
19796 bool temp2 = false ;
19797 PyObject * obj0 = 0 ;
19798 PyObject * obj1 = 0 ;
19799 char * kwnames[] = {
19800 (char *) "self",(char *) "str", NULL
19801 };
19802
19803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19805 if (!SWIG_IsOK(res1)) {
19806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19807 }
19808 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19809 {
19810 arg2 = wxString_in_helper(obj1);
19811 if (arg2 == NULL) SWIG_fail;
19812 temp2 = true;
19813 }
19814 {
19815 PyThreadState* __tstate = wxPyBeginAllowThreads();
19816 (arg1)->SetReplaceString((wxString const &)*arg2);
19817 wxPyEndAllowThreads(__tstate);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 }
19820 resultobj = SWIG_Py_Void();
19821 {
19822 if (temp2)
19823 delete arg2;
19824 }
19825 return resultobj;
19826 fail:
19827 {
19828 if (temp2)
19829 delete arg2;
19830 }
19831 return NULL;
19832 }
19833
19834
19835 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19836 PyObject *obj;
19837 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19838 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
19839 return SWIG_Py_Void();
19840 }
19841
19842 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19843 return SWIG_Python_InitShadowInstance(args);
19844 }
19845
19846 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19847 PyObject *resultobj = 0;
19848 wxWindow *arg1 = (wxWindow *) 0 ;
19849 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19850 wxString *arg3 = 0 ;
19851 int arg4 = (int) 0 ;
19852 wxFindReplaceDialog *result = 0 ;
19853 void *argp1 = 0 ;
19854 int res1 = 0 ;
19855 void *argp2 = 0 ;
19856 int res2 = 0 ;
19857 bool temp3 = false ;
19858 int val4 ;
19859 int ecode4 = 0 ;
19860 PyObject * obj0 = 0 ;
19861 PyObject * obj1 = 0 ;
19862 PyObject * obj2 = 0 ;
19863 PyObject * obj3 = 0 ;
19864 char * kwnames[] = {
19865 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19866 };
19867
19868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19870 if (!SWIG_IsOK(res1)) {
19871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19872 }
19873 arg1 = reinterpret_cast< wxWindow * >(argp1);
19874 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19875 if (!SWIG_IsOK(res2)) {
19876 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19877 }
19878 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19879 {
19880 arg3 = wxString_in_helper(obj2);
19881 if (arg3 == NULL) SWIG_fail;
19882 temp3 = true;
19883 }
19884 if (obj3) {
19885 ecode4 = SWIG_AsVal_int(obj3, &val4);
19886 if (!SWIG_IsOK(ecode4)) {
19887 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19888 }
19889 arg4 = static_cast< int >(val4);
19890 }
19891 {
19892 if (!wxPyCheckForApp()) SWIG_fail;
19893 PyThreadState* __tstate = wxPyBeginAllowThreads();
19894 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
19895 wxPyEndAllowThreads(__tstate);
19896 if (PyErr_Occurred()) SWIG_fail;
19897 }
19898 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
19899 {
19900 if (temp3)
19901 delete arg3;
19902 }
19903 return resultobj;
19904 fail:
19905 {
19906 if (temp3)
19907 delete arg3;
19908 }
19909 return NULL;
19910 }
19911
19912
19913 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19914 PyObject *resultobj = 0;
19915 wxFindReplaceDialog *result = 0 ;
19916
19917 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
19918 {
19919 if (!wxPyCheckForApp()) SWIG_fail;
19920 PyThreadState* __tstate = wxPyBeginAllowThreads();
19921 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
19922 wxPyEndAllowThreads(__tstate);
19923 if (PyErr_Occurred()) SWIG_fail;
19924 }
19925 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
19926 return resultobj;
19927 fail:
19928 return NULL;
19929 }
19930
19931
19932 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19933 PyObject *resultobj = 0;
19934 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19935 wxWindow *arg2 = (wxWindow *) 0 ;
19936 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
19937 wxString *arg4 = 0 ;
19938 int arg5 = (int) 0 ;
19939 bool result;
19940 void *argp1 = 0 ;
19941 int res1 = 0 ;
19942 void *argp2 = 0 ;
19943 int res2 = 0 ;
19944 void *argp3 = 0 ;
19945 int res3 = 0 ;
19946 bool temp4 = false ;
19947 int val5 ;
19948 int ecode5 = 0 ;
19949 PyObject * obj0 = 0 ;
19950 PyObject * obj1 = 0 ;
19951 PyObject * obj2 = 0 ;
19952 PyObject * obj3 = 0 ;
19953 PyObject * obj4 = 0 ;
19954 char * kwnames[] = {
19955 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19956 };
19957
19958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19960 if (!SWIG_IsOK(res1)) {
19961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19962 }
19963 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19964 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19965 if (!SWIG_IsOK(res2)) {
19966 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19967 }
19968 arg2 = reinterpret_cast< wxWindow * >(argp2);
19969 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19970 if (!SWIG_IsOK(res3)) {
19971 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
19972 }
19973 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
19974 {
19975 arg4 = wxString_in_helper(obj3);
19976 if (arg4 == NULL) SWIG_fail;
19977 temp4 = true;
19978 }
19979 if (obj4) {
19980 ecode5 = SWIG_AsVal_int(obj4, &val5);
19981 if (!SWIG_IsOK(ecode5)) {
19982 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
19983 }
19984 arg5 = static_cast< int >(val5);
19985 }
19986 {
19987 PyThreadState* __tstate = wxPyBeginAllowThreads();
19988 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
19989 wxPyEndAllowThreads(__tstate);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 }
19992 {
19993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19994 }
19995 {
19996 if (temp4)
19997 delete arg4;
19998 }
19999 return resultobj;
20000 fail:
20001 {
20002 if (temp4)
20003 delete arg4;
20004 }
20005 return NULL;
20006 }
20007
20008
20009 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20010 PyObject *resultobj = 0;
20011 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20012 wxFindReplaceData *result = 0 ;
20013 void *argp1 = 0 ;
20014 int res1 = 0 ;
20015 PyObject *swig_obj[1] ;
20016
20017 if (!args) SWIG_fail;
20018 swig_obj[0] = args;
20019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20020 if (!SWIG_IsOK(res1)) {
20021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20022 }
20023 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20024 {
20025 PyThreadState* __tstate = wxPyBeginAllowThreads();
20026 result = (wxFindReplaceData *)(arg1)->GetData();
20027 wxPyEndAllowThreads(__tstate);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
20030 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20031 return resultobj;
20032 fail:
20033 return NULL;
20034 }
20035
20036
20037 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20038 PyObject *resultobj = 0;
20039 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20040 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20041 void *argp1 = 0 ;
20042 int res1 = 0 ;
20043 void *argp2 = 0 ;
20044 int res2 = 0 ;
20045 PyObject * obj0 = 0 ;
20046 PyObject * obj1 = 0 ;
20047 char * kwnames[] = {
20048 (char *) "self",(char *) "data", NULL
20049 };
20050
20051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20053 if (!SWIG_IsOK(res1)) {
20054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20055 }
20056 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20057 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20058 if (!SWIG_IsOK(res2)) {
20059 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20060 }
20061 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20062 {
20063 PyThreadState* __tstate = wxPyBeginAllowThreads();
20064 (arg1)->SetData(arg2);
20065 wxPyEndAllowThreads(__tstate);
20066 if (PyErr_Occurred()) SWIG_fail;
20067 }
20068 resultobj = SWIG_Py_Void();
20069 return resultobj;
20070 fail:
20071 return NULL;
20072 }
20073
20074
20075 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20076 PyObject *obj;
20077 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20078 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20079 return SWIG_Py_Void();
20080 }
20081
20082 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20083 return SWIG_Python_InitShadowInstance(args);
20084 }
20085
20086 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20087 PyObject *resultobj = 0;
20088 wxWindow *arg1 = (wxWindow *) 0 ;
20089 int arg2 = (int) (int)-1 ;
20090 wxString const &arg3_defvalue = wxPyEmptyString ;
20091 wxString *arg3 = (wxString *) &arg3_defvalue ;
20092 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20093 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20094 wxSize const &arg5_defvalue = wxDefaultSize ;
20095 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20096 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20097 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20098 wxString *arg7 = (wxString *) &arg7_defvalue ;
20099 wxMDIParentFrame *result = 0 ;
20100 void *argp1 = 0 ;
20101 int res1 = 0 ;
20102 int val2 ;
20103 int ecode2 = 0 ;
20104 bool temp3 = false ;
20105 wxPoint temp4 ;
20106 wxSize temp5 ;
20107 long val6 ;
20108 int ecode6 = 0 ;
20109 bool temp7 = false ;
20110 PyObject * obj0 = 0 ;
20111 PyObject * obj1 = 0 ;
20112 PyObject * obj2 = 0 ;
20113 PyObject * obj3 = 0 ;
20114 PyObject * obj4 = 0 ;
20115 PyObject * obj5 = 0 ;
20116 PyObject * obj6 = 0 ;
20117 char * kwnames[] = {
20118 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20119 };
20120
20121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20123 if (!SWIG_IsOK(res1)) {
20124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20125 }
20126 arg1 = reinterpret_cast< wxWindow * >(argp1);
20127 if (obj1) {
20128 ecode2 = SWIG_AsVal_int(obj1, &val2);
20129 if (!SWIG_IsOK(ecode2)) {
20130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20131 }
20132 arg2 = static_cast< int >(val2);
20133 }
20134 if (obj2) {
20135 {
20136 arg3 = wxString_in_helper(obj2);
20137 if (arg3 == NULL) SWIG_fail;
20138 temp3 = true;
20139 }
20140 }
20141 if (obj3) {
20142 {
20143 arg4 = &temp4;
20144 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20145 }
20146 }
20147 if (obj4) {
20148 {
20149 arg5 = &temp5;
20150 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20151 }
20152 }
20153 if (obj5) {
20154 ecode6 = SWIG_AsVal_long(obj5, &val6);
20155 if (!SWIG_IsOK(ecode6)) {
20156 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20157 }
20158 arg6 = static_cast< long >(val6);
20159 }
20160 if (obj6) {
20161 {
20162 arg7 = wxString_in_helper(obj6);
20163 if (arg7 == NULL) SWIG_fail;
20164 temp7 = true;
20165 }
20166 }
20167 {
20168 if (!wxPyCheckForApp()) SWIG_fail;
20169 PyThreadState* __tstate = wxPyBeginAllowThreads();
20170 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20171 wxPyEndAllowThreads(__tstate);
20172 if (PyErr_Occurred()) SWIG_fail;
20173 }
20174 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20175 {
20176 if (temp3)
20177 delete arg3;
20178 }
20179 {
20180 if (temp7)
20181 delete arg7;
20182 }
20183 return resultobj;
20184 fail:
20185 {
20186 if (temp3)
20187 delete arg3;
20188 }
20189 {
20190 if (temp7)
20191 delete arg7;
20192 }
20193 return NULL;
20194 }
20195
20196
20197 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20198 PyObject *resultobj = 0;
20199 wxMDIParentFrame *result = 0 ;
20200
20201 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20202 {
20203 if (!wxPyCheckForApp()) SWIG_fail;
20204 PyThreadState* __tstate = wxPyBeginAllowThreads();
20205 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20206 wxPyEndAllowThreads(__tstate);
20207 if (PyErr_Occurred()) SWIG_fail;
20208 }
20209 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20210 return resultobj;
20211 fail:
20212 return NULL;
20213 }
20214
20215
20216 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20217 PyObject *resultobj = 0;
20218 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20219 wxWindow *arg2 = (wxWindow *) 0 ;
20220 int arg3 = (int) (int)-1 ;
20221 wxString const &arg4_defvalue = wxPyEmptyString ;
20222 wxString *arg4 = (wxString *) &arg4_defvalue ;
20223 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20224 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20225 wxSize const &arg6_defvalue = wxDefaultSize ;
20226 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20227 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20228 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20229 wxString *arg8 = (wxString *) &arg8_defvalue ;
20230 bool result;
20231 void *argp1 = 0 ;
20232 int res1 = 0 ;
20233 void *argp2 = 0 ;
20234 int res2 = 0 ;
20235 int val3 ;
20236 int ecode3 = 0 ;
20237 bool temp4 = false ;
20238 wxPoint temp5 ;
20239 wxSize temp6 ;
20240 long val7 ;
20241 int ecode7 = 0 ;
20242 bool temp8 = false ;
20243 PyObject * obj0 = 0 ;
20244 PyObject * obj1 = 0 ;
20245 PyObject * obj2 = 0 ;
20246 PyObject * obj3 = 0 ;
20247 PyObject * obj4 = 0 ;
20248 PyObject * obj5 = 0 ;
20249 PyObject * obj6 = 0 ;
20250 PyObject * obj7 = 0 ;
20251 char * kwnames[] = {
20252 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20253 };
20254
20255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20257 if (!SWIG_IsOK(res1)) {
20258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20259 }
20260 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20261 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20262 if (!SWIG_IsOK(res2)) {
20263 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20264 }
20265 arg2 = reinterpret_cast< wxWindow * >(argp2);
20266 if (obj2) {
20267 ecode3 = SWIG_AsVal_int(obj2, &val3);
20268 if (!SWIG_IsOK(ecode3)) {
20269 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20270 }
20271 arg3 = static_cast< int >(val3);
20272 }
20273 if (obj3) {
20274 {
20275 arg4 = wxString_in_helper(obj3);
20276 if (arg4 == NULL) SWIG_fail;
20277 temp4 = true;
20278 }
20279 }
20280 if (obj4) {
20281 {
20282 arg5 = &temp5;
20283 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20284 }
20285 }
20286 if (obj5) {
20287 {
20288 arg6 = &temp6;
20289 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20290 }
20291 }
20292 if (obj6) {
20293 ecode7 = SWIG_AsVal_long(obj6, &val7);
20294 if (!SWIG_IsOK(ecode7)) {
20295 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20296 }
20297 arg7 = static_cast< long >(val7);
20298 }
20299 if (obj7) {
20300 {
20301 arg8 = wxString_in_helper(obj7);
20302 if (arg8 == NULL) SWIG_fail;
20303 temp8 = true;
20304 }
20305 }
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20309 wxPyEndAllowThreads(__tstate);
20310 if (PyErr_Occurred()) SWIG_fail;
20311 }
20312 {
20313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20314 }
20315 {
20316 if (temp4)
20317 delete arg4;
20318 }
20319 {
20320 if (temp8)
20321 delete arg8;
20322 }
20323 return resultobj;
20324 fail:
20325 {
20326 if (temp4)
20327 delete arg4;
20328 }
20329 {
20330 if (temp8)
20331 delete arg8;
20332 }
20333 return NULL;
20334 }
20335
20336
20337 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20338 PyObject *resultobj = 0;
20339 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20340 void *argp1 = 0 ;
20341 int res1 = 0 ;
20342 PyObject *swig_obj[1] ;
20343
20344 if (!args) SWIG_fail;
20345 swig_obj[0] = args;
20346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20347 if (!SWIG_IsOK(res1)) {
20348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20349 }
20350 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20351 {
20352 PyThreadState* __tstate = wxPyBeginAllowThreads();
20353 (arg1)->ActivateNext();
20354 wxPyEndAllowThreads(__tstate);
20355 if (PyErr_Occurred()) SWIG_fail;
20356 }
20357 resultobj = SWIG_Py_Void();
20358 return resultobj;
20359 fail:
20360 return NULL;
20361 }
20362
20363
20364 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20365 PyObject *resultobj = 0;
20366 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20367 void *argp1 = 0 ;
20368 int res1 = 0 ;
20369 PyObject *swig_obj[1] ;
20370
20371 if (!args) SWIG_fail;
20372 swig_obj[0] = args;
20373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20374 if (!SWIG_IsOK(res1)) {
20375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20376 }
20377 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20378 {
20379 PyThreadState* __tstate = wxPyBeginAllowThreads();
20380 (arg1)->ActivatePrevious();
20381 wxPyEndAllowThreads(__tstate);
20382 if (PyErr_Occurred()) SWIG_fail;
20383 }
20384 resultobj = SWIG_Py_Void();
20385 return resultobj;
20386 fail:
20387 return NULL;
20388 }
20389
20390
20391 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20392 PyObject *resultobj = 0;
20393 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20394 void *argp1 = 0 ;
20395 int res1 = 0 ;
20396 PyObject *swig_obj[1] ;
20397
20398 if (!args) SWIG_fail;
20399 swig_obj[0] = args;
20400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20401 if (!SWIG_IsOK(res1)) {
20402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20403 }
20404 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20405 {
20406 PyThreadState* __tstate = wxPyBeginAllowThreads();
20407 (arg1)->ArrangeIcons();
20408 wxPyEndAllowThreads(__tstate);
20409 if (PyErr_Occurred()) SWIG_fail;
20410 }
20411 resultobj = SWIG_Py_Void();
20412 return resultobj;
20413 fail:
20414 return NULL;
20415 }
20416
20417
20418 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20419 PyObject *resultobj = 0;
20420 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20421 void *argp1 = 0 ;
20422 int res1 = 0 ;
20423 PyObject *swig_obj[1] ;
20424
20425 if (!args) SWIG_fail;
20426 swig_obj[0] = args;
20427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20428 if (!SWIG_IsOK(res1)) {
20429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20430 }
20431 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20432 {
20433 PyThreadState* __tstate = wxPyBeginAllowThreads();
20434 (arg1)->Cascade();
20435 wxPyEndAllowThreads(__tstate);
20436 if (PyErr_Occurred()) SWIG_fail;
20437 }
20438 resultobj = SWIG_Py_Void();
20439 return resultobj;
20440 fail:
20441 return NULL;
20442 }
20443
20444
20445 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20446 PyObject *resultobj = 0;
20447 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20448 wxMDIChildFrame *result = 0 ;
20449 void *argp1 = 0 ;
20450 int res1 = 0 ;
20451 PyObject *swig_obj[1] ;
20452
20453 if (!args) SWIG_fail;
20454 swig_obj[0] = args;
20455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20456 if (!SWIG_IsOK(res1)) {
20457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20458 }
20459 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20460 {
20461 PyThreadState* __tstate = wxPyBeginAllowThreads();
20462 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20463 wxPyEndAllowThreads(__tstate);
20464 if (PyErr_Occurred()) SWIG_fail;
20465 }
20466 {
20467 resultobj = wxPyMake_wxObject(result, (bool)0);
20468 }
20469 return resultobj;
20470 fail:
20471 return NULL;
20472 }
20473
20474
20475 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20476 PyObject *resultobj = 0;
20477 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20478 wxMDIClientWindow *result = 0 ;
20479 void *argp1 = 0 ;
20480 int res1 = 0 ;
20481 PyObject *swig_obj[1] ;
20482
20483 if (!args) SWIG_fail;
20484 swig_obj[0] = args;
20485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20486 if (!SWIG_IsOK(res1)) {
20487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20488 }
20489 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20490 {
20491 PyThreadState* __tstate = wxPyBeginAllowThreads();
20492 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20493 wxPyEndAllowThreads(__tstate);
20494 if (PyErr_Occurred()) SWIG_fail;
20495 }
20496 {
20497 resultobj = wxPyMake_wxObject(result, (bool)0);
20498 }
20499 return resultobj;
20500 fail:
20501 return NULL;
20502 }
20503
20504
20505 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20506 PyObject *resultobj = 0;
20507 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20508 wxWindow *result = 0 ;
20509 void *argp1 = 0 ;
20510 int res1 = 0 ;
20511 PyObject *swig_obj[1] ;
20512
20513 if (!args) SWIG_fail;
20514 swig_obj[0] = args;
20515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20516 if (!SWIG_IsOK(res1)) {
20517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20518 }
20519 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20520 {
20521 PyThreadState* __tstate = wxPyBeginAllowThreads();
20522 result = (wxWindow *)(arg1)->GetToolBar();
20523 wxPyEndAllowThreads(__tstate);
20524 if (PyErr_Occurred()) SWIG_fail;
20525 }
20526 {
20527 resultobj = wxPyMake_wxObject(result, 0);
20528 }
20529 return resultobj;
20530 fail:
20531 return NULL;
20532 }
20533
20534
20535 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20536 PyObject *resultobj = 0;
20537 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20538 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20539 void *argp1 = 0 ;
20540 int res1 = 0 ;
20541 int val2 ;
20542 int ecode2 = 0 ;
20543 PyObject * obj0 = 0 ;
20544 PyObject * obj1 = 0 ;
20545 char * kwnames[] = {
20546 (char *) "self",(char *) "orient", NULL
20547 };
20548
20549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20551 if (!SWIG_IsOK(res1)) {
20552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20553 }
20554 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20555 if (obj1) {
20556 ecode2 = SWIG_AsVal_int(obj1, &val2);
20557 if (!SWIG_IsOK(ecode2)) {
20558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20559 }
20560 arg2 = static_cast< wxOrientation >(val2);
20561 }
20562 {
20563 PyThreadState* __tstate = wxPyBeginAllowThreads();
20564 (arg1)->Tile(arg2);
20565 wxPyEndAllowThreads(__tstate);
20566 if (PyErr_Occurred()) SWIG_fail;
20567 }
20568 resultobj = SWIG_Py_Void();
20569 return resultobj;
20570 fail:
20571 return NULL;
20572 }
20573
20574
20575 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20576 PyObject *obj;
20577 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20578 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20579 return SWIG_Py_Void();
20580 }
20581
20582 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20583 return SWIG_Python_InitShadowInstance(args);
20584 }
20585
20586 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20587 PyObject *resultobj = 0;
20588 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20589 int arg2 = (int) (int)-1 ;
20590 wxString const &arg3_defvalue = wxPyEmptyString ;
20591 wxString *arg3 = (wxString *) &arg3_defvalue ;
20592 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20593 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20594 wxSize const &arg5_defvalue = wxDefaultSize ;
20595 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20596 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20597 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20598 wxString *arg7 = (wxString *) &arg7_defvalue ;
20599 wxMDIChildFrame *result = 0 ;
20600 void *argp1 = 0 ;
20601 int res1 = 0 ;
20602 int val2 ;
20603 int ecode2 = 0 ;
20604 bool temp3 = false ;
20605 wxPoint temp4 ;
20606 wxSize temp5 ;
20607 long val6 ;
20608 int ecode6 = 0 ;
20609 bool temp7 = false ;
20610 PyObject * obj0 = 0 ;
20611 PyObject * obj1 = 0 ;
20612 PyObject * obj2 = 0 ;
20613 PyObject * obj3 = 0 ;
20614 PyObject * obj4 = 0 ;
20615 PyObject * obj5 = 0 ;
20616 PyObject * obj6 = 0 ;
20617 char * kwnames[] = {
20618 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20619 };
20620
20621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20623 if (!SWIG_IsOK(res1)) {
20624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20625 }
20626 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20627 if (obj1) {
20628 ecode2 = SWIG_AsVal_int(obj1, &val2);
20629 if (!SWIG_IsOK(ecode2)) {
20630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20631 }
20632 arg2 = static_cast< int >(val2);
20633 }
20634 if (obj2) {
20635 {
20636 arg3 = wxString_in_helper(obj2);
20637 if (arg3 == NULL) SWIG_fail;
20638 temp3 = true;
20639 }
20640 }
20641 if (obj3) {
20642 {
20643 arg4 = &temp4;
20644 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20645 }
20646 }
20647 if (obj4) {
20648 {
20649 arg5 = &temp5;
20650 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20651 }
20652 }
20653 if (obj5) {
20654 ecode6 = SWIG_AsVal_long(obj5, &val6);
20655 if (!SWIG_IsOK(ecode6)) {
20656 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20657 }
20658 arg6 = static_cast< long >(val6);
20659 }
20660 if (obj6) {
20661 {
20662 arg7 = wxString_in_helper(obj6);
20663 if (arg7 == NULL) SWIG_fail;
20664 temp7 = true;
20665 }
20666 }
20667 {
20668 if (!wxPyCheckForApp()) SWIG_fail;
20669 PyThreadState* __tstate = wxPyBeginAllowThreads();
20670 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20671 wxPyEndAllowThreads(__tstate);
20672 if (PyErr_Occurred()) SWIG_fail;
20673 }
20674 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20675 {
20676 if (temp3)
20677 delete arg3;
20678 }
20679 {
20680 if (temp7)
20681 delete arg7;
20682 }
20683 return resultobj;
20684 fail:
20685 {
20686 if (temp3)
20687 delete arg3;
20688 }
20689 {
20690 if (temp7)
20691 delete arg7;
20692 }
20693 return NULL;
20694 }
20695
20696
20697 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20698 PyObject *resultobj = 0;
20699 wxMDIChildFrame *result = 0 ;
20700
20701 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20702 {
20703 if (!wxPyCheckForApp()) SWIG_fail;
20704 PyThreadState* __tstate = wxPyBeginAllowThreads();
20705 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20706 wxPyEndAllowThreads(__tstate);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20710 return resultobj;
20711 fail:
20712 return NULL;
20713 }
20714
20715
20716 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20717 PyObject *resultobj = 0;
20718 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20719 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20720 int arg3 = (int) (int)-1 ;
20721 wxString const &arg4_defvalue = wxPyEmptyString ;
20722 wxString *arg4 = (wxString *) &arg4_defvalue ;
20723 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20724 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20725 wxSize const &arg6_defvalue = wxDefaultSize ;
20726 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20727 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20728 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20729 wxString *arg8 = (wxString *) &arg8_defvalue ;
20730 bool result;
20731 void *argp1 = 0 ;
20732 int res1 = 0 ;
20733 void *argp2 = 0 ;
20734 int res2 = 0 ;
20735 int val3 ;
20736 int ecode3 = 0 ;
20737 bool temp4 = false ;
20738 wxPoint temp5 ;
20739 wxSize temp6 ;
20740 long val7 ;
20741 int ecode7 = 0 ;
20742 bool temp8 = false ;
20743 PyObject * obj0 = 0 ;
20744 PyObject * obj1 = 0 ;
20745 PyObject * obj2 = 0 ;
20746 PyObject * obj3 = 0 ;
20747 PyObject * obj4 = 0 ;
20748 PyObject * obj5 = 0 ;
20749 PyObject * obj6 = 0 ;
20750 PyObject * obj7 = 0 ;
20751 char * kwnames[] = {
20752 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20753 };
20754
20755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20757 if (!SWIG_IsOK(res1)) {
20758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20759 }
20760 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20761 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20762 if (!SWIG_IsOK(res2)) {
20763 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20764 }
20765 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20766 if (obj2) {
20767 ecode3 = SWIG_AsVal_int(obj2, &val3);
20768 if (!SWIG_IsOK(ecode3)) {
20769 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20770 }
20771 arg3 = static_cast< int >(val3);
20772 }
20773 if (obj3) {
20774 {
20775 arg4 = wxString_in_helper(obj3);
20776 if (arg4 == NULL) SWIG_fail;
20777 temp4 = true;
20778 }
20779 }
20780 if (obj4) {
20781 {
20782 arg5 = &temp5;
20783 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20784 }
20785 }
20786 if (obj5) {
20787 {
20788 arg6 = &temp6;
20789 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20790 }
20791 }
20792 if (obj6) {
20793 ecode7 = SWIG_AsVal_long(obj6, &val7);
20794 if (!SWIG_IsOK(ecode7)) {
20795 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20796 }
20797 arg7 = static_cast< long >(val7);
20798 }
20799 if (obj7) {
20800 {
20801 arg8 = wxString_in_helper(obj7);
20802 if (arg8 == NULL) SWIG_fail;
20803 temp8 = true;
20804 }
20805 }
20806 {
20807 PyThreadState* __tstate = wxPyBeginAllowThreads();
20808 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20809 wxPyEndAllowThreads(__tstate);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
20812 {
20813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20814 }
20815 {
20816 if (temp4)
20817 delete arg4;
20818 }
20819 {
20820 if (temp8)
20821 delete arg8;
20822 }
20823 return resultobj;
20824 fail:
20825 {
20826 if (temp4)
20827 delete arg4;
20828 }
20829 {
20830 if (temp8)
20831 delete arg8;
20832 }
20833 return NULL;
20834 }
20835
20836
20837 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20838 PyObject *resultobj = 0;
20839 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20840 void *argp1 = 0 ;
20841 int res1 = 0 ;
20842 PyObject *swig_obj[1] ;
20843
20844 if (!args) SWIG_fail;
20845 swig_obj[0] = args;
20846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20847 if (!SWIG_IsOK(res1)) {
20848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20849 }
20850 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20851 {
20852 PyThreadState* __tstate = wxPyBeginAllowThreads();
20853 (arg1)->Activate();
20854 wxPyEndAllowThreads(__tstate);
20855 if (PyErr_Occurred()) SWIG_fail;
20856 }
20857 resultobj = SWIG_Py_Void();
20858 return resultobj;
20859 fail:
20860 return NULL;
20861 }
20862
20863
20864 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20865 PyObject *obj;
20866 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20867 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
20868 return SWIG_Py_Void();
20869 }
20870
20871 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20872 return SWIG_Python_InitShadowInstance(args);
20873 }
20874
20875 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20876 PyObject *resultobj = 0;
20877 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20878 long arg2 = (long) 0 ;
20879 wxMDIClientWindow *result = 0 ;
20880 void *argp1 = 0 ;
20881 int res1 = 0 ;
20882 long val2 ;
20883 int ecode2 = 0 ;
20884 PyObject * obj0 = 0 ;
20885 PyObject * obj1 = 0 ;
20886 char * kwnames[] = {
20887 (char *) "parent",(char *) "style", NULL
20888 };
20889
20890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
20891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20892 if (!SWIG_IsOK(res1)) {
20893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20894 }
20895 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20896 if (obj1) {
20897 ecode2 = SWIG_AsVal_long(obj1, &val2);
20898 if (!SWIG_IsOK(ecode2)) {
20899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20900 }
20901 arg2 = static_cast< long >(val2);
20902 }
20903 {
20904 if (!wxPyCheckForApp()) SWIG_fail;
20905 PyThreadState* __tstate = wxPyBeginAllowThreads();
20906 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
20907 wxPyEndAllowThreads(__tstate);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 }
20910 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
20911 return resultobj;
20912 fail:
20913 return NULL;
20914 }
20915
20916
20917 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20918 PyObject *resultobj = 0;
20919 wxMDIClientWindow *result = 0 ;
20920
20921 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
20922 {
20923 if (!wxPyCheckForApp()) SWIG_fail;
20924 PyThreadState* __tstate = wxPyBeginAllowThreads();
20925 result = (wxMDIClientWindow *)new wxMDIClientWindow();
20926 wxPyEndAllowThreads(__tstate);
20927 if (PyErr_Occurred()) SWIG_fail;
20928 }
20929 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
20930 return resultobj;
20931 fail:
20932 return NULL;
20933 }
20934
20935
20936 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20937 PyObject *resultobj = 0;
20938 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
20939 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20940 long arg3 = (long) 0 ;
20941 bool result;
20942 void *argp1 = 0 ;
20943 int res1 = 0 ;
20944 void *argp2 = 0 ;
20945 int res2 = 0 ;
20946 long val3 ;
20947 int ecode3 = 0 ;
20948 PyObject * obj0 = 0 ;
20949 PyObject * obj1 = 0 ;
20950 PyObject * obj2 = 0 ;
20951 char * kwnames[] = {
20952 (char *) "self",(char *) "parent",(char *) "style", NULL
20953 };
20954
20955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
20957 if (!SWIG_IsOK(res1)) {
20958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20959 }
20960 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
20961 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20962 if (!SWIG_IsOK(res2)) {
20963 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20964 }
20965 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20966 if (obj2) {
20967 ecode3 = SWIG_AsVal_long(obj2, &val3);
20968 if (!SWIG_IsOK(ecode3)) {
20969 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
20970 }
20971 arg3 = static_cast< long >(val3);
20972 }
20973 {
20974 PyThreadState* __tstate = wxPyBeginAllowThreads();
20975 result = (bool)(arg1)->Create(arg2,arg3);
20976 wxPyEndAllowThreads(__tstate);
20977 if (PyErr_Occurred()) SWIG_fail;
20978 }
20979 {
20980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20981 }
20982 return resultobj;
20983 fail:
20984 return NULL;
20985 }
20986
20987
20988 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20989 PyObject *obj;
20990 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20991 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
20992 return SWIG_Py_Void();
20993 }
20994
20995 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20996 return SWIG_Python_InitShadowInstance(args);
20997 }
20998
20999 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21000 PyObject *resultobj = 0;
21001 wxWindow *arg1 = (wxWindow *) 0 ;
21002 int arg2 = (int) (int)-1 ;
21003 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21004 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21005 wxSize const &arg4_defvalue = wxDefaultSize ;
21006 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21007 long arg5 = (long) 0 ;
21008 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21009 wxString *arg6 = (wxString *) &arg6_defvalue ;
21010 wxPyWindow *result = 0 ;
21011 void *argp1 = 0 ;
21012 int res1 = 0 ;
21013 int val2 ;
21014 int ecode2 = 0 ;
21015 wxPoint temp3 ;
21016 wxSize temp4 ;
21017 long val5 ;
21018 int ecode5 = 0 ;
21019 bool temp6 = false ;
21020 PyObject * obj0 = 0 ;
21021 PyObject * obj1 = 0 ;
21022 PyObject * obj2 = 0 ;
21023 PyObject * obj3 = 0 ;
21024 PyObject * obj4 = 0 ;
21025 PyObject * obj5 = 0 ;
21026 char * kwnames[] = {
21027 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21028 };
21029
21030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21032 if (!SWIG_IsOK(res1)) {
21033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21034 }
21035 arg1 = reinterpret_cast< wxWindow * >(argp1);
21036 if (obj1) {
21037 ecode2 = SWIG_AsVal_int(obj1, &val2);
21038 if (!SWIG_IsOK(ecode2)) {
21039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21040 }
21041 arg2 = static_cast< int >(val2);
21042 }
21043 if (obj2) {
21044 {
21045 arg3 = &temp3;
21046 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21047 }
21048 }
21049 if (obj3) {
21050 {
21051 arg4 = &temp4;
21052 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21053 }
21054 }
21055 if (obj4) {
21056 ecode5 = SWIG_AsVal_long(obj4, &val5);
21057 if (!SWIG_IsOK(ecode5)) {
21058 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21059 }
21060 arg5 = static_cast< long >(val5);
21061 }
21062 if (obj5) {
21063 {
21064 arg6 = wxString_in_helper(obj5);
21065 if (arg6 == NULL) SWIG_fail;
21066 temp6 = true;
21067 }
21068 }
21069 {
21070 if (!wxPyCheckForApp()) SWIG_fail;
21071 PyThreadState* __tstate = wxPyBeginAllowThreads();
21072 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21073 wxPyEndAllowThreads(__tstate);
21074 if (PyErr_Occurred()) SWIG_fail;
21075 }
21076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21077 {
21078 if (temp6)
21079 delete arg6;
21080 }
21081 return resultobj;
21082 fail:
21083 {
21084 if (temp6)
21085 delete arg6;
21086 }
21087 return NULL;
21088 }
21089
21090
21091 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21092 PyObject *resultobj = 0;
21093 wxPyWindow *result = 0 ;
21094
21095 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21096 {
21097 if (!wxPyCheckForApp()) SWIG_fail;
21098 PyThreadState* __tstate = wxPyBeginAllowThreads();
21099 result = (wxPyWindow *)new wxPyWindow();
21100 wxPyEndAllowThreads(__tstate);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 }
21103 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21104 return resultobj;
21105 fail:
21106 return NULL;
21107 }
21108
21109
21110 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21111 PyObject *resultobj = 0;
21112 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21113 PyObject *arg2 = (PyObject *) 0 ;
21114 PyObject *arg3 = (PyObject *) 0 ;
21115 void *argp1 = 0 ;
21116 int res1 = 0 ;
21117 PyObject * obj0 = 0 ;
21118 PyObject * obj1 = 0 ;
21119 PyObject * obj2 = 0 ;
21120 char * kwnames[] = {
21121 (char *) "self",(char *) "self",(char *) "_class", NULL
21122 };
21123
21124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21126 if (!SWIG_IsOK(res1)) {
21127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21128 }
21129 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21130 arg2 = obj1;
21131 arg3 = obj2;
21132 {
21133 PyThreadState* __tstate = wxPyBeginAllowThreads();
21134 (arg1)->_setCallbackInfo(arg2,arg3);
21135 wxPyEndAllowThreads(__tstate);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 }
21138 resultobj = SWIG_Py_Void();
21139 return resultobj;
21140 fail:
21141 return NULL;
21142 }
21143
21144
21145 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21146 PyObject *resultobj = 0;
21147 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21148 wxSize *arg2 = 0 ;
21149 void *argp1 = 0 ;
21150 int res1 = 0 ;
21151 wxSize temp2 ;
21152 PyObject * obj0 = 0 ;
21153 PyObject * obj1 = 0 ;
21154 char * kwnames[] = {
21155 (char *) "self",(char *) "size", NULL
21156 };
21157
21158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21160 if (!SWIG_IsOK(res1)) {
21161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21162 }
21163 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21164 {
21165 arg2 = &temp2;
21166 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21167 }
21168 {
21169 PyThreadState* __tstate = wxPyBeginAllowThreads();
21170 (arg1)->SetBestSize((wxSize const &)*arg2);
21171 wxPyEndAllowThreads(__tstate);
21172 if (PyErr_Occurred()) SWIG_fail;
21173 }
21174 resultobj = SWIG_Py_Void();
21175 return resultobj;
21176 fail:
21177 return NULL;
21178 }
21179
21180
21181 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21182 PyObject *resultobj = 0;
21183 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21184 wxDC *arg2 = (wxDC *) 0 ;
21185 bool result;
21186 void *argp1 = 0 ;
21187 int res1 = 0 ;
21188 void *argp2 = 0 ;
21189 int res2 = 0 ;
21190 PyObject * obj0 = 0 ;
21191 PyObject * obj1 = 0 ;
21192 char * kwnames[] = {
21193 (char *) "self",(char *) "dc", NULL
21194 };
21195
21196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21198 if (!SWIG_IsOK(res1)) {
21199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21200 }
21201 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21202 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21203 if (!SWIG_IsOK(res2)) {
21204 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21205 }
21206 arg2 = reinterpret_cast< wxDC * >(argp2);
21207 {
21208 PyThreadState* __tstate = wxPyBeginAllowThreads();
21209 result = (bool)(arg1)->DoEraseBackground(arg2);
21210 wxPyEndAllowThreads(__tstate);
21211 if (PyErr_Occurred()) SWIG_fail;
21212 }
21213 {
21214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21215 }
21216 return resultobj;
21217 fail:
21218 return NULL;
21219 }
21220
21221
21222 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21223 PyObject *resultobj = 0;
21224 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21225 int arg2 ;
21226 int arg3 ;
21227 int arg4 ;
21228 int arg5 ;
21229 void *argp1 = 0 ;
21230 int res1 = 0 ;
21231 int val2 ;
21232 int ecode2 = 0 ;
21233 int val3 ;
21234 int ecode3 = 0 ;
21235 int val4 ;
21236 int ecode4 = 0 ;
21237 int val5 ;
21238 int ecode5 = 0 ;
21239 PyObject * obj0 = 0 ;
21240 PyObject * obj1 = 0 ;
21241 PyObject * obj2 = 0 ;
21242 PyObject * obj3 = 0 ;
21243 PyObject * obj4 = 0 ;
21244 char * kwnames[] = {
21245 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21246 };
21247
21248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21250 if (!SWIG_IsOK(res1)) {
21251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21252 }
21253 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21254 ecode2 = SWIG_AsVal_int(obj1, &val2);
21255 if (!SWIG_IsOK(ecode2)) {
21256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21257 }
21258 arg2 = static_cast< int >(val2);
21259 ecode3 = SWIG_AsVal_int(obj2, &val3);
21260 if (!SWIG_IsOK(ecode3)) {
21261 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21262 }
21263 arg3 = static_cast< int >(val3);
21264 ecode4 = SWIG_AsVal_int(obj3, &val4);
21265 if (!SWIG_IsOK(ecode4)) {
21266 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21267 }
21268 arg4 = static_cast< int >(val4);
21269 ecode5 = SWIG_AsVal_int(obj4, &val5);
21270 if (!SWIG_IsOK(ecode5)) {
21271 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21272 }
21273 arg5 = static_cast< int >(val5);
21274 {
21275 PyThreadState* __tstate = wxPyBeginAllowThreads();
21276 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21277 wxPyEndAllowThreads(__tstate);
21278 if (PyErr_Occurred()) SWIG_fail;
21279 }
21280 resultobj = SWIG_Py_Void();
21281 return resultobj;
21282 fail:
21283 return NULL;
21284 }
21285
21286
21287 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21288 PyObject *resultobj = 0;
21289 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21290 int arg2 ;
21291 int arg3 ;
21292 int arg4 ;
21293 int arg5 ;
21294 int arg6 = (int) wxSIZE_AUTO ;
21295 void *argp1 = 0 ;
21296 int res1 = 0 ;
21297 int val2 ;
21298 int ecode2 = 0 ;
21299 int val3 ;
21300 int ecode3 = 0 ;
21301 int val4 ;
21302 int ecode4 = 0 ;
21303 int val5 ;
21304 int ecode5 = 0 ;
21305 int val6 ;
21306 int ecode6 = 0 ;
21307 PyObject * obj0 = 0 ;
21308 PyObject * obj1 = 0 ;
21309 PyObject * obj2 = 0 ;
21310 PyObject * obj3 = 0 ;
21311 PyObject * obj4 = 0 ;
21312 PyObject * obj5 = 0 ;
21313 char * kwnames[] = {
21314 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21315 };
21316
21317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21319 if (!SWIG_IsOK(res1)) {
21320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21321 }
21322 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21323 ecode2 = SWIG_AsVal_int(obj1, &val2);
21324 if (!SWIG_IsOK(ecode2)) {
21325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21326 }
21327 arg2 = static_cast< int >(val2);
21328 ecode3 = SWIG_AsVal_int(obj2, &val3);
21329 if (!SWIG_IsOK(ecode3)) {
21330 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21331 }
21332 arg3 = static_cast< int >(val3);
21333 ecode4 = SWIG_AsVal_int(obj3, &val4);
21334 if (!SWIG_IsOK(ecode4)) {
21335 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21336 }
21337 arg4 = static_cast< int >(val4);
21338 ecode5 = SWIG_AsVal_int(obj4, &val5);
21339 if (!SWIG_IsOK(ecode5)) {
21340 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21341 }
21342 arg5 = static_cast< int >(val5);
21343 if (obj5) {
21344 ecode6 = SWIG_AsVal_int(obj5, &val6);
21345 if (!SWIG_IsOK(ecode6)) {
21346 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21347 }
21348 arg6 = static_cast< int >(val6);
21349 }
21350 {
21351 PyThreadState* __tstate = wxPyBeginAllowThreads();
21352 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21353 wxPyEndAllowThreads(__tstate);
21354 if (PyErr_Occurred()) SWIG_fail;
21355 }
21356 resultobj = SWIG_Py_Void();
21357 return resultobj;
21358 fail:
21359 return NULL;
21360 }
21361
21362
21363 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21364 PyObject *resultobj = 0;
21365 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21366 int arg2 ;
21367 int arg3 ;
21368 void *argp1 = 0 ;
21369 int res1 = 0 ;
21370 int val2 ;
21371 int ecode2 = 0 ;
21372 int val3 ;
21373 int ecode3 = 0 ;
21374 PyObject * obj0 = 0 ;
21375 PyObject * obj1 = 0 ;
21376 PyObject * obj2 = 0 ;
21377 char * kwnames[] = {
21378 (char *) "self",(char *) "width",(char *) "height", NULL
21379 };
21380
21381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21383 if (!SWIG_IsOK(res1)) {
21384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21385 }
21386 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21387 ecode2 = SWIG_AsVal_int(obj1, &val2);
21388 if (!SWIG_IsOK(ecode2)) {
21389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21390 }
21391 arg2 = static_cast< int >(val2);
21392 ecode3 = SWIG_AsVal_int(obj2, &val3);
21393 if (!SWIG_IsOK(ecode3)) {
21394 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21395 }
21396 arg3 = static_cast< int >(val3);
21397 {
21398 PyThreadState* __tstate = wxPyBeginAllowThreads();
21399 (arg1)->DoSetClientSize(arg2,arg3);
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 resultobj = SWIG_Py_Void();
21404 return resultobj;
21405 fail:
21406 return NULL;
21407 }
21408
21409
21410 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21411 PyObject *resultobj = 0;
21412 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21413 int arg2 ;
21414 int arg3 ;
21415 void *argp1 = 0 ;
21416 int res1 = 0 ;
21417 int val2 ;
21418 int ecode2 = 0 ;
21419 int val3 ;
21420 int ecode3 = 0 ;
21421 PyObject * obj0 = 0 ;
21422 PyObject * obj1 = 0 ;
21423 PyObject * obj2 = 0 ;
21424 char * kwnames[] = {
21425 (char *) "self",(char *) "x",(char *) "y", NULL
21426 };
21427
21428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21430 if (!SWIG_IsOK(res1)) {
21431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21432 }
21433 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21434 ecode2 = SWIG_AsVal_int(obj1, &val2);
21435 if (!SWIG_IsOK(ecode2)) {
21436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21437 }
21438 arg2 = static_cast< int >(val2);
21439 ecode3 = SWIG_AsVal_int(obj2, &val3);
21440 if (!SWIG_IsOK(ecode3)) {
21441 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21442 }
21443 arg3 = static_cast< int >(val3);
21444 {
21445 PyThreadState* __tstate = wxPyBeginAllowThreads();
21446 (arg1)->DoSetVirtualSize(arg2,arg3);
21447 wxPyEndAllowThreads(__tstate);
21448 if (PyErr_Occurred()) SWIG_fail;
21449 }
21450 resultobj = SWIG_Py_Void();
21451 return resultobj;
21452 fail:
21453 return NULL;
21454 }
21455
21456
21457 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21458 PyObject *resultobj = 0;
21459 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21460 int *arg2 = (int *) 0 ;
21461 int *arg3 = (int *) 0 ;
21462 void *argp1 = 0 ;
21463 int res1 = 0 ;
21464 int temp2 ;
21465 int res2 = SWIG_TMPOBJ ;
21466 int temp3 ;
21467 int res3 = SWIG_TMPOBJ ;
21468 PyObject *swig_obj[1] ;
21469
21470 arg2 = &temp2;
21471 arg3 = &temp3;
21472 if (!args) SWIG_fail;
21473 swig_obj[0] = args;
21474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21475 if (!SWIG_IsOK(res1)) {
21476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21477 }
21478 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21479 {
21480 PyThreadState* __tstate = wxPyBeginAllowThreads();
21481 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21482 wxPyEndAllowThreads(__tstate);
21483 if (PyErr_Occurred()) SWIG_fail;
21484 }
21485 resultobj = SWIG_Py_Void();
21486 if (SWIG_IsTmpObj(res2)) {
21487 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21488 } else {
21489 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21490 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21491 }
21492 if (SWIG_IsTmpObj(res3)) {
21493 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21494 } else {
21495 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21496 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21497 }
21498 return resultobj;
21499 fail:
21500 return NULL;
21501 }
21502
21503
21504 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21505 PyObject *resultobj = 0;
21506 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21507 int *arg2 = (int *) 0 ;
21508 int *arg3 = (int *) 0 ;
21509 void *argp1 = 0 ;
21510 int res1 = 0 ;
21511 int temp2 ;
21512 int res2 = SWIG_TMPOBJ ;
21513 int temp3 ;
21514 int res3 = SWIG_TMPOBJ ;
21515 PyObject *swig_obj[1] ;
21516
21517 arg2 = &temp2;
21518 arg3 = &temp3;
21519 if (!args) SWIG_fail;
21520 swig_obj[0] = args;
21521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21522 if (!SWIG_IsOK(res1)) {
21523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21524 }
21525 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21526 {
21527 PyThreadState* __tstate = wxPyBeginAllowThreads();
21528 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21529 wxPyEndAllowThreads(__tstate);
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
21532 resultobj = SWIG_Py_Void();
21533 if (SWIG_IsTmpObj(res2)) {
21534 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21535 } else {
21536 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21537 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21538 }
21539 if (SWIG_IsTmpObj(res3)) {
21540 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21541 } else {
21542 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21543 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21544 }
21545 return resultobj;
21546 fail:
21547 return NULL;
21548 }
21549
21550
21551 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21552 PyObject *resultobj = 0;
21553 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21554 int *arg2 = (int *) 0 ;
21555 int *arg3 = (int *) 0 ;
21556 void *argp1 = 0 ;
21557 int res1 = 0 ;
21558 int temp2 ;
21559 int res2 = SWIG_TMPOBJ ;
21560 int temp3 ;
21561 int res3 = SWIG_TMPOBJ ;
21562 PyObject *swig_obj[1] ;
21563
21564 arg2 = &temp2;
21565 arg3 = &temp3;
21566 if (!args) SWIG_fail;
21567 swig_obj[0] = args;
21568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21569 if (!SWIG_IsOK(res1)) {
21570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21571 }
21572 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21573 {
21574 PyThreadState* __tstate = wxPyBeginAllowThreads();
21575 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21576 wxPyEndAllowThreads(__tstate);
21577 if (PyErr_Occurred()) SWIG_fail;
21578 }
21579 resultobj = SWIG_Py_Void();
21580 if (SWIG_IsTmpObj(res2)) {
21581 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21582 } else {
21583 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21584 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21585 }
21586 if (SWIG_IsTmpObj(res3)) {
21587 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21588 } else {
21589 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21590 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21591 }
21592 return resultobj;
21593 fail:
21594 return NULL;
21595 }
21596
21597
21598 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21599 PyObject *resultobj = 0;
21600 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21601 wxSize result;
21602 void *argp1 = 0 ;
21603 int res1 = 0 ;
21604 PyObject *swig_obj[1] ;
21605
21606 if (!args) SWIG_fail;
21607 swig_obj[0] = args;
21608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21609 if (!SWIG_IsOK(res1)) {
21610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21611 }
21612 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21613 {
21614 PyThreadState* __tstate = wxPyBeginAllowThreads();
21615 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21616 wxPyEndAllowThreads(__tstate);
21617 if (PyErr_Occurred()) SWIG_fail;
21618 }
21619 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21620 return resultobj;
21621 fail:
21622 return NULL;
21623 }
21624
21625
21626 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21627 PyObject *resultobj = 0;
21628 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21629 wxSize result;
21630 void *argp1 = 0 ;
21631 int res1 = 0 ;
21632 PyObject *swig_obj[1] ;
21633
21634 if (!args) SWIG_fail;
21635 swig_obj[0] = args;
21636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21637 if (!SWIG_IsOK(res1)) {
21638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21639 }
21640 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21641 {
21642 PyThreadState* __tstate = wxPyBeginAllowThreads();
21643 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21644 wxPyEndAllowThreads(__tstate);
21645 if (PyErr_Occurred()) SWIG_fail;
21646 }
21647 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21648 return resultobj;
21649 fail:
21650 return NULL;
21651 }
21652
21653
21654 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21655 PyObject *resultobj = 0;
21656 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21657 SwigValueWrapper<wxVisualAttributes > result;
21658 void *argp1 = 0 ;
21659 int res1 = 0 ;
21660 PyObject *swig_obj[1] ;
21661
21662 if (!args) SWIG_fail;
21663 swig_obj[0] = args;
21664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21665 if (!SWIG_IsOK(res1)) {
21666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21667 }
21668 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21669 {
21670 PyThreadState* __tstate = wxPyBeginAllowThreads();
21671 result = (arg1)->GetDefaultAttributes();
21672 wxPyEndAllowThreads(__tstate);
21673 if (PyErr_Occurred()) SWIG_fail;
21674 }
21675 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21676 return resultobj;
21677 fail:
21678 return NULL;
21679 }
21680
21681
21682 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21683 PyObject *resultobj = 0;
21684 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21685 void *argp1 = 0 ;
21686 int res1 = 0 ;
21687 PyObject *swig_obj[1] ;
21688
21689 if (!args) SWIG_fail;
21690 swig_obj[0] = args;
21691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21692 if (!SWIG_IsOK(res1)) {
21693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21694 }
21695 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21696 {
21697 PyThreadState* __tstate = wxPyBeginAllowThreads();
21698 (arg1)->OnInternalIdle();
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 resultobj = SWIG_Py_Void();
21703 return resultobj;
21704 fail:
21705 return NULL;
21706 }
21707
21708
21709 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21710 PyObject *obj;
21711 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21712 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21713 return SWIG_Py_Void();
21714 }
21715
21716 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21717 return SWIG_Python_InitShadowInstance(args);
21718 }
21719
21720 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21721 PyObject *resultobj = 0;
21722 wxWindow *arg1 = (wxWindow *) 0 ;
21723 int arg2 = (int) (int)-1 ;
21724 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21725 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21726 wxSize const &arg4_defvalue = wxDefaultSize ;
21727 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21728 long arg5 = (long) 0 ;
21729 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21730 wxString *arg6 = (wxString *) &arg6_defvalue ;
21731 wxPyPanel *result = 0 ;
21732 void *argp1 = 0 ;
21733 int res1 = 0 ;
21734 int val2 ;
21735 int ecode2 = 0 ;
21736 wxPoint temp3 ;
21737 wxSize temp4 ;
21738 long val5 ;
21739 int ecode5 = 0 ;
21740 bool temp6 = false ;
21741 PyObject * obj0 = 0 ;
21742 PyObject * obj1 = 0 ;
21743 PyObject * obj2 = 0 ;
21744 PyObject * obj3 = 0 ;
21745 PyObject * obj4 = 0 ;
21746 PyObject * obj5 = 0 ;
21747 char * kwnames[] = {
21748 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21749 };
21750
21751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21753 if (!SWIG_IsOK(res1)) {
21754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21755 }
21756 arg1 = reinterpret_cast< wxWindow * >(argp1);
21757 if (obj1) {
21758 ecode2 = SWIG_AsVal_int(obj1, &val2);
21759 if (!SWIG_IsOK(ecode2)) {
21760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21761 }
21762 arg2 = static_cast< int >(val2);
21763 }
21764 if (obj2) {
21765 {
21766 arg3 = &temp3;
21767 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21768 }
21769 }
21770 if (obj3) {
21771 {
21772 arg4 = &temp4;
21773 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21774 }
21775 }
21776 if (obj4) {
21777 ecode5 = SWIG_AsVal_long(obj4, &val5);
21778 if (!SWIG_IsOK(ecode5)) {
21779 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21780 }
21781 arg5 = static_cast< long >(val5);
21782 }
21783 if (obj5) {
21784 {
21785 arg6 = wxString_in_helper(obj5);
21786 if (arg6 == NULL) SWIG_fail;
21787 temp6 = true;
21788 }
21789 }
21790 {
21791 if (!wxPyCheckForApp()) SWIG_fail;
21792 PyThreadState* __tstate = wxPyBeginAllowThreads();
21793 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21794 wxPyEndAllowThreads(__tstate);
21795 if (PyErr_Occurred()) SWIG_fail;
21796 }
21797 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21798 {
21799 if (temp6)
21800 delete arg6;
21801 }
21802 return resultobj;
21803 fail:
21804 {
21805 if (temp6)
21806 delete arg6;
21807 }
21808 return NULL;
21809 }
21810
21811
21812 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21813 PyObject *resultobj = 0;
21814 wxPyPanel *result = 0 ;
21815
21816 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
21817 {
21818 if (!wxPyCheckForApp()) SWIG_fail;
21819 PyThreadState* __tstate = wxPyBeginAllowThreads();
21820 result = (wxPyPanel *)new wxPyPanel();
21821 wxPyEndAllowThreads(__tstate);
21822 if (PyErr_Occurred()) SWIG_fail;
21823 }
21824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
21825 return resultobj;
21826 fail:
21827 return NULL;
21828 }
21829
21830
21831 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21832 PyObject *resultobj = 0;
21833 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21834 PyObject *arg2 = (PyObject *) 0 ;
21835 PyObject *arg3 = (PyObject *) 0 ;
21836 void *argp1 = 0 ;
21837 int res1 = 0 ;
21838 PyObject * obj0 = 0 ;
21839 PyObject * obj1 = 0 ;
21840 PyObject * obj2 = 0 ;
21841 char * kwnames[] = {
21842 (char *) "self",(char *) "self",(char *) "_class", NULL
21843 };
21844
21845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21847 if (!SWIG_IsOK(res1)) {
21848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21849 }
21850 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21851 arg2 = obj1;
21852 arg3 = obj2;
21853 {
21854 PyThreadState* __tstate = wxPyBeginAllowThreads();
21855 (arg1)->_setCallbackInfo(arg2,arg3);
21856 wxPyEndAllowThreads(__tstate);
21857 if (PyErr_Occurred()) SWIG_fail;
21858 }
21859 resultobj = SWIG_Py_Void();
21860 return resultobj;
21861 fail:
21862 return NULL;
21863 }
21864
21865
21866 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21867 PyObject *resultobj = 0;
21868 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21869 wxSize *arg2 = 0 ;
21870 void *argp1 = 0 ;
21871 int res1 = 0 ;
21872 wxSize temp2 ;
21873 PyObject * obj0 = 0 ;
21874 PyObject * obj1 = 0 ;
21875 char * kwnames[] = {
21876 (char *) "self",(char *) "size", NULL
21877 };
21878
21879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21881 if (!SWIG_IsOK(res1)) {
21882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21883 }
21884 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21885 {
21886 arg2 = &temp2;
21887 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21888 }
21889 {
21890 PyThreadState* __tstate = wxPyBeginAllowThreads();
21891 (arg1)->SetBestSize((wxSize const &)*arg2);
21892 wxPyEndAllowThreads(__tstate);
21893 if (PyErr_Occurred()) SWIG_fail;
21894 }
21895 resultobj = SWIG_Py_Void();
21896 return resultobj;
21897 fail:
21898 return NULL;
21899 }
21900
21901
21902 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21903 PyObject *resultobj = 0;
21904 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21905 wxDC *arg2 = (wxDC *) 0 ;
21906 bool result;
21907 void *argp1 = 0 ;
21908 int res1 = 0 ;
21909 void *argp2 = 0 ;
21910 int res2 = 0 ;
21911 PyObject * obj0 = 0 ;
21912 PyObject * obj1 = 0 ;
21913 char * kwnames[] = {
21914 (char *) "self",(char *) "dc", NULL
21915 };
21916
21917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21919 if (!SWIG_IsOK(res1)) {
21920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21921 }
21922 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21923 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21924 if (!SWIG_IsOK(res2)) {
21925 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21926 }
21927 arg2 = reinterpret_cast< wxDC * >(argp2);
21928 {
21929 PyThreadState* __tstate = wxPyBeginAllowThreads();
21930 result = (bool)(arg1)->DoEraseBackground(arg2);
21931 wxPyEndAllowThreads(__tstate);
21932 if (PyErr_Occurred()) SWIG_fail;
21933 }
21934 {
21935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21936 }
21937 return resultobj;
21938 fail:
21939 return NULL;
21940 }
21941
21942
21943 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21944 PyObject *resultobj = 0;
21945 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21946 int arg2 ;
21947 int arg3 ;
21948 int arg4 ;
21949 int arg5 ;
21950 void *argp1 = 0 ;
21951 int res1 = 0 ;
21952 int val2 ;
21953 int ecode2 = 0 ;
21954 int val3 ;
21955 int ecode3 = 0 ;
21956 int val4 ;
21957 int ecode4 = 0 ;
21958 int val5 ;
21959 int ecode5 = 0 ;
21960 PyObject * obj0 = 0 ;
21961 PyObject * obj1 = 0 ;
21962 PyObject * obj2 = 0 ;
21963 PyObject * obj3 = 0 ;
21964 PyObject * obj4 = 0 ;
21965 char * kwnames[] = {
21966 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21967 };
21968
21969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21971 if (!SWIG_IsOK(res1)) {
21972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21973 }
21974 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21975 ecode2 = SWIG_AsVal_int(obj1, &val2);
21976 if (!SWIG_IsOK(ecode2)) {
21977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21978 }
21979 arg2 = static_cast< int >(val2);
21980 ecode3 = SWIG_AsVal_int(obj2, &val3);
21981 if (!SWIG_IsOK(ecode3)) {
21982 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21983 }
21984 arg3 = static_cast< int >(val3);
21985 ecode4 = SWIG_AsVal_int(obj3, &val4);
21986 if (!SWIG_IsOK(ecode4)) {
21987 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21988 }
21989 arg4 = static_cast< int >(val4);
21990 ecode5 = SWIG_AsVal_int(obj4, &val5);
21991 if (!SWIG_IsOK(ecode5)) {
21992 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21993 }
21994 arg5 = static_cast< int >(val5);
21995 {
21996 PyThreadState* __tstate = wxPyBeginAllowThreads();
21997 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21998 wxPyEndAllowThreads(__tstate);
21999 if (PyErr_Occurred()) SWIG_fail;
22000 }
22001 resultobj = SWIG_Py_Void();
22002 return resultobj;
22003 fail:
22004 return NULL;
22005 }
22006
22007
22008 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22009 PyObject *resultobj = 0;
22010 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22011 int arg2 ;
22012 int arg3 ;
22013 int arg4 ;
22014 int arg5 ;
22015 int arg6 = (int) wxSIZE_AUTO ;
22016 void *argp1 = 0 ;
22017 int res1 = 0 ;
22018 int val2 ;
22019 int ecode2 = 0 ;
22020 int val3 ;
22021 int ecode3 = 0 ;
22022 int val4 ;
22023 int ecode4 = 0 ;
22024 int val5 ;
22025 int ecode5 = 0 ;
22026 int val6 ;
22027 int ecode6 = 0 ;
22028 PyObject * obj0 = 0 ;
22029 PyObject * obj1 = 0 ;
22030 PyObject * obj2 = 0 ;
22031 PyObject * obj3 = 0 ;
22032 PyObject * obj4 = 0 ;
22033 PyObject * obj5 = 0 ;
22034 char * kwnames[] = {
22035 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22036 };
22037
22038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22040 if (!SWIG_IsOK(res1)) {
22041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22042 }
22043 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22044 ecode2 = SWIG_AsVal_int(obj1, &val2);
22045 if (!SWIG_IsOK(ecode2)) {
22046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22047 }
22048 arg2 = static_cast< int >(val2);
22049 ecode3 = SWIG_AsVal_int(obj2, &val3);
22050 if (!SWIG_IsOK(ecode3)) {
22051 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22052 }
22053 arg3 = static_cast< int >(val3);
22054 ecode4 = SWIG_AsVal_int(obj3, &val4);
22055 if (!SWIG_IsOK(ecode4)) {
22056 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22057 }
22058 arg4 = static_cast< int >(val4);
22059 ecode5 = SWIG_AsVal_int(obj4, &val5);
22060 if (!SWIG_IsOK(ecode5)) {
22061 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22062 }
22063 arg5 = static_cast< int >(val5);
22064 if (obj5) {
22065 ecode6 = SWIG_AsVal_int(obj5, &val6);
22066 if (!SWIG_IsOK(ecode6)) {
22067 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22068 }
22069 arg6 = static_cast< int >(val6);
22070 }
22071 {
22072 PyThreadState* __tstate = wxPyBeginAllowThreads();
22073 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22074 wxPyEndAllowThreads(__tstate);
22075 if (PyErr_Occurred()) SWIG_fail;
22076 }
22077 resultobj = SWIG_Py_Void();
22078 return resultobj;
22079 fail:
22080 return NULL;
22081 }
22082
22083
22084 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22085 PyObject *resultobj = 0;
22086 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22087 int arg2 ;
22088 int arg3 ;
22089 void *argp1 = 0 ;
22090 int res1 = 0 ;
22091 int val2 ;
22092 int ecode2 = 0 ;
22093 int val3 ;
22094 int ecode3 = 0 ;
22095 PyObject * obj0 = 0 ;
22096 PyObject * obj1 = 0 ;
22097 PyObject * obj2 = 0 ;
22098 char * kwnames[] = {
22099 (char *) "self",(char *) "width",(char *) "height", NULL
22100 };
22101
22102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22104 if (!SWIG_IsOK(res1)) {
22105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22106 }
22107 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22108 ecode2 = SWIG_AsVal_int(obj1, &val2);
22109 if (!SWIG_IsOK(ecode2)) {
22110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22111 }
22112 arg2 = static_cast< int >(val2);
22113 ecode3 = SWIG_AsVal_int(obj2, &val3);
22114 if (!SWIG_IsOK(ecode3)) {
22115 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22116 }
22117 arg3 = static_cast< int >(val3);
22118 {
22119 PyThreadState* __tstate = wxPyBeginAllowThreads();
22120 (arg1)->DoSetClientSize(arg2,arg3);
22121 wxPyEndAllowThreads(__tstate);
22122 if (PyErr_Occurred()) SWIG_fail;
22123 }
22124 resultobj = SWIG_Py_Void();
22125 return resultobj;
22126 fail:
22127 return NULL;
22128 }
22129
22130
22131 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22132 PyObject *resultobj = 0;
22133 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22134 int arg2 ;
22135 int arg3 ;
22136 void *argp1 = 0 ;
22137 int res1 = 0 ;
22138 int val2 ;
22139 int ecode2 = 0 ;
22140 int val3 ;
22141 int ecode3 = 0 ;
22142 PyObject * obj0 = 0 ;
22143 PyObject * obj1 = 0 ;
22144 PyObject * obj2 = 0 ;
22145 char * kwnames[] = {
22146 (char *) "self",(char *) "x",(char *) "y", NULL
22147 };
22148
22149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22151 if (!SWIG_IsOK(res1)) {
22152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22153 }
22154 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22155 ecode2 = SWIG_AsVal_int(obj1, &val2);
22156 if (!SWIG_IsOK(ecode2)) {
22157 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22158 }
22159 arg2 = static_cast< int >(val2);
22160 ecode3 = SWIG_AsVal_int(obj2, &val3);
22161 if (!SWIG_IsOK(ecode3)) {
22162 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22163 }
22164 arg3 = static_cast< int >(val3);
22165 {
22166 PyThreadState* __tstate = wxPyBeginAllowThreads();
22167 (arg1)->DoSetVirtualSize(arg2,arg3);
22168 wxPyEndAllowThreads(__tstate);
22169 if (PyErr_Occurred()) SWIG_fail;
22170 }
22171 resultobj = SWIG_Py_Void();
22172 return resultobj;
22173 fail:
22174 return NULL;
22175 }
22176
22177
22178 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22179 PyObject *resultobj = 0;
22180 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22181 int *arg2 = (int *) 0 ;
22182 int *arg3 = (int *) 0 ;
22183 void *argp1 = 0 ;
22184 int res1 = 0 ;
22185 int temp2 ;
22186 int res2 = SWIG_TMPOBJ ;
22187 int temp3 ;
22188 int res3 = SWIG_TMPOBJ ;
22189 PyObject *swig_obj[1] ;
22190
22191 arg2 = &temp2;
22192 arg3 = &temp3;
22193 if (!args) SWIG_fail;
22194 swig_obj[0] = args;
22195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22196 if (!SWIG_IsOK(res1)) {
22197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22198 }
22199 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22200 {
22201 PyThreadState* __tstate = wxPyBeginAllowThreads();
22202 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22203 wxPyEndAllowThreads(__tstate);
22204 if (PyErr_Occurred()) SWIG_fail;
22205 }
22206 resultobj = SWIG_Py_Void();
22207 if (SWIG_IsTmpObj(res2)) {
22208 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22209 } else {
22210 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22211 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22212 }
22213 if (SWIG_IsTmpObj(res3)) {
22214 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22215 } else {
22216 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22217 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22218 }
22219 return resultobj;
22220 fail:
22221 return NULL;
22222 }
22223
22224
22225 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22226 PyObject *resultobj = 0;
22227 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22228 int *arg2 = (int *) 0 ;
22229 int *arg3 = (int *) 0 ;
22230 void *argp1 = 0 ;
22231 int res1 = 0 ;
22232 int temp2 ;
22233 int res2 = SWIG_TMPOBJ ;
22234 int temp3 ;
22235 int res3 = SWIG_TMPOBJ ;
22236 PyObject *swig_obj[1] ;
22237
22238 arg2 = &temp2;
22239 arg3 = &temp3;
22240 if (!args) SWIG_fail;
22241 swig_obj[0] = args;
22242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22243 if (!SWIG_IsOK(res1)) {
22244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22245 }
22246 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22247 {
22248 PyThreadState* __tstate = wxPyBeginAllowThreads();
22249 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22250 wxPyEndAllowThreads(__tstate);
22251 if (PyErr_Occurred()) SWIG_fail;
22252 }
22253 resultobj = SWIG_Py_Void();
22254 if (SWIG_IsTmpObj(res2)) {
22255 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22256 } else {
22257 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22258 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22259 }
22260 if (SWIG_IsTmpObj(res3)) {
22261 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22262 } else {
22263 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22264 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22265 }
22266 return resultobj;
22267 fail:
22268 return NULL;
22269 }
22270
22271
22272 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22273 PyObject *resultobj = 0;
22274 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22275 int *arg2 = (int *) 0 ;
22276 int *arg3 = (int *) 0 ;
22277 void *argp1 = 0 ;
22278 int res1 = 0 ;
22279 int temp2 ;
22280 int res2 = SWIG_TMPOBJ ;
22281 int temp3 ;
22282 int res3 = SWIG_TMPOBJ ;
22283 PyObject *swig_obj[1] ;
22284
22285 arg2 = &temp2;
22286 arg3 = &temp3;
22287 if (!args) SWIG_fail;
22288 swig_obj[0] = args;
22289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22290 if (!SWIG_IsOK(res1)) {
22291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22292 }
22293 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22294 {
22295 PyThreadState* __tstate = wxPyBeginAllowThreads();
22296 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22297 wxPyEndAllowThreads(__tstate);
22298 if (PyErr_Occurred()) SWIG_fail;
22299 }
22300 resultobj = SWIG_Py_Void();
22301 if (SWIG_IsTmpObj(res2)) {
22302 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22303 } else {
22304 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22305 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22306 }
22307 if (SWIG_IsTmpObj(res3)) {
22308 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22309 } else {
22310 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22311 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22312 }
22313 return resultobj;
22314 fail:
22315 return NULL;
22316 }
22317
22318
22319 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22320 PyObject *resultobj = 0;
22321 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22322 wxSize result;
22323 void *argp1 = 0 ;
22324 int res1 = 0 ;
22325 PyObject *swig_obj[1] ;
22326
22327 if (!args) SWIG_fail;
22328 swig_obj[0] = args;
22329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22330 if (!SWIG_IsOK(res1)) {
22331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22332 }
22333 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22334 {
22335 PyThreadState* __tstate = wxPyBeginAllowThreads();
22336 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22337 wxPyEndAllowThreads(__tstate);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 }
22340 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22341 return resultobj;
22342 fail:
22343 return NULL;
22344 }
22345
22346
22347 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22348 PyObject *resultobj = 0;
22349 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22350 wxSize result;
22351 void *argp1 = 0 ;
22352 int res1 = 0 ;
22353 PyObject *swig_obj[1] ;
22354
22355 if (!args) SWIG_fail;
22356 swig_obj[0] = args;
22357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22358 if (!SWIG_IsOK(res1)) {
22359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22360 }
22361 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22362 {
22363 PyThreadState* __tstate = wxPyBeginAllowThreads();
22364 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22365 wxPyEndAllowThreads(__tstate);
22366 if (PyErr_Occurred()) SWIG_fail;
22367 }
22368 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22369 return resultobj;
22370 fail:
22371 return NULL;
22372 }
22373
22374
22375 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22376 PyObject *resultobj = 0;
22377 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22378 SwigValueWrapper<wxVisualAttributes > result;
22379 void *argp1 = 0 ;
22380 int res1 = 0 ;
22381 PyObject *swig_obj[1] ;
22382
22383 if (!args) SWIG_fail;
22384 swig_obj[0] = args;
22385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22386 if (!SWIG_IsOK(res1)) {
22387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22388 }
22389 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22390 {
22391 PyThreadState* __tstate = wxPyBeginAllowThreads();
22392 result = (arg1)->GetDefaultAttributes();
22393 wxPyEndAllowThreads(__tstate);
22394 if (PyErr_Occurred()) SWIG_fail;
22395 }
22396 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22397 return resultobj;
22398 fail:
22399 return NULL;
22400 }
22401
22402
22403 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22404 PyObject *resultobj = 0;
22405 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22406 void *argp1 = 0 ;
22407 int res1 = 0 ;
22408 PyObject *swig_obj[1] ;
22409
22410 if (!args) SWIG_fail;
22411 swig_obj[0] = args;
22412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22413 if (!SWIG_IsOK(res1)) {
22414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22415 }
22416 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22417 {
22418 PyThreadState* __tstate = wxPyBeginAllowThreads();
22419 (arg1)->OnInternalIdle();
22420 wxPyEndAllowThreads(__tstate);
22421 if (PyErr_Occurred()) SWIG_fail;
22422 }
22423 resultobj = SWIG_Py_Void();
22424 return resultobj;
22425 fail:
22426 return NULL;
22427 }
22428
22429
22430 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22431 PyObject *obj;
22432 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22433 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22434 return SWIG_Py_Void();
22435 }
22436
22437 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22438 return SWIG_Python_InitShadowInstance(args);
22439 }
22440
22441 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22442 PyObject *resultobj = 0;
22443 wxWindow *arg1 = (wxWindow *) 0 ;
22444 int arg2 = (int) (int)-1 ;
22445 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22446 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22447 wxSize const &arg4_defvalue = wxDefaultSize ;
22448 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22449 long arg5 = (long) 0 ;
22450 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22451 wxString *arg6 = (wxString *) &arg6_defvalue ;
22452 wxPyScrolledWindow *result = 0 ;
22453 void *argp1 = 0 ;
22454 int res1 = 0 ;
22455 int val2 ;
22456 int ecode2 = 0 ;
22457 wxPoint temp3 ;
22458 wxSize temp4 ;
22459 long val5 ;
22460 int ecode5 = 0 ;
22461 bool temp6 = false ;
22462 PyObject * obj0 = 0 ;
22463 PyObject * obj1 = 0 ;
22464 PyObject * obj2 = 0 ;
22465 PyObject * obj3 = 0 ;
22466 PyObject * obj4 = 0 ;
22467 PyObject * obj5 = 0 ;
22468 char * kwnames[] = {
22469 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22470 };
22471
22472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22474 if (!SWIG_IsOK(res1)) {
22475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22476 }
22477 arg1 = reinterpret_cast< wxWindow * >(argp1);
22478 if (obj1) {
22479 ecode2 = SWIG_AsVal_int(obj1, &val2);
22480 if (!SWIG_IsOK(ecode2)) {
22481 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22482 }
22483 arg2 = static_cast< int >(val2);
22484 }
22485 if (obj2) {
22486 {
22487 arg3 = &temp3;
22488 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22489 }
22490 }
22491 if (obj3) {
22492 {
22493 arg4 = &temp4;
22494 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22495 }
22496 }
22497 if (obj4) {
22498 ecode5 = SWIG_AsVal_long(obj4, &val5);
22499 if (!SWIG_IsOK(ecode5)) {
22500 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22501 }
22502 arg5 = static_cast< long >(val5);
22503 }
22504 if (obj5) {
22505 {
22506 arg6 = wxString_in_helper(obj5);
22507 if (arg6 == NULL) SWIG_fail;
22508 temp6 = true;
22509 }
22510 }
22511 {
22512 if (!wxPyCheckForApp()) SWIG_fail;
22513 PyThreadState* __tstate = wxPyBeginAllowThreads();
22514 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22515 wxPyEndAllowThreads(__tstate);
22516 if (PyErr_Occurred()) SWIG_fail;
22517 }
22518 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22519 {
22520 if (temp6)
22521 delete arg6;
22522 }
22523 return resultobj;
22524 fail:
22525 {
22526 if (temp6)
22527 delete arg6;
22528 }
22529 return NULL;
22530 }
22531
22532
22533 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22534 PyObject *resultobj = 0;
22535 wxPyScrolledWindow *result = 0 ;
22536
22537 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22538 {
22539 if (!wxPyCheckForApp()) SWIG_fail;
22540 PyThreadState* __tstate = wxPyBeginAllowThreads();
22541 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22542 wxPyEndAllowThreads(__tstate);
22543 if (PyErr_Occurred()) SWIG_fail;
22544 }
22545 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22546 return resultobj;
22547 fail:
22548 return NULL;
22549 }
22550
22551
22552 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22553 PyObject *resultobj = 0;
22554 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22555 PyObject *arg2 = (PyObject *) 0 ;
22556 PyObject *arg3 = (PyObject *) 0 ;
22557 void *argp1 = 0 ;
22558 int res1 = 0 ;
22559 PyObject * obj0 = 0 ;
22560 PyObject * obj1 = 0 ;
22561 PyObject * obj2 = 0 ;
22562 char * kwnames[] = {
22563 (char *) "self",(char *) "self",(char *) "_class", NULL
22564 };
22565
22566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22568 if (!SWIG_IsOK(res1)) {
22569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22570 }
22571 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22572 arg2 = obj1;
22573 arg3 = obj2;
22574 {
22575 PyThreadState* __tstate = wxPyBeginAllowThreads();
22576 (arg1)->_setCallbackInfo(arg2,arg3);
22577 wxPyEndAllowThreads(__tstate);
22578 if (PyErr_Occurred()) SWIG_fail;
22579 }
22580 resultobj = SWIG_Py_Void();
22581 return resultobj;
22582 fail:
22583 return NULL;
22584 }
22585
22586
22587 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22588 PyObject *resultobj = 0;
22589 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22590 wxSize *arg2 = 0 ;
22591 void *argp1 = 0 ;
22592 int res1 = 0 ;
22593 wxSize temp2 ;
22594 PyObject * obj0 = 0 ;
22595 PyObject * obj1 = 0 ;
22596 char * kwnames[] = {
22597 (char *) "self",(char *) "size", NULL
22598 };
22599
22600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22602 if (!SWIG_IsOK(res1)) {
22603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22604 }
22605 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22606 {
22607 arg2 = &temp2;
22608 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22609 }
22610 {
22611 PyThreadState* __tstate = wxPyBeginAllowThreads();
22612 (arg1)->SetBestSize((wxSize const &)*arg2);
22613 wxPyEndAllowThreads(__tstate);
22614 if (PyErr_Occurred()) SWIG_fail;
22615 }
22616 resultobj = SWIG_Py_Void();
22617 return resultobj;
22618 fail:
22619 return NULL;
22620 }
22621
22622
22623 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22624 PyObject *resultobj = 0;
22625 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22626 wxDC *arg2 = (wxDC *) 0 ;
22627 bool result;
22628 void *argp1 = 0 ;
22629 int res1 = 0 ;
22630 void *argp2 = 0 ;
22631 int res2 = 0 ;
22632 PyObject * obj0 = 0 ;
22633 PyObject * obj1 = 0 ;
22634 char * kwnames[] = {
22635 (char *) "self",(char *) "dc", NULL
22636 };
22637
22638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22640 if (!SWIG_IsOK(res1)) {
22641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22642 }
22643 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22644 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22645 if (!SWIG_IsOK(res2)) {
22646 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22647 }
22648 arg2 = reinterpret_cast< wxDC * >(argp2);
22649 {
22650 PyThreadState* __tstate = wxPyBeginAllowThreads();
22651 result = (bool)(arg1)->DoEraseBackground(arg2);
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 {
22656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22657 }
22658 return resultobj;
22659 fail:
22660 return NULL;
22661 }
22662
22663
22664 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22665 PyObject *resultobj = 0;
22666 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22667 int arg2 ;
22668 int arg3 ;
22669 int arg4 ;
22670 int arg5 ;
22671 void *argp1 = 0 ;
22672 int res1 = 0 ;
22673 int val2 ;
22674 int ecode2 = 0 ;
22675 int val3 ;
22676 int ecode3 = 0 ;
22677 int val4 ;
22678 int ecode4 = 0 ;
22679 int val5 ;
22680 int ecode5 = 0 ;
22681 PyObject * obj0 = 0 ;
22682 PyObject * obj1 = 0 ;
22683 PyObject * obj2 = 0 ;
22684 PyObject * obj3 = 0 ;
22685 PyObject * obj4 = 0 ;
22686 char * kwnames[] = {
22687 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22688 };
22689
22690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22692 if (!SWIG_IsOK(res1)) {
22693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22694 }
22695 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22696 ecode2 = SWIG_AsVal_int(obj1, &val2);
22697 if (!SWIG_IsOK(ecode2)) {
22698 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22699 }
22700 arg2 = static_cast< int >(val2);
22701 ecode3 = SWIG_AsVal_int(obj2, &val3);
22702 if (!SWIG_IsOK(ecode3)) {
22703 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22704 }
22705 arg3 = static_cast< int >(val3);
22706 ecode4 = SWIG_AsVal_int(obj3, &val4);
22707 if (!SWIG_IsOK(ecode4)) {
22708 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22709 }
22710 arg4 = static_cast< int >(val4);
22711 ecode5 = SWIG_AsVal_int(obj4, &val5);
22712 if (!SWIG_IsOK(ecode5)) {
22713 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22714 }
22715 arg5 = static_cast< int >(val5);
22716 {
22717 PyThreadState* __tstate = wxPyBeginAllowThreads();
22718 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22719 wxPyEndAllowThreads(__tstate);
22720 if (PyErr_Occurred()) SWIG_fail;
22721 }
22722 resultobj = SWIG_Py_Void();
22723 return resultobj;
22724 fail:
22725 return NULL;
22726 }
22727
22728
22729 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22730 PyObject *resultobj = 0;
22731 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22732 int arg2 ;
22733 int arg3 ;
22734 int arg4 ;
22735 int arg5 ;
22736 int arg6 = (int) wxSIZE_AUTO ;
22737 void *argp1 = 0 ;
22738 int res1 = 0 ;
22739 int val2 ;
22740 int ecode2 = 0 ;
22741 int val3 ;
22742 int ecode3 = 0 ;
22743 int val4 ;
22744 int ecode4 = 0 ;
22745 int val5 ;
22746 int ecode5 = 0 ;
22747 int val6 ;
22748 int ecode6 = 0 ;
22749 PyObject * obj0 = 0 ;
22750 PyObject * obj1 = 0 ;
22751 PyObject * obj2 = 0 ;
22752 PyObject * obj3 = 0 ;
22753 PyObject * obj4 = 0 ;
22754 PyObject * obj5 = 0 ;
22755 char * kwnames[] = {
22756 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22757 };
22758
22759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22761 if (!SWIG_IsOK(res1)) {
22762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22763 }
22764 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22765 ecode2 = SWIG_AsVal_int(obj1, &val2);
22766 if (!SWIG_IsOK(ecode2)) {
22767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22768 }
22769 arg2 = static_cast< int >(val2);
22770 ecode3 = SWIG_AsVal_int(obj2, &val3);
22771 if (!SWIG_IsOK(ecode3)) {
22772 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22773 }
22774 arg3 = static_cast< int >(val3);
22775 ecode4 = SWIG_AsVal_int(obj3, &val4);
22776 if (!SWIG_IsOK(ecode4)) {
22777 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22778 }
22779 arg4 = static_cast< int >(val4);
22780 ecode5 = SWIG_AsVal_int(obj4, &val5);
22781 if (!SWIG_IsOK(ecode5)) {
22782 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22783 }
22784 arg5 = static_cast< int >(val5);
22785 if (obj5) {
22786 ecode6 = SWIG_AsVal_int(obj5, &val6);
22787 if (!SWIG_IsOK(ecode6)) {
22788 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22789 }
22790 arg6 = static_cast< int >(val6);
22791 }
22792 {
22793 PyThreadState* __tstate = wxPyBeginAllowThreads();
22794 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22795 wxPyEndAllowThreads(__tstate);
22796 if (PyErr_Occurred()) SWIG_fail;
22797 }
22798 resultobj = SWIG_Py_Void();
22799 return resultobj;
22800 fail:
22801 return NULL;
22802 }
22803
22804
22805 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22806 PyObject *resultobj = 0;
22807 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22808 int arg2 ;
22809 int arg3 ;
22810 void *argp1 = 0 ;
22811 int res1 = 0 ;
22812 int val2 ;
22813 int ecode2 = 0 ;
22814 int val3 ;
22815 int ecode3 = 0 ;
22816 PyObject * obj0 = 0 ;
22817 PyObject * obj1 = 0 ;
22818 PyObject * obj2 = 0 ;
22819 char * kwnames[] = {
22820 (char *) "self",(char *) "width",(char *) "height", NULL
22821 };
22822
22823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22825 if (!SWIG_IsOK(res1)) {
22826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22827 }
22828 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22829 ecode2 = SWIG_AsVal_int(obj1, &val2);
22830 if (!SWIG_IsOK(ecode2)) {
22831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22832 }
22833 arg2 = static_cast< int >(val2);
22834 ecode3 = SWIG_AsVal_int(obj2, &val3);
22835 if (!SWIG_IsOK(ecode3)) {
22836 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22837 }
22838 arg3 = static_cast< int >(val3);
22839 {
22840 PyThreadState* __tstate = wxPyBeginAllowThreads();
22841 (arg1)->DoSetClientSize(arg2,arg3);
22842 wxPyEndAllowThreads(__tstate);
22843 if (PyErr_Occurred()) SWIG_fail;
22844 }
22845 resultobj = SWIG_Py_Void();
22846 return resultobj;
22847 fail:
22848 return NULL;
22849 }
22850
22851
22852 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22853 PyObject *resultobj = 0;
22854 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22855 int arg2 ;
22856 int arg3 ;
22857 void *argp1 = 0 ;
22858 int res1 = 0 ;
22859 int val2 ;
22860 int ecode2 = 0 ;
22861 int val3 ;
22862 int ecode3 = 0 ;
22863 PyObject * obj0 = 0 ;
22864 PyObject * obj1 = 0 ;
22865 PyObject * obj2 = 0 ;
22866 char * kwnames[] = {
22867 (char *) "self",(char *) "x",(char *) "y", NULL
22868 };
22869
22870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22872 if (!SWIG_IsOK(res1)) {
22873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22874 }
22875 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22876 ecode2 = SWIG_AsVal_int(obj1, &val2);
22877 if (!SWIG_IsOK(ecode2)) {
22878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22879 }
22880 arg2 = static_cast< int >(val2);
22881 ecode3 = SWIG_AsVal_int(obj2, &val3);
22882 if (!SWIG_IsOK(ecode3)) {
22883 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22884 }
22885 arg3 = static_cast< int >(val3);
22886 {
22887 PyThreadState* __tstate = wxPyBeginAllowThreads();
22888 (arg1)->DoSetVirtualSize(arg2,arg3);
22889 wxPyEndAllowThreads(__tstate);
22890 if (PyErr_Occurred()) SWIG_fail;
22891 }
22892 resultobj = SWIG_Py_Void();
22893 return resultobj;
22894 fail:
22895 return NULL;
22896 }
22897
22898
22899 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22900 PyObject *resultobj = 0;
22901 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22902 int *arg2 = (int *) 0 ;
22903 int *arg3 = (int *) 0 ;
22904 void *argp1 = 0 ;
22905 int res1 = 0 ;
22906 int temp2 ;
22907 int res2 = SWIG_TMPOBJ ;
22908 int temp3 ;
22909 int res3 = SWIG_TMPOBJ ;
22910 PyObject *swig_obj[1] ;
22911
22912 arg2 = &temp2;
22913 arg3 = &temp3;
22914 if (!args) SWIG_fail;
22915 swig_obj[0] = args;
22916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22917 if (!SWIG_IsOK(res1)) {
22918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22919 }
22920 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22921 {
22922 PyThreadState* __tstate = wxPyBeginAllowThreads();
22923 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
22924 wxPyEndAllowThreads(__tstate);
22925 if (PyErr_Occurred()) SWIG_fail;
22926 }
22927 resultobj = SWIG_Py_Void();
22928 if (SWIG_IsTmpObj(res2)) {
22929 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22930 } else {
22931 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22932 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22933 }
22934 if (SWIG_IsTmpObj(res3)) {
22935 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22936 } else {
22937 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22938 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22939 }
22940 return resultobj;
22941 fail:
22942 return NULL;
22943 }
22944
22945
22946 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22947 PyObject *resultobj = 0;
22948 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22949 int *arg2 = (int *) 0 ;
22950 int *arg3 = (int *) 0 ;
22951 void *argp1 = 0 ;
22952 int res1 = 0 ;
22953 int temp2 ;
22954 int res2 = SWIG_TMPOBJ ;
22955 int temp3 ;
22956 int res3 = SWIG_TMPOBJ ;
22957 PyObject *swig_obj[1] ;
22958
22959 arg2 = &temp2;
22960 arg3 = &temp3;
22961 if (!args) SWIG_fail;
22962 swig_obj[0] = args;
22963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22964 if (!SWIG_IsOK(res1)) {
22965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22966 }
22967 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22968 {
22969 PyThreadState* __tstate = wxPyBeginAllowThreads();
22970 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22971 wxPyEndAllowThreads(__tstate);
22972 if (PyErr_Occurred()) SWIG_fail;
22973 }
22974 resultobj = SWIG_Py_Void();
22975 if (SWIG_IsTmpObj(res2)) {
22976 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22977 } else {
22978 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22979 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22980 }
22981 if (SWIG_IsTmpObj(res3)) {
22982 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22983 } else {
22984 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22985 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22986 }
22987 return resultobj;
22988 fail:
22989 return NULL;
22990 }
22991
22992
22993 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22994 PyObject *resultobj = 0;
22995 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22996 int *arg2 = (int *) 0 ;
22997 int *arg3 = (int *) 0 ;
22998 void *argp1 = 0 ;
22999 int res1 = 0 ;
23000 int temp2 ;
23001 int res2 = SWIG_TMPOBJ ;
23002 int temp3 ;
23003 int res3 = SWIG_TMPOBJ ;
23004 PyObject *swig_obj[1] ;
23005
23006 arg2 = &temp2;
23007 arg3 = &temp3;
23008 if (!args) SWIG_fail;
23009 swig_obj[0] = args;
23010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23011 if (!SWIG_IsOK(res1)) {
23012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23013 }
23014 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23015 {
23016 PyThreadState* __tstate = wxPyBeginAllowThreads();
23017 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23018 wxPyEndAllowThreads(__tstate);
23019 if (PyErr_Occurred()) SWIG_fail;
23020 }
23021 resultobj = SWIG_Py_Void();
23022 if (SWIG_IsTmpObj(res2)) {
23023 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23024 } else {
23025 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23026 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23027 }
23028 if (SWIG_IsTmpObj(res3)) {
23029 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23030 } else {
23031 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23032 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23033 }
23034 return resultobj;
23035 fail:
23036 return NULL;
23037 }
23038
23039
23040 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23041 PyObject *resultobj = 0;
23042 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23043 wxSize result;
23044 void *argp1 = 0 ;
23045 int res1 = 0 ;
23046 PyObject *swig_obj[1] ;
23047
23048 if (!args) SWIG_fail;
23049 swig_obj[0] = args;
23050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23051 if (!SWIG_IsOK(res1)) {
23052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23053 }
23054 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23055 {
23056 PyThreadState* __tstate = wxPyBeginAllowThreads();
23057 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23058 wxPyEndAllowThreads(__tstate);
23059 if (PyErr_Occurred()) SWIG_fail;
23060 }
23061 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23062 return resultobj;
23063 fail:
23064 return NULL;
23065 }
23066
23067
23068 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23069 PyObject *resultobj = 0;
23070 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23071 wxSize result;
23072 void *argp1 = 0 ;
23073 int res1 = 0 ;
23074 PyObject *swig_obj[1] ;
23075
23076 if (!args) SWIG_fail;
23077 swig_obj[0] = args;
23078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23079 if (!SWIG_IsOK(res1)) {
23080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23081 }
23082 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23083 {
23084 PyThreadState* __tstate = wxPyBeginAllowThreads();
23085 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23086 wxPyEndAllowThreads(__tstate);
23087 if (PyErr_Occurred()) SWIG_fail;
23088 }
23089 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23090 return resultobj;
23091 fail:
23092 return NULL;
23093 }
23094
23095
23096 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23097 PyObject *resultobj = 0;
23098 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23099 SwigValueWrapper<wxVisualAttributes > result;
23100 void *argp1 = 0 ;
23101 int res1 = 0 ;
23102 PyObject *swig_obj[1] ;
23103
23104 if (!args) SWIG_fail;
23105 swig_obj[0] = args;
23106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23107 if (!SWIG_IsOK(res1)) {
23108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23109 }
23110 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23111 {
23112 PyThreadState* __tstate = wxPyBeginAllowThreads();
23113 result = (arg1)->GetDefaultAttributes();
23114 wxPyEndAllowThreads(__tstate);
23115 if (PyErr_Occurred()) SWIG_fail;
23116 }
23117 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23118 return resultobj;
23119 fail:
23120 return NULL;
23121 }
23122
23123
23124 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23125 PyObject *resultobj = 0;
23126 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23127 void *argp1 = 0 ;
23128 int res1 = 0 ;
23129 PyObject *swig_obj[1] ;
23130
23131 if (!args) SWIG_fail;
23132 swig_obj[0] = args;
23133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23134 if (!SWIG_IsOK(res1)) {
23135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23136 }
23137 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23138 {
23139 PyThreadState* __tstate = wxPyBeginAllowThreads();
23140 (arg1)->OnInternalIdle();
23141 wxPyEndAllowThreads(__tstate);
23142 if (PyErr_Occurred()) SWIG_fail;
23143 }
23144 resultobj = SWIG_Py_Void();
23145 return resultobj;
23146 fail:
23147 return NULL;
23148 }
23149
23150
23151 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23152 PyObject *obj;
23153 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23154 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23155 return SWIG_Py_Void();
23156 }
23157
23158 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23159 return SWIG_Python_InitShadowInstance(args);
23160 }
23161
23162 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23163 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23164 return 1;
23165 }
23166
23167
23168 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23169 PyObject *pyobj = 0;
23170
23171 {
23172 #if wxUSE_UNICODE
23173 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23174 #else
23175 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23176 #endif
23177 }
23178 return pyobj;
23179 }
23180
23181
23182 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23183 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23184 return 1;
23185 }
23186
23187
23188 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23189 PyObject *pyobj = 0;
23190
23191 {
23192 #if wxUSE_UNICODE
23193 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23194 #else
23195 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23196 #endif
23197 }
23198 return pyobj;
23199 }
23200
23201
23202 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23203 PyObject *resultobj = 0;
23204 wxPrintData *result = 0 ;
23205
23206 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23207 {
23208 PyThreadState* __tstate = wxPyBeginAllowThreads();
23209 result = (wxPrintData *)new wxPrintData();
23210 wxPyEndAllowThreads(__tstate);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
23213 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23214 return resultobj;
23215 fail:
23216 return NULL;
23217 }
23218
23219
23220 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23221 PyObject *resultobj = 0;
23222 wxPrintData *arg1 = 0 ;
23223 wxPrintData *result = 0 ;
23224 void *argp1 = 0 ;
23225 int res1 = 0 ;
23226
23227 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23229 if (!SWIG_IsOK(res1)) {
23230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23231 }
23232 if (!argp1) {
23233 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23234 }
23235 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23236 {
23237 PyThreadState* __tstate = wxPyBeginAllowThreads();
23238 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23239 wxPyEndAllowThreads(__tstate);
23240 if (PyErr_Occurred()) SWIG_fail;
23241 }
23242 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23243 return resultobj;
23244 fail:
23245 return NULL;
23246 }
23247
23248
23249 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23250 int argc;
23251 PyObject *argv[2];
23252
23253 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23254 --argc;
23255 if (argc == 0) {
23256 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23257 }
23258 if (argc == 1) {
23259 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23260 }
23261
23262 fail:
23263 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23264 return NULL;
23265 }
23266
23267
23268 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23269 PyObject *resultobj = 0;
23270 wxPrintData *arg1 = (wxPrintData *) 0 ;
23271 void *argp1 = 0 ;
23272 int res1 = 0 ;
23273 PyObject *swig_obj[1] ;
23274
23275 if (!args) SWIG_fail;
23276 swig_obj[0] = args;
23277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23278 if (!SWIG_IsOK(res1)) {
23279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23280 }
23281 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23282 {
23283 PyThreadState* __tstate = wxPyBeginAllowThreads();
23284 delete arg1;
23285
23286 wxPyEndAllowThreads(__tstate);
23287 if (PyErr_Occurred()) SWIG_fail;
23288 }
23289 resultobj = SWIG_Py_Void();
23290 return resultobj;
23291 fail:
23292 return NULL;
23293 }
23294
23295
23296 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23297 PyObject *resultobj = 0;
23298 wxPrintData *arg1 = (wxPrintData *) 0 ;
23299 int result;
23300 void *argp1 = 0 ;
23301 int res1 = 0 ;
23302 PyObject *swig_obj[1] ;
23303
23304 if (!args) SWIG_fail;
23305 swig_obj[0] = args;
23306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23307 if (!SWIG_IsOK(res1)) {
23308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23309 }
23310 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23311 {
23312 PyThreadState* __tstate = wxPyBeginAllowThreads();
23313 result = (int)(arg1)->GetNoCopies();
23314 wxPyEndAllowThreads(__tstate);
23315 if (PyErr_Occurred()) SWIG_fail;
23316 }
23317 resultobj = SWIG_From_int(static_cast< int >(result));
23318 return resultobj;
23319 fail:
23320 return NULL;
23321 }
23322
23323
23324 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23325 PyObject *resultobj = 0;
23326 wxPrintData *arg1 = (wxPrintData *) 0 ;
23327 bool result;
23328 void *argp1 = 0 ;
23329 int res1 = 0 ;
23330 PyObject *swig_obj[1] ;
23331
23332 if (!args) SWIG_fail;
23333 swig_obj[0] = args;
23334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23335 if (!SWIG_IsOK(res1)) {
23336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23337 }
23338 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23339 {
23340 PyThreadState* __tstate = wxPyBeginAllowThreads();
23341 result = (bool)(arg1)->GetCollate();
23342 wxPyEndAllowThreads(__tstate);
23343 if (PyErr_Occurred()) SWIG_fail;
23344 }
23345 {
23346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23347 }
23348 return resultobj;
23349 fail:
23350 return NULL;
23351 }
23352
23353
23354 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23355 PyObject *resultobj = 0;
23356 wxPrintData *arg1 = (wxPrintData *) 0 ;
23357 int result;
23358 void *argp1 = 0 ;
23359 int res1 = 0 ;
23360 PyObject *swig_obj[1] ;
23361
23362 if (!args) SWIG_fail;
23363 swig_obj[0] = args;
23364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23365 if (!SWIG_IsOK(res1)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23367 }
23368 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23369 {
23370 PyThreadState* __tstate = wxPyBeginAllowThreads();
23371 result = (int)(arg1)->GetOrientation();
23372 wxPyEndAllowThreads(__tstate);
23373 if (PyErr_Occurred()) SWIG_fail;
23374 }
23375 resultobj = SWIG_From_int(static_cast< int >(result));
23376 return resultobj;
23377 fail:
23378 return NULL;
23379 }
23380
23381
23382 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23383 PyObject *resultobj = 0;
23384 wxPrintData *arg1 = (wxPrintData *) 0 ;
23385 bool result;
23386 void *argp1 = 0 ;
23387 int res1 = 0 ;
23388 PyObject *swig_obj[1] ;
23389
23390 if (!args) SWIG_fail;
23391 swig_obj[0] = args;
23392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23393 if (!SWIG_IsOK(res1)) {
23394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23395 }
23396 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23397 {
23398 PyThreadState* __tstate = wxPyBeginAllowThreads();
23399 result = (bool)(arg1)->Ok();
23400 wxPyEndAllowThreads(__tstate);
23401 if (PyErr_Occurred()) SWIG_fail;
23402 }
23403 {
23404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23405 }
23406 return resultobj;
23407 fail:
23408 return NULL;
23409 }
23410
23411
23412 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23413 PyObject *resultobj = 0;
23414 wxPrintData *arg1 = (wxPrintData *) 0 ;
23415 wxString *result = 0 ;
23416 void *argp1 = 0 ;
23417 int res1 = 0 ;
23418 PyObject *swig_obj[1] ;
23419
23420 if (!args) SWIG_fail;
23421 swig_obj[0] = args;
23422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23423 if (!SWIG_IsOK(res1)) {
23424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23425 }
23426 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23427 {
23428 PyThreadState* __tstate = wxPyBeginAllowThreads();
23429 {
23430 wxString const &_result_ref = (arg1)->GetPrinterName();
23431 result = (wxString *) &_result_ref;
23432 }
23433 wxPyEndAllowThreads(__tstate);
23434 if (PyErr_Occurred()) SWIG_fail;
23435 }
23436 {
23437 #if wxUSE_UNICODE
23438 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23439 #else
23440 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23441 #endif
23442 }
23443 return resultobj;
23444 fail:
23445 return NULL;
23446 }
23447
23448
23449 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23450 PyObject *resultobj = 0;
23451 wxPrintData *arg1 = (wxPrintData *) 0 ;
23452 bool result;
23453 void *argp1 = 0 ;
23454 int res1 = 0 ;
23455 PyObject *swig_obj[1] ;
23456
23457 if (!args) SWIG_fail;
23458 swig_obj[0] = args;
23459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23460 if (!SWIG_IsOK(res1)) {
23461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23462 }
23463 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23464 {
23465 PyThreadState* __tstate = wxPyBeginAllowThreads();
23466 result = (bool)(arg1)->GetColour();
23467 wxPyEndAllowThreads(__tstate);
23468 if (PyErr_Occurred()) SWIG_fail;
23469 }
23470 {
23471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23472 }
23473 return resultobj;
23474 fail:
23475 return NULL;
23476 }
23477
23478
23479 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23480 PyObject *resultobj = 0;
23481 wxPrintData *arg1 = (wxPrintData *) 0 ;
23482 wxDuplexMode result;
23483 void *argp1 = 0 ;
23484 int res1 = 0 ;
23485 PyObject *swig_obj[1] ;
23486
23487 if (!args) SWIG_fail;
23488 swig_obj[0] = args;
23489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23490 if (!SWIG_IsOK(res1)) {
23491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23492 }
23493 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23494 {
23495 PyThreadState* __tstate = wxPyBeginAllowThreads();
23496 result = (wxDuplexMode)(arg1)->GetDuplex();
23497 wxPyEndAllowThreads(__tstate);
23498 if (PyErr_Occurred()) SWIG_fail;
23499 }
23500 resultobj = SWIG_From_int(static_cast< int >(result));
23501 return resultobj;
23502 fail:
23503 return NULL;
23504 }
23505
23506
23507 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23508 PyObject *resultobj = 0;
23509 wxPrintData *arg1 = (wxPrintData *) 0 ;
23510 wxPaperSize result;
23511 void *argp1 = 0 ;
23512 int res1 = 0 ;
23513 PyObject *swig_obj[1] ;
23514
23515 if (!args) SWIG_fail;
23516 swig_obj[0] = args;
23517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23518 if (!SWIG_IsOK(res1)) {
23519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23520 }
23521 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23522 {
23523 PyThreadState* __tstate = wxPyBeginAllowThreads();
23524 result = (wxPaperSize)(arg1)->GetPaperId();
23525 wxPyEndAllowThreads(__tstate);
23526 if (PyErr_Occurred()) SWIG_fail;
23527 }
23528 resultobj = SWIG_From_int(static_cast< int >(result));
23529 return resultobj;
23530 fail:
23531 return NULL;
23532 }
23533
23534
23535 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23536 PyObject *resultobj = 0;
23537 wxPrintData *arg1 = (wxPrintData *) 0 ;
23538 wxSize *result = 0 ;
23539 void *argp1 = 0 ;
23540 int res1 = 0 ;
23541 PyObject *swig_obj[1] ;
23542
23543 if (!args) SWIG_fail;
23544 swig_obj[0] = args;
23545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23546 if (!SWIG_IsOK(res1)) {
23547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23548 }
23549 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23550 {
23551 PyThreadState* __tstate = wxPyBeginAllowThreads();
23552 {
23553 wxSize const &_result_ref = (arg1)->GetPaperSize();
23554 result = (wxSize *) &_result_ref;
23555 }
23556 wxPyEndAllowThreads(__tstate);
23557 if (PyErr_Occurred()) SWIG_fail;
23558 }
23559 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23560 return resultobj;
23561 fail:
23562 return NULL;
23563 }
23564
23565
23566 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23567 PyObject *resultobj = 0;
23568 wxPrintData *arg1 = (wxPrintData *) 0 ;
23569 int result;
23570 void *argp1 = 0 ;
23571 int res1 = 0 ;
23572 PyObject *swig_obj[1] ;
23573
23574 if (!args) SWIG_fail;
23575 swig_obj[0] = args;
23576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23577 if (!SWIG_IsOK(res1)) {
23578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23579 }
23580 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23581 {
23582 PyThreadState* __tstate = wxPyBeginAllowThreads();
23583 result = (int)(arg1)->GetQuality();
23584 wxPyEndAllowThreads(__tstate);
23585 if (PyErr_Occurred()) SWIG_fail;
23586 }
23587 resultobj = SWIG_From_int(static_cast< int >(result));
23588 return resultobj;
23589 fail:
23590 return NULL;
23591 }
23592
23593
23594 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23595 PyObject *resultobj = 0;
23596 wxPrintData *arg1 = (wxPrintData *) 0 ;
23597 wxPrintBin result;
23598 void *argp1 = 0 ;
23599 int res1 = 0 ;
23600 PyObject *swig_obj[1] ;
23601
23602 if (!args) SWIG_fail;
23603 swig_obj[0] = args;
23604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23605 if (!SWIG_IsOK(res1)) {
23606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23607 }
23608 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23609 {
23610 PyThreadState* __tstate = wxPyBeginAllowThreads();
23611 result = (wxPrintBin)(arg1)->GetBin();
23612 wxPyEndAllowThreads(__tstate);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
23615 resultobj = SWIG_From_int(static_cast< int >(result));
23616 return resultobj;
23617 fail:
23618 return NULL;
23619 }
23620
23621
23622 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23623 PyObject *resultobj = 0;
23624 wxPrintData *arg1 = (wxPrintData *) 0 ;
23625 wxPrintMode result;
23626 void *argp1 = 0 ;
23627 int res1 = 0 ;
23628 PyObject *swig_obj[1] ;
23629
23630 if (!args) SWIG_fail;
23631 swig_obj[0] = args;
23632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23633 if (!SWIG_IsOK(res1)) {
23634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23635 }
23636 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23637 {
23638 PyThreadState* __tstate = wxPyBeginAllowThreads();
23639 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23640 wxPyEndAllowThreads(__tstate);
23641 if (PyErr_Occurred()) SWIG_fail;
23642 }
23643 resultobj = SWIG_From_int(static_cast< int >(result));
23644 return resultobj;
23645 fail:
23646 return NULL;
23647 }
23648
23649
23650 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23651 PyObject *resultobj = 0;
23652 wxPrintData *arg1 = (wxPrintData *) 0 ;
23653 int arg2 ;
23654 void *argp1 = 0 ;
23655 int res1 = 0 ;
23656 int val2 ;
23657 int ecode2 = 0 ;
23658 PyObject * obj0 = 0 ;
23659 PyObject * obj1 = 0 ;
23660 char * kwnames[] = {
23661 (char *) "self",(char *) "v", NULL
23662 };
23663
23664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23666 if (!SWIG_IsOK(res1)) {
23667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23668 }
23669 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23670 ecode2 = SWIG_AsVal_int(obj1, &val2);
23671 if (!SWIG_IsOK(ecode2)) {
23672 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23673 }
23674 arg2 = static_cast< int >(val2);
23675 {
23676 PyThreadState* __tstate = wxPyBeginAllowThreads();
23677 (arg1)->SetNoCopies(arg2);
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 resultobj = SWIG_Py_Void();
23682 return resultobj;
23683 fail:
23684 return NULL;
23685 }
23686
23687
23688 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23689 PyObject *resultobj = 0;
23690 wxPrintData *arg1 = (wxPrintData *) 0 ;
23691 bool arg2 ;
23692 void *argp1 = 0 ;
23693 int res1 = 0 ;
23694 bool val2 ;
23695 int ecode2 = 0 ;
23696 PyObject * obj0 = 0 ;
23697 PyObject * obj1 = 0 ;
23698 char * kwnames[] = {
23699 (char *) "self",(char *) "flag", NULL
23700 };
23701
23702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23704 if (!SWIG_IsOK(res1)) {
23705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23706 }
23707 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23708 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23709 if (!SWIG_IsOK(ecode2)) {
23710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23711 }
23712 arg2 = static_cast< bool >(val2);
23713 {
23714 PyThreadState* __tstate = wxPyBeginAllowThreads();
23715 (arg1)->SetCollate(arg2);
23716 wxPyEndAllowThreads(__tstate);
23717 if (PyErr_Occurred()) SWIG_fail;
23718 }
23719 resultobj = SWIG_Py_Void();
23720 return resultobj;
23721 fail:
23722 return NULL;
23723 }
23724
23725
23726 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23727 PyObject *resultobj = 0;
23728 wxPrintData *arg1 = (wxPrintData *) 0 ;
23729 int arg2 ;
23730 void *argp1 = 0 ;
23731 int res1 = 0 ;
23732 int val2 ;
23733 int ecode2 = 0 ;
23734 PyObject * obj0 = 0 ;
23735 PyObject * obj1 = 0 ;
23736 char * kwnames[] = {
23737 (char *) "self",(char *) "orient", NULL
23738 };
23739
23740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23742 if (!SWIG_IsOK(res1)) {
23743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23744 }
23745 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23746 ecode2 = SWIG_AsVal_int(obj1, &val2);
23747 if (!SWIG_IsOK(ecode2)) {
23748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23749 }
23750 arg2 = static_cast< int >(val2);
23751 {
23752 PyThreadState* __tstate = wxPyBeginAllowThreads();
23753 (arg1)->SetOrientation(arg2);
23754 wxPyEndAllowThreads(__tstate);
23755 if (PyErr_Occurred()) SWIG_fail;
23756 }
23757 resultobj = SWIG_Py_Void();
23758 return resultobj;
23759 fail:
23760 return NULL;
23761 }
23762
23763
23764 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23765 PyObject *resultobj = 0;
23766 wxPrintData *arg1 = (wxPrintData *) 0 ;
23767 wxString *arg2 = 0 ;
23768 void *argp1 = 0 ;
23769 int res1 = 0 ;
23770 bool temp2 = false ;
23771 PyObject * obj0 = 0 ;
23772 PyObject * obj1 = 0 ;
23773 char * kwnames[] = {
23774 (char *) "self",(char *) "name", NULL
23775 };
23776
23777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23779 if (!SWIG_IsOK(res1)) {
23780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23781 }
23782 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23783 {
23784 arg2 = wxString_in_helper(obj1);
23785 if (arg2 == NULL) SWIG_fail;
23786 temp2 = true;
23787 }
23788 {
23789 PyThreadState* __tstate = wxPyBeginAllowThreads();
23790 (arg1)->SetPrinterName((wxString const &)*arg2);
23791 wxPyEndAllowThreads(__tstate);
23792 if (PyErr_Occurred()) SWIG_fail;
23793 }
23794 resultobj = SWIG_Py_Void();
23795 {
23796 if (temp2)
23797 delete arg2;
23798 }
23799 return resultobj;
23800 fail:
23801 {
23802 if (temp2)
23803 delete arg2;
23804 }
23805 return NULL;
23806 }
23807
23808
23809 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23810 PyObject *resultobj = 0;
23811 wxPrintData *arg1 = (wxPrintData *) 0 ;
23812 bool arg2 ;
23813 void *argp1 = 0 ;
23814 int res1 = 0 ;
23815 bool val2 ;
23816 int ecode2 = 0 ;
23817 PyObject * obj0 = 0 ;
23818 PyObject * obj1 = 0 ;
23819 char * kwnames[] = {
23820 (char *) "self",(char *) "colour", NULL
23821 };
23822
23823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
23824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23825 if (!SWIG_IsOK(res1)) {
23826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23827 }
23828 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23829 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23830 if (!SWIG_IsOK(ecode2)) {
23831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23832 }
23833 arg2 = static_cast< bool >(val2);
23834 {
23835 PyThreadState* __tstate = wxPyBeginAllowThreads();
23836 (arg1)->SetColour(arg2);
23837 wxPyEndAllowThreads(__tstate);
23838 if (PyErr_Occurred()) SWIG_fail;
23839 }
23840 resultobj = SWIG_Py_Void();
23841 return resultobj;
23842 fail:
23843 return NULL;
23844 }
23845
23846
23847 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23848 PyObject *resultobj = 0;
23849 wxPrintData *arg1 = (wxPrintData *) 0 ;
23850 wxDuplexMode arg2 ;
23851 void *argp1 = 0 ;
23852 int res1 = 0 ;
23853 int val2 ;
23854 int ecode2 = 0 ;
23855 PyObject * obj0 = 0 ;
23856 PyObject * obj1 = 0 ;
23857 char * kwnames[] = {
23858 (char *) "self",(char *) "duplex", NULL
23859 };
23860
23861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
23862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23863 if (!SWIG_IsOK(res1)) {
23864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23865 }
23866 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23867 ecode2 = SWIG_AsVal_int(obj1, &val2);
23868 if (!SWIG_IsOK(ecode2)) {
23869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23870 }
23871 arg2 = static_cast< wxDuplexMode >(val2);
23872 {
23873 PyThreadState* __tstate = wxPyBeginAllowThreads();
23874 (arg1)->SetDuplex(arg2);
23875 wxPyEndAllowThreads(__tstate);
23876 if (PyErr_Occurred()) SWIG_fail;
23877 }
23878 resultobj = SWIG_Py_Void();
23879 return resultobj;
23880 fail:
23881 return NULL;
23882 }
23883
23884
23885 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23886 PyObject *resultobj = 0;
23887 wxPrintData *arg1 = (wxPrintData *) 0 ;
23888 wxPaperSize arg2 ;
23889 void *argp1 = 0 ;
23890 int res1 = 0 ;
23891 int val2 ;
23892 int ecode2 = 0 ;
23893 PyObject * obj0 = 0 ;
23894 PyObject * obj1 = 0 ;
23895 char * kwnames[] = {
23896 (char *) "self",(char *) "sizeId", NULL
23897 };
23898
23899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
23900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23901 if (!SWIG_IsOK(res1)) {
23902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23903 }
23904 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23905 ecode2 = SWIG_AsVal_int(obj1, &val2);
23906 if (!SWIG_IsOK(ecode2)) {
23907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23908 }
23909 arg2 = static_cast< wxPaperSize >(val2);
23910 {
23911 PyThreadState* __tstate = wxPyBeginAllowThreads();
23912 (arg1)->SetPaperId(arg2);
23913 wxPyEndAllowThreads(__tstate);
23914 if (PyErr_Occurred()) SWIG_fail;
23915 }
23916 resultobj = SWIG_Py_Void();
23917 return resultobj;
23918 fail:
23919 return NULL;
23920 }
23921
23922
23923 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23924 PyObject *resultobj = 0;
23925 wxPrintData *arg1 = (wxPrintData *) 0 ;
23926 wxSize *arg2 = 0 ;
23927 void *argp1 = 0 ;
23928 int res1 = 0 ;
23929 wxSize temp2 ;
23930 PyObject * obj0 = 0 ;
23931 PyObject * obj1 = 0 ;
23932 char * kwnames[] = {
23933 (char *) "self",(char *) "sz", NULL
23934 };
23935
23936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
23937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23938 if (!SWIG_IsOK(res1)) {
23939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23940 }
23941 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23942 {
23943 arg2 = &temp2;
23944 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23945 }
23946 {
23947 PyThreadState* __tstate = wxPyBeginAllowThreads();
23948 (arg1)->SetPaperSize((wxSize const &)*arg2);
23949 wxPyEndAllowThreads(__tstate);
23950 if (PyErr_Occurred()) SWIG_fail;
23951 }
23952 resultobj = SWIG_Py_Void();
23953 return resultobj;
23954 fail:
23955 return NULL;
23956 }
23957
23958
23959 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23960 PyObject *resultobj = 0;
23961 wxPrintData *arg1 = (wxPrintData *) 0 ;
23962 int arg2 ;
23963 void *argp1 = 0 ;
23964 int res1 = 0 ;
23965 int val2 ;
23966 int ecode2 = 0 ;
23967 PyObject * obj0 = 0 ;
23968 PyObject * obj1 = 0 ;
23969 char * kwnames[] = {
23970 (char *) "self",(char *) "quality", NULL
23971 };
23972
23973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
23974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23975 if (!SWIG_IsOK(res1)) {
23976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23977 }
23978 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23979 ecode2 = SWIG_AsVal_int(obj1, &val2);
23980 if (!SWIG_IsOK(ecode2)) {
23981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
23982 }
23983 arg2 = static_cast< int >(val2);
23984 {
23985 PyThreadState* __tstate = wxPyBeginAllowThreads();
23986 (arg1)->SetQuality(arg2);
23987 wxPyEndAllowThreads(__tstate);
23988 if (PyErr_Occurred()) SWIG_fail;
23989 }
23990 resultobj = SWIG_Py_Void();
23991 return resultobj;
23992 fail:
23993 return NULL;
23994 }
23995
23996
23997 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23998 PyObject *resultobj = 0;
23999 wxPrintData *arg1 = (wxPrintData *) 0 ;
24000 wxPrintBin arg2 ;
24001 void *argp1 = 0 ;
24002 int res1 = 0 ;
24003 int val2 ;
24004 int ecode2 = 0 ;
24005 PyObject * obj0 = 0 ;
24006 PyObject * obj1 = 0 ;
24007 char * kwnames[] = {
24008 (char *) "self",(char *) "bin", NULL
24009 };
24010
24011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24013 if (!SWIG_IsOK(res1)) {
24014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24015 }
24016 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24017 ecode2 = SWIG_AsVal_int(obj1, &val2);
24018 if (!SWIG_IsOK(ecode2)) {
24019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24020 }
24021 arg2 = static_cast< wxPrintBin >(val2);
24022 {
24023 PyThreadState* __tstate = wxPyBeginAllowThreads();
24024 (arg1)->SetBin(arg2);
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 resultobj = SWIG_Py_Void();
24029 return resultobj;
24030 fail:
24031 return NULL;
24032 }
24033
24034
24035 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24036 PyObject *resultobj = 0;
24037 wxPrintData *arg1 = (wxPrintData *) 0 ;
24038 wxPrintMode arg2 ;
24039 void *argp1 = 0 ;
24040 int res1 = 0 ;
24041 int val2 ;
24042 int ecode2 = 0 ;
24043 PyObject * obj0 = 0 ;
24044 PyObject * obj1 = 0 ;
24045 char * kwnames[] = {
24046 (char *) "self",(char *) "printMode", NULL
24047 };
24048
24049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24051 if (!SWIG_IsOK(res1)) {
24052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24053 }
24054 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24055 ecode2 = SWIG_AsVal_int(obj1, &val2);
24056 if (!SWIG_IsOK(ecode2)) {
24057 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24058 }
24059 arg2 = static_cast< wxPrintMode >(val2);
24060 {
24061 PyThreadState* __tstate = wxPyBeginAllowThreads();
24062 (arg1)->SetPrintMode(arg2);
24063 wxPyEndAllowThreads(__tstate);
24064 if (PyErr_Occurred()) SWIG_fail;
24065 }
24066 resultobj = SWIG_Py_Void();
24067 return resultobj;
24068 fail:
24069 return NULL;
24070 }
24071
24072
24073 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24074 PyObject *resultobj = 0;
24075 wxPrintData *arg1 = (wxPrintData *) 0 ;
24076 wxString result;
24077 void *argp1 = 0 ;
24078 int res1 = 0 ;
24079 PyObject *swig_obj[1] ;
24080
24081 if (!args) SWIG_fail;
24082 swig_obj[0] = args;
24083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24084 if (!SWIG_IsOK(res1)) {
24085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24086 }
24087 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24088 {
24089 PyThreadState* __tstate = wxPyBeginAllowThreads();
24090 result = ((wxPrintData const *)arg1)->GetFilename();
24091 wxPyEndAllowThreads(__tstate);
24092 if (PyErr_Occurred()) SWIG_fail;
24093 }
24094 {
24095 #if wxUSE_UNICODE
24096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24097 #else
24098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24099 #endif
24100 }
24101 return resultobj;
24102 fail:
24103 return NULL;
24104 }
24105
24106
24107 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24108 PyObject *resultobj = 0;
24109 wxPrintData *arg1 = (wxPrintData *) 0 ;
24110 wxString *arg2 = 0 ;
24111 void *argp1 = 0 ;
24112 int res1 = 0 ;
24113 bool temp2 = false ;
24114 PyObject * obj0 = 0 ;
24115 PyObject * obj1 = 0 ;
24116 char * kwnames[] = {
24117 (char *) "self",(char *) "filename", NULL
24118 };
24119
24120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24122 if (!SWIG_IsOK(res1)) {
24123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24124 }
24125 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24126 {
24127 arg2 = wxString_in_helper(obj1);
24128 if (arg2 == NULL) SWIG_fail;
24129 temp2 = true;
24130 }
24131 {
24132 PyThreadState* __tstate = wxPyBeginAllowThreads();
24133 (arg1)->SetFilename((wxString const &)*arg2);
24134 wxPyEndAllowThreads(__tstate);
24135 if (PyErr_Occurred()) SWIG_fail;
24136 }
24137 resultobj = SWIG_Py_Void();
24138 {
24139 if (temp2)
24140 delete arg2;
24141 }
24142 return resultobj;
24143 fail:
24144 {
24145 if (temp2)
24146 delete arg2;
24147 }
24148 return NULL;
24149 }
24150
24151
24152 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24153 PyObject *resultobj = 0;
24154 wxPrintData *arg1 = (wxPrintData *) 0 ;
24155 PyObject *result = 0 ;
24156 void *argp1 = 0 ;
24157 int res1 = 0 ;
24158 PyObject *swig_obj[1] ;
24159
24160 if (!args) SWIG_fail;
24161 swig_obj[0] = args;
24162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24163 if (!SWIG_IsOK(res1)) {
24164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24165 }
24166 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24167 {
24168 PyThreadState* __tstate = wxPyBeginAllowThreads();
24169 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24170 wxPyEndAllowThreads(__tstate);
24171 if (PyErr_Occurred()) SWIG_fail;
24172 }
24173 resultobj = result;
24174 return resultobj;
24175 fail:
24176 return NULL;
24177 }
24178
24179
24180 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24181 PyObject *resultobj = 0;
24182 wxPrintData *arg1 = (wxPrintData *) 0 ;
24183 PyObject *arg2 = (PyObject *) 0 ;
24184 void *argp1 = 0 ;
24185 int res1 = 0 ;
24186 PyObject * obj0 = 0 ;
24187 PyObject * obj1 = 0 ;
24188 char * kwnames[] = {
24189 (char *) "self",(char *) "data", NULL
24190 };
24191
24192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24194 if (!SWIG_IsOK(res1)) {
24195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24196 }
24197 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24198 arg2 = obj1;
24199 {
24200 PyThreadState* __tstate = wxPyBeginAllowThreads();
24201 wxPrintData_SetPrivData(arg1,arg2);
24202 wxPyEndAllowThreads(__tstate);
24203 if (PyErr_Occurred()) SWIG_fail;
24204 }
24205 resultobj = SWIG_Py_Void();
24206 return resultobj;
24207 fail:
24208 return NULL;
24209 }
24210
24211
24212 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24213 PyObject *obj;
24214 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24215 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24216 return SWIG_Py_Void();
24217 }
24218
24219 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24220 return SWIG_Python_InitShadowInstance(args);
24221 }
24222
24223 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24224 PyObject *resultobj = 0;
24225 wxPageSetupDialogData *result = 0 ;
24226
24227 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24228 {
24229 PyThreadState* __tstate = wxPyBeginAllowThreads();
24230 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24231 wxPyEndAllowThreads(__tstate);
24232 if (PyErr_Occurred()) SWIG_fail;
24233 }
24234 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24235 return resultobj;
24236 fail:
24237 return NULL;
24238 }
24239
24240
24241 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24242 PyObject *resultobj = 0;
24243 wxPageSetupDialogData *arg1 = 0 ;
24244 wxPageSetupDialogData *result = 0 ;
24245 void *argp1 = 0 ;
24246 int res1 = 0 ;
24247
24248 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24250 if (!SWIG_IsOK(res1)) {
24251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24252 }
24253 if (!argp1) {
24254 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24255 }
24256 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24257 {
24258 PyThreadState* __tstate = wxPyBeginAllowThreads();
24259 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24260 wxPyEndAllowThreads(__tstate);
24261 if (PyErr_Occurred()) SWIG_fail;
24262 }
24263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24264 return resultobj;
24265 fail:
24266 return NULL;
24267 }
24268
24269
24270 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24271 PyObject *resultobj = 0;
24272 wxPrintData *arg1 = 0 ;
24273 wxPageSetupDialogData *result = 0 ;
24274 void *argp1 = 0 ;
24275 int res1 = 0 ;
24276
24277 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24279 if (!SWIG_IsOK(res1)) {
24280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24281 }
24282 if (!argp1) {
24283 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24284 }
24285 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24286 {
24287 PyThreadState* __tstate = wxPyBeginAllowThreads();
24288 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24289 wxPyEndAllowThreads(__tstate);
24290 if (PyErr_Occurred()) SWIG_fail;
24291 }
24292 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24293 return resultobj;
24294 fail:
24295 return NULL;
24296 }
24297
24298
24299 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24300 int argc;
24301 PyObject *argv[2];
24302
24303 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24304 --argc;
24305 if (argc == 0) {
24306 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24307 }
24308 if (argc == 1) {
24309 int _v = 0;
24310 {
24311 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24312 _v = SWIG_CheckState(res);
24313 }
24314 if (!_v) goto check_2;
24315 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24316 }
24317 check_2:
24318
24319 if (argc == 1) {
24320 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24321 }
24322
24323 fail:
24324 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24325 return NULL;
24326 }
24327
24328
24329 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24330 PyObject *resultobj = 0;
24331 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24332 void *argp1 = 0 ;
24333 int res1 = 0 ;
24334 PyObject *swig_obj[1] ;
24335
24336 if (!args) SWIG_fail;
24337 swig_obj[0] = args;
24338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24339 if (!SWIG_IsOK(res1)) {
24340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24341 }
24342 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24343 {
24344 PyThreadState* __tstate = wxPyBeginAllowThreads();
24345 delete arg1;
24346
24347 wxPyEndAllowThreads(__tstate);
24348 if (PyErr_Occurred()) SWIG_fail;
24349 }
24350 resultobj = SWIG_Py_Void();
24351 return resultobj;
24352 fail:
24353 return NULL;
24354 }
24355
24356
24357 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24358 PyObject *resultobj = 0;
24359 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24360 bool arg2 ;
24361 void *argp1 = 0 ;
24362 int res1 = 0 ;
24363 bool val2 ;
24364 int ecode2 = 0 ;
24365 PyObject * obj0 = 0 ;
24366 PyObject * obj1 = 0 ;
24367 char * kwnames[] = {
24368 (char *) "self",(char *) "flag", NULL
24369 };
24370
24371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24373 if (!SWIG_IsOK(res1)) {
24374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24375 }
24376 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24377 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24378 if (!SWIG_IsOK(ecode2)) {
24379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24380 }
24381 arg2 = static_cast< bool >(val2);
24382 {
24383 PyThreadState* __tstate = wxPyBeginAllowThreads();
24384 (arg1)->EnableHelp(arg2);
24385 wxPyEndAllowThreads(__tstate);
24386 if (PyErr_Occurred()) SWIG_fail;
24387 }
24388 resultobj = SWIG_Py_Void();
24389 return resultobj;
24390 fail:
24391 return NULL;
24392 }
24393
24394
24395 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24396 PyObject *resultobj = 0;
24397 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24398 bool arg2 ;
24399 void *argp1 = 0 ;
24400 int res1 = 0 ;
24401 bool val2 ;
24402 int ecode2 = 0 ;
24403 PyObject * obj0 = 0 ;
24404 PyObject * obj1 = 0 ;
24405 char * kwnames[] = {
24406 (char *) "self",(char *) "flag", NULL
24407 };
24408
24409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24411 if (!SWIG_IsOK(res1)) {
24412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24413 }
24414 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24415 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24416 if (!SWIG_IsOK(ecode2)) {
24417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24418 }
24419 arg2 = static_cast< bool >(val2);
24420 {
24421 PyThreadState* __tstate = wxPyBeginAllowThreads();
24422 (arg1)->EnableMargins(arg2);
24423 wxPyEndAllowThreads(__tstate);
24424 if (PyErr_Occurred()) SWIG_fail;
24425 }
24426 resultobj = SWIG_Py_Void();
24427 return resultobj;
24428 fail:
24429 return NULL;
24430 }
24431
24432
24433 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24434 PyObject *resultobj = 0;
24435 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24436 bool arg2 ;
24437 void *argp1 = 0 ;
24438 int res1 = 0 ;
24439 bool val2 ;
24440 int ecode2 = 0 ;
24441 PyObject * obj0 = 0 ;
24442 PyObject * obj1 = 0 ;
24443 char * kwnames[] = {
24444 (char *) "self",(char *) "flag", NULL
24445 };
24446
24447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24449 if (!SWIG_IsOK(res1)) {
24450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24451 }
24452 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24453 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24454 if (!SWIG_IsOK(ecode2)) {
24455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24456 }
24457 arg2 = static_cast< bool >(val2);
24458 {
24459 PyThreadState* __tstate = wxPyBeginAllowThreads();
24460 (arg1)->EnableOrientation(arg2);
24461 wxPyEndAllowThreads(__tstate);
24462 if (PyErr_Occurred()) SWIG_fail;
24463 }
24464 resultobj = SWIG_Py_Void();
24465 return resultobj;
24466 fail:
24467 return NULL;
24468 }
24469
24470
24471 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24472 PyObject *resultobj = 0;
24473 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24474 bool arg2 ;
24475 void *argp1 = 0 ;
24476 int res1 = 0 ;
24477 bool val2 ;
24478 int ecode2 = 0 ;
24479 PyObject * obj0 = 0 ;
24480 PyObject * obj1 = 0 ;
24481 char * kwnames[] = {
24482 (char *) "self",(char *) "flag", NULL
24483 };
24484
24485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24487 if (!SWIG_IsOK(res1)) {
24488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24489 }
24490 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24491 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24492 if (!SWIG_IsOK(ecode2)) {
24493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24494 }
24495 arg2 = static_cast< bool >(val2);
24496 {
24497 PyThreadState* __tstate = wxPyBeginAllowThreads();
24498 (arg1)->EnablePaper(arg2);
24499 wxPyEndAllowThreads(__tstate);
24500 if (PyErr_Occurred()) SWIG_fail;
24501 }
24502 resultobj = SWIG_Py_Void();
24503 return resultobj;
24504 fail:
24505 return NULL;
24506 }
24507
24508
24509 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24510 PyObject *resultobj = 0;
24511 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24512 bool arg2 ;
24513 void *argp1 = 0 ;
24514 int res1 = 0 ;
24515 bool val2 ;
24516 int ecode2 = 0 ;
24517 PyObject * obj0 = 0 ;
24518 PyObject * obj1 = 0 ;
24519 char * kwnames[] = {
24520 (char *) "self",(char *) "flag", NULL
24521 };
24522
24523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24525 if (!SWIG_IsOK(res1)) {
24526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24527 }
24528 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24529 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24530 if (!SWIG_IsOK(ecode2)) {
24531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24532 }
24533 arg2 = static_cast< bool >(val2);
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 (arg1)->EnablePrinter(arg2);
24537 wxPyEndAllowThreads(__tstate);
24538 if (PyErr_Occurred()) SWIG_fail;
24539 }
24540 resultobj = SWIG_Py_Void();
24541 return resultobj;
24542 fail:
24543 return NULL;
24544 }
24545
24546
24547 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24548 PyObject *resultobj = 0;
24549 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24550 bool result;
24551 void *argp1 = 0 ;
24552 int res1 = 0 ;
24553 PyObject *swig_obj[1] ;
24554
24555 if (!args) SWIG_fail;
24556 swig_obj[0] = args;
24557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24558 if (!SWIG_IsOK(res1)) {
24559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24560 }
24561 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24562 {
24563 PyThreadState* __tstate = wxPyBeginAllowThreads();
24564 result = (bool)(arg1)->GetDefaultMinMargins();
24565 wxPyEndAllowThreads(__tstate);
24566 if (PyErr_Occurred()) SWIG_fail;
24567 }
24568 {
24569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24570 }
24571 return resultobj;
24572 fail:
24573 return NULL;
24574 }
24575
24576
24577 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24578 PyObject *resultobj = 0;
24579 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24580 bool result;
24581 void *argp1 = 0 ;
24582 int res1 = 0 ;
24583 PyObject *swig_obj[1] ;
24584
24585 if (!args) SWIG_fail;
24586 swig_obj[0] = args;
24587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24588 if (!SWIG_IsOK(res1)) {
24589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24590 }
24591 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24592 {
24593 PyThreadState* __tstate = wxPyBeginAllowThreads();
24594 result = (bool)(arg1)->GetEnableMargins();
24595 wxPyEndAllowThreads(__tstate);
24596 if (PyErr_Occurred()) SWIG_fail;
24597 }
24598 {
24599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24600 }
24601 return resultobj;
24602 fail:
24603 return NULL;
24604 }
24605
24606
24607 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24608 PyObject *resultobj = 0;
24609 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24610 bool result;
24611 void *argp1 = 0 ;
24612 int res1 = 0 ;
24613 PyObject *swig_obj[1] ;
24614
24615 if (!args) SWIG_fail;
24616 swig_obj[0] = args;
24617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24618 if (!SWIG_IsOK(res1)) {
24619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24620 }
24621 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24622 {
24623 PyThreadState* __tstate = wxPyBeginAllowThreads();
24624 result = (bool)(arg1)->GetEnableOrientation();
24625 wxPyEndAllowThreads(__tstate);
24626 if (PyErr_Occurred()) SWIG_fail;
24627 }
24628 {
24629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24630 }
24631 return resultobj;
24632 fail:
24633 return NULL;
24634 }
24635
24636
24637 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24638 PyObject *resultobj = 0;
24639 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24640 bool result;
24641 void *argp1 = 0 ;
24642 int res1 = 0 ;
24643 PyObject *swig_obj[1] ;
24644
24645 if (!args) SWIG_fail;
24646 swig_obj[0] = args;
24647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24648 if (!SWIG_IsOK(res1)) {
24649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24650 }
24651 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24652 {
24653 PyThreadState* __tstate = wxPyBeginAllowThreads();
24654 result = (bool)(arg1)->GetEnablePaper();
24655 wxPyEndAllowThreads(__tstate);
24656 if (PyErr_Occurred()) SWIG_fail;
24657 }
24658 {
24659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24660 }
24661 return resultobj;
24662 fail:
24663 return NULL;
24664 }
24665
24666
24667 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24668 PyObject *resultobj = 0;
24669 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24670 bool result;
24671 void *argp1 = 0 ;
24672 int res1 = 0 ;
24673 PyObject *swig_obj[1] ;
24674
24675 if (!args) SWIG_fail;
24676 swig_obj[0] = args;
24677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24678 if (!SWIG_IsOK(res1)) {
24679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24680 }
24681 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24682 {
24683 PyThreadState* __tstate = wxPyBeginAllowThreads();
24684 result = (bool)(arg1)->GetEnablePrinter();
24685 wxPyEndAllowThreads(__tstate);
24686 if (PyErr_Occurred()) SWIG_fail;
24687 }
24688 {
24689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24690 }
24691 return resultobj;
24692 fail:
24693 return NULL;
24694 }
24695
24696
24697 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24698 PyObject *resultobj = 0;
24699 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24700 bool result;
24701 void *argp1 = 0 ;
24702 int res1 = 0 ;
24703 PyObject *swig_obj[1] ;
24704
24705 if (!args) SWIG_fail;
24706 swig_obj[0] = args;
24707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24708 if (!SWIG_IsOK(res1)) {
24709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24710 }
24711 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24712 {
24713 PyThreadState* __tstate = wxPyBeginAllowThreads();
24714 result = (bool)(arg1)->GetEnableHelp();
24715 wxPyEndAllowThreads(__tstate);
24716 if (PyErr_Occurred()) SWIG_fail;
24717 }
24718 {
24719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24720 }
24721 return resultobj;
24722 fail:
24723 return NULL;
24724 }
24725
24726
24727 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24728 PyObject *resultobj = 0;
24729 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24730 bool result;
24731 void *argp1 = 0 ;
24732 int res1 = 0 ;
24733 PyObject *swig_obj[1] ;
24734
24735 if (!args) SWIG_fail;
24736 swig_obj[0] = args;
24737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24738 if (!SWIG_IsOK(res1)) {
24739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24740 }
24741 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24742 {
24743 PyThreadState* __tstate = wxPyBeginAllowThreads();
24744 result = (bool)(arg1)->GetDefaultInfo();
24745 wxPyEndAllowThreads(__tstate);
24746 if (PyErr_Occurred()) SWIG_fail;
24747 }
24748 {
24749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24750 }
24751 return resultobj;
24752 fail:
24753 return NULL;
24754 }
24755
24756
24757 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24758 PyObject *resultobj = 0;
24759 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24760 wxPoint result;
24761 void *argp1 = 0 ;
24762 int res1 = 0 ;
24763 PyObject *swig_obj[1] ;
24764
24765 if (!args) SWIG_fail;
24766 swig_obj[0] = args;
24767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24768 if (!SWIG_IsOK(res1)) {
24769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24770 }
24771 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24772 {
24773 PyThreadState* __tstate = wxPyBeginAllowThreads();
24774 result = (arg1)->GetMarginTopLeft();
24775 wxPyEndAllowThreads(__tstate);
24776 if (PyErr_Occurred()) SWIG_fail;
24777 }
24778 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24779 return resultobj;
24780 fail:
24781 return NULL;
24782 }
24783
24784
24785 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24786 PyObject *resultobj = 0;
24787 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24788 wxPoint result;
24789 void *argp1 = 0 ;
24790 int res1 = 0 ;
24791 PyObject *swig_obj[1] ;
24792
24793 if (!args) SWIG_fail;
24794 swig_obj[0] = args;
24795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24796 if (!SWIG_IsOK(res1)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24798 }
24799 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24800 {
24801 PyThreadState* __tstate = wxPyBeginAllowThreads();
24802 result = (arg1)->GetMarginBottomRight();
24803 wxPyEndAllowThreads(__tstate);
24804 if (PyErr_Occurred()) SWIG_fail;
24805 }
24806 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24807 return resultobj;
24808 fail:
24809 return NULL;
24810 }
24811
24812
24813 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24814 PyObject *resultobj = 0;
24815 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24816 wxPoint result;
24817 void *argp1 = 0 ;
24818 int res1 = 0 ;
24819 PyObject *swig_obj[1] ;
24820
24821 if (!args) SWIG_fail;
24822 swig_obj[0] = args;
24823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24824 if (!SWIG_IsOK(res1)) {
24825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24826 }
24827 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24828 {
24829 PyThreadState* __tstate = wxPyBeginAllowThreads();
24830 result = (arg1)->GetMinMarginTopLeft();
24831 wxPyEndAllowThreads(__tstate);
24832 if (PyErr_Occurred()) SWIG_fail;
24833 }
24834 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24835 return resultobj;
24836 fail:
24837 return NULL;
24838 }
24839
24840
24841 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24842 PyObject *resultobj = 0;
24843 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24844 wxPoint result;
24845 void *argp1 = 0 ;
24846 int res1 = 0 ;
24847 PyObject *swig_obj[1] ;
24848
24849 if (!args) SWIG_fail;
24850 swig_obj[0] = args;
24851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24852 if (!SWIG_IsOK(res1)) {
24853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24854 }
24855 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24856 {
24857 PyThreadState* __tstate = wxPyBeginAllowThreads();
24858 result = (arg1)->GetMinMarginBottomRight();
24859 wxPyEndAllowThreads(__tstate);
24860 if (PyErr_Occurred()) SWIG_fail;
24861 }
24862 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24863 return resultobj;
24864 fail:
24865 return NULL;
24866 }
24867
24868
24869 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24870 PyObject *resultobj = 0;
24871 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24872 wxPaperSize result;
24873 void *argp1 = 0 ;
24874 int res1 = 0 ;
24875 PyObject *swig_obj[1] ;
24876
24877 if (!args) SWIG_fail;
24878 swig_obj[0] = args;
24879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24880 if (!SWIG_IsOK(res1)) {
24881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24882 }
24883 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24884 {
24885 PyThreadState* __tstate = wxPyBeginAllowThreads();
24886 result = (wxPaperSize)(arg1)->GetPaperId();
24887 wxPyEndAllowThreads(__tstate);
24888 if (PyErr_Occurred()) SWIG_fail;
24889 }
24890 resultobj = SWIG_From_int(static_cast< int >(result));
24891 return resultobj;
24892 fail:
24893 return NULL;
24894 }
24895
24896
24897 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24898 PyObject *resultobj = 0;
24899 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24900 wxSize result;
24901 void *argp1 = 0 ;
24902 int res1 = 0 ;
24903 PyObject *swig_obj[1] ;
24904
24905 if (!args) SWIG_fail;
24906 swig_obj[0] = args;
24907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24908 if (!SWIG_IsOK(res1)) {
24909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24910 }
24911 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24912 {
24913 PyThreadState* __tstate = wxPyBeginAllowThreads();
24914 result = (arg1)->GetPaperSize();
24915 wxPyEndAllowThreads(__tstate);
24916 if (PyErr_Occurred()) SWIG_fail;
24917 }
24918 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24919 return resultobj;
24920 fail:
24921 return NULL;
24922 }
24923
24924
24925 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24926 PyObject *resultobj = 0;
24927 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24928 wxPrintData *result = 0 ;
24929 void *argp1 = 0 ;
24930 int res1 = 0 ;
24931 PyObject *swig_obj[1] ;
24932
24933 if (!args) SWIG_fail;
24934 swig_obj[0] = args;
24935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24936 if (!SWIG_IsOK(res1)) {
24937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24938 }
24939 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24940 {
24941 PyThreadState* __tstate = wxPyBeginAllowThreads();
24942 {
24943 wxPrintData &_result_ref = (arg1)->GetPrintData();
24944 result = (wxPrintData *) &_result_ref;
24945 }
24946 wxPyEndAllowThreads(__tstate);
24947 if (PyErr_Occurred()) SWIG_fail;
24948 }
24949 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
24950 return resultobj;
24951 fail:
24952 return NULL;
24953 }
24954
24955
24956 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24957 PyObject *resultobj = 0;
24958 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24959 bool result;
24960 void *argp1 = 0 ;
24961 int res1 = 0 ;
24962 PyObject *swig_obj[1] ;
24963
24964 if (!args) SWIG_fail;
24965 swig_obj[0] = args;
24966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24967 if (!SWIG_IsOK(res1)) {
24968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24969 }
24970 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24971 {
24972 PyThreadState* __tstate = wxPyBeginAllowThreads();
24973 result = (bool)(arg1)->Ok();
24974 wxPyEndAllowThreads(__tstate);
24975 if (PyErr_Occurred()) SWIG_fail;
24976 }
24977 {
24978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24979 }
24980 return resultobj;
24981 fail:
24982 return NULL;
24983 }
24984
24985
24986 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24987 PyObject *resultobj = 0;
24988 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24989 bool arg2 ;
24990 void *argp1 = 0 ;
24991 int res1 = 0 ;
24992 bool val2 ;
24993 int ecode2 = 0 ;
24994 PyObject * obj0 = 0 ;
24995 PyObject * obj1 = 0 ;
24996 char * kwnames[] = {
24997 (char *) "self",(char *) "flag", NULL
24998 };
24999
25000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25002 if (!SWIG_IsOK(res1)) {
25003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25004 }
25005 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25006 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25007 if (!SWIG_IsOK(ecode2)) {
25008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25009 }
25010 arg2 = static_cast< bool >(val2);
25011 {
25012 PyThreadState* __tstate = wxPyBeginAllowThreads();
25013 (arg1)->SetDefaultInfo(arg2);
25014 wxPyEndAllowThreads(__tstate);
25015 if (PyErr_Occurred()) SWIG_fail;
25016 }
25017 resultobj = SWIG_Py_Void();
25018 return resultobj;
25019 fail:
25020 return NULL;
25021 }
25022
25023
25024 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25025 PyObject *resultobj = 0;
25026 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25027 bool arg2 ;
25028 void *argp1 = 0 ;
25029 int res1 = 0 ;
25030 bool val2 ;
25031 int ecode2 = 0 ;
25032 PyObject * obj0 = 0 ;
25033 PyObject * obj1 = 0 ;
25034 char * kwnames[] = {
25035 (char *) "self",(char *) "flag", NULL
25036 };
25037
25038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25040 if (!SWIG_IsOK(res1)) {
25041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25042 }
25043 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25044 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25045 if (!SWIG_IsOK(ecode2)) {
25046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25047 }
25048 arg2 = static_cast< bool >(val2);
25049 {
25050 PyThreadState* __tstate = wxPyBeginAllowThreads();
25051 (arg1)->SetDefaultMinMargins(arg2);
25052 wxPyEndAllowThreads(__tstate);
25053 if (PyErr_Occurred()) SWIG_fail;
25054 }
25055 resultobj = SWIG_Py_Void();
25056 return resultobj;
25057 fail:
25058 return NULL;
25059 }
25060
25061
25062 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25063 PyObject *resultobj = 0;
25064 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25065 wxPoint *arg2 = 0 ;
25066 void *argp1 = 0 ;
25067 int res1 = 0 ;
25068 wxPoint temp2 ;
25069 PyObject * obj0 = 0 ;
25070 PyObject * obj1 = 0 ;
25071 char * kwnames[] = {
25072 (char *) "self",(char *) "pt", NULL
25073 };
25074
25075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25077 if (!SWIG_IsOK(res1)) {
25078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25079 }
25080 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25081 {
25082 arg2 = &temp2;
25083 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25084 }
25085 {
25086 PyThreadState* __tstate = wxPyBeginAllowThreads();
25087 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25088 wxPyEndAllowThreads(__tstate);
25089 if (PyErr_Occurred()) SWIG_fail;
25090 }
25091 resultobj = SWIG_Py_Void();
25092 return resultobj;
25093 fail:
25094 return NULL;
25095 }
25096
25097
25098 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25099 PyObject *resultobj = 0;
25100 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25101 wxPoint *arg2 = 0 ;
25102 void *argp1 = 0 ;
25103 int res1 = 0 ;
25104 wxPoint temp2 ;
25105 PyObject * obj0 = 0 ;
25106 PyObject * obj1 = 0 ;
25107 char * kwnames[] = {
25108 (char *) "self",(char *) "pt", NULL
25109 };
25110
25111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25113 if (!SWIG_IsOK(res1)) {
25114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25115 }
25116 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25117 {
25118 arg2 = &temp2;
25119 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25120 }
25121 {
25122 PyThreadState* __tstate = wxPyBeginAllowThreads();
25123 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25124 wxPyEndAllowThreads(__tstate);
25125 if (PyErr_Occurred()) SWIG_fail;
25126 }
25127 resultobj = SWIG_Py_Void();
25128 return resultobj;
25129 fail:
25130 return NULL;
25131 }
25132
25133
25134 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25135 PyObject *resultobj = 0;
25136 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25137 wxPoint *arg2 = 0 ;
25138 void *argp1 = 0 ;
25139 int res1 = 0 ;
25140 wxPoint temp2 ;
25141 PyObject * obj0 = 0 ;
25142 PyObject * obj1 = 0 ;
25143 char * kwnames[] = {
25144 (char *) "self",(char *) "pt", NULL
25145 };
25146
25147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25149 if (!SWIG_IsOK(res1)) {
25150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25151 }
25152 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25153 {
25154 arg2 = &temp2;
25155 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25156 }
25157 {
25158 PyThreadState* __tstate = wxPyBeginAllowThreads();
25159 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25160 wxPyEndAllowThreads(__tstate);
25161 if (PyErr_Occurred()) SWIG_fail;
25162 }
25163 resultobj = SWIG_Py_Void();
25164 return resultobj;
25165 fail:
25166 return NULL;
25167 }
25168
25169
25170 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25171 PyObject *resultobj = 0;
25172 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25173 wxPoint *arg2 = 0 ;
25174 void *argp1 = 0 ;
25175 int res1 = 0 ;
25176 wxPoint temp2 ;
25177 PyObject * obj0 = 0 ;
25178 PyObject * obj1 = 0 ;
25179 char * kwnames[] = {
25180 (char *) "self",(char *) "pt", NULL
25181 };
25182
25183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25185 if (!SWIG_IsOK(res1)) {
25186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25187 }
25188 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25189 {
25190 arg2 = &temp2;
25191 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25192 }
25193 {
25194 PyThreadState* __tstate = wxPyBeginAllowThreads();
25195 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25196 wxPyEndAllowThreads(__tstate);
25197 if (PyErr_Occurred()) SWIG_fail;
25198 }
25199 resultobj = SWIG_Py_Void();
25200 return resultobj;
25201 fail:
25202 return NULL;
25203 }
25204
25205
25206 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25207 PyObject *resultobj = 0;
25208 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25209 wxPaperSize arg2 ;
25210 void *argp1 = 0 ;
25211 int res1 = 0 ;
25212 int val2 ;
25213 int ecode2 = 0 ;
25214 PyObject * obj0 = 0 ;
25215 PyObject * obj1 = 0 ;
25216 char * kwnames[] = {
25217 (char *) "self",(char *) "id", NULL
25218 };
25219
25220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25222 if (!SWIG_IsOK(res1)) {
25223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25224 }
25225 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25226 ecode2 = SWIG_AsVal_int(obj1, &val2);
25227 if (!SWIG_IsOK(ecode2)) {
25228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25229 }
25230 arg2 = static_cast< wxPaperSize >(val2);
25231 {
25232 PyThreadState* __tstate = wxPyBeginAllowThreads();
25233 (arg1)->SetPaperId(arg2);
25234 wxPyEndAllowThreads(__tstate);
25235 if (PyErr_Occurred()) SWIG_fail;
25236 }
25237 resultobj = SWIG_Py_Void();
25238 return resultobj;
25239 fail:
25240 return NULL;
25241 }
25242
25243
25244 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25245 PyObject *resultobj = 0;
25246 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25247 wxSize *arg2 = 0 ;
25248 void *argp1 = 0 ;
25249 int res1 = 0 ;
25250 wxSize temp2 ;
25251 PyObject * obj0 = 0 ;
25252 PyObject * obj1 = 0 ;
25253 char * kwnames[] = {
25254 (char *) "self",(char *) "size", NULL
25255 };
25256
25257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25259 if (!SWIG_IsOK(res1)) {
25260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25261 }
25262 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25263 {
25264 arg2 = &temp2;
25265 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25266 }
25267 {
25268 PyThreadState* __tstate = wxPyBeginAllowThreads();
25269 (arg1)->SetPaperSize((wxSize const &)*arg2);
25270 wxPyEndAllowThreads(__tstate);
25271 if (PyErr_Occurred()) SWIG_fail;
25272 }
25273 resultobj = SWIG_Py_Void();
25274 return resultobj;
25275 fail:
25276 return NULL;
25277 }
25278
25279
25280 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25281 PyObject *resultobj = 0;
25282 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25283 wxPrintData *arg2 = 0 ;
25284 void *argp1 = 0 ;
25285 int res1 = 0 ;
25286 void *argp2 = 0 ;
25287 int res2 = 0 ;
25288 PyObject * obj0 = 0 ;
25289 PyObject * obj1 = 0 ;
25290 char * kwnames[] = {
25291 (char *) "self",(char *) "printData", NULL
25292 };
25293
25294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25296 if (!SWIG_IsOK(res1)) {
25297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25298 }
25299 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25300 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25301 if (!SWIG_IsOK(res2)) {
25302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25303 }
25304 if (!argp2) {
25305 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25306 }
25307 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25308 {
25309 PyThreadState* __tstate = wxPyBeginAllowThreads();
25310 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25311 wxPyEndAllowThreads(__tstate);
25312 if (PyErr_Occurred()) SWIG_fail;
25313 }
25314 resultobj = SWIG_Py_Void();
25315 return resultobj;
25316 fail:
25317 return NULL;
25318 }
25319
25320
25321 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25322 PyObject *resultobj = 0;
25323 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25324 void *argp1 = 0 ;
25325 int res1 = 0 ;
25326 PyObject *swig_obj[1] ;
25327
25328 if (!args) SWIG_fail;
25329 swig_obj[0] = args;
25330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25331 if (!SWIG_IsOK(res1)) {
25332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25333 }
25334 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25335 {
25336 PyThreadState* __tstate = wxPyBeginAllowThreads();
25337 (arg1)->CalculateIdFromPaperSize();
25338 wxPyEndAllowThreads(__tstate);
25339 if (PyErr_Occurred()) SWIG_fail;
25340 }
25341 resultobj = SWIG_Py_Void();
25342 return resultobj;
25343 fail:
25344 return NULL;
25345 }
25346
25347
25348 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25349 PyObject *resultobj = 0;
25350 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25351 void *argp1 = 0 ;
25352 int res1 = 0 ;
25353 PyObject *swig_obj[1] ;
25354
25355 if (!args) SWIG_fail;
25356 swig_obj[0] = args;
25357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25358 if (!SWIG_IsOK(res1)) {
25359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25360 }
25361 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25362 {
25363 PyThreadState* __tstate = wxPyBeginAllowThreads();
25364 (arg1)->CalculatePaperSizeFromId();
25365 wxPyEndAllowThreads(__tstate);
25366 if (PyErr_Occurred()) SWIG_fail;
25367 }
25368 resultobj = SWIG_Py_Void();
25369 return resultobj;
25370 fail:
25371 return NULL;
25372 }
25373
25374
25375 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25376 PyObject *obj;
25377 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25378 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25379 return SWIG_Py_Void();
25380 }
25381
25382 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25383 return SWIG_Python_InitShadowInstance(args);
25384 }
25385
25386 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25387 PyObject *resultobj = 0;
25388 wxWindow *arg1 = (wxWindow *) 0 ;
25389 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25390 wxPageSetupDialog *result = 0 ;
25391 void *argp1 = 0 ;
25392 int res1 = 0 ;
25393 void *argp2 = 0 ;
25394 int res2 = 0 ;
25395 PyObject * obj0 = 0 ;
25396 PyObject * obj1 = 0 ;
25397 char * kwnames[] = {
25398 (char *) "parent",(char *) "data", NULL
25399 };
25400
25401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25403 if (!SWIG_IsOK(res1)) {
25404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25405 }
25406 arg1 = reinterpret_cast< wxWindow * >(argp1);
25407 if (obj1) {
25408 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25409 if (!SWIG_IsOK(res2)) {
25410 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25411 }
25412 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25413 }
25414 {
25415 if (!wxPyCheckForApp()) SWIG_fail;
25416 PyThreadState* __tstate = wxPyBeginAllowThreads();
25417 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25418 wxPyEndAllowThreads(__tstate);
25419 if (PyErr_Occurred()) SWIG_fail;
25420 }
25421 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25422 return resultobj;
25423 fail:
25424 return NULL;
25425 }
25426
25427
25428 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25429 PyObject *resultobj = 0;
25430 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25431 wxPageSetupDialogData *result = 0 ;
25432 void *argp1 = 0 ;
25433 int res1 = 0 ;
25434 PyObject *swig_obj[1] ;
25435
25436 if (!args) SWIG_fail;
25437 swig_obj[0] = args;
25438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25439 if (!SWIG_IsOK(res1)) {
25440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25441 }
25442 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25443 {
25444 PyThreadState* __tstate = wxPyBeginAllowThreads();
25445 {
25446 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25447 result = (wxPageSetupDialogData *) &_result_ref;
25448 }
25449 wxPyEndAllowThreads(__tstate);
25450 if (PyErr_Occurred()) SWIG_fail;
25451 }
25452 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25453 return resultobj;
25454 fail:
25455 return NULL;
25456 }
25457
25458
25459 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25460 PyObject *resultobj = 0;
25461 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25462 wxPageSetupDialogData *result = 0 ;
25463 void *argp1 = 0 ;
25464 int res1 = 0 ;
25465 PyObject *swig_obj[1] ;
25466
25467 if (!args) SWIG_fail;
25468 swig_obj[0] = args;
25469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25470 if (!SWIG_IsOK(res1)) {
25471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25472 }
25473 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25474 {
25475 PyThreadState* __tstate = wxPyBeginAllowThreads();
25476 {
25477 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25478 result = (wxPageSetupDialogData *) &_result_ref;
25479 }
25480 wxPyEndAllowThreads(__tstate);
25481 if (PyErr_Occurred()) SWIG_fail;
25482 }
25483 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25484 return resultobj;
25485 fail:
25486 return NULL;
25487 }
25488
25489
25490 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25491 PyObject *resultobj = 0;
25492 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25493 int result;
25494 void *argp1 = 0 ;
25495 int res1 = 0 ;
25496 PyObject *swig_obj[1] ;
25497
25498 if (!args) SWIG_fail;
25499 swig_obj[0] = args;
25500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25501 if (!SWIG_IsOK(res1)) {
25502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25503 }
25504 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25505 {
25506 PyThreadState* __tstate = wxPyBeginAllowThreads();
25507 result = (int)(arg1)->ShowModal();
25508 wxPyEndAllowThreads(__tstate);
25509 if (PyErr_Occurred()) SWIG_fail;
25510 }
25511 resultobj = SWIG_From_int(static_cast< int >(result));
25512 return resultobj;
25513 fail:
25514 return NULL;
25515 }
25516
25517
25518 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25519 PyObject *obj;
25520 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25521 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25522 return SWIG_Py_Void();
25523 }
25524
25525 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25526 return SWIG_Python_InitShadowInstance(args);
25527 }
25528
25529 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25530 PyObject *resultobj = 0;
25531 wxPrintDialogData *result = 0 ;
25532
25533 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25534 {
25535 PyThreadState* __tstate = wxPyBeginAllowThreads();
25536 result = (wxPrintDialogData *)new wxPrintDialogData();
25537 wxPyEndAllowThreads(__tstate);
25538 if (PyErr_Occurred()) SWIG_fail;
25539 }
25540 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25541 return resultobj;
25542 fail:
25543 return NULL;
25544 }
25545
25546
25547 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25548 PyObject *resultobj = 0;
25549 wxPrintData *arg1 = 0 ;
25550 wxPrintDialogData *result = 0 ;
25551 void *argp1 = 0 ;
25552 int res1 = 0 ;
25553
25554 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25556 if (!SWIG_IsOK(res1)) {
25557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25558 }
25559 if (!argp1) {
25560 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25561 }
25562 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25563 {
25564 PyThreadState* __tstate = wxPyBeginAllowThreads();
25565 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25566 wxPyEndAllowThreads(__tstate);
25567 if (PyErr_Occurred()) SWIG_fail;
25568 }
25569 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25570 return resultobj;
25571 fail:
25572 return NULL;
25573 }
25574
25575
25576 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25577 PyObject *resultobj = 0;
25578 wxPrintDialogData *arg1 = 0 ;
25579 wxPrintDialogData *result = 0 ;
25580 void *argp1 = 0 ;
25581 int res1 = 0 ;
25582
25583 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25585 if (!SWIG_IsOK(res1)) {
25586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25587 }
25588 if (!argp1) {
25589 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25590 }
25591 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25592 {
25593 PyThreadState* __tstate = wxPyBeginAllowThreads();
25594 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25595 wxPyEndAllowThreads(__tstate);
25596 if (PyErr_Occurred()) SWIG_fail;
25597 }
25598 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25599 return resultobj;
25600 fail:
25601 return NULL;
25602 }
25603
25604
25605 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25606 int argc;
25607 PyObject *argv[2];
25608
25609 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25610 --argc;
25611 if (argc == 0) {
25612 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25613 }
25614 if (argc == 1) {
25615 int _v = 0;
25616 {
25617 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25618 _v = SWIG_CheckState(res);
25619 }
25620 if (!_v) goto check_2;
25621 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25622 }
25623 check_2:
25624
25625 if (argc == 1) {
25626 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25627 }
25628
25629 fail:
25630 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25631 return NULL;
25632 }
25633
25634
25635 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25636 PyObject *resultobj = 0;
25637 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25638 void *argp1 = 0 ;
25639 int res1 = 0 ;
25640 PyObject *swig_obj[1] ;
25641
25642 if (!args) SWIG_fail;
25643 swig_obj[0] = args;
25644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25645 if (!SWIG_IsOK(res1)) {
25646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25647 }
25648 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25649 {
25650 PyThreadState* __tstate = wxPyBeginAllowThreads();
25651 delete arg1;
25652
25653 wxPyEndAllowThreads(__tstate);
25654 if (PyErr_Occurred()) SWIG_fail;
25655 }
25656 resultobj = SWIG_Py_Void();
25657 return resultobj;
25658 fail:
25659 return NULL;
25660 }
25661
25662
25663 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25664 PyObject *resultobj = 0;
25665 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25666 int result;
25667 void *argp1 = 0 ;
25668 int res1 = 0 ;
25669 PyObject *swig_obj[1] ;
25670
25671 if (!args) SWIG_fail;
25672 swig_obj[0] = args;
25673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25674 if (!SWIG_IsOK(res1)) {
25675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25676 }
25677 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25678 {
25679 PyThreadState* __tstate = wxPyBeginAllowThreads();
25680 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25681 wxPyEndAllowThreads(__tstate);
25682 if (PyErr_Occurred()) SWIG_fail;
25683 }
25684 resultobj = SWIG_From_int(static_cast< int >(result));
25685 return resultobj;
25686 fail:
25687 return NULL;
25688 }
25689
25690
25691 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25692 PyObject *resultobj = 0;
25693 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25694 int result;
25695 void *argp1 = 0 ;
25696 int res1 = 0 ;
25697 PyObject *swig_obj[1] ;
25698
25699 if (!args) SWIG_fail;
25700 swig_obj[0] = args;
25701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25702 if (!SWIG_IsOK(res1)) {
25703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25704 }
25705 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25706 {
25707 PyThreadState* __tstate = wxPyBeginAllowThreads();
25708 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25709 wxPyEndAllowThreads(__tstate);
25710 if (PyErr_Occurred()) SWIG_fail;
25711 }
25712 resultobj = SWIG_From_int(static_cast< int >(result));
25713 return resultobj;
25714 fail:
25715 return NULL;
25716 }
25717
25718
25719 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25720 PyObject *resultobj = 0;
25721 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25722 int result;
25723 void *argp1 = 0 ;
25724 int res1 = 0 ;
25725 PyObject *swig_obj[1] ;
25726
25727 if (!args) SWIG_fail;
25728 swig_obj[0] = args;
25729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25730 if (!SWIG_IsOK(res1)) {
25731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25732 }
25733 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25734 {
25735 PyThreadState* __tstate = wxPyBeginAllowThreads();
25736 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25737 wxPyEndAllowThreads(__tstate);
25738 if (PyErr_Occurred()) SWIG_fail;
25739 }
25740 resultobj = SWIG_From_int(static_cast< int >(result));
25741 return resultobj;
25742 fail:
25743 return NULL;
25744 }
25745
25746
25747 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25748 PyObject *resultobj = 0;
25749 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25750 int result;
25751 void *argp1 = 0 ;
25752 int res1 = 0 ;
25753 PyObject *swig_obj[1] ;
25754
25755 if (!args) SWIG_fail;
25756 swig_obj[0] = args;
25757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25758 if (!SWIG_IsOK(res1)) {
25759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25760 }
25761 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25762 {
25763 PyThreadState* __tstate = wxPyBeginAllowThreads();
25764 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25765 wxPyEndAllowThreads(__tstate);
25766 if (PyErr_Occurred()) SWIG_fail;
25767 }
25768 resultobj = SWIG_From_int(static_cast< int >(result));
25769 return resultobj;
25770 fail:
25771 return NULL;
25772 }
25773
25774
25775 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25776 PyObject *resultobj = 0;
25777 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25778 int result;
25779 void *argp1 = 0 ;
25780 int res1 = 0 ;
25781 PyObject *swig_obj[1] ;
25782
25783 if (!args) SWIG_fail;
25784 swig_obj[0] = args;
25785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25786 if (!SWIG_IsOK(res1)) {
25787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25788 }
25789 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25790 {
25791 PyThreadState* __tstate = wxPyBeginAllowThreads();
25792 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
25793 wxPyEndAllowThreads(__tstate);
25794 if (PyErr_Occurred()) SWIG_fail;
25795 }
25796 resultobj = SWIG_From_int(static_cast< int >(result));
25797 return resultobj;
25798 fail:
25799 return NULL;
25800 }
25801
25802
25803 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25804 PyObject *resultobj = 0;
25805 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25806 bool result;
25807 void *argp1 = 0 ;
25808 int res1 = 0 ;
25809 PyObject *swig_obj[1] ;
25810
25811 if (!args) SWIG_fail;
25812 swig_obj[0] = args;
25813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25814 if (!SWIG_IsOK(res1)) {
25815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25816 }
25817 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25818 {
25819 PyThreadState* __tstate = wxPyBeginAllowThreads();
25820 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
25821 wxPyEndAllowThreads(__tstate);
25822 if (PyErr_Occurred()) SWIG_fail;
25823 }
25824 {
25825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25826 }
25827 return resultobj;
25828 fail:
25829 return NULL;
25830 }
25831
25832
25833 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25834 PyObject *resultobj = 0;
25835 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25836 bool result;
25837 void *argp1 = 0 ;
25838 int res1 = 0 ;
25839 PyObject *swig_obj[1] ;
25840
25841 if (!args) SWIG_fail;
25842 swig_obj[0] = args;
25843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25844 if (!SWIG_IsOK(res1)) {
25845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25846 }
25847 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25848 {
25849 PyThreadState* __tstate = wxPyBeginAllowThreads();
25850 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
25851 wxPyEndAllowThreads(__tstate);
25852 if (PyErr_Occurred()) SWIG_fail;
25853 }
25854 {
25855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25856 }
25857 return resultobj;
25858 fail:
25859 return NULL;
25860 }
25861
25862
25863 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25864 PyObject *resultobj = 0;
25865 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25866 bool result;
25867 void *argp1 = 0 ;
25868 int res1 = 0 ;
25869 PyObject *swig_obj[1] ;
25870
25871 if (!args) SWIG_fail;
25872 swig_obj[0] = args;
25873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25874 if (!SWIG_IsOK(res1)) {
25875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25876 }
25877 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25878 {
25879 PyThreadState* __tstate = wxPyBeginAllowThreads();
25880 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
25881 wxPyEndAllowThreads(__tstate);
25882 if (PyErr_Occurred()) SWIG_fail;
25883 }
25884 {
25885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25886 }
25887 return resultobj;
25888 fail:
25889 return NULL;
25890 }
25891
25892
25893 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25894 PyObject *resultobj = 0;
25895 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25896 bool result;
25897 void *argp1 = 0 ;
25898 int res1 = 0 ;
25899 PyObject *swig_obj[1] ;
25900
25901 if (!args) SWIG_fail;
25902 swig_obj[0] = args;
25903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25904 if (!SWIG_IsOK(res1)) {
25905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25906 }
25907 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25908 {
25909 PyThreadState* __tstate = wxPyBeginAllowThreads();
25910 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
25911 wxPyEndAllowThreads(__tstate);
25912 if (PyErr_Occurred()) SWIG_fail;
25913 }
25914 {
25915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25916 }
25917 return resultobj;
25918 fail:
25919 return NULL;
25920 }
25921
25922
25923 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25924 PyObject *resultobj = 0;
25925 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25926 int arg2 ;
25927 void *argp1 = 0 ;
25928 int res1 = 0 ;
25929 int val2 ;
25930 int ecode2 = 0 ;
25931 PyObject * obj0 = 0 ;
25932 PyObject * obj1 = 0 ;
25933 char * kwnames[] = {
25934 (char *) "self",(char *) "v", NULL
25935 };
25936
25937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
25938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25939 if (!SWIG_IsOK(res1)) {
25940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25941 }
25942 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25943 ecode2 = SWIG_AsVal_int(obj1, &val2);
25944 if (!SWIG_IsOK(ecode2)) {
25945 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
25946 }
25947 arg2 = static_cast< int >(val2);
25948 {
25949 PyThreadState* __tstate = wxPyBeginAllowThreads();
25950 (arg1)->SetFromPage(arg2);
25951 wxPyEndAllowThreads(__tstate);
25952 if (PyErr_Occurred()) SWIG_fail;
25953 }
25954 resultobj = SWIG_Py_Void();
25955 return resultobj;
25956 fail:
25957 return NULL;
25958 }
25959
25960
25961 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25962 PyObject *resultobj = 0;
25963 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25964 int arg2 ;
25965 void *argp1 = 0 ;
25966 int res1 = 0 ;
25967 int val2 ;
25968 int ecode2 = 0 ;
25969 PyObject * obj0 = 0 ;
25970 PyObject * obj1 = 0 ;
25971 char * kwnames[] = {
25972 (char *) "self",(char *) "v", NULL
25973 };
25974
25975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
25976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25977 if (!SWIG_IsOK(res1)) {
25978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25979 }
25980 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25981 ecode2 = SWIG_AsVal_int(obj1, &val2);
25982 if (!SWIG_IsOK(ecode2)) {
25983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
25984 }
25985 arg2 = static_cast< int >(val2);
25986 {
25987 PyThreadState* __tstate = wxPyBeginAllowThreads();
25988 (arg1)->SetToPage(arg2);
25989 wxPyEndAllowThreads(__tstate);
25990 if (PyErr_Occurred()) SWIG_fail;
25991 }
25992 resultobj = SWIG_Py_Void();
25993 return resultobj;
25994 fail:
25995 return NULL;
25996 }
25997
25998
25999 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26000 PyObject *resultobj = 0;
26001 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26002 int arg2 ;
26003 void *argp1 = 0 ;
26004 int res1 = 0 ;
26005 int val2 ;
26006 int ecode2 = 0 ;
26007 PyObject * obj0 = 0 ;
26008 PyObject * obj1 = 0 ;
26009 char * kwnames[] = {
26010 (char *) "self",(char *) "v", NULL
26011 };
26012
26013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26015 if (!SWIG_IsOK(res1)) {
26016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26017 }
26018 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26019 ecode2 = SWIG_AsVal_int(obj1, &val2);
26020 if (!SWIG_IsOK(ecode2)) {
26021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26022 }
26023 arg2 = static_cast< int >(val2);
26024 {
26025 PyThreadState* __tstate = wxPyBeginAllowThreads();
26026 (arg1)->SetMinPage(arg2);
26027 wxPyEndAllowThreads(__tstate);
26028 if (PyErr_Occurred()) SWIG_fail;
26029 }
26030 resultobj = SWIG_Py_Void();
26031 return resultobj;
26032 fail:
26033 return NULL;
26034 }
26035
26036
26037 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26038 PyObject *resultobj = 0;
26039 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26040 int arg2 ;
26041 void *argp1 = 0 ;
26042 int res1 = 0 ;
26043 int val2 ;
26044 int ecode2 = 0 ;
26045 PyObject * obj0 = 0 ;
26046 PyObject * obj1 = 0 ;
26047 char * kwnames[] = {
26048 (char *) "self",(char *) "v", NULL
26049 };
26050
26051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26053 if (!SWIG_IsOK(res1)) {
26054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26055 }
26056 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26057 ecode2 = SWIG_AsVal_int(obj1, &val2);
26058 if (!SWIG_IsOK(ecode2)) {
26059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26060 }
26061 arg2 = static_cast< int >(val2);
26062 {
26063 PyThreadState* __tstate = wxPyBeginAllowThreads();
26064 (arg1)->SetMaxPage(arg2);
26065 wxPyEndAllowThreads(__tstate);
26066 if (PyErr_Occurred()) SWIG_fail;
26067 }
26068 resultobj = SWIG_Py_Void();
26069 return resultobj;
26070 fail:
26071 return NULL;
26072 }
26073
26074
26075 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26076 PyObject *resultobj = 0;
26077 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26078 int arg2 ;
26079 void *argp1 = 0 ;
26080 int res1 = 0 ;
26081 int val2 ;
26082 int ecode2 = 0 ;
26083 PyObject * obj0 = 0 ;
26084 PyObject * obj1 = 0 ;
26085 char * kwnames[] = {
26086 (char *) "self",(char *) "v", NULL
26087 };
26088
26089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26091 if (!SWIG_IsOK(res1)) {
26092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26093 }
26094 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26095 ecode2 = SWIG_AsVal_int(obj1, &val2);
26096 if (!SWIG_IsOK(ecode2)) {
26097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26098 }
26099 arg2 = static_cast< int >(val2);
26100 {
26101 PyThreadState* __tstate = wxPyBeginAllowThreads();
26102 (arg1)->SetNoCopies(arg2);
26103 wxPyEndAllowThreads(__tstate);
26104 if (PyErr_Occurred()) SWIG_fail;
26105 }
26106 resultobj = SWIG_Py_Void();
26107 return resultobj;
26108 fail:
26109 return NULL;
26110 }
26111
26112
26113 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26114 PyObject *resultobj = 0;
26115 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26116 bool arg2 ;
26117 void *argp1 = 0 ;
26118 int res1 = 0 ;
26119 bool val2 ;
26120 int ecode2 = 0 ;
26121 PyObject * obj0 = 0 ;
26122 PyObject * obj1 = 0 ;
26123 char * kwnames[] = {
26124 (char *) "self",(char *) "flag", NULL
26125 };
26126
26127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26129 if (!SWIG_IsOK(res1)) {
26130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26131 }
26132 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26133 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26134 if (!SWIG_IsOK(ecode2)) {
26135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26136 }
26137 arg2 = static_cast< bool >(val2);
26138 {
26139 PyThreadState* __tstate = wxPyBeginAllowThreads();
26140 (arg1)->SetAllPages(arg2);
26141 wxPyEndAllowThreads(__tstate);
26142 if (PyErr_Occurred()) SWIG_fail;
26143 }
26144 resultobj = SWIG_Py_Void();
26145 return resultobj;
26146 fail:
26147 return NULL;
26148 }
26149
26150
26151 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26152 PyObject *resultobj = 0;
26153 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26154 bool arg2 ;
26155 void *argp1 = 0 ;
26156 int res1 = 0 ;
26157 bool val2 ;
26158 int ecode2 = 0 ;
26159 PyObject * obj0 = 0 ;
26160 PyObject * obj1 = 0 ;
26161 char * kwnames[] = {
26162 (char *) "self",(char *) "flag", NULL
26163 };
26164
26165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26167 if (!SWIG_IsOK(res1)) {
26168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26169 }
26170 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26171 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26172 if (!SWIG_IsOK(ecode2)) {
26173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26174 }
26175 arg2 = static_cast< bool >(val2);
26176 {
26177 PyThreadState* __tstate = wxPyBeginAllowThreads();
26178 (arg1)->SetSelection(arg2);
26179 wxPyEndAllowThreads(__tstate);
26180 if (PyErr_Occurred()) SWIG_fail;
26181 }
26182 resultobj = SWIG_Py_Void();
26183 return resultobj;
26184 fail:
26185 return NULL;
26186 }
26187
26188
26189 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26190 PyObject *resultobj = 0;
26191 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26192 bool arg2 ;
26193 void *argp1 = 0 ;
26194 int res1 = 0 ;
26195 bool val2 ;
26196 int ecode2 = 0 ;
26197 PyObject * obj0 = 0 ;
26198 PyObject * obj1 = 0 ;
26199 char * kwnames[] = {
26200 (char *) "self",(char *) "flag", NULL
26201 };
26202
26203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26205 if (!SWIG_IsOK(res1)) {
26206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26207 }
26208 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26209 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26210 if (!SWIG_IsOK(ecode2)) {
26211 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26212 }
26213 arg2 = static_cast< bool >(val2);
26214 {
26215 PyThreadState* __tstate = wxPyBeginAllowThreads();
26216 (arg1)->SetCollate(arg2);
26217 wxPyEndAllowThreads(__tstate);
26218 if (PyErr_Occurred()) SWIG_fail;
26219 }
26220 resultobj = SWIG_Py_Void();
26221 return resultobj;
26222 fail:
26223 return NULL;
26224 }
26225
26226
26227 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26228 PyObject *resultobj = 0;
26229 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26230 bool arg2 ;
26231 void *argp1 = 0 ;
26232 int res1 = 0 ;
26233 bool val2 ;
26234 int ecode2 = 0 ;
26235 PyObject * obj0 = 0 ;
26236 PyObject * obj1 = 0 ;
26237 char * kwnames[] = {
26238 (char *) "self",(char *) "flag", NULL
26239 };
26240
26241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26243 if (!SWIG_IsOK(res1)) {
26244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26245 }
26246 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26247 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26248 if (!SWIG_IsOK(ecode2)) {
26249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26250 }
26251 arg2 = static_cast< bool >(val2);
26252 {
26253 PyThreadState* __tstate = wxPyBeginAllowThreads();
26254 (arg1)->SetPrintToFile(arg2);
26255 wxPyEndAllowThreads(__tstate);
26256 if (PyErr_Occurred()) SWIG_fail;
26257 }
26258 resultobj = SWIG_Py_Void();
26259 return resultobj;
26260 fail:
26261 return NULL;
26262 }
26263
26264
26265 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26266 PyObject *resultobj = 0;
26267 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26268 bool arg2 ;
26269 void *argp1 = 0 ;
26270 int res1 = 0 ;
26271 bool val2 ;
26272 int ecode2 = 0 ;
26273 PyObject * obj0 = 0 ;
26274 PyObject * obj1 = 0 ;
26275 char * kwnames[] = {
26276 (char *) "self",(char *) "flag", NULL
26277 };
26278
26279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26281 if (!SWIG_IsOK(res1)) {
26282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26283 }
26284 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26285 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26286 if (!SWIG_IsOK(ecode2)) {
26287 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26288 }
26289 arg2 = static_cast< bool >(val2);
26290 {
26291 PyThreadState* __tstate = wxPyBeginAllowThreads();
26292 (arg1)->EnablePrintToFile(arg2);
26293 wxPyEndAllowThreads(__tstate);
26294 if (PyErr_Occurred()) SWIG_fail;
26295 }
26296 resultobj = SWIG_Py_Void();
26297 return resultobj;
26298 fail:
26299 return NULL;
26300 }
26301
26302
26303 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26304 PyObject *resultobj = 0;
26305 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26306 bool arg2 ;
26307 void *argp1 = 0 ;
26308 int res1 = 0 ;
26309 bool val2 ;
26310 int ecode2 = 0 ;
26311 PyObject * obj0 = 0 ;
26312 PyObject * obj1 = 0 ;
26313 char * kwnames[] = {
26314 (char *) "self",(char *) "flag", NULL
26315 };
26316
26317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26319 if (!SWIG_IsOK(res1)) {
26320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26321 }
26322 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26323 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26324 if (!SWIG_IsOK(ecode2)) {
26325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26326 }
26327 arg2 = static_cast< bool >(val2);
26328 {
26329 PyThreadState* __tstate = wxPyBeginAllowThreads();
26330 (arg1)->EnableSelection(arg2);
26331 wxPyEndAllowThreads(__tstate);
26332 if (PyErr_Occurred()) SWIG_fail;
26333 }
26334 resultobj = SWIG_Py_Void();
26335 return resultobj;
26336 fail:
26337 return NULL;
26338 }
26339
26340
26341 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26342 PyObject *resultobj = 0;
26343 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26344 bool arg2 ;
26345 void *argp1 = 0 ;
26346 int res1 = 0 ;
26347 bool val2 ;
26348 int ecode2 = 0 ;
26349 PyObject * obj0 = 0 ;
26350 PyObject * obj1 = 0 ;
26351 char * kwnames[] = {
26352 (char *) "self",(char *) "flag", NULL
26353 };
26354
26355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26357 if (!SWIG_IsOK(res1)) {
26358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26359 }
26360 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26361 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26362 if (!SWIG_IsOK(ecode2)) {
26363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26364 }
26365 arg2 = static_cast< bool >(val2);
26366 {
26367 PyThreadState* __tstate = wxPyBeginAllowThreads();
26368 (arg1)->EnablePageNumbers(arg2);
26369 wxPyEndAllowThreads(__tstate);
26370 if (PyErr_Occurred()) SWIG_fail;
26371 }
26372 resultobj = SWIG_Py_Void();
26373 return resultobj;
26374 fail:
26375 return NULL;
26376 }
26377
26378
26379 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26380 PyObject *resultobj = 0;
26381 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26382 bool arg2 ;
26383 void *argp1 = 0 ;
26384 int res1 = 0 ;
26385 bool val2 ;
26386 int ecode2 = 0 ;
26387 PyObject * obj0 = 0 ;
26388 PyObject * obj1 = 0 ;
26389 char * kwnames[] = {
26390 (char *) "self",(char *) "flag", NULL
26391 };
26392
26393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26395 if (!SWIG_IsOK(res1)) {
26396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26397 }
26398 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26399 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26400 if (!SWIG_IsOK(ecode2)) {
26401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26402 }
26403 arg2 = static_cast< bool >(val2);
26404 {
26405 PyThreadState* __tstate = wxPyBeginAllowThreads();
26406 (arg1)->EnableHelp(arg2);
26407 wxPyEndAllowThreads(__tstate);
26408 if (PyErr_Occurred()) SWIG_fail;
26409 }
26410 resultobj = SWIG_Py_Void();
26411 return resultobj;
26412 fail:
26413 return NULL;
26414 }
26415
26416
26417 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26418 PyObject *resultobj = 0;
26419 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26420 bool result;
26421 void *argp1 = 0 ;
26422 int res1 = 0 ;
26423 PyObject *swig_obj[1] ;
26424
26425 if (!args) SWIG_fail;
26426 swig_obj[0] = args;
26427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26428 if (!SWIG_IsOK(res1)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26430 }
26431 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26432 {
26433 PyThreadState* __tstate = wxPyBeginAllowThreads();
26434 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26435 wxPyEndAllowThreads(__tstate);
26436 if (PyErr_Occurred()) SWIG_fail;
26437 }
26438 {
26439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26440 }
26441 return resultobj;
26442 fail:
26443 return NULL;
26444 }
26445
26446
26447 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26448 PyObject *resultobj = 0;
26449 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26450 bool result;
26451 void *argp1 = 0 ;
26452 int res1 = 0 ;
26453 PyObject *swig_obj[1] ;
26454
26455 if (!args) SWIG_fail;
26456 swig_obj[0] = args;
26457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26458 if (!SWIG_IsOK(res1)) {
26459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26460 }
26461 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26462 {
26463 PyThreadState* __tstate = wxPyBeginAllowThreads();
26464 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26465 wxPyEndAllowThreads(__tstate);
26466 if (PyErr_Occurred()) SWIG_fail;
26467 }
26468 {
26469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26470 }
26471 return resultobj;
26472 fail:
26473 return NULL;
26474 }
26475
26476
26477 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26478 PyObject *resultobj = 0;
26479 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26480 bool result;
26481 void *argp1 = 0 ;
26482 int res1 = 0 ;
26483 PyObject *swig_obj[1] ;
26484
26485 if (!args) SWIG_fail;
26486 swig_obj[0] = args;
26487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26488 if (!SWIG_IsOK(res1)) {
26489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26490 }
26491 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26492 {
26493 PyThreadState* __tstate = wxPyBeginAllowThreads();
26494 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26495 wxPyEndAllowThreads(__tstate);
26496 if (PyErr_Occurred()) SWIG_fail;
26497 }
26498 {
26499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26500 }
26501 return resultobj;
26502 fail:
26503 return NULL;
26504 }
26505
26506
26507 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26508 PyObject *resultobj = 0;
26509 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26510 bool result;
26511 void *argp1 = 0 ;
26512 int res1 = 0 ;
26513 PyObject *swig_obj[1] ;
26514
26515 if (!args) SWIG_fail;
26516 swig_obj[0] = args;
26517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26518 if (!SWIG_IsOK(res1)) {
26519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26520 }
26521 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26522 {
26523 PyThreadState* __tstate = wxPyBeginAllowThreads();
26524 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26525 wxPyEndAllowThreads(__tstate);
26526 if (PyErr_Occurred()) SWIG_fail;
26527 }
26528 {
26529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26530 }
26531 return resultobj;
26532 fail:
26533 return NULL;
26534 }
26535
26536
26537 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26538 PyObject *resultobj = 0;
26539 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26540 bool result;
26541 void *argp1 = 0 ;
26542 int res1 = 0 ;
26543 PyObject *swig_obj[1] ;
26544
26545 if (!args) SWIG_fail;
26546 swig_obj[0] = args;
26547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26548 if (!SWIG_IsOK(res1)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26550 }
26551 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26552 {
26553 PyThreadState* __tstate = wxPyBeginAllowThreads();
26554 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26555 wxPyEndAllowThreads(__tstate);
26556 if (PyErr_Occurred()) SWIG_fail;
26557 }
26558 {
26559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26560 }
26561 return resultobj;
26562 fail:
26563 return NULL;
26564 }
26565
26566
26567 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26568 PyObject *resultobj = 0;
26569 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26570 wxPrintData *result = 0 ;
26571 void *argp1 = 0 ;
26572 int res1 = 0 ;
26573 PyObject *swig_obj[1] ;
26574
26575 if (!args) SWIG_fail;
26576 swig_obj[0] = args;
26577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26578 if (!SWIG_IsOK(res1)) {
26579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26580 }
26581 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26582 {
26583 PyThreadState* __tstate = wxPyBeginAllowThreads();
26584 {
26585 wxPrintData &_result_ref = (arg1)->GetPrintData();
26586 result = (wxPrintData *) &_result_ref;
26587 }
26588 wxPyEndAllowThreads(__tstate);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 }
26591 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26592 return resultobj;
26593 fail:
26594 return NULL;
26595 }
26596
26597
26598 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26599 PyObject *resultobj = 0;
26600 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26601 wxPrintData *arg2 = 0 ;
26602 void *argp1 = 0 ;
26603 int res1 = 0 ;
26604 void *argp2 = 0 ;
26605 int res2 = 0 ;
26606 PyObject * obj0 = 0 ;
26607 PyObject * obj1 = 0 ;
26608 char * kwnames[] = {
26609 (char *) "self",(char *) "printData", NULL
26610 };
26611
26612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26614 if (!SWIG_IsOK(res1)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26616 }
26617 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26618 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26619 if (!SWIG_IsOK(res2)) {
26620 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26621 }
26622 if (!argp2) {
26623 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26624 }
26625 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26626 {
26627 PyThreadState* __tstate = wxPyBeginAllowThreads();
26628 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26629 wxPyEndAllowThreads(__tstate);
26630 if (PyErr_Occurred()) SWIG_fail;
26631 }
26632 resultobj = SWIG_Py_Void();
26633 return resultobj;
26634 fail:
26635 return NULL;
26636 }
26637
26638
26639 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26640 PyObject *obj;
26641 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26642 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26643 return SWIG_Py_Void();
26644 }
26645
26646 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26647 return SWIG_Python_InitShadowInstance(args);
26648 }
26649
26650 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26651 PyObject *resultobj = 0;
26652 wxWindow *arg1 = (wxWindow *) 0 ;
26653 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26654 wxPrintDialog *result = 0 ;
26655 void *argp1 = 0 ;
26656 int res1 = 0 ;
26657 void *argp2 = 0 ;
26658 int res2 = 0 ;
26659 PyObject * obj0 = 0 ;
26660 PyObject * obj1 = 0 ;
26661 char * kwnames[] = {
26662 (char *) "parent",(char *) "data", NULL
26663 };
26664
26665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26667 if (!SWIG_IsOK(res1)) {
26668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26669 }
26670 arg1 = reinterpret_cast< wxWindow * >(argp1);
26671 if (obj1) {
26672 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26673 if (!SWIG_IsOK(res2)) {
26674 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26675 }
26676 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26677 }
26678 {
26679 if (!wxPyCheckForApp()) SWIG_fail;
26680 PyThreadState* __tstate = wxPyBeginAllowThreads();
26681 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26682 wxPyEndAllowThreads(__tstate);
26683 if (PyErr_Occurred()) SWIG_fail;
26684 }
26685 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26686 return resultobj;
26687 fail:
26688 return NULL;
26689 }
26690
26691
26692 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26693 PyObject *resultobj = 0;
26694 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26695 int result;
26696 void *argp1 = 0 ;
26697 int res1 = 0 ;
26698 PyObject *swig_obj[1] ;
26699
26700 if (!args) SWIG_fail;
26701 swig_obj[0] = args;
26702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26703 if (!SWIG_IsOK(res1)) {
26704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26705 }
26706 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26707 {
26708 PyThreadState* __tstate = wxPyBeginAllowThreads();
26709 result = (int)(arg1)->ShowModal();
26710 wxPyEndAllowThreads(__tstate);
26711 if (PyErr_Occurred()) SWIG_fail;
26712 }
26713 resultobj = SWIG_From_int(static_cast< int >(result));
26714 return resultobj;
26715 fail:
26716 return NULL;
26717 }
26718
26719
26720 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26721 PyObject *resultobj = 0;
26722 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26723 wxPrintDialogData *result = 0 ;
26724 void *argp1 = 0 ;
26725 int res1 = 0 ;
26726 PyObject *swig_obj[1] ;
26727
26728 if (!args) SWIG_fail;
26729 swig_obj[0] = args;
26730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26731 if (!SWIG_IsOK(res1)) {
26732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26733 }
26734 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26735 {
26736 PyThreadState* __tstate = wxPyBeginAllowThreads();
26737 {
26738 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26739 result = (wxPrintDialogData *) &_result_ref;
26740 }
26741 wxPyEndAllowThreads(__tstate);
26742 if (PyErr_Occurred()) SWIG_fail;
26743 }
26744 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26745 return resultobj;
26746 fail:
26747 return NULL;
26748 }
26749
26750
26751 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26752 PyObject *resultobj = 0;
26753 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26754 wxPrintData *result = 0 ;
26755 void *argp1 = 0 ;
26756 int res1 = 0 ;
26757 PyObject *swig_obj[1] ;
26758
26759 if (!args) SWIG_fail;
26760 swig_obj[0] = args;
26761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26762 if (!SWIG_IsOK(res1)) {
26763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26764 }
26765 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26766 {
26767 PyThreadState* __tstate = wxPyBeginAllowThreads();
26768 {
26769 wxPrintData &_result_ref = (arg1)->GetPrintData();
26770 result = (wxPrintData *) &_result_ref;
26771 }
26772 wxPyEndAllowThreads(__tstate);
26773 if (PyErr_Occurred()) SWIG_fail;
26774 }
26775 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26776 return resultobj;
26777 fail:
26778 return NULL;
26779 }
26780
26781
26782 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26783 PyObject *resultobj = 0;
26784 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26785 wxDC *result = 0 ;
26786 void *argp1 = 0 ;
26787 int res1 = 0 ;
26788 PyObject *swig_obj[1] ;
26789
26790 if (!args) SWIG_fail;
26791 swig_obj[0] = args;
26792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26793 if (!SWIG_IsOK(res1)) {
26794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26795 }
26796 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26797 {
26798 PyThreadState* __tstate = wxPyBeginAllowThreads();
26799 result = (wxDC *)(arg1)->GetPrintDC();
26800 wxPyEndAllowThreads(__tstate);
26801 if (PyErr_Occurred()) SWIG_fail;
26802 }
26803 {
26804 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
26805 }
26806 return resultobj;
26807 fail:
26808 return NULL;
26809 }
26810
26811
26812 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26813 PyObject *obj;
26814 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26815 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
26816 return SWIG_Py_Void();
26817 }
26818
26819 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26820 return SWIG_Python_InitShadowInstance(args);
26821 }
26822
26823 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26824 PyObject *resultobj = 0;
26825 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
26826 wxPrinter *result = 0 ;
26827 void *argp1 = 0 ;
26828 int res1 = 0 ;
26829 PyObject * obj0 = 0 ;
26830 char * kwnames[] = {
26831 (char *) "data", NULL
26832 };
26833
26834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
26835 if (obj0) {
26836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26837 if (!SWIG_IsOK(res1)) {
26838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26839 }
26840 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26841 }
26842 {
26843 if (!wxPyCheckForApp()) SWIG_fail;
26844 PyThreadState* __tstate = wxPyBeginAllowThreads();
26845 result = (wxPrinter *)new wxPrinter(arg1);
26846 wxPyEndAllowThreads(__tstate);
26847 if (PyErr_Occurred()) SWIG_fail;
26848 }
26849 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
26850 return resultobj;
26851 fail:
26852 return NULL;
26853 }
26854
26855
26856 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26857 PyObject *resultobj = 0;
26858 wxPrinter *arg1 = (wxPrinter *) 0 ;
26859 void *argp1 = 0 ;
26860 int res1 = 0 ;
26861 PyObject *swig_obj[1] ;
26862
26863 if (!args) SWIG_fail;
26864 swig_obj[0] = args;
26865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
26866 if (!SWIG_IsOK(res1)) {
26867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26868 }
26869 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26870 {
26871 PyThreadState* __tstate = wxPyBeginAllowThreads();
26872 delete arg1;
26873
26874 wxPyEndAllowThreads(__tstate);
26875 if (PyErr_Occurred()) SWIG_fail;
26876 }
26877 resultobj = SWIG_Py_Void();
26878 return resultobj;
26879 fail:
26880 return NULL;
26881 }
26882
26883
26884 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26885 PyObject *resultobj = 0;
26886 wxPrinter *arg1 = (wxPrinter *) 0 ;
26887 wxWindow *arg2 = (wxWindow *) 0 ;
26888 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26889 wxWindow *result = 0 ;
26890 void *argp1 = 0 ;
26891 int res1 = 0 ;
26892 void *argp2 = 0 ;
26893 int res2 = 0 ;
26894 void *argp3 = 0 ;
26895 int res3 = 0 ;
26896 PyObject * obj0 = 0 ;
26897 PyObject * obj1 = 0 ;
26898 PyObject * obj2 = 0 ;
26899 char * kwnames[] = {
26900 (char *) "self",(char *) "parent",(char *) "printout", NULL
26901 };
26902
26903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26905 if (!SWIG_IsOK(res1)) {
26906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26907 }
26908 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26909 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26910 if (!SWIG_IsOK(res2)) {
26911 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26912 }
26913 arg2 = reinterpret_cast< wxWindow * >(argp2);
26914 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26915 if (!SWIG_IsOK(res3)) {
26916 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26917 }
26918 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26919 {
26920 PyThreadState* __tstate = wxPyBeginAllowThreads();
26921 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
26922 wxPyEndAllowThreads(__tstate);
26923 if (PyErr_Occurred()) SWIG_fail;
26924 }
26925 {
26926 resultobj = wxPyMake_wxObject(result, 0);
26927 }
26928 return resultobj;
26929 fail:
26930 return NULL;
26931 }
26932
26933
26934 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26935 PyObject *resultobj = 0;
26936 wxPrinter *arg1 = (wxPrinter *) 0 ;
26937 wxWindow *arg2 = (wxWindow *) 0 ;
26938 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26939 wxString *arg4 = 0 ;
26940 void *argp1 = 0 ;
26941 int res1 = 0 ;
26942 void *argp2 = 0 ;
26943 int res2 = 0 ;
26944 void *argp3 = 0 ;
26945 int res3 = 0 ;
26946 bool temp4 = false ;
26947 PyObject * obj0 = 0 ;
26948 PyObject * obj1 = 0 ;
26949 PyObject * obj2 = 0 ;
26950 PyObject * obj3 = 0 ;
26951 char * kwnames[] = {
26952 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
26953 };
26954
26955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
26956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26957 if (!SWIG_IsOK(res1)) {
26958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
26959 }
26960 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26961 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26962 if (!SWIG_IsOK(res2)) {
26963 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
26964 }
26965 arg2 = reinterpret_cast< wxWindow * >(argp2);
26966 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26967 if (!SWIG_IsOK(res3)) {
26968 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26969 }
26970 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26971 {
26972 arg4 = wxString_in_helper(obj3);
26973 if (arg4 == NULL) SWIG_fail;
26974 temp4 = true;
26975 }
26976 {
26977 PyThreadState* __tstate = wxPyBeginAllowThreads();
26978 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
26979 wxPyEndAllowThreads(__tstate);
26980 if (PyErr_Occurred()) SWIG_fail;
26981 }
26982 resultobj = SWIG_Py_Void();
26983 {
26984 if (temp4)
26985 delete arg4;
26986 }
26987 return resultobj;
26988 fail:
26989 {
26990 if (temp4)
26991 delete arg4;
26992 }
26993 return NULL;
26994 }
26995
26996
26997 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26998 PyObject *resultobj = 0;
26999 wxPrinter *arg1 = (wxPrinter *) 0 ;
27000 wxWindow *arg2 = (wxWindow *) 0 ;
27001 bool result;
27002 void *argp1 = 0 ;
27003 int res1 = 0 ;
27004 void *argp2 = 0 ;
27005 int res2 = 0 ;
27006 PyObject * obj0 = 0 ;
27007 PyObject * obj1 = 0 ;
27008 char * kwnames[] = {
27009 (char *) "self",(char *) "parent", NULL
27010 };
27011
27012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27014 if (!SWIG_IsOK(res1)) {
27015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27016 }
27017 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27018 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27019 if (!SWIG_IsOK(res2)) {
27020 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27021 }
27022 arg2 = reinterpret_cast< wxWindow * >(argp2);
27023 {
27024 PyThreadState* __tstate = wxPyBeginAllowThreads();
27025 result = (bool)(arg1)->Setup(arg2);
27026 wxPyEndAllowThreads(__tstate);
27027 if (PyErr_Occurred()) SWIG_fail;
27028 }
27029 {
27030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27031 }
27032 return resultobj;
27033 fail:
27034 return NULL;
27035 }
27036
27037
27038 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27039 PyObject *resultobj = 0;
27040 wxPrinter *arg1 = (wxPrinter *) 0 ;
27041 wxWindow *arg2 = (wxWindow *) 0 ;
27042 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27043 bool arg4 = (bool) true ;
27044 bool result;
27045 void *argp1 = 0 ;
27046 int res1 = 0 ;
27047 void *argp2 = 0 ;
27048 int res2 = 0 ;
27049 void *argp3 = 0 ;
27050 int res3 = 0 ;
27051 bool val4 ;
27052 int ecode4 = 0 ;
27053 PyObject * obj0 = 0 ;
27054 PyObject * obj1 = 0 ;
27055 PyObject * obj2 = 0 ;
27056 PyObject * obj3 = 0 ;
27057 char * kwnames[] = {
27058 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27059 };
27060
27061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27063 if (!SWIG_IsOK(res1)) {
27064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27065 }
27066 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27067 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27068 if (!SWIG_IsOK(res2)) {
27069 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27070 }
27071 arg2 = reinterpret_cast< wxWindow * >(argp2);
27072 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27073 if (!SWIG_IsOK(res3)) {
27074 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27075 }
27076 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27077 if (obj3) {
27078 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27079 if (!SWIG_IsOK(ecode4)) {
27080 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27081 }
27082 arg4 = static_cast< bool >(val4);
27083 }
27084 {
27085 PyThreadState* __tstate = wxPyBeginAllowThreads();
27086 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27087 wxPyEndAllowThreads(__tstate);
27088 if (PyErr_Occurred()) SWIG_fail;
27089 }
27090 {
27091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27092 }
27093 return resultobj;
27094 fail:
27095 return NULL;
27096 }
27097
27098
27099 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27100 PyObject *resultobj = 0;
27101 wxPrinter *arg1 = (wxPrinter *) 0 ;
27102 wxWindow *arg2 = (wxWindow *) 0 ;
27103 wxDC *result = 0 ;
27104 void *argp1 = 0 ;
27105 int res1 = 0 ;
27106 void *argp2 = 0 ;
27107 int res2 = 0 ;
27108 PyObject * obj0 = 0 ;
27109 PyObject * obj1 = 0 ;
27110 char * kwnames[] = {
27111 (char *) "self",(char *) "parent", NULL
27112 };
27113
27114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27116 if (!SWIG_IsOK(res1)) {
27117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27118 }
27119 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27120 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27121 if (!SWIG_IsOK(res2)) {
27122 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27123 }
27124 arg2 = reinterpret_cast< wxWindow * >(argp2);
27125 {
27126 PyThreadState* __tstate = wxPyBeginAllowThreads();
27127 result = (wxDC *)(arg1)->PrintDialog(arg2);
27128 wxPyEndAllowThreads(__tstate);
27129 if (PyErr_Occurred()) SWIG_fail;
27130 }
27131 {
27132 resultobj = wxPyMake_wxObject(result, (bool)0);
27133 }
27134 return resultobj;
27135 fail:
27136 return NULL;
27137 }
27138
27139
27140 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27141 PyObject *resultobj = 0;
27142 wxPrinter *arg1 = (wxPrinter *) 0 ;
27143 wxPrintDialogData *result = 0 ;
27144 void *argp1 = 0 ;
27145 int res1 = 0 ;
27146 PyObject *swig_obj[1] ;
27147
27148 if (!args) SWIG_fail;
27149 swig_obj[0] = args;
27150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27151 if (!SWIG_IsOK(res1)) {
27152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27153 }
27154 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27155 {
27156 PyThreadState* __tstate = wxPyBeginAllowThreads();
27157 {
27158 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27159 result = (wxPrintDialogData *) &_result_ref;
27160 }
27161 wxPyEndAllowThreads(__tstate);
27162 if (PyErr_Occurred()) SWIG_fail;
27163 }
27164 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27165 return resultobj;
27166 fail:
27167 return NULL;
27168 }
27169
27170
27171 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27172 PyObject *resultobj = 0;
27173 wxPrinter *arg1 = (wxPrinter *) 0 ;
27174 bool result;
27175 void *argp1 = 0 ;
27176 int res1 = 0 ;
27177 PyObject *swig_obj[1] ;
27178
27179 if (!args) SWIG_fail;
27180 swig_obj[0] = args;
27181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27182 if (!SWIG_IsOK(res1)) {
27183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27184 }
27185 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27186 {
27187 PyThreadState* __tstate = wxPyBeginAllowThreads();
27188 result = (bool)(arg1)->GetAbort();
27189 wxPyEndAllowThreads(__tstate);
27190 if (PyErr_Occurred()) SWIG_fail;
27191 }
27192 {
27193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27194 }
27195 return resultobj;
27196 fail:
27197 return NULL;
27198 }
27199
27200
27201 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27202 PyObject *resultobj = 0;
27203 wxPrinterError result;
27204
27205 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27206 {
27207 PyThreadState* __tstate = wxPyBeginAllowThreads();
27208 result = (wxPrinterError)wxPrinter::GetLastError();
27209 wxPyEndAllowThreads(__tstate);
27210 if (PyErr_Occurred()) SWIG_fail;
27211 }
27212 resultobj = SWIG_From_int(static_cast< int >(result));
27213 return resultobj;
27214 fail:
27215 return NULL;
27216 }
27217
27218
27219 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27220 PyObject *obj;
27221 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27222 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27223 return SWIG_Py_Void();
27224 }
27225
27226 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27227 return SWIG_Python_InitShadowInstance(args);
27228 }
27229
27230 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27231 PyObject *resultobj = 0;
27232 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27233 wxString *arg1 = (wxString *) &arg1_defvalue ;
27234 wxPyPrintout *result = 0 ;
27235 bool temp1 = false ;
27236 PyObject * obj0 = 0 ;
27237 char * kwnames[] = {
27238 (char *) "title", NULL
27239 };
27240
27241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27242 if (obj0) {
27243 {
27244 arg1 = wxString_in_helper(obj0);
27245 if (arg1 == NULL) SWIG_fail;
27246 temp1 = true;
27247 }
27248 }
27249 {
27250 if (!wxPyCheckForApp()) SWIG_fail;
27251 PyThreadState* __tstate = wxPyBeginAllowThreads();
27252 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27253 wxPyEndAllowThreads(__tstate);
27254 if (PyErr_Occurred()) SWIG_fail;
27255 }
27256 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27257 {
27258 if (temp1)
27259 delete arg1;
27260 }
27261 return resultobj;
27262 fail:
27263 {
27264 if (temp1)
27265 delete arg1;
27266 }
27267 return NULL;
27268 }
27269
27270
27271 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27272 PyObject *resultobj = 0;
27273 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27274 void *argp1 = 0 ;
27275 int res1 = 0 ;
27276 PyObject *swig_obj[1] ;
27277
27278 if (!args) SWIG_fail;
27279 swig_obj[0] = args;
27280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27281 if (!SWIG_IsOK(res1)) {
27282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27283 }
27284 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27285 {
27286 PyThreadState* __tstate = wxPyBeginAllowThreads();
27287 delete arg1;
27288
27289 wxPyEndAllowThreads(__tstate);
27290 if (PyErr_Occurred()) SWIG_fail;
27291 }
27292 resultobj = SWIG_Py_Void();
27293 return resultobj;
27294 fail:
27295 return NULL;
27296 }
27297
27298
27299 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27300 PyObject *resultobj = 0;
27301 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27302 PyObject *arg2 = (PyObject *) 0 ;
27303 PyObject *arg3 = (PyObject *) 0 ;
27304 void *argp1 = 0 ;
27305 int res1 = 0 ;
27306 PyObject * obj0 = 0 ;
27307 PyObject * obj1 = 0 ;
27308 PyObject * obj2 = 0 ;
27309 char * kwnames[] = {
27310 (char *) "self",(char *) "self",(char *) "_class", NULL
27311 };
27312
27313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27315 if (!SWIG_IsOK(res1)) {
27316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27317 }
27318 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27319 arg2 = obj1;
27320 arg3 = obj2;
27321 {
27322 PyThreadState* __tstate = wxPyBeginAllowThreads();
27323 (arg1)->_setCallbackInfo(arg2,arg3);
27324 wxPyEndAllowThreads(__tstate);
27325 if (PyErr_Occurred()) SWIG_fail;
27326 }
27327 resultobj = SWIG_Py_Void();
27328 return resultobj;
27329 fail:
27330 return NULL;
27331 }
27332
27333
27334 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27335 PyObject *resultobj = 0;
27336 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27337 wxString result;
27338 void *argp1 = 0 ;
27339 int res1 = 0 ;
27340 PyObject *swig_obj[1] ;
27341
27342 if (!args) SWIG_fail;
27343 swig_obj[0] = args;
27344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27345 if (!SWIG_IsOK(res1)) {
27346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27347 }
27348 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27349 {
27350 PyThreadState* __tstate = wxPyBeginAllowThreads();
27351 result = ((wxPyPrintout const *)arg1)->GetTitle();
27352 wxPyEndAllowThreads(__tstate);
27353 if (PyErr_Occurred()) SWIG_fail;
27354 }
27355 {
27356 #if wxUSE_UNICODE
27357 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27358 #else
27359 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27360 #endif
27361 }
27362 return resultobj;
27363 fail:
27364 return NULL;
27365 }
27366
27367
27368 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27369 PyObject *resultobj = 0;
27370 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27371 wxDC *result = 0 ;
27372 void *argp1 = 0 ;
27373 int res1 = 0 ;
27374 PyObject *swig_obj[1] ;
27375
27376 if (!args) SWIG_fail;
27377 swig_obj[0] = args;
27378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27379 if (!SWIG_IsOK(res1)) {
27380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27381 }
27382 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27383 {
27384 PyThreadState* __tstate = wxPyBeginAllowThreads();
27385 result = (wxDC *)(arg1)->GetDC();
27386 wxPyEndAllowThreads(__tstate);
27387 if (PyErr_Occurred()) SWIG_fail;
27388 }
27389 {
27390 resultobj = wxPyMake_wxObject(result, (bool)0);
27391 }
27392 return resultobj;
27393 fail:
27394 return NULL;
27395 }
27396
27397
27398 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27399 PyObject *resultobj = 0;
27400 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27401 wxDC *arg2 = (wxDC *) 0 ;
27402 void *argp1 = 0 ;
27403 int res1 = 0 ;
27404 void *argp2 = 0 ;
27405 int res2 = 0 ;
27406 PyObject * obj0 = 0 ;
27407 PyObject * obj1 = 0 ;
27408 char * kwnames[] = {
27409 (char *) "self",(char *) "dc", NULL
27410 };
27411
27412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27414 if (!SWIG_IsOK(res1)) {
27415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27416 }
27417 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27418 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27419 if (!SWIG_IsOK(res2)) {
27420 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27421 }
27422 arg2 = reinterpret_cast< wxDC * >(argp2);
27423 {
27424 PyThreadState* __tstate = wxPyBeginAllowThreads();
27425 (arg1)->SetDC(arg2);
27426 wxPyEndAllowThreads(__tstate);
27427 if (PyErr_Occurred()) SWIG_fail;
27428 }
27429 resultobj = SWIG_Py_Void();
27430 return resultobj;
27431 fail:
27432 return NULL;
27433 }
27434
27435
27436 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27437 PyObject *resultobj = 0;
27438 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27439 int arg2 ;
27440 int arg3 ;
27441 void *argp1 = 0 ;
27442 int res1 = 0 ;
27443 int val2 ;
27444 int ecode2 = 0 ;
27445 int val3 ;
27446 int ecode3 = 0 ;
27447 PyObject * obj0 = 0 ;
27448 PyObject * obj1 = 0 ;
27449 PyObject * obj2 = 0 ;
27450 char * kwnames[] = {
27451 (char *) "self",(char *) "w",(char *) "h", NULL
27452 };
27453
27454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27456 if (!SWIG_IsOK(res1)) {
27457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27458 }
27459 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27460 ecode2 = SWIG_AsVal_int(obj1, &val2);
27461 if (!SWIG_IsOK(ecode2)) {
27462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27463 }
27464 arg2 = static_cast< int >(val2);
27465 ecode3 = SWIG_AsVal_int(obj2, &val3);
27466 if (!SWIG_IsOK(ecode3)) {
27467 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27468 }
27469 arg3 = static_cast< int >(val3);
27470 {
27471 PyThreadState* __tstate = wxPyBeginAllowThreads();
27472 (arg1)->SetPageSizePixels(arg2,arg3);
27473 wxPyEndAllowThreads(__tstate);
27474 if (PyErr_Occurred()) SWIG_fail;
27475 }
27476 resultobj = SWIG_Py_Void();
27477 return resultobj;
27478 fail:
27479 return NULL;
27480 }
27481
27482
27483 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27484 PyObject *resultobj = 0;
27485 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27486 int *arg2 = (int *) 0 ;
27487 int *arg3 = (int *) 0 ;
27488 void *argp1 = 0 ;
27489 int res1 = 0 ;
27490 int temp2 ;
27491 int res2 = SWIG_TMPOBJ ;
27492 int temp3 ;
27493 int res3 = SWIG_TMPOBJ ;
27494 PyObject *swig_obj[1] ;
27495
27496 arg2 = &temp2;
27497 arg3 = &temp3;
27498 if (!args) SWIG_fail;
27499 swig_obj[0] = args;
27500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27501 if (!SWIG_IsOK(res1)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27503 }
27504 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27505 {
27506 PyThreadState* __tstate = wxPyBeginAllowThreads();
27507 (arg1)->GetPageSizePixels(arg2,arg3);
27508 wxPyEndAllowThreads(__tstate);
27509 if (PyErr_Occurred()) SWIG_fail;
27510 }
27511 resultobj = SWIG_Py_Void();
27512 if (SWIG_IsTmpObj(res2)) {
27513 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27514 } else {
27515 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27516 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27517 }
27518 if (SWIG_IsTmpObj(res3)) {
27519 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27520 } else {
27521 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27522 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27523 }
27524 return resultobj;
27525 fail:
27526 return NULL;
27527 }
27528
27529
27530 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27531 PyObject *resultobj = 0;
27532 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27533 int arg2 ;
27534 int arg3 ;
27535 void *argp1 = 0 ;
27536 int res1 = 0 ;
27537 int val2 ;
27538 int ecode2 = 0 ;
27539 int val3 ;
27540 int ecode3 = 0 ;
27541 PyObject * obj0 = 0 ;
27542 PyObject * obj1 = 0 ;
27543 PyObject * obj2 = 0 ;
27544 char * kwnames[] = {
27545 (char *) "self",(char *) "w",(char *) "h", NULL
27546 };
27547
27548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27550 if (!SWIG_IsOK(res1)) {
27551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27552 }
27553 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27554 ecode2 = SWIG_AsVal_int(obj1, &val2);
27555 if (!SWIG_IsOK(ecode2)) {
27556 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27557 }
27558 arg2 = static_cast< int >(val2);
27559 ecode3 = SWIG_AsVal_int(obj2, &val3);
27560 if (!SWIG_IsOK(ecode3)) {
27561 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27562 }
27563 arg3 = static_cast< int >(val3);
27564 {
27565 PyThreadState* __tstate = wxPyBeginAllowThreads();
27566 (arg1)->SetPageSizeMM(arg2,arg3);
27567 wxPyEndAllowThreads(__tstate);
27568 if (PyErr_Occurred()) SWIG_fail;
27569 }
27570 resultobj = SWIG_Py_Void();
27571 return resultobj;
27572 fail:
27573 return NULL;
27574 }
27575
27576
27577 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27578 PyObject *resultobj = 0;
27579 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27580 int *arg2 = (int *) 0 ;
27581 int *arg3 = (int *) 0 ;
27582 void *argp1 = 0 ;
27583 int res1 = 0 ;
27584 int temp2 ;
27585 int res2 = SWIG_TMPOBJ ;
27586 int temp3 ;
27587 int res3 = SWIG_TMPOBJ ;
27588 PyObject *swig_obj[1] ;
27589
27590 arg2 = &temp2;
27591 arg3 = &temp3;
27592 if (!args) SWIG_fail;
27593 swig_obj[0] = args;
27594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27595 if (!SWIG_IsOK(res1)) {
27596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27597 }
27598 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27599 {
27600 PyThreadState* __tstate = wxPyBeginAllowThreads();
27601 (arg1)->GetPageSizeMM(arg2,arg3);
27602 wxPyEndAllowThreads(__tstate);
27603 if (PyErr_Occurred()) SWIG_fail;
27604 }
27605 resultobj = SWIG_Py_Void();
27606 if (SWIG_IsTmpObj(res2)) {
27607 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27608 } else {
27609 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27610 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27611 }
27612 if (SWIG_IsTmpObj(res3)) {
27613 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27614 } else {
27615 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27616 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27617 }
27618 return resultobj;
27619 fail:
27620 return NULL;
27621 }
27622
27623
27624 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27625 PyObject *resultobj = 0;
27626 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27627 int arg2 ;
27628 int arg3 ;
27629 void *argp1 = 0 ;
27630 int res1 = 0 ;
27631 int val2 ;
27632 int ecode2 = 0 ;
27633 int val3 ;
27634 int ecode3 = 0 ;
27635 PyObject * obj0 = 0 ;
27636 PyObject * obj1 = 0 ;
27637 PyObject * obj2 = 0 ;
27638 char * kwnames[] = {
27639 (char *) "self",(char *) "x",(char *) "y", NULL
27640 };
27641
27642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27644 if (!SWIG_IsOK(res1)) {
27645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27646 }
27647 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27648 ecode2 = SWIG_AsVal_int(obj1, &val2);
27649 if (!SWIG_IsOK(ecode2)) {
27650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27651 }
27652 arg2 = static_cast< int >(val2);
27653 ecode3 = SWIG_AsVal_int(obj2, &val3);
27654 if (!SWIG_IsOK(ecode3)) {
27655 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27656 }
27657 arg3 = static_cast< int >(val3);
27658 {
27659 PyThreadState* __tstate = wxPyBeginAllowThreads();
27660 (arg1)->SetPPIScreen(arg2,arg3);
27661 wxPyEndAllowThreads(__tstate);
27662 if (PyErr_Occurred()) SWIG_fail;
27663 }
27664 resultobj = SWIG_Py_Void();
27665 return resultobj;
27666 fail:
27667 return NULL;
27668 }
27669
27670
27671 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27672 PyObject *resultobj = 0;
27673 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27674 int *arg2 = (int *) 0 ;
27675 int *arg3 = (int *) 0 ;
27676 void *argp1 = 0 ;
27677 int res1 = 0 ;
27678 int temp2 ;
27679 int res2 = SWIG_TMPOBJ ;
27680 int temp3 ;
27681 int res3 = SWIG_TMPOBJ ;
27682 PyObject *swig_obj[1] ;
27683
27684 arg2 = &temp2;
27685 arg3 = &temp3;
27686 if (!args) SWIG_fail;
27687 swig_obj[0] = args;
27688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27689 if (!SWIG_IsOK(res1)) {
27690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27691 }
27692 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27693 {
27694 PyThreadState* __tstate = wxPyBeginAllowThreads();
27695 (arg1)->GetPPIScreen(arg2,arg3);
27696 wxPyEndAllowThreads(__tstate);
27697 if (PyErr_Occurred()) SWIG_fail;
27698 }
27699 resultobj = SWIG_Py_Void();
27700 if (SWIG_IsTmpObj(res2)) {
27701 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27702 } else {
27703 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27704 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27705 }
27706 if (SWIG_IsTmpObj(res3)) {
27707 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27708 } else {
27709 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27710 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27711 }
27712 return resultobj;
27713 fail:
27714 return NULL;
27715 }
27716
27717
27718 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27719 PyObject *resultobj = 0;
27720 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27721 int arg2 ;
27722 int arg3 ;
27723 void *argp1 = 0 ;
27724 int res1 = 0 ;
27725 int val2 ;
27726 int ecode2 = 0 ;
27727 int val3 ;
27728 int ecode3 = 0 ;
27729 PyObject * obj0 = 0 ;
27730 PyObject * obj1 = 0 ;
27731 PyObject * obj2 = 0 ;
27732 char * kwnames[] = {
27733 (char *) "self",(char *) "x",(char *) "y", NULL
27734 };
27735
27736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27738 if (!SWIG_IsOK(res1)) {
27739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27740 }
27741 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27742 ecode2 = SWIG_AsVal_int(obj1, &val2);
27743 if (!SWIG_IsOK(ecode2)) {
27744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27745 }
27746 arg2 = static_cast< int >(val2);
27747 ecode3 = SWIG_AsVal_int(obj2, &val3);
27748 if (!SWIG_IsOK(ecode3)) {
27749 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27750 }
27751 arg3 = static_cast< int >(val3);
27752 {
27753 PyThreadState* __tstate = wxPyBeginAllowThreads();
27754 (arg1)->SetPPIPrinter(arg2,arg3);
27755 wxPyEndAllowThreads(__tstate);
27756 if (PyErr_Occurred()) SWIG_fail;
27757 }
27758 resultobj = SWIG_Py_Void();
27759 return resultobj;
27760 fail:
27761 return NULL;
27762 }
27763
27764
27765 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27766 PyObject *resultobj = 0;
27767 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27768 int *arg2 = (int *) 0 ;
27769 int *arg3 = (int *) 0 ;
27770 void *argp1 = 0 ;
27771 int res1 = 0 ;
27772 int temp2 ;
27773 int res2 = SWIG_TMPOBJ ;
27774 int temp3 ;
27775 int res3 = SWIG_TMPOBJ ;
27776 PyObject *swig_obj[1] ;
27777
27778 arg2 = &temp2;
27779 arg3 = &temp3;
27780 if (!args) SWIG_fail;
27781 swig_obj[0] = args;
27782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27783 if (!SWIG_IsOK(res1)) {
27784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27785 }
27786 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27787 {
27788 PyThreadState* __tstate = wxPyBeginAllowThreads();
27789 (arg1)->GetPPIPrinter(arg2,arg3);
27790 wxPyEndAllowThreads(__tstate);
27791 if (PyErr_Occurred()) SWIG_fail;
27792 }
27793 resultobj = SWIG_Py_Void();
27794 if (SWIG_IsTmpObj(res2)) {
27795 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27796 } else {
27797 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27798 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27799 }
27800 if (SWIG_IsTmpObj(res3)) {
27801 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27802 } else {
27803 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27804 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27805 }
27806 return resultobj;
27807 fail:
27808 return NULL;
27809 }
27810
27811
27812 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27813 PyObject *resultobj = 0;
27814 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27815 bool result;
27816 void *argp1 = 0 ;
27817 int res1 = 0 ;
27818 PyObject *swig_obj[1] ;
27819
27820 if (!args) SWIG_fail;
27821 swig_obj[0] = args;
27822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27823 if (!SWIG_IsOK(res1)) {
27824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27825 }
27826 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27827 {
27828 PyThreadState* __tstate = wxPyBeginAllowThreads();
27829 result = (bool)(arg1)->IsPreview();
27830 wxPyEndAllowThreads(__tstate);
27831 if (PyErr_Occurred()) SWIG_fail;
27832 }
27833 {
27834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27835 }
27836 return resultobj;
27837 fail:
27838 return NULL;
27839 }
27840
27841
27842 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27843 PyObject *resultobj = 0;
27844 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27845 bool arg2 ;
27846 void *argp1 = 0 ;
27847 int res1 = 0 ;
27848 bool val2 ;
27849 int ecode2 = 0 ;
27850 PyObject * obj0 = 0 ;
27851 PyObject * obj1 = 0 ;
27852 char * kwnames[] = {
27853 (char *) "self",(char *) "p", NULL
27854 };
27855
27856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
27857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27858 if (!SWIG_IsOK(res1)) {
27859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27860 }
27861 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27862 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27863 if (!SWIG_IsOK(ecode2)) {
27864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27865 }
27866 arg2 = static_cast< bool >(val2);
27867 {
27868 PyThreadState* __tstate = wxPyBeginAllowThreads();
27869 (arg1)->SetIsPreview(arg2);
27870 wxPyEndAllowThreads(__tstate);
27871 if (PyErr_Occurred()) SWIG_fail;
27872 }
27873 resultobj = SWIG_Py_Void();
27874 return resultobj;
27875 fail:
27876 return NULL;
27877 }
27878
27879
27880 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27881 PyObject *resultobj = 0;
27882 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27883 int arg2 ;
27884 int arg3 ;
27885 bool result;
27886 void *argp1 = 0 ;
27887 int res1 = 0 ;
27888 int val2 ;
27889 int ecode2 = 0 ;
27890 int val3 ;
27891 int ecode3 = 0 ;
27892 PyObject * obj0 = 0 ;
27893 PyObject * obj1 = 0 ;
27894 PyObject * obj2 = 0 ;
27895 char * kwnames[] = {
27896 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27897 };
27898
27899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27901 if (!SWIG_IsOK(res1)) {
27902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27903 }
27904 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27905 ecode2 = SWIG_AsVal_int(obj1, &val2);
27906 if (!SWIG_IsOK(ecode2)) {
27907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27908 }
27909 arg2 = static_cast< int >(val2);
27910 ecode3 = SWIG_AsVal_int(obj2, &val3);
27911 if (!SWIG_IsOK(ecode3)) {
27912 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27913 }
27914 arg3 = static_cast< int >(val3);
27915 {
27916 PyThreadState* __tstate = wxPyBeginAllowThreads();
27917 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
27918 wxPyEndAllowThreads(__tstate);
27919 if (PyErr_Occurred()) SWIG_fail;
27920 }
27921 {
27922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27923 }
27924 return resultobj;
27925 fail:
27926 return NULL;
27927 }
27928
27929
27930 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27931 PyObject *resultobj = 0;
27932 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27933 void *argp1 = 0 ;
27934 int res1 = 0 ;
27935 PyObject *swig_obj[1] ;
27936
27937 if (!args) SWIG_fail;
27938 swig_obj[0] = args;
27939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27940 if (!SWIG_IsOK(res1)) {
27941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27942 }
27943 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27944 {
27945 PyThreadState* __tstate = wxPyBeginAllowThreads();
27946 (arg1)->OnEndDocument();
27947 wxPyEndAllowThreads(__tstate);
27948 if (PyErr_Occurred()) SWIG_fail;
27949 }
27950 resultobj = SWIG_Py_Void();
27951 return resultobj;
27952 fail:
27953 return NULL;
27954 }
27955
27956
27957 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27958 PyObject *resultobj = 0;
27959 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27960 void *argp1 = 0 ;
27961 int res1 = 0 ;
27962 PyObject *swig_obj[1] ;
27963
27964 if (!args) SWIG_fail;
27965 swig_obj[0] = args;
27966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27967 if (!SWIG_IsOK(res1)) {
27968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27969 }
27970 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27971 {
27972 PyThreadState* __tstate = wxPyBeginAllowThreads();
27973 (arg1)->OnBeginPrinting();
27974 wxPyEndAllowThreads(__tstate);
27975 if (PyErr_Occurred()) SWIG_fail;
27976 }
27977 resultobj = SWIG_Py_Void();
27978 return resultobj;
27979 fail:
27980 return NULL;
27981 }
27982
27983
27984 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27985 PyObject *resultobj = 0;
27986 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27987 void *argp1 = 0 ;
27988 int res1 = 0 ;
27989 PyObject *swig_obj[1] ;
27990
27991 if (!args) SWIG_fail;
27992 swig_obj[0] = args;
27993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27994 if (!SWIG_IsOK(res1)) {
27995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27996 }
27997 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27998 {
27999 PyThreadState* __tstate = wxPyBeginAllowThreads();
28000 (arg1)->OnEndPrinting();
28001 wxPyEndAllowThreads(__tstate);
28002 if (PyErr_Occurred()) SWIG_fail;
28003 }
28004 resultobj = SWIG_Py_Void();
28005 return resultobj;
28006 fail:
28007 return NULL;
28008 }
28009
28010
28011 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28012 PyObject *resultobj = 0;
28013 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28014 void *argp1 = 0 ;
28015 int res1 = 0 ;
28016 PyObject *swig_obj[1] ;
28017
28018 if (!args) SWIG_fail;
28019 swig_obj[0] = args;
28020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28021 if (!SWIG_IsOK(res1)) {
28022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28023 }
28024 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28025 {
28026 PyThreadState* __tstate = wxPyBeginAllowThreads();
28027 (arg1)->OnPreparePrinting();
28028 wxPyEndAllowThreads(__tstate);
28029 if (PyErr_Occurred()) SWIG_fail;
28030 }
28031 resultobj = SWIG_Py_Void();
28032 return resultobj;
28033 fail:
28034 return NULL;
28035 }
28036
28037
28038 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28039 PyObject *resultobj = 0;
28040 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28041 int arg2 ;
28042 bool result;
28043 void *argp1 = 0 ;
28044 int res1 = 0 ;
28045 int val2 ;
28046 int ecode2 = 0 ;
28047 PyObject * obj0 = 0 ;
28048 PyObject * obj1 = 0 ;
28049 char * kwnames[] = {
28050 (char *) "self",(char *) "page", NULL
28051 };
28052
28053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28055 if (!SWIG_IsOK(res1)) {
28056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28057 }
28058 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28059 ecode2 = SWIG_AsVal_int(obj1, &val2);
28060 if (!SWIG_IsOK(ecode2)) {
28061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28062 }
28063 arg2 = static_cast< int >(val2);
28064 {
28065 PyThreadState* __tstate = wxPyBeginAllowThreads();
28066 result = (bool)(arg1)->HasPage(arg2);
28067 wxPyEndAllowThreads(__tstate);
28068 if (PyErr_Occurred()) SWIG_fail;
28069 }
28070 {
28071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28072 }
28073 return resultobj;
28074 fail:
28075 return NULL;
28076 }
28077
28078
28079 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28080 PyObject *resultobj = 0;
28081 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28082 int *arg2 = (int *) 0 ;
28083 int *arg3 = (int *) 0 ;
28084 int *arg4 = (int *) 0 ;
28085 int *arg5 = (int *) 0 ;
28086 void *argp1 = 0 ;
28087 int res1 = 0 ;
28088 int temp2 ;
28089 int res2 = SWIG_TMPOBJ ;
28090 int temp3 ;
28091 int res3 = SWIG_TMPOBJ ;
28092 int temp4 ;
28093 int res4 = SWIG_TMPOBJ ;
28094 int temp5 ;
28095 int res5 = SWIG_TMPOBJ ;
28096 PyObject *swig_obj[1] ;
28097
28098 arg2 = &temp2;
28099 arg3 = &temp3;
28100 arg4 = &temp4;
28101 arg5 = &temp5;
28102 if (!args) SWIG_fail;
28103 swig_obj[0] = args;
28104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28105 if (!SWIG_IsOK(res1)) {
28106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28107 }
28108 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28109 {
28110 PyThreadState* __tstate = wxPyBeginAllowThreads();
28111 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28112 wxPyEndAllowThreads(__tstate);
28113 if (PyErr_Occurred()) SWIG_fail;
28114 }
28115 resultobj = SWIG_Py_Void();
28116 if (SWIG_IsTmpObj(res2)) {
28117 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28118 } else {
28119 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28120 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28121 }
28122 if (SWIG_IsTmpObj(res3)) {
28123 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28124 } else {
28125 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28126 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28127 }
28128 if (SWIG_IsTmpObj(res4)) {
28129 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28130 } else {
28131 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28132 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28133 }
28134 if (SWIG_IsTmpObj(res5)) {
28135 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28136 } else {
28137 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28138 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28139 }
28140 return resultobj;
28141 fail:
28142 return NULL;
28143 }
28144
28145
28146 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28147 PyObject *obj;
28148 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28149 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28150 return SWIG_Py_Void();
28151 }
28152
28153 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28154 return SWIG_Python_InitShadowInstance(args);
28155 }
28156
28157 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28158 PyObject *resultobj = 0;
28159 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28160 wxWindow *arg2 = (wxWindow *) 0 ;
28161 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28162 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28163 wxSize const &arg4_defvalue = wxDefaultSize ;
28164 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28165 long arg5 = (long) 0 ;
28166 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28167 wxString *arg6 = (wxString *) &arg6_defvalue ;
28168 wxPreviewCanvas *result = 0 ;
28169 void *argp1 = 0 ;
28170 int res1 = 0 ;
28171 void *argp2 = 0 ;
28172 int res2 = 0 ;
28173 wxPoint temp3 ;
28174 wxSize temp4 ;
28175 long val5 ;
28176 int ecode5 = 0 ;
28177 bool temp6 = false ;
28178 PyObject * obj0 = 0 ;
28179 PyObject * obj1 = 0 ;
28180 PyObject * obj2 = 0 ;
28181 PyObject * obj3 = 0 ;
28182 PyObject * obj4 = 0 ;
28183 PyObject * obj5 = 0 ;
28184 char * kwnames[] = {
28185 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28186 };
28187
28188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28190 if (!SWIG_IsOK(res1)) {
28191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28192 }
28193 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28194 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28195 if (!SWIG_IsOK(res2)) {
28196 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28197 }
28198 arg2 = reinterpret_cast< wxWindow * >(argp2);
28199 if (obj2) {
28200 {
28201 arg3 = &temp3;
28202 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28203 }
28204 }
28205 if (obj3) {
28206 {
28207 arg4 = &temp4;
28208 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28209 }
28210 }
28211 if (obj4) {
28212 ecode5 = SWIG_AsVal_long(obj4, &val5);
28213 if (!SWIG_IsOK(ecode5)) {
28214 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28215 }
28216 arg5 = static_cast< long >(val5);
28217 }
28218 if (obj5) {
28219 {
28220 arg6 = wxString_in_helper(obj5);
28221 if (arg6 == NULL) SWIG_fail;
28222 temp6 = true;
28223 }
28224 }
28225 {
28226 if (!wxPyCheckForApp()) SWIG_fail;
28227 PyThreadState* __tstate = wxPyBeginAllowThreads();
28228 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28229 wxPyEndAllowThreads(__tstate);
28230 if (PyErr_Occurred()) SWIG_fail;
28231 }
28232 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28233 {
28234 if (temp6)
28235 delete arg6;
28236 }
28237 return resultobj;
28238 fail:
28239 {
28240 if (temp6)
28241 delete arg6;
28242 }
28243 return NULL;
28244 }
28245
28246
28247 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28248 PyObject *obj;
28249 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28250 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28251 return SWIG_Py_Void();
28252 }
28253
28254 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28255 return SWIG_Python_InitShadowInstance(args);
28256 }
28257
28258 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28259 PyObject *resultobj = 0;
28260 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28261 wxFrame *arg2 = (wxFrame *) 0 ;
28262 wxString *arg3 = 0 ;
28263 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28264 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28265 wxSize const &arg5_defvalue = wxDefaultSize ;
28266 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28267 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28268 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28269 wxString *arg7 = (wxString *) &arg7_defvalue ;
28270 wxPreviewFrame *result = 0 ;
28271 int res1 = 0 ;
28272 void *argp2 = 0 ;
28273 int res2 = 0 ;
28274 bool temp3 = false ;
28275 wxPoint temp4 ;
28276 wxSize temp5 ;
28277 long val6 ;
28278 int ecode6 = 0 ;
28279 bool temp7 = false ;
28280 PyObject * obj0 = 0 ;
28281 PyObject * obj1 = 0 ;
28282 PyObject * obj2 = 0 ;
28283 PyObject * obj3 = 0 ;
28284 PyObject * obj4 = 0 ;
28285 PyObject * obj5 = 0 ;
28286 PyObject * obj6 = 0 ;
28287 char * kwnames[] = {
28288 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28289 };
28290
28291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28292 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28293 if (!SWIG_IsOK(res1)) {
28294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28295 }
28296 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28297 if (!SWIG_IsOK(res2)) {
28298 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28299 }
28300 arg2 = reinterpret_cast< wxFrame * >(argp2);
28301 {
28302 arg3 = wxString_in_helper(obj2);
28303 if (arg3 == NULL) SWIG_fail;
28304 temp3 = true;
28305 }
28306 if (obj3) {
28307 {
28308 arg4 = &temp4;
28309 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28310 }
28311 }
28312 if (obj4) {
28313 {
28314 arg5 = &temp5;
28315 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28316 }
28317 }
28318 if (obj5) {
28319 ecode6 = SWIG_AsVal_long(obj5, &val6);
28320 if (!SWIG_IsOK(ecode6)) {
28321 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28322 }
28323 arg6 = static_cast< long >(val6);
28324 }
28325 if (obj6) {
28326 {
28327 arg7 = wxString_in_helper(obj6);
28328 if (arg7 == NULL) SWIG_fail;
28329 temp7 = true;
28330 }
28331 }
28332 {
28333 if (!wxPyCheckForApp()) SWIG_fail;
28334 PyThreadState* __tstate = wxPyBeginAllowThreads();
28335 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28336 wxPyEndAllowThreads(__tstate);
28337 if (PyErr_Occurred()) SWIG_fail;
28338 }
28339 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28340 {
28341 if (temp3)
28342 delete arg3;
28343 }
28344 {
28345 if (temp7)
28346 delete arg7;
28347 }
28348 return resultobj;
28349 fail:
28350 {
28351 if (temp3)
28352 delete arg3;
28353 }
28354 {
28355 if (temp7)
28356 delete arg7;
28357 }
28358 return NULL;
28359 }
28360
28361
28362 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28363 PyObject *resultobj = 0;
28364 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28365 void *argp1 = 0 ;
28366 int res1 = 0 ;
28367 PyObject *swig_obj[1] ;
28368
28369 if (!args) SWIG_fail;
28370 swig_obj[0] = args;
28371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28372 if (!SWIG_IsOK(res1)) {
28373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28374 }
28375 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28376 {
28377 PyThreadState* __tstate = wxPyBeginAllowThreads();
28378 (arg1)->Initialize();
28379 wxPyEndAllowThreads(__tstate);
28380 if (PyErr_Occurred()) SWIG_fail;
28381 }
28382 resultobj = SWIG_Py_Void();
28383 return resultobj;
28384 fail:
28385 return NULL;
28386 }
28387
28388
28389 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28390 PyObject *resultobj = 0;
28391 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28392 void *argp1 = 0 ;
28393 int res1 = 0 ;
28394 PyObject *swig_obj[1] ;
28395
28396 if (!args) SWIG_fail;
28397 swig_obj[0] = args;
28398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28399 if (!SWIG_IsOK(res1)) {
28400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28401 }
28402 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28403 {
28404 PyThreadState* __tstate = wxPyBeginAllowThreads();
28405 (arg1)->CreateControlBar();
28406 wxPyEndAllowThreads(__tstate);
28407 if (PyErr_Occurred()) SWIG_fail;
28408 }
28409 resultobj = SWIG_Py_Void();
28410 return resultobj;
28411 fail:
28412 return NULL;
28413 }
28414
28415
28416 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28417 PyObject *resultobj = 0;
28418 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28419 void *argp1 = 0 ;
28420 int res1 = 0 ;
28421 PyObject *swig_obj[1] ;
28422
28423 if (!args) SWIG_fail;
28424 swig_obj[0] = args;
28425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28426 if (!SWIG_IsOK(res1)) {
28427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28428 }
28429 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28430 {
28431 PyThreadState* __tstate = wxPyBeginAllowThreads();
28432 (arg1)->CreateCanvas();
28433 wxPyEndAllowThreads(__tstate);
28434 if (PyErr_Occurred()) SWIG_fail;
28435 }
28436 resultobj = SWIG_Py_Void();
28437 return resultobj;
28438 fail:
28439 return NULL;
28440 }
28441
28442
28443 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28444 PyObject *resultobj = 0;
28445 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28446 wxPreviewControlBar *result = 0 ;
28447 void *argp1 = 0 ;
28448 int res1 = 0 ;
28449 PyObject *swig_obj[1] ;
28450
28451 if (!args) SWIG_fail;
28452 swig_obj[0] = args;
28453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28454 if (!SWIG_IsOK(res1)) {
28455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28456 }
28457 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28458 {
28459 PyThreadState* __tstate = wxPyBeginAllowThreads();
28460 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28461 wxPyEndAllowThreads(__tstate);
28462 if (PyErr_Occurred()) SWIG_fail;
28463 }
28464 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28465 return resultobj;
28466 fail:
28467 return NULL;
28468 }
28469
28470
28471 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28472 PyObject *obj;
28473 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28474 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28475 return SWIG_Py_Void();
28476 }
28477
28478 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28479 return SWIG_Python_InitShadowInstance(args);
28480 }
28481
28482 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28483 PyObject *resultobj = 0;
28484 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28485 long arg2 ;
28486 wxWindow *arg3 = (wxWindow *) 0 ;
28487 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28488 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28489 wxSize const &arg5_defvalue = wxDefaultSize ;
28490 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28491 long arg6 = (long) wxTAB_TRAVERSAL ;
28492 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28493 wxString *arg7 = (wxString *) &arg7_defvalue ;
28494 wxPreviewControlBar *result = 0 ;
28495 void *argp1 = 0 ;
28496 int res1 = 0 ;
28497 long val2 ;
28498 int ecode2 = 0 ;
28499 void *argp3 = 0 ;
28500 int res3 = 0 ;
28501 wxPoint temp4 ;
28502 wxSize temp5 ;
28503 long val6 ;
28504 int ecode6 = 0 ;
28505 bool temp7 = false ;
28506 PyObject * obj0 = 0 ;
28507 PyObject * obj1 = 0 ;
28508 PyObject * obj2 = 0 ;
28509 PyObject * obj3 = 0 ;
28510 PyObject * obj4 = 0 ;
28511 PyObject * obj5 = 0 ;
28512 PyObject * obj6 = 0 ;
28513 char * kwnames[] = {
28514 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28515 };
28516
28517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28519 if (!SWIG_IsOK(res1)) {
28520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28521 }
28522 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28523 ecode2 = SWIG_AsVal_long(obj1, &val2);
28524 if (!SWIG_IsOK(ecode2)) {
28525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28526 }
28527 arg2 = static_cast< long >(val2);
28528 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28529 if (!SWIG_IsOK(res3)) {
28530 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28531 }
28532 arg3 = reinterpret_cast< wxWindow * >(argp3);
28533 if (obj3) {
28534 {
28535 arg4 = &temp4;
28536 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28537 }
28538 }
28539 if (obj4) {
28540 {
28541 arg5 = &temp5;
28542 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28543 }
28544 }
28545 if (obj5) {
28546 ecode6 = SWIG_AsVal_long(obj5, &val6);
28547 if (!SWIG_IsOK(ecode6)) {
28548 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28549 }
28550 arg6 = static_cast< long >(val6);
28551 }
28552 if (obj6) {
28553 {
28554 arg7 = wxString_in_helper(obj6);
28555 if (arg7 == NULL) SWIG_fail;
28556 temp7 = true;
28557 }
28558 }
28559 {
28560 if (!wxPyCheckForApp()) SWIG_fail;
28561 PyThreadState* __tstate = wxPyBeginAllowThreads();
28562 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28563 wxPyEndAllowThreads(__tstate);
28564 if (PyErr_Occurred()) SWIG_fail;
28565 }
28566 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28567 {
28568 if (temp7)
28569 delete arg7;
28570 }
28571 return resultobj;
28572 fail:
28573 {
28574 if (temp7)
28575 delete arg7;
28576 }
28577 return NULL;
28578 }
28579
28580
28581 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28582 PyObject *resultobj = 0;
28583 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28584 int result;
28585 void *argp1 = 0 ;
28586 int res1 = 0 ;
28587 PyObject *swig_obj[1] ;
28588
28589 if (!args) SWIG_fail;
28590 swig_obj[0] = args;
28591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28592 if (!SWIG_IsOK(res1)) {
28593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28594 }
28595 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28596 {
28597 PyThreadState* __tstate = wxPyBeginAllowThreads();
28598 result = (int)(arg1)->GetZoomControl();
28599 wxPyEndAllowThreads(__tstate);
28600 if (PyErr_Occurred()) SWIG_fail;
28601 }
28602 resultobj = SWIG_From_int(static_cast< int >(result));
28603 return resultobj;
28604 fail:
28605 return NULL;
28606 }
28607
28608
28609 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28610 PyObject *resultobj = 0;
28611 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28612 int arg2 ;
28613 void *argp1 = 0 ;
28614 int res1 = 0 ;
28615 int val2 ;
28616 int ecode2 = 0 ;
28617 PyObject * obj0 = 0 ;
28618 PyObject * obj1 = 0 ;
28619 char * kwnames[] = {
28620 (char *) "self",(char *) "zoom", NULL
28621 };
28622
28623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28625 if (!SWIG_IsOK(res1)) {
28626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28627 }
28628 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28629 ecode2 = SWIG_AsVal_int(obj1, &val2);
28630 if (!SWIG_IsOK(ecode2)) {
28631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28632 }
28633 arg2 = static_cast< int >(val2);
28634 {
28635 PyThreadState* __tstate = wxPyBeginAllowThreads();
28636 (arg1)->SetZoomControl(arg2);
28637 wxPyEndAllowThreads(__tstate);
28638 if (PyErr_Occurred()) SWIG_fail;
28639 }
28640 resultobj = SWIG_Py_Void();
28641 return resultobj;
28642 fail:
28643 return NULL;
28644 }
28645
28646
28647 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28648 PyObject *resultobj = 0;
28649 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28650 wxPrintPreview *result = 0 ;
28651 void *argp1 = 0 ;
28652 int res1 = 0 ;
28653 PyObject *swig_obj[1] ;
28654
28655 if (!args) SWIG_fail;
28656 swig_obj[0] = args;
28657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28658 if (!SWIG_IsOK(res1)) {
28659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28660 }
28661 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28662 {
28663 PyThreadState* __tstate = wxPyBeginAllowThreads();
28664 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28665 wxPyEndAllowThreads(__tstate);
28666 if (PyErr_Occurred()) SWIG_fail;
28667 }
28668 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28669 return resultobj;
28670 fail:
28671 return NULL;
28672 }
28673
28674
28675 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28676 PyObject *resultobj = 0;
28677 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28678 void *argp1 = 0 ;
28679 int res1 = 0 ;
28680 PyObject *swig_obj[1] ;
28681
28682 if (!args) SWIG_fail;
28683 swig_obj[0] = args;
28684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28685 if (!SWIG_IsOK(res1)) {
28686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28687 }
28688 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28689 {
28690 PyThreadState* __tstate = wxPyBeginAllowThreads();
28691 (arg1)->OnNext();
28692 wxPyEndAllowThreads(__tstate);
28693 if (PyErr_Occurred()) SWIG_fail;
28694 }
28695 resultobj = SWIG_Py_Void();
28696 return resultobj;
28697 fail:
28698 return NULL;
28699 }
28700
28701
28702 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28703 PyObject *resultobj = 0;
28704 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28705 void *argp1 = 0 ;
28706 int res1 = 0 ;
28707 PyObject *swig_obj[1] ;
28708
28709 if (!args) SWIG_fail;
28710 swig_obj[0] = args;
28711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28712 if (!SWIG_IsOK(res1)) {
28713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28714 }
28715 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28716 {
28717 PyThreadState* __tstate = wxPyBeginAllowThreads();
28718 (arg1)->OnPrevious();
28719 wxPyEndAllowThreads(__tstate);
28720 if (PyErr_Occurred()) SWIG_fail;
28721 }
28722 resultobj = SWIG_Py_Void();
28723 return resultobj;
28724 fail:
28725 return NULL;
28726 }
28727
28728
28729 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28730 PyObject *resultobj = 0;
28731 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28732 void *argp1 = 0 ;
28733 int res1 = 0 ;
28734 PyObject *swig_obj[1] ;
28735
28736 if (!args) SWIG_fail;
28737 swig_obj[0] = args;
28738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28739 if (!SWIG_IsOK(res1)) {
28740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28741 }
28742 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28743 {
28744 PyThreadState* __tstate = wxPyBeginAllowThreads();
28745 (arg1)->OnFirst();
28746 wxPyEndAllowThreads(__tstate);
28747 if (PyErr_Occurred()) SWIG_fail;
28748 }
28749 resultobj = SWIG_Py_Void();
28750 return resultobj;
28751 fail:
28752 return NULL;
28753 }
28754
28755
28756 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28757 PyObject *resultobj = 0;
28758 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28759 void *argp1 = 0 ;
28760 int res1 = 0 ;
28761 PyObject *swig_obj[1] ;
28762
28763 if (!args) SWIG_fail;
28764 swig_obj[0] = args;
28765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28766 if (!SWIG_IsOK(res1)) {
28767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28768 }
28769 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28770 {
28771 PyThreadState* __tstate = wxPyBeginAllowThreads();
28772 (arg1)->OnLast();
28773 wxPyEndAllowThreads(__tstate);
28774 if (PyErr_Occurred()) SWIG_fail;
28775 }
28776 resultobj = SWIG_Py_Void();
28777 return resultobj;
28778 fail:
28779 return NULL;
28780 }
28781
28782
28783 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28784 PyObject *resultobj = 0;
28785 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28786 void *argp1 = 0 ;
28787 int res1 = 0 ;
28788 PyObject *swig_obj[1] ;
28789
28790 if (!args) SWIG_fail;
28791 swig_obj[0] = args;
28792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28793 if (!SWIG_IsOK(res1)) {
28794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28795 }
28796 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28797 {
28798 PyThreadState* __tstate = wxPyBeginAllowThreads();
28799 (arg1)->OnGoto();
28800 wxPyEndAllowThreads(__tstate);
28801 if (PyErr_Occurred()) SWIG_fail;
28802 }
28803 resultobj = SWIG_Py_Void();
28804 return resultobj;
28805 fail:
28806 return NULL;
28807 }
28808
28809
28810 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28811 PyObject *obj;
28812 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28813 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
28814 return SWIG_Py_Void();
28815 }
28816
28817 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28818 return SWIG_Python_InitShadowInstance(args);
28819 }
28820
28821 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28822 PyObject *resultobj = 0;
28823 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28824 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28825 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
28826 wxPrintPreview *result = 0 ;
28827 int res1 = 0 ;
28828 int res2 = 0 ;
28829 void *argp3 = 0 ;
28830 int res3 = 0 ;
28831
28832 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
28833 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28834 if (!SWIG_IsOK(res1)) {
28835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28836 }
28837 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28838 if (!SWIG_IsOK(res2)) {
28839 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28840 }
28841 if (swig_obj[2]) {
28842 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28843 if (!SWIG_IsOK(res3)) {
28844 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28845 }
28846 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
28847 }
28848 {
28849 if (!wxPyCheckForApp()) SWIG_fail;
28850 PyThreadState* __tstate = wxPyBeginAllowThreads();
28851 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28852 wxPyEndAllowThreads(__tstate);
28853 if (PyErr_Occurred()) SWIG_fail;
28854 }
28855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28856 return resultobj;
28857 fail:
28858 return NULL;
28859 }
28860
28861
28862 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28863 PyObject *resultobj = 0;
28864 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28865 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28866 wxPrintData *arg3 = (wxPrintData *) 0 ;
28867 wxPrintPreview *result = 0 ;
28868 int res1 = 0 ;
28869 int res2 = 0 ;
28870 void *argp3 = 0 ;
28871 int res3 = 0 ;
28872
28873 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
28874 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28875 if (!SWIG_IsOK(res1)) {
28876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28877 }
28878 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28879 if (!SWIG_IsOK(res2)) {
28880 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28881 }
28882 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
28883 if (!SWIG_IsOK(res3)) {
28884 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28885 }
28886 arg3 = reinterpret_cast< wxPrintData * >(argp3);
28887 {
28888 if (!wxPyCheckForApp()) SWIG_fail;
28889 PyThreadState* __tstate = wxPyBeginAllowThreads();
28890 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28891 wxPyEndAllowThreads(__tstate);
28892 if (PyErr_Occurred()) SWIG_fail;
28893 }
28894 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28895 return resultobj;
28896 fail:
28897 return NULL;
28898 }
28899
28900
28901 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
28902 int argc;
28903 PyObject *argv[4];
28904
28905 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
28906 --argc;
28907 if ((argc >= 2) && (argc <= 3)) {
28908 int _v = 0;
28909 if (argc > 2) {
28910 {
28911 void *vptr = 0;
28912 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
28913 _v = SWIG_CheckState(res);
28914 }
28915 if (!_v) goto check_1;
28916 }
28917 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
28918 }
28919 check_1:
28920
28921 if (argc == 3) {
28922 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
28923 }
28924
28925 fail:
28926 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
28927 return NULL;
28928 }
28929
28930
28931 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28932 PyObject *resultobj = 0;
28933 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28934 void *argp1 = 0 ;
28935 int res1 = 0 ;
28936 PyObject *swig_obj[1] ;
28937
28938 if (!args) SWIG_fail;
28939 swig_obj[0] = args;
28940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28941 if (!SWIG_IsOK(res1)) {
28942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28943 }
28944 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28945 {
28946 PyThreadState* __tstate = wxPyBeginAllowThreads();
28947 delete arg1;
28948
28949 wxPyEndAllowThreads(__tstate);
28950 if (PyErr_Occurred()) SWIG_fail;
28951 }
28952 resultobj = SWIG_Py_Void();
28953 return resultobj;
28954 fail:
28955 return NULL;
28956 }
28957
28958
28959 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28960 PyObject *resultobj = 0;
28961 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28962 int arg2 ;
28963 bool result;
28964 void *argp1 = 0 ;
28965 int res1 = 0 ;
28966 int val2 ;
28967 int ecode2 = 0 ;
28968 PyObject * obj0 = 0 ;
28969 PyObject * obj1 = 0 ;
28970 char * kwnames[] = {
28971 (char *) "self",(char *) "pageNum", NULL
28972 };
28973
28974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
28975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28976 if (!SWIG_IsOK(res1)) {
28977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28978 }
28979 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28980 ecode2 = SWIG_AsVal_int(obj1, &val2);
28981 if (!SWIG_IsOK(ecode2)) {
28982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
28983 }
28984 arg2 = static_cast< int >(val2);
28985 {
28986 PyThreadState* __tstate = wxPyBeginAllowThreads();
28987 result = (bool)(arg1)->SetCurrentPage(arg2);
28988 wxPyEndAllowThreads(__tstate);
28989 if (PyErr_Occurred()) SWIG_fail;
28990 }
28991 {
28992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28993 }
28994 return resultobj;
28995 fail:
28996 return NULL;
28997 }
28998
28999
29000 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29001 PyObject *resultobj = 0;
29002 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29003 int result;
29004 void *argp1 = 0 ;
29005 int res1 = 0 ;
29006 PyObject *swig_obj[1] ;
29007
29008 if (!args) SWIG_fail;
29009 swig_obj[0] = args;
29010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29011 if (!SWIG_IsOK(res1)) {
29012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29013 }
29014 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29015 {
29016 PyThreadState* __tstate = wxPyBeginAllowThreads();
29017 result = (int)(arg1)->GetCurrentPage();
29018 wxPyEndAllowThreads(__tstate);
29019 if (PyErr_Occurred()) SWIG_fail;
29020 }
29021 resultobj = SWIG_From_int(static_cast< int >(result));
29022 return resultobj;
29023 fail:
29024 return NULL;
29025 }
29026
29027
29028 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29029 PyObject *resultobj = 0;
29030 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29031 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29032 void *argp1 = 0 ;
29033 int res1 = 0 ;
29034 int res2 = 0 ;
29035 PyObject * obj0 = 0 ;
29036 PyObject * obj1 = 0 ;
29037 char * kwnames[] = {
29038 (char *) "self",(char *) "printout", NULL
29039 };
29040
29041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29043 if (!SWIG_IsOK(res1)) {
29044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29045 }
29046 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29047 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29048 if (!SWIG_IsOK(res2)) {
29049 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29050 }
29051 {
29052 PyThreadState* __tstate = wxPyBeginAllowThreads();
29053 (arg1)->SetPrintout(arg2);
29054 wxPyEndAllowThreads(__tstate);
29055 if (PyErr_Occurred()) SWIG_fail;
29056 }
29057 resultobj = SWIG_Py_Void();
29058 return resultobj;
29059 fail:
29060 return NULL;
29061 }
29062
29063
29064 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29065 PyObject *resultobj = 0;
29066 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29067 wxPyPrintout *result = 0 ;
29068 void *argp1 = 0 ;
29069 int res1 = 0 ;
29070 PyObject *swig_obj[1] ;
29071
29072 if (!args) SWIG_fail;
29073 swig_obj[0] = args;
29074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29075 if (!SWIG_IsOK(res1)) {
29076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29077 }
29078 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29079 {
29080 PyThreadState* __tstate = wxPyBeginAllowThreads();
29081 result = (wxPyPrintout *)(arg1)->GetPrintout();
29082 wxPyEndAllowThreads(__tstate);
29083 if (PyErr_Occurred()) SWIG_fail;
29084 }
29085 {
29086 resultobj = wxPyMake_wxObject(result, 0);
29087 }
29088 return resultobj;
29089 fail:
29090 return NULL;
29091 }
29092
29093
29094 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29095 PyObject *resultobj = 0;
29096 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29097 wxPyPrintout *result = 0 ;
29098 void *argp1 = 0 ;
29099 int res1 = 0 ;
29100 PyObject *swig_obj[1] ;
29101
29102 if (!args) SWIG_fail;
29103 swig_obj[0] = args;
29104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29105 if (!SWIG_IsOK(res1)) {
29106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29107 }
29108 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29109 {
29110 PyThreadState* __tstate = wxPyBeginAllowThreads();
29111 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29112 wxPyEndAllowThreads(__tstate);
29113 if (PyErr_Occurred()) SWIG_fail;
29114 }
29115 {
29116 resultobj = wxPyMake_wxObject(result, 0);
29117 }
29118 return resultobj;
29119 fail:
29120 return NULL;
29121 }
29122
29123
29124 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29125 PyObject *resultobj = 0;
29126 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29127 wxFrame *arg2 = (wxFrame *) 0 ;
29128 void *argp1 = 0 ;
29129 int res1 = 0 ;
29130 void *argp2 = 0 ;
29131 int res2 = 0 ;
29132 PyObject * obj0 = 0 ;
29133 PyObject * obj1 = 0 ;
29134 char * kwnames[] = {
29135 (char *) "self",(char *) "frame", NULL
29136 };
29137
29138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29140 if (!SWIG_IsOK(res1)) {
29141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29142 }
29143 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29144 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29145 if (!SWIG_IsOK(res2)) {
29146 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29147 }
29148 arg2 = reinterpret_cast< wxFrame * >(argp2);
29149 {
29150 PyThreadState* __tstate = wxPyBeginAllowThreads();
29151 (arg1)->SetFrame(arg2);
29152 wxPyEndAllowThreads(__tstate);
29153 if (PyErr_Occurred()) SWIG_fail;
29154 }
29155 resultobj = SWIG_Py_Void();
29156 return resultobj;
29157 fail:
29158 return NULL;
29159 }
29160
29161
29162 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29163 PyObject *resultobj = 0;
29164 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29165 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29166 void *argp1 = 0 ;
29167 int res1 = 0 ;
29168 void *argp2 = 0 ;
29169 int res2 = 0 ;
29170 PyObject * obj0 = 0 ;
29171 PyObject * obj1 = 0 ;
29172 char * kwnames[] = {
29173 (char *) "self",(char *) "canvas", NULL
29174 };
29175
29176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29178 if (!SWIG_IsOK(res1)) {
29179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29180 }
29181 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29182 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29183 if (!SWIG_IsOK(res2)) {
29184 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29185 }
29186 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29187 {
29188 PyThreadState* __tstate = wxPyBeginAllowThreads();
29189 (arg1)->SetCanvas(arg2);
29190 wxPyEndAllowThreads(__tstate);
29191 if (PyErr_Occurred()) SWIG_fail;
29192 }
29193 resultobj = SWIG_Py_Void();
29194 return resultobj;
29195 fail:
29196 return NULL;
29197 }
29198
29199
29200 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29201 PyObject *resultobj = 0;
29202 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29203 wxFrame *result = 0 ;
29204 void *argp1 = 0 ;
29205 int res1 = 0 ;
29206 PyObject *swig_obj[1] ;
29207
29208 if (!args) SWIG_fail;
29209 swig_obj[0] = args;
29210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29211 if (!SWIG_IsOK(res1)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29213 }
29214 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29215 {
29216 PyThreadState* __tstate = wxPyBeginAllowThreads();
29217 result = (wxFrame *)(arg1)->GetFrame();
29218 wxPyEndAllowThreads(__tstate);
29219 if (PyErr_Occurred()) SWIG_fail;
29220 }
29221 {
29222 resultobj = wxPyMake_wxObject(result, 0);
29223 }
29224 return resultobj;
29225 fail:
29226 return NULL;
29227 }
29228
29229
29230 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29231 PyObject *resultobj = 0;
29232 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29233 wxPreviewCanvas *result = 0 ;
29234 void *argp1 = 0 ;
29235 int res1 = 0 ;
29236 PyObject *swig_obj[1] ;
29237
29238 if (!args) SWIG_fail;
29239 swig_obj[0] = args;
29240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29241 if (!SWIG_IsOK(res1)) {
29242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29243 }
29244 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29245 {
29246 PyThreadState* __tstate = wxPyBeginAllowThreads();
29247 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29248 wxPyEndAllowThreads(__tstate);
29249 if (PyErr_Occurred()) SWIG_fail;
29250 }
29251 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29252 return resultobj;
29253 fail:
29254 return NULL;
29255 }
29256
29257
29258 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29259 PyObject *resultobj = 0;
29260 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29261 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29262 wxDC *arg3 = 0 ;
29263 bool result;
29264 void *argp1 = 0 ;
29265 int res1 = 0 ;
29266 void *argp2 = 0 ;
29267 int res2 = 0 ;
29268 void *argp3 = 0 ;
29269 int res3 = 0 ;
29270 PyObject * obj0 = 0 ;
29271 PyObject * obj1 = 0 ;
29272 PyObject * obj2 = 0 ;
29273 char * kwnames[] = {
29274 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29275 };
29276
29277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29279 if (!SWIG_IsOK(res1)) {
29280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29281 }
29282 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29283 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29284 if (!SWIG_IsOK(res2)) {
29285 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29286 }
29287 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29288 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29289 if (!SWIG_IsOK(res3)) {
29290 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29291 }
29292 if (!argp3) {
29293 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29294 }
29295 arg3 = reinterpret_cast< wxDC * >(argp3);
29296 {
29297 PyThreadState* __tstate = wxPyBeginAllowThreads();
29298 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29299 wxPyEndAllowThreads(__tstate);
29300 if (PyErr_Occurred()) SWIG_fail;
29301 }
29302 {
29303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29304 }
29305 return resultobj;
29306 fail:
29307 return NULL;
29308 }
29309
29310
29311 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29312 PyObject *resultobj = 0;
29313 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29314 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29315 wxDC *arg3 = 0 ;
29316 bool result;
29317 void *argp1 = 0 ;
29318 int res1 = 0 ;
29319 void *argp2 = 0 ;
29320 int res2 = 0 ;
29321 void *argp3 = 0 ;
29322 int res3 = 0 ;
29323 PyObject * obj0 = 0 ;
29324 PyObject * obj1 = 0 ;
29325 PyObject * obj2 = 0 ;
29326 char * kwnames[] = {
29327 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29328 };
29329
29330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29332 if (!SWIG_IsOK(res1)) {
29333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29334 }
29335 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29336 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29337 if (!SWIG_IsOK(res2)) {
29338 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29339 }
29340 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29341 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29342 if (!SWIG_IsOK(res3)) {
29343 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29344 }
29345 if (!argp3) {
29346 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29347 }
29348 arg3 = reinterpret_cast< wxDC * >(argp3);
29349 {
29350 PyThreadState* __tstate = wxPyBeginAllowThreads();
29351 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29352 wxPyEndAllowThreads(__tstate);
29353 if (PyErr_Occurred()) SWIG_fail;
29354 }
29355 {
29356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29357 }
29358 return resultobj;
29359 fail:
29360 return NULL;
29361 }
29362
29363
29364 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29365 PyObject *resultobj = 0;
29366 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29367 int arg2 ;
29368 bool result;
29369 void *argp1 = 0 ;
29370 int res1 = 0 ;
29371 int val2 ;
29372 int ecode2 = 0 ;
29373 PyObject * obj0 = 0 ;
29374 PyObject * obj1 = 0 ;
29375 char * kwnames[] = {
29376 (char *) "self",(char *) "pageNum", NULL
29377 };
29378
29379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29381 if (!SWIG_IsOK(res1)) {
29382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29383 }
29384 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29385 ecode2 = SWIG_AsVal_int(obj1, &val2);
29386 if (!SWIG_IsOK(ecode2)) {
29387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29388 }
29389 arg2 = static_cast< int >(val2);
29390 {
29391 PyThreadState* __tstate = wxPyBeginAllowThreads();
29392 result = (bool)(arg1)->RenderPage(arg2);
29393 wxPyEndAllowThreads(__tstate);
29394 if (PyErr_Occurred()) SWIG_fail;
29395 }
29396 {
29397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29398 }
29399 return resultobj;
29400 fail:
29401 return NULL;
29402 }
29403
29404
29405 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29406 PyObject *resultobj = 0;
29407 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29408 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29409 void *argp1 = 0 ;
29410 int res1 = 0 ;
29411 void *argp2 = 0 ;
29412 int res2 = 0 ;
29413 PyObject * obj0 = 0 ;
29414 PyObject * obj1 = 0 ;
29415 char * kwnames[] = {
29416 (char *) "self",(char *) "canvas", NULL
29417 };
29418
29419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29421 if (!SWIG_IsOK(res1)) {
29422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29423 }
29424 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29425 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29426 if (!SWIG_IsOK(res2)) {
29427 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29428 }
29429 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29430 {
29431 PyThreadState* __tstate = wxPyBeginAllowThreads();
29432 (arg1)->AdjustScrollbars(arg2);
29433 wxPyEndAllowThreads(__tstate);
29434 if (PyErr_Occurred()) SWIG_fail;
29435 }
29436 resultobj = SWIG_Py_Void();
29437 return resultobj;
29438 fail:
29439 return NULL;
29440 }
29441
29442
29443 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29444 PyObject *resultobj = 0;
29445 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29446 wxPrintDialogData *result = 0 ;
29447 void *argp1 = 0 ;
29448 int res1 = 0 ;
29449 PyObject *swig_obj[1] ;
29450
29451 if (!args) SWIG_fail;
29452 swig_obj[0] = args;
29453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29454 if (!SWIG_IsOK(res1)) {
29455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29456 }
29457 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29458 {
29459 PyThreadState* __tstate = wxPyBeginAllowThreads();
29460 {
29461 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29462 result = (wxPrintDialogData *) &_result_ref;
29463 }
29464 wxPyEndAllowThreads(__tstate);
29465 if (PyErr_Occurred()) SWIG_fail;
29466 }
29467 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29468 return resultobj;
29469 fail:
29470 return NULL;
29471 }
29472
29473
29474 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29475 PyObject *resultobj = 0;
29476 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29477 int arg2 ;
29478 void *argp1 = 0 ;
29479 int res1 = 0 ;
29480 int val2 ;
29481 int ecode2 = 0 ;
29482 PyObject * obj0 = 0 ;
29483 PyObject * obj1 = 0 ;
29484 char * kwnames[] = {
29485 (char *) "self",(char *) "percent", NULL
29486 };
29487
29488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29490 if (!SWIG_IsOK(res1)) {
29491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29492 }
29493 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29494 ecode2 = SWIG_AsVal_int(obj1, &val2);
29495 if (!SWIG_IsOK(ecode2)) {
29496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29497 }
29498 arg2 = static_cast< int >(val2);
29499 {
29500 PyThreadState* __tstate = wxPyBeginAllowThreads();
29501 (arg1)->SetZoom(arg2);
29502 wxPyEndAllowThreads(__tstate);
29503 if (PyErr_Occurred()) SWIG_fail;
29504 }
29505 resultobj = SWIG_Py_Void();
29506 return resultobj;
29507 fail:
29508 return NULL;
29509 }
29510
29511
29512 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29513 PyObject *resultobj = 0;
29514 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29515 int result;
29516 void *argp1 = 0 ;
29517 int res1 = 0 ;
29518 PyObject *swig_obj[1] ;
29519
29520 if (!args) SWIG_fail;
29521 swig_obj[0] = args;
29522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29523 if (!SWIG_IsOK(res1)) {
29524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29525 }
29526 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29527 {
29528 PyThreadState* __tstate = wxPyBeginAllowThreads();
29529 result = (int)(arg1)->GetZoom();
29530 wxPyEndAllowThreads(__tstate);
29531 if (PyErr_Occurred()) SWIG_fail;
29532 }
29533 resultobj = SWIG_From_int(static_cast< int >(result));
29534 return resultobj;
29535 fail:
29536 return NULL;
29537 }
29538
29539
29540 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29541 PyObject *resultobj = 0;
29542 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29543 int result;
29544 void *argp1 = 0 ;
29545 int res1 = 0 ;
29546 PyObject *swig_obj[1] ;
29547
29548 if (!args) SWIG_fail;
29549 swig_obj[0] = args;
29550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29551 if (!SWIG_IsOK(res1)) {
29552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29553 }
29554 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29555 {
29556 PyThreadState* __tstate = wxPyBeginAllowThreads();
29557 result = (int)(arg1)->GetMaxPage();
29558 wxPyEndAllowThreads(__tstate);
29559 if (PyErr_Occurred()) SWIG_fail;
29560 }
29561 resultobj = SWIG_From_int(static_cast< int >(result));
29562 return resultobj;
29563 fail:
29564 return NULL;
29565 }
29566
29567
29568 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29569 PyObject *resultobj = 0;
29570 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29571 int result;
29572 void *argp1 = 0 ;
29573 int res1 = 0 ;
29574 PyObject *swig_obj[1] ;
29575
29576 if (!args) SWIG_fail;
29577 swig_obj[0] = args;
29578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29579 if (!SWIG_IsOK(res1)) {
29580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29581 }
29582 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29583 {
29584 PyThreadState* __tstate = wxPyBeginAllowThreads();
29585 result = (int)(arg1)->GetMinPage();
29586 wxPyEndAllowThreads(__tstate);
29587 if (PyErr_Occurred()) SWIG_fail;
29588 }
29589 resultobj = SWIG_From_int(static_cast< int >(result));
29590 return resultobj;
29591 fail:
29592 return NULL;
29593 }
29594
29595
29596 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29597 PyObject *resultobj = 0;
29598 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29599 bool result;
29600 void *argp1 = 0 ;
29601 int res1 = 0 ;
29602 PyObject *swig_obj[1] ;
29603
29604 if (!args) SWIG_fail;
29605 swig_obj[0] = args;
29606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29607 if (!SWIG_IsOK(res1)) {
29608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29609 }
29610 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29611 {
29612 PyThreadState* __tstate = wxPyBeginAllowThreads();
29613 result = (bool)(arg1)->Ok();
29614 wxPyEndAllowThreads(__tstate);
29615 if (PyErr_Occurred()) SWIG_fail;
29616 }
29617 {
29618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29619 }
29620 return resultobj;
29621 fail:
29622 return NULL;
29623 }
29624
29625
29626 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29627 PyObject *resultobj = 0;
29628 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29629 bool arg2 ;
29630 void *argp1 = 0 ;
29631 int res1 = 0 ;
29632 bool val2 ;
29633 int ecode2 = 0 ;
29634 PyObject * obj0 = 0 ;
29635 PyObject * obj1 = 0 ;
29636 char * kwnames[] = {
29637 (char *) "self",(char *) "ok", NULL
29638 };
29639
29640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29642 if (!SWIG_IsOK(res1)) {
29643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29644 }
29645 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29646 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29647 if (!SWIG_IsOK(ecode2)) {
29648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29649 }
29650 arg2 = static_cast< bool >(val2);
29651 {
29652 PyThreadState* __tstate = wxPyBeginAllowThreads();
29653 (arg1)->SetOk(arg2);
29654 wxPyEndAllowThreads(__tstate);
29655 if (PyErr_Occurred()) SWIG_fail;
29656 }
29657 resultobj = SWIG_Py_Void();
29658 return resultobj;
29659 fail:
29660 return NULL;
29661 }
29662
29663
29664 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29665 PyObject *resultobj = 0;
29666 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29667 bool arg2 ;
29668 bool result;
29669 void *argp1 = 0 ;
29670 int res1 = 0 ;
29671 bool val2 ;
29672 int ecode2 = 0 ;
29673 PyObject * obj0 = 0 ;
29674 PyObject * obj1 = 0 ;
29675 char * kwnames[] = {
29676 (char *) "self",(char *) "interactive", NULL
29677 };
29678
29679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29681 if (!SWIG_IsOK(res1)) {
29682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29683 }
29684 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29685 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29686 if (!SWIG_IsOK(ecode2)) {
29687 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29688 }
29689 arg2 = static_cast< bool >(val2);
29690 {
29691 PyThreadState* __tstate = wxPyBeginAllowThreads();
29692 result = (bool)(arg1)->Print(arg2);
29693 wxPyEndAllowThreads(__tstate);
29694 if (PyErr_Occurred()) SWIG_fail;
29695 }
29696 {
29697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29698 }
29699 return resultobj;
29700 fail:
29701 return NULL;
29702 }
29703
29704
29705 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29706 PyObject *resultobj = 0;
29707 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29708 void *argp1 = 0 ;
29709 int res1 = 0 ;
29710 PyObject *swig_obj[1] ;
29711
29712 if (!args) SWIG_fail;
29713 swig_obj[0] = args;
29714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29715 if (!SWIG_IsOK(res1)) {
29716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29717 }
29718 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29719 {
29720 PyThreadState* __tstate = wxPyBeginAllowThreads();
29721 (arg1)->DetermineScaling();
29722 wxPyEndAllowThreads(__tstate);
29723 if (PyErr_Occurred()) SWIG_fail;
29724 }
29725 resultobj = SWIG_Py_Void();
29726 return resultobj;
29727 fail:
29728 return NULL;
29729 }
29730
29731
29732 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29733 PyObject *obj;
29734 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29735 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29736 return SWIG_Py_Void();
29737 }
29738
29739 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29740 return SWIG_Python_InitShadowInstance(args);
29741 }
29742
29743 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29744 PyObject *resultobj = 0;
29745 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29746 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29747 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29748 wxPyPrintPreview *result = 0 ;
29749 int res1 = 0 ;
29750 int res2 = 0 ;
29751 void *argp3 = 0 ;
29752 int res3 = 0 ;
29753
29754 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29755 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29756 if (!SWIG_IsOK(res1)) {
29757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29758 }
29759 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29760 if (!SWIG_IsOK(res2)) {
29761 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29762 }
29763 if (swig_obj[2]) {
29764 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29765 if (!SWIG_IsOK(res3)) {
29766 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29767 }
29768 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29769 }
29770 {
29771 if (!wxPyCheckForApp()) SWIG_fail;
29772 PyThreadState* __tstate = wxPyBeginAllowThreads();
29773 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29774 wxPyEndAllowThreads(__tstate);
29775 if (PyErr_Occurred()) SWIG_fail;
29776 }
29777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29778 return resultobj;
29779 fail:
29780 return NULL;
29781 }
29782
29783
29784 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29785 PyObject *resultobj = 0;
29786 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29787 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29788 wxPrintData *arg3 = (wxPrintData *) 0 ;
29789 wxPyPrintPreview *result = 0 ;
29790 int res1 = 0 ;
29791 int res2 = 0 ;
29792 void *argp3 = 0 ;
29793 int res3 = 0 ;
29794
29795 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29796 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29797 if (!SWIG_IsOK(res1)) {
29798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29799 }
29800 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29801 if (!SWIG_IsOK(res2)) {
29802 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29803 }
29804 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29805 if (!SWIG_IsOK(res3)) {
29806 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29807 }
29808 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29809 {
29810 if (!wxPyCheckForApp()) SWIG_fail;
29811 PyThreadState* __tstate = wxPyBeginAllowThreads();
29812 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29813 wxPyEndAllowThreads(__tstate);
29814 if (PyErr_Occurred()) SWIG_fail;
29815 }
29816 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29817 return resultobj;
29818 fail:
29819 return NULL;
29820 }
29821
29822
29823 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
29824 int argc;
29825 PyObject *argv[4];
29826
29827 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
29828 --argc;
29829 if ((argc >= 2) && (argc <= 3)) {
29830 int _v = 0;
29831 if (argc > 2) {
29832 {
29833 void *vptr = 0;
29834 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29835 _v = SWIG_CheckState(res);
29836 }
29837 if (!_v) goto check_1;
29838 }
29839 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
29840 }
29841 check_1:
29842
29843 if (argc == 3) {
29844 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
29845 }
29846
29847 fail:
29848 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
29849 return NULL;
29850 }
29851
29852
29853 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29854 PyObject *resultobj = 0;
29855 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
29856 PyObject *arg2 = (PyObject *) 0 ;
29857 PyObject *arg3 = (PyObject *) 0 ;
29858 void *argp1 = 0 ;
29859 int res1 = 0 ;
29860 PyObject * obj0 = 0 ;
29861 PyObject * obj1 = 0 ;
29862 PyObject * obj2 = 0 ;
29863 char * kwnames[] = {
29864 (char *) "self",(char *) "self",(char *) "_class", NULL
29865 };
29866
29867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
29869 if (!SWIG_IsOK(res1)) {
29870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29871 }
29872 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
29873 arg2 = obj1;
29874 arg3 = obj2;
29875 {
29876 PyThreadState* __tstate = wxPyBeginAllowThreads();
29877 (arg1)->_setCallbackInfo(arg2,arg3);
29878 wxPyEndAllowThreads(__tstate);
29879 if (PyErr_Occurred()) SWIG_fail;
29880 }
29881 resultobj = SWIG_Py_Void();
29882 return resultobj;
29883 fail:
29884 return NULL;
29885 }
29886
29887
29888 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29889 PyObject *obj;
29890 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29891 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
29892 return SWIG_Py_Void();
29893 }
29894
29895 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29896 return SWIG_Python_InitShadowInstance(args);
29897 }
29898
29899 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29900 PyObject *resultobj = 0;
29901 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29902 wxFrame *arg2 = (wxFrame *) 0 ;
29903 wxString *arg3 = 0 ;
29904 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29905 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29906 wxSize const &arg5_defvalue = wxDefaultSize ;
29907 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29908 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29909 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29910 wxString *arg7 = (wxString *) &arg7_defvalue ;
29911 wxPyPreviewFrame *result = 0 ;
29912 void *argp1 = 0 ;
29913 int res1 = 0 ;
29914 void *argp2 = 0 ;
29915 int res2 = 0 ;
29916 bool temp3 = false ;
29917 wxPoint temp4 ;
29918 wxSize temp5 ;
29919 long val6 ;
29920 int ecode6 = 0 ;
29921 bool temp7 = false ;
29922 PyObject * obj0 = 0 ;
29923 PyObject * obj1 = 0 ;
29924 PyObject * obj2 = 0 ;
29925 PyObject * obj3 = 0 ;
29926 PyObject * obj4 = 0 ;
29927 PyObject * obj5 = 0 ;
29928 PyObject * obj6 = 0 ;
29929 char * kwnames[] = {
29930 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29931 };
29932
29933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29935 if (!SWIG_IsOK(res1)) {
29936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29937 }
29938 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29939 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29940 if (!SWIG_IsOK(res2)) {
29941 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29942 }
29943 arg2 = reinterpret_cast< wxFrame * >(argp2);
29944 {
29945 arg3 = wxString_in_helper(obj2);
29946 if (arg3 == NULL) SWIG_fail;
29947 temp3 = true;
29948 }
29949 if (obj3) {
29950 {
29951 arg4 = &temp4;
29952 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29953 }
29954 }
29955 if (obj4) {
29956 {
29957 arg5 = &temp5;
29958 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29959 }
29960 }
29961 if (obj5) {
29962 ecode6 = SWIG_AsVal_long(obj5, &val6);
29963 if (!SWIG_IsOK(ecode6)) {
29964 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
29965 }
29966 arg6 = static_cast< long >(val6);
29967 }
29968 if (obj6) {
29969 {
29970 arg7 = wxString_in_helper(obj6);
29971 if (arg7 == NULL) SWIG_fail;
29972 temp7 = true;
29973 }
29974 }
29975 {
29976 if (!wxPyCheckForApp()) SWIG_fail;
29977 PyThreadState* __tstate = wxPyBeginAllowThreads();
29978 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29979 wxPyEndAllowThreads(__tstate);
29980 if (PyErr_Occurred()) SWIG_fail;
29981 }
29982 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
29983 {
29984 if (temp3)
29985 delete arg3;
29986 }
29987 {
29988 if (temp7)
29989 delete arg7;
29990 }
29991 return resultobj;
29992 fail:
29993 {
29994 if (temp3)
29995 delete arg3;
29996 }
29997 {
29998 if (temp7)
29999 delete arg7;
30000 }
30001 return NULL;
30002 }
30003
30004
30005 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30006 PyObject *resultobj = 0;
30007 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30008 PyObject *arg2 = (PyObject *) 0 ;
30009 PyObject *arg3 = (PyObject *) 0 ;
30010 void *argp1 = 0 ;
30011 int res1 = 0 ;
30012 PyObject * obj0 = 0 ;
30013 PyObject * obj1 = 0 ;
30014 PyObject * obj2 = 0 ;
30015 char * kwnames[] = {
30016 (char *) "self",(char *) "self",(char *) "_class", NULL
30017 };
30018
30019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30021 if (!SWIG_IsOK(res1)) {
30022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30023 }
30024 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30025 arg2 = obj1;
30026 arg3 = obj2;
30027 {
30028 PyThreadState* __tstate = wxPyBeginAllowThreads();
30029 (arg1)->_setCallbackInfo(arg2,arg3);
30030 wxPyEndAllowThreads(__tstate);
30031 if (PyErr_Occurred()) SWIG_fail;
30032 }
30033 resultobj = SWIG_Py_Void();
30034 return resultobj;
30035 fail:
30036 return NULL;
30037 }
30038
30039
30040 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30041 PyObject *resultobj = 0;
30042 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30043 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30044 void *argp1 = 0 ;
30045 int res1 = 0 ;
30046 void *argp2 = 0 ;
30047 int res2 = 0 ;
30048 PyObject * obj0 = 0 ;
30049 PyObject * obj1 = 0 ;
30050 char * kwnames[] = {
30051 (char *) "self",(char *) "canvas", NULL
30052 };
30053
30054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30056 if (!SWIG_IsOK(res1)) {
30057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30058 }
30059 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30060 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30061 if (!SWIG_IsOK(res2)) {
30062 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30063 }
30064 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30065 {
30066 PyThreadState* __tstate = wxPyBeginAllowThreads();
30067 (arg1)->SetPreviewCanvas(arg2);
30068 wxPyEndAllowThreads(__tstate);
30069 if (PyErr_Occurred()) SWIG_fail;
30070 }
30071 resultobj = SWIG_Py_Void();
30072 return resultobj;
30073 fail:
30074 return NULL;
30075 }
30076
30077
30078 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30079 PyObject *resultobj = 0;
30080 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30081 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30082 void *argp1 = 0 ;
30083 int res1 = 0 ;
30084 void *argp2 = 0 ;
30085 int res2 = 0 ;
30086 PyObject * obj0 = 0 ;
30087 PyObject * obj1 = 0 ;
30088 char * kwnames[] = {
30089 (char *) "self",(char *) "bar", NULL
30090 };
30091
30092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30094 if (!SWIG_IsOK(res1)) {
30095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30096 }
30097 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30098 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30099 if (!SWIG_IsOK(res2)) {
30100 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30101 }
30102 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30103 {
30104 PyThreadState* __tstate = wxPyBeginAllowThreads();
30105 (arg1)->SetControlBar(arg2);
30106 wxPyEndAllowThreads(__tstate);
30107 if (PyErr_Occurred()) SWIG_fail;
30108 }
30109 resultobj = SWIG_Py_Void();
30110 return resultobj;
30111 fail:
30112 return NULL;
30113 }
30114
30115
30116 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30117 PyObject *resultobj = 0;
30118 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30119 void *argp1 = 0 ;
30120 int res1 = 0 ;
30121 PyObject *swig_obj[1] ;
30122
30123 if (!args) SWIG_fail;
30124 swig_obj[0] = args;
30125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30126 if (!SWIG_IsOK(res1)) {
30127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30128 }
30129 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30130 {
30131 PyThreadState* __tstate = wxPyBeginAllowThreads();
30132 (arg1)->Initialize();
30133 wxPyEndAllowThreads(__tstate);
30134 if (PyErr_Occurred()) SWIG_fail;
30135 }
30136 resultobj = SWIG_Py_Void();
30137 return resultobj;
30138 fail:
30139 return NULL;
30140 }
30141
30142
30143 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30144 PyObject *resultobj = 0;
30145 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30146 void *argp1 = 0 ;
30147 int res1 = 0 ;
30148 PyObject *swig_obj[1] ;
30149
30150 if (!args) SWIG_fail;
30151 swig_obj[0] = args;
30152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30153 if (!SWIG_IsOK(res1)) {
30154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30155 }
30156 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30157 {
30158 PyThreadState* __tstate = wxPyBeginAllowThreads();
30159 (arg1)->CreateCanvas();
30160 wxPyEndAllowThreads(__tstate);
30161 if (PyErr_Occurred()) SWIG_fail;
30162 }
30163 resultobj = SWIG_Py_Void();
30164 return resultobj;
30165 fail:
30166 return NULL;
30167 }
30168
30169
30170 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30171 PyObject *resultobj = 0;
30172 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30173 void *argp1 = 0 ;
30174 int res1 = 0 ;
30175 PyObject *swig_obj[1] ;
30176
30177 if (!args) SWIG_fail;
30178 swig_obj[0] = args;
30179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30180 if (!SWIG_IsOK(res1)) {
30181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30182 }
30183 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30184 {
30185 PyThreadState* __tstate = wxPyBeginAllowThreads();
30186 (arg1)->CreateControlBar();
30187 wxPyEndAllowThreads(__tstate);
30188 if (PyErr_Occurred()) SWIG_fail;
30189 }
30190 resultobj = SWIG_Py_Void();
30191 return resultobj;
30192 fail:
30193 return NULL;
30194 }
30195
30196
30197 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30198 PyObject *obj;
30199 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30200 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30201 return SWIG_Py_Void();
30202 }
30203
30204 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30205 return SWIG_Python_InitShadowInstance(args);
30206 }
30207
30208 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30209 PyObject *resultobj = 0;
30210 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30211 long arg2 ;
30212 wxWindow *arg3 = (wxWindow *) 0 ;
30213 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30214 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30215 wxSize const &arg5_defvalue = wxDefaultSize ;
30216 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30217 long arg6 = (long) 0 ;
30218 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30219 wxString *arg7 = (wxString *) &arg7_defvalue ;
30220 wxPyPreviewControlBar *result = 0 ;
30221 void *argp1 = 0 ;
30222 int res1 = 0 ;
30223 long val2 ;
30224 int ecode2 = 0 ;
30225 void *argp3 = 0 ;
30226 int res3 = 0 ;
30227 wxPoint temp4 ;
30228 wxSize temp5 ;
30229 long val6 ;
30230 int ecode6 = 0 ;
30231 bool temp7 = false ;
30232 PyObject * obj0 = 0 ;
30233 PyObject * obj1 = 0 ;
30234 PyObject * obj2 = 0 ;
30235 PyObject * obj3 = 0 ;
30236 PyObject * obj4 = 0 ;
30237 PyObject * obj5 = 0 ;
30238 PyObject * obj6 = 0 ;
30239 char * kwnames[] = {
30240 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30241 };
30242
30243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30245 if (!SWIG_IsOK(res1)) {
30246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30247 }
30248 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30249 ecode2 = SWIG_AsVal_long(obj1, &val2);
30250 if (!SWIG_IsOK(ecode2)) {
30251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30252 }
30253 arg2 = static_cast< long >(val2);
30254 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30255 if (!SWIG_IsOK(res3)) {
30256 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30257 }
30258 arg3 = reinterpret_cast< wxWindow * >(argp3);
30259 if (obj3) {
30260 {
30261 arg4 = &temp4;
30262 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30263 }
30264 }
30265 if (obj4) {
30266 {
30267 arg5 = &temp5;
30268 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30269 }
30270 }
30271 if (obj5) {
30272 ecode6 = SWIG_AsVal_long(obj5, &val6);
30273 if (!SWIG_IsOK(ecode6)) {
30274 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30275 }
30276 arg6 = static_cast< long >(val6);
30277 }
30278 if (obj6) {
30279 {
30280 arg7 = wxString_in_helper(obj6);
30281 if (arg7 == NULL) SWIG_fail;
30282 temp7 = true;
30283 }
30284 }
30285 {
30286 if (!wxPyCheckForApp()) SWIG_fail;
30287 PyThreadState* __tstate = wxPyBeginAllowThreads();
30288 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30289 wxPyEndAllowThreads(__tstate);
30290 if (PyErr_Occurred()) SWIG_fail;
30291 }
30292 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30293 {
30294 if (temp7)
30295 delete arg7;
30296 }
30297 return resultobj;
30298 fail:
30299 {
30300 if (temp7)
30301 delete arg7;
30302 }
30303 return NULL;
30304 }
30305
30306
30307 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30308 PyObject *resultobj = 0;
30309 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30310 PyObject *arg2 = (PyObject *) 0 ;
30311 PyObject *arg3 = (PyObject *) 0 ;
30312 void *argp1 = 0 ;
30313 int res1 = 0 ;
30314 PyObject * obj0 = 0 ;
30315 PyObject * obj1 = 0 ;
30316 PyObject * obj2 = 0 ;
30317 char * kwnames[] = {
30318 (char *) "self",(char *) "self",(char *) "_class", NULL
30319 };
30320
30321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30323 if (!SWIG_IsOK(res1)) {
30324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30325 }
30326 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30327 arg2 = obj1;
30328 arg3 = obj2;
30329 {
30330 PyThreadState* __tstate = wxPyBeginAllowThreads();
30331 (arg1)->_setCallbackInfo(arg2,arg3);
30332 wxPyEndAllowThreads(__tstate);
30333 if (PyErr_Occurred()) SWIG_fail;
30334 }
30335 resultobj = SWIG_Py_Void();
30336 return resultobj;
30337 fail:
30338 return NULL;
30339 }
30340
30341
30342 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30343 PyObject *resultobj = 0;
30344 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30345 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30346 void *argp1 = 0 ;
30347 int res1 = 0 ;
30348 void *argp2 = 0 ;
30349 int res2 = 0 ;
30350 PyObject * obj0 = 0 ;
30351 PyObject * obj1 = 0 ;
30352 char * kwnames[] = {
30353 (char *) "self",(char *) "preview", NULL
30354 };
30355
30356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30358 if (!SWIG_IsOK(res1)) {
30359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30360 }
30361 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30362 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30363 if (!SWIG_IsOK(res2)) {
30364 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30365 }
30366 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30367 {
30368 PyThreadState* __tstate = wxPyBeginAllowThreads();
30369 (arg1)->SetPrintPreview(arg2);
30370 wxPyEndAllowThreads(__tstate);
30371 if (PyErr_Occurred()) SWIG_fail;
30372 }
30373 resultobj = SWIG_Py_Void();
30374 return resultobj;
30375 fail:
30376 return NULL;
30377 }
30378
30379
30380 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30381 PyObject *resultobj = 0;
30382 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30383 void *argp1 = 0 ;
30384 int res1 = 0 ;
30385 PyObject *swig_obj[1] ;
30386
30387 if (!args) SWIG_fail;
30388 swig_obj[0] = args;
30389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30390 if (!SWIG_IsOK(res1)) {
30391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30392 }
30393 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30394 {
30395 PyThreadState* __tstate = wxPyBeginAllowThreads();
30396 (arg1)->CreateButtons();
30397 wxPyEndAllowThreads(__tstate);
30398 if (PyErr_Occurred()) SWIG_fail;
30399 }
30400 resultobj = SWIG_Py_Void();
30401 return resultobj;
30402 fail:
30403 return NULL;
30404 }
30405
30406
30407 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30408 PyObject *resultobj = 0;
30409 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30410 int arg2 ;
30411 void *argp1 = 0 ;
30412 int res1 = 0 ;
30413 int val2 ;
30414 int ecode2 = 0 ;
30415 PyObject * obj0 = 0 ;
30416 PyObject * obj1 = 0 ;
30417 char * kwnames[] = {
30418 (char *) "self",(char *) "zoom", NULL
30419 };
30420
30421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30423 if (!SWIG_IsOK(res1)) {
30424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30425 }
30426 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30427 ecode2 = SWIG_AsVal_int(obj1, &val2);
30428 if (!SWIG_IsOK(ecode2)) {
30429 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30430 }
30431 arg2 = static_cast< int >(val2);
30432 {
30433 PyThreadState* __tstate = wxPyBeginAllowThreads();
30434 (arg1)->SetZoomControl(arg2);
30435 wxPyEndAllowThreads(__tstate);
30436 if (PyErr_Occurred()) SWIG_fail;
30437 }
30438 resultobj = SWIG_Py_Void();
30439 return resultobj;
30440 fail:
30441 return NULL;
30442 }
30443
30444
30445 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30446 PyObject *obj;
30447 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30448 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30449 return SWIG_Py_Void();
30450 }
30451
30452 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30453 return SWIG_Python_InitShadowInstance(args);
30454 }
30455
30456 static PyMethodDef SwigMethods[] = {
30457 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30458 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30459 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30460 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30461 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30462 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30463 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30464 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30465 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30466 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30467 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30468 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30469 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30470 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30471 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30472 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30473 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30474 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30475 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30476 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30477 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30478 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30479 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30480 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30481 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30482 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30483 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30484 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30485 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30486 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30487 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30488 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30489 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30490 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30491 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30492 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30493 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30494 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30495 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30496 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30497 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30498 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30499 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30500 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30501 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30502 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30503 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30504 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30505 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30506 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30507 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30508 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30509 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30510 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30511 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30512 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30513 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30514 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30515 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30516 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30517 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30518 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30519 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30520 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30521 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30522 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30523 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30524 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30525 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30526 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30527 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30528 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30529 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30530 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30531 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30532 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30533 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30534 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30535 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30536 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30537 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30538 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30539 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30540 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30541 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30542 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30543 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30544 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30545 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30546 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30547 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30548 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30549 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30550 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30551 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30552 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30553 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30554 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30555 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30556 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30557 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30558 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30559 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30560 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30561 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30562 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30563 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30564 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30565 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30566 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30567 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30568 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30569 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30570 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30571 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30572 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30573 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30574 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30575 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30576 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30577 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30578 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30579 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30580 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30581 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30582 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30583 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30584 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30585 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30586 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30587 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30588 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30589 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30590 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30591 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30592 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30593 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30594 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30595 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30596 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30597 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30598 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30599 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30600 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30601 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30602 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30603 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30604 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30605 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30606 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30607 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30608 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30609 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30610 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30611 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30612 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30613 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30614 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30615 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30616 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30617 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30618 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30619 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30620 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30621 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30622 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30623 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30624 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30625 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30626 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30627 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30628 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30629 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30630 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30631 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30632 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30633 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30634 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30635 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30636 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30637 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30638 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30639 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30640 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30641 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30642 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30643 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30644 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30645 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30646 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30647 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30648 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30649 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30650 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30651 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30652 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30653 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30654 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30655 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30656 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30657 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30658 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30659 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30660 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30661 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
30662 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30663 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
30664 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30665 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
30666 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
30667 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
30668 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30669 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30670 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
30671 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30672 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
30673 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
30674 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
30675 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30676 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
30677 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30678 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30679 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
30680 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30681 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30682 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30683 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
30684 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30685 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30686 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
30687 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30688 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30689 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30690 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
30691 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
30692 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30693 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
30694 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30695 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
30696 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
30697 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
30698 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30699 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
30700 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30701 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
30702 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
30703 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
30704 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
30705 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30706 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
30707 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
30708 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
30709 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
30710 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30711 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
30712 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30713 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30714 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30715 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
30716 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30717 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30718 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30719 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30720 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30721 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30722 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30723 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
30724 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30725 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30726 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30727 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30728 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30729 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
30730 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
30731 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30732 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
30733 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30734 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30735 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30736 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30737 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
30738 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30739 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30740 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30741 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
30742 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30743 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30744 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
30745 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30746 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
30747 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30748 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30749 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30750 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
30751 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30752 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
30753 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30754 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
30755 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30756 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
30757 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30758 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
30759 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
30760 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30761 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
30762 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30763 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30764 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30765 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
30766 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
30767 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
30768 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
30769 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
30770 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30771 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
30772 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
30773 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
30774 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30775 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
30776 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
30777 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
30778 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
30779 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30780 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
30781 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
30782 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
30783 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
30784 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
30785 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
30786 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30787 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
30788 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30789 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30790 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
30791 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
30792 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30793 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
30794 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
30795 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
30796 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30797 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30798 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
30799 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
30800 { (char *)"DirDialog_GetStyle", (PyCFunction)_wrap_DirDialog_GetStyle, METH_O, NULL},
30801 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30802 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30803 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
30804 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
30805 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30806 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30807 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30808 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
30809 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30810 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
30811 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30812 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
30813 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
30814 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
30815 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
30816 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
30817 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
30818 { (char *)"FileDialog_GetStyle", (PyCFunction)_wrap_FileDialog_GetStyle, METH_O, NULL},
30819 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
30820 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
30821 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
30822 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
30823 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
30824 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30825 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
30826 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
30827 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
30828 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
30829 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30830 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
30831 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
30832 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30833 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
30834 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
30835 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30836 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
30837 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
30838 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
30839 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
30840 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30841 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
30842 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
30843 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
30844 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
30845 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
30846 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
30847 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
30848 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
30849 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
30850 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
30851 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
30852 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
30854 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30855 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
30856 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30857 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30858 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
30859 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
30860 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30861 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
30862 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
30863 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
30864 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30865 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30866 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
30867 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
30868 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30869 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
30870 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
30871 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
30872 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
30873 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30874 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
30875 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
30876 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
30877 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
30878 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30879 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30880 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30881 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
30882 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
30883 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
30884 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
30885 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
30886 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
30887 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
30888 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30889 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30890 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30891 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
30892 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
30893 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30894 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
30895 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30896 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
30897 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
30898 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
30899 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
30900 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30901 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
30902 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30903 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
30904 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
30905 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
30906 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
30907 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
30908 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
30909 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
30910 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
30911 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
30912 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
30913 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30914 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
30915 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30916 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
30917 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
30918 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
30919 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30920 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
30921 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30922 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
30923 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
30924 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30925 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
30926 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30927 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30928 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30929 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30930 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30931 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30932 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30933 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
30934 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
30935 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
30936 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
30937 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
30938 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
30939 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
30940 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
30941 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
30942 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
30943 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
30944 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30945 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30946 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30947 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30948 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30949 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30950 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30951 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
30952 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
30953 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
30954 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
30955 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
30956 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
30957 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
30958 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
30959 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
30960 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30961 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
30962 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30963 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30965 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30966 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30967 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30968 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30969 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
30970 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
30971 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
30972 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
30973 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
30974 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
30975 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
30976 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
30977 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
30978 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
30979 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
30980 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
30981 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
30982 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
30983 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
30984 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
30985 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
30986 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
30987 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
30988 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
30989 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
30990 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
30991 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
30992 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
30993 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
30994 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30995 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
30996 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30997 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
30998 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
30999 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31000 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31001 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31002 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31003 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31004 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31005 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31006 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31007 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31008 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31009 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31010 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31011 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31012 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31013 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31014 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31015 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31016 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31017 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31018 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31019 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31020 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31021 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31022 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31023 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31024 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31025 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31026 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31027 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31028 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31029 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31030 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31031 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31032 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31033 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31034 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31035 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31036 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31038 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31039 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31040 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31041 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31042 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31043 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31044 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31045 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31046 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31047 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31048 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31049 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31050 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31051 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31052 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31053 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31054 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31055 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31056 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31057 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31058 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31059 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31060 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31061 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31062 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31063 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31064 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31065 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31066 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31067 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31068 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31069 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31070 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31071 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31072 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31073 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31074 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31075 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31076 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31077 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31078 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31079 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31080 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31081 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31082 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31083 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31084 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31085 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31086 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31087 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31088 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31089 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31090 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31091 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31092 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31093 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31094 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31095 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31096 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31098 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31099 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31100 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31101 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31102 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31103 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31104 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31106 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31107 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31108 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31109 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31110 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31111 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31112 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31113 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31114 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31115 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31116 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31117 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31118 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31119 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31120 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31121 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31122 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31123 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31124 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31125 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31126 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31127 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31128 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31129 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31130 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31131 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31132 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31133 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31134 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31135 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31136 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31137 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31138 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31139 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31140 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31141 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31142 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31143 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31144 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31145 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31146 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31147 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31148 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31149 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31150 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31151 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31152 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31153 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31154 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31155 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31156 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31158 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31159 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31160 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31161 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31162 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31163 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31164 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31165 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31166 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31167 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31168 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31169 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31170 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31171 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31172 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31173 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31174 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31175 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31176 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31177 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31178 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31179 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31181 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31182 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31183 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31184 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31185 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31186 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31187 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31188 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31189 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31190 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31191 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31192 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31193 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31194 { NULL, NULL, 0, NULL }
31195 };
31196
31197
31198 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31199
31200 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31201 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31202 }
31203 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31204 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31205 }
31206 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31207 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31208 }
31209 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31210 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31211 }
31212 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31213 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31214 }
31215 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31216 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31217 }
31218 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31219 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31220 }
31221 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31222 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31223 }
31224 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31225 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31226 }
31227 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31228 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31229 }
31230 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31231 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31232 }
31233 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31234 return (void *)((wxEvent *) ((wxPyEvent *) x));
31235 }
31236 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31237 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31238 }
31239 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31240 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31241 }
31242 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31243 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31244 }
31245 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31246 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31247 }
31248 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31249 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31250 }
31251 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31252 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31253 }
31254 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31255 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31256 }
31257 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31258 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31259 }
31260 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31261 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31262 }
31263 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31264 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31265 }
31266 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31267 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31268 }
31269 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31270 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31271 }
31272 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31273 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31274 }
31275 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31276 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31277 }
31278 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31279 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31280 }
31281 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31282 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31283 }
31284 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31285 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31286 }
31287 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31288 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31289 }
31290 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31291 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31292 }
31293 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31294 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31295 }
31296 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31297 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31298 }
31299 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31300 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31301 }
31302 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31303 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31304 }
31305 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31306 return (void *)((wxEvent *) ((wxShowEvent *) x));
31307 }
31308 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31309 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31310 }
31311 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31312 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31313 }
31314 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31315 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31316 }
31317 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31318 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31319 }
31320 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31321 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31322 }
31323 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31324 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31325 }
31326 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31327 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31328 }
31329 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31330 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31331 }
31332 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31333 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31334 }
31335 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31336 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31337 }
31338 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31339 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31340 }
31341 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31342 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31343 }
31344 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31345 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31346 }
31347 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31348 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31349 }
31350 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31351 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31352 }
31353 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31354 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31355 }
31356 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31357 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31358 }
31359 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31360 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31361 }
31362 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31363 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31364 }
31365 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31366 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31367 }
31368 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31369 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31370 }
31371 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31372 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31373 }
31374 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31375 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31376 }
31377 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31378 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31379 }
31380 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31381 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31382 }
31383 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31384 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31385 }
31386 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31387 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31388 }
31389 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31390 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31391 }
31392 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31393 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31394 }
31395 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31396 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31397 }
31398 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31399 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31400 }
31401 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31402 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31403 }
31404 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31405 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31406 }
31407 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31408 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31409 }
31410 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31411 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31412 }
31413 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31414 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31415 }
31416 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31417 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31418 }
31419 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31420 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31421 }
31422 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31423 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31424 }
31425 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31426 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31427 }
31428 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31429 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31430 }
31431 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31432 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31433 }
31434 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31435 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31436 }
31437 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31438 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31439 }
31440 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31441 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31442 }
31443 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31444 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31445 }
31446 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31447 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31448 }
31449 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31450 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31451 }
31452 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31453 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31454 }
31455 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31456 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31457 }
31458 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31459 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31460 }
31461 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31462 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31463 }
31464 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31465 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31466 }
31467 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31468 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31469 }
31470 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31471 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31472 }
31473 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31474 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31475 }
31476 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31477 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31478 }
31479 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31480 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31481 }
31482 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31483 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31484 }
31485 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31486 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31487 }
31488 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31489 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31490 }
31491 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31492 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31493 }
31494 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31495 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31496 }
31497 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31498 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31499 }
31500 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31501 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31502 }
31503 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31504 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31505 }
31506 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31507 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31508 }
31509 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31510 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31511 }
31512 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31513 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31514 }
31515 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31517 }
31518 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31519 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31520 }
31521 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31522 return (void *)((wxObject *) ((wxSizerItem *) x));
31523 }
31524 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31525 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31526 }
31527 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31528 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31529 }
31530 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31531 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31532 }
31533 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31534 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31535 }
31536 static void *_p_wxSizerTo_p_wxObject(void *x) {
31537 return (void *)((wxObject *) ((wxSizer *) x));
31538 }
31539 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31540 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31541 }
31542 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31543 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31544 }
31545 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31546 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31547 }
31548 static void *_p_wxEventTo_p_wxObject(void *x) {
31549 return (void *)((wxObject *) ((wxEvent *) x));
31550 }
31551 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31552 return (void *)((wxObject *) ((wxFontData *) x));
31553 }
31554 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31555 return (void *)((wxObject *) ((wxPrintData *) x));
31556 }
31557 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31558 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31559 }
31560 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31561 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31562 }
31563 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31564 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31565 }
31566 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31567 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31568 }
31569 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31570 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31571 }
31572 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31573 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31574 }
31575 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31576 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31577 }
31578 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31579 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31580 }
31581 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31582 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31583 }
31584 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31585 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31586 }
31587 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31588 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31589 }
31590 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31591 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31592 }
31593 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31595 }
31596 static void *_p_wxControlTo_p_wxObject(void *x) {
31597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31598 }
31599 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31600 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31601 }
31602 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31603 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31604 }
31605 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31606 return (void *)((wxObject *) ((wxFSFile *) x));
31607 }
31608 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31609 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31610 }
31611 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31612 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31613 }
31614 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31616 }
31617 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31618 return (void *)((wxObject *) ((wxColourData *) x));
31619 }
31620 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31621 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31622 }
31623 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31624 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31625 }
31626 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31628 }
31629 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31631 }
31632 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31634 }
31635 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31636 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31637 }
31638 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31640 }
31641 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31643 }
31644 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31646 }
31647 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31648 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31649 }
31650 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31652 }
31653 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31655 }
31656 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31657 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31658 }
31659 static void *_p_wxPrinterTo_p_wxObject(void *x) {
31660 return (void *)((wxObject *) ((wxPrinter *) x));
31661 }
31662 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31663 return (void *)((wxObject *) ((wxMenuItem *) x));
31664 }
31665 static void *_p_wxDateEventTo_p_wxObject(void *x) {
31666 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31667 }
31668 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31669 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31670 }
31671 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31672 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31673 }
31674 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31675 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31676 }
31677 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31678 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31679 }
31680 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31681 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31682 }
31683 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31684 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31685 }
31686 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31687 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31688 }
31689 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31690 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31691 }
31692 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31693 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31694 }
31695 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31696 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31697 }
31698 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31699 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31700 }
31701 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31702 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31703 }
31704 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31705 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31706 }
31707 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31708 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31709 }
31710 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31711 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31712 }
31713 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31714 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31715 }
31716 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31717 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31718 }
31719 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31720 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31721 }
31722 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31723 return (void *)((wxObject *) ((wxImageHandler *) x));
31724 }
31725 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31726 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31727 }
31728 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31729 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31730 }
31731 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31732 return (void *)((wxObject *) ((wxEvtHandler *) x));
31733 }
31734 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31735 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31736 }
31737 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31739 }
31740 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31742 }
31743 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31744 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31745 }
31746 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31747 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31748 }
31749 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31751 }
31752 static void *_p_wxImageTo_p_wxObject(void *x) {
31753 return (void *)((wxObject *) ((wxImage *) x));
31754 }
31755 static void *_p_wxFrameTo_p_wxObject(void *x) {
31756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31757 }
31758 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31759 return (void *)((wxObject *) ((wxPyPrintout *) x));
31760 }
31761 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31762 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31763 }
31764 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
31765 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
31766 }
31767 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
31768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
31769 }
31770 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
31771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31772 }
31773 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31774 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31775 }
31776 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31777 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31778 }
31779 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31780 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31781 }
31782 static void *_p_wxWindowTo_p_wxObject(void *x) {
31783 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31784 }
31785 static void *_p_wxMenuTo_p_wxObject(void *x) {
31786 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31787 }
31788 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31790 }
31791 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
31792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31793 }
31794 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
31795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
31796 }
31797 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
31798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
31799 }
31800 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
31801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
31802 }
31803 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
31804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
31805 }
31806 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
31807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31808 }
31809 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
31810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
31811 }
31812 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
31813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31814 }
31815 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
31816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31817 }
31818 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
31819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31820 }
31821 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
31822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
31823 }
31824 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
31825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31826 }
31827 static void *_p_wxSashEventTo_p_wxObject(void *x) {
31828 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
31829 }
31830 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
31831 return (void *)((wxObject *) ((wxPrintPreview *) x));
31832 }
31833 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
31834 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
31835 }
31836 static void *_p_wxPanelTo_p_wxObject(void *x) {
31837 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
31838 }
31839 static void *_p_wxDialogTo_p_wxObject(void *x) {
31840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31841 }
31842 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
31843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31844 }
31845 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
31846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31847 }
31848 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
31849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31850 }
31851 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
31852 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
31853 }
31854 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
31855 return (void *)((wxObject *) ((wxPrintDialog *) x));
31856 }
31857 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31858 return (void *)((wxObject *) ((wxFileSystem *) x));
31859 }
31860 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31861 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31862 }
31863 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31864 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31865 }
31866 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31867 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31868 }
31869 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31870 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31871 }
31872 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31873 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31874 }
31875 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31876 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31877 }
31878 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31879 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31880 }
31881 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31882 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31883 }
31884 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
31885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31886 }
31887 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
31888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31889 }
31890 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31891 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31892 }
31893 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31894 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31895 }
31896 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31897 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31898 }
31899 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31901 }
31902 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
31903 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
31904 }
31905 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
31906 return (void *)((wxObject *) ((wxPrintDialogData *) x));
31907 }
31908 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31909 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31910 }
31911 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31912 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31913 }
31914 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
31915 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31916 }
31917 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
31918 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
31919 }
31920 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
31921 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31922 }
31923 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
31924 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31925 }
31926 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
31927 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31928 }
31929 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
31930 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
31931 }
31932 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
31933 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
31934 }
31935 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
31936 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
31937 }
31938 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
31939 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
31940 }
31941 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
31942 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
31943 }
31944 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
31945 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
31946 }
31947 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
31948 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
31949 }
31950 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
31951 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
31952 }
31953 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
31954 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
31955 }
31956 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
31957 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
31958 }
31959 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
31960 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
31961 }
31962 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
31963 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
31964 }
31965 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
31966 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31967 }
31968 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
31969 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
31970 }
31971 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
31972 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
31973 }
31974 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
31975 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
31976 }
31977 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
31978 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
31979 }
31980 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
31981 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
31982 }
31983 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
31984 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
31985 }
31986 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
31987 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31988 }
31989 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
31990 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31991 }
31992 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
31993 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31994 }
31995 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
31996 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
31997 }
31998 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31999 return (void *)((wxWindow *) ((wxMenuBar *) x));
32000 }
32001 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32002 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32003 }
32004 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32005 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32006 }
32007 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32008 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32009 }
32010 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32011 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32012 }
32013 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32014 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32015 }
32016 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32017 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32018 }
32019 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32020 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32021 }
32022 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32023 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32024 }
32025 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32026 return (void *)((wxWindow *) ((wxPanel *) x));
32027 }
32028 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32029 return (void *)((wxWindow *) ((wxStatusBar *) x));
32030 }
32031 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32032 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32033 }
32034 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32035 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32036 }
32037 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32038 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32039 }
32040 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32041 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32042 }
32043 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32044 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32045 }
32046 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32047 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32048 }
32049 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32050 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32051 }
32052 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32053 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32054 }
32055 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32056 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32057 }
32058 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32059 return (void *)((wxWindow *) ((wxSashWindow *) x));
32060 }
32061 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32062 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32063 }
32064 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32065 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32066 }
32067 static void *_p_wxControlTo_p_wxWindow(void *x) {
32068 return (void *)((wxWindow *) ((wxControl *) x));
32069 }
32070 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32071 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32072 }
32073 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32074 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32075 }
32076 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32077 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32078 }
32079 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32080 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32081 }
32082 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32083 return (void *)((wxWindow *) ((wxPyWindow *) x));
32084 }
32085 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32086 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32087 }
32088 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32089 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32090 }
32091 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32092 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32093 }
32094 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32095 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32096 }
32097 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32098 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32099 }
32100 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32101 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32102 }
32103 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32104 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32105 }
32106 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32107 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32108 }
32109 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32110 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32111 }
32112 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32113 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32114 }
32115 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32116 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32117 }
32118 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32119 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32120 }
32121 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32122 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32123 }
32124 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32125 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32126 }
32127 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32128 return (void *)((wxDialog *) ((wxColourDialog *) x));
32129 }
32130 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32131 return (void *)((wxDialog *) ((wxDirDialog *) x));
32132 }
32133 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32134 return (void *)((wxDialog *) ((wxFontDialog *) x));
32135 }
32136 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32137 return (void *)((wxDialog *) ((wxFileDialog *) x));
32138 }
32139 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32140 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32141 }
32142 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32143 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32144 }
32145 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32146 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32147 }
32148 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32149 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32150 }
32151 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32152 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32153 }
32154 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32155 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32156 }
32157 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32158 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32159 }
32160 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32161 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32162 }
32163 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32164 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32165 }
32166 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32167 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32168 }
32169 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32170 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32171 }
32172 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32173 return (void *)((wxPanel *) ((wxPyPanel *) x));
32174 }
32175 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32176 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32177 }
32178 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32179 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32180 }
32181 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32182 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32183 }
32184 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32185 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32186 }
32187 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32188 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32189 }
32190 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32191 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32192 }
32193 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32194 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32195 }
32196 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32197 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32198 }
32199 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32200 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32201 }
32202 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32203 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32204 }
32205 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32206 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32207 }
32208 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32209 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32210 }
32211 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32212 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32213 }
32214 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32215 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32216 }
32217 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32218 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32219 }
32220 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32221 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32222 }
32223 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32224 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};
32225 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32226 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32227 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32228 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32229 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32230 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32231 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32232 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32233 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32234 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32235 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32236 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32237 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32238 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32239 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32240 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32241 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32242 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32243 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32244 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32245 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32246 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32247 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32248 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32249 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32250 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32251 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32252 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32253 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32254 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32255 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32256 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32257 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32258 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32259 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32260 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32261 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32262 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32263 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32264 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32265 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32266 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32267 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32268 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32269 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32270 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32271 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32272 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32273 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32274 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32275 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32276 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32277 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32278 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32279 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32280 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32281 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32282 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32283 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32284 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32285 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32286 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32287 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32288 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32289 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32290 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32291 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32292 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32293 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32294 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32295 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32296 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32297 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32298 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32299 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32300 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32301 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32302 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32303 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32304 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32305 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32306 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32307 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32308 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32309 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32310 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32311 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32312 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32313 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32314 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32315 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32316 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32317 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32318 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32319 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32320 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32321 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32322 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32323 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32324 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32325 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32326 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32327 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32328 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32329 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32330 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32331 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32332 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32333 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32334 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32335 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32336 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32337 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32338 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32339 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32340 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32341 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32342 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32343 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32344 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32345 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32346 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32347 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32348 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32349 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32350 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32351 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32352 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32353 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32354 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32355 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32356 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32357 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32358 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32359 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32360 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32361 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32362 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32363 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32364 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32365 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32366 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32367 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32368 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32369 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32370 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32371 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32372 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32373 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32374 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32375 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32376 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32377 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32378 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32379 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32380 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32381 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32382 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32383
32384 static swig_type_info *swig_type_initial[] = {
32385 &_swigt__p_char,
32386 &_swigt__p_form_ops_t,
32387 &_swigt__p_int,
32388 &_swigt__p_unsigned_char,
32389 &_swigt__p_unsigned_int,
32390 &_swigt__p_unsigned_long,
32391 &_swigt__p_wxANIHandler,
32392 &_swigt__p_wxAcceleratorTable,
32393 &_swigt__p_wxActivateEvent,
32394 &_swigt__p_wxArrayInt,
32395 &_swigt__p_wxBMPHandler,
32396 &_swigt__p_wxBitmap,
32397 &_swigt__p_wxBoxSizer,
32398 &_swigt__p_wxCURHandler,
32399 &_swigt__p_wxCalculateLayoutEvent,
32400 &_swigt__p_wxChildFocusEvent,
32401 &_swigt__p_wxCloseEvent,
32402 &_swigt__p_wxColour,
32403 &_swigt__p_wxColourData,
32404 &_swigt__p_wxColourDialog,
32405 &_swigt__p_wxCommandEvent,
32406 &_swigt__p_wxContextMenuEvent,
32407 &_swigt__p_wxControl,
32408 &_swigt__p_wxControlWithItems,
32409 &_swigt__p_wxDC,
32410 &_swigt__p_wxDateEvent,
32411 &_swigt__p_wxDialog,
32412 &_swigt__p_wxDirDialog,
32413 &_swigt__p_wxDisplayChangedEvent,
32414 &_swigt__p_wxDropFilesEvent,
32415 &_swigt__p_wxDuplexMode,
32416 &_swigt__p_wxEraseEvent,
32417 &_swigt__p_wxEvent,
32418 &_swigt__p_wxEvtHandler,
32419 &_swigt__p_wxFSFile,
32420 &_swigt__p_wxFileDialog,
32421 &_swigt__p_wxFileSystem,
32422 &_swigt__p_wxFindDialogEvent,
32423 &_swigt__p_wxFindReplaceData,
32424 &_swigt__p_wxFindReplaceDialog,
32425 &_swigt__p_wxFlexGridSizer,
32426 &_swigt__p_wxFocusEvent,
32427 &_swigt__p_wxFont,
32428 &_swigt__p_wxFontData,
32429 &_swigt__p_wxFontDialog,
32430 &_swigt__p_wxFrame,
32431 &_swigt__p_wxGBSizerItem,
32432 &_swigt__p_wxGIFHandler,
32433 &_swigt__p_wxGridBagSizer,
32434 &_swigt__p_wxGridSizer,
32435 &_swigt__p_wxICOHandler,
32436 &_swigt__p_wxIcon,
32437 &_swigt__p_wxIconBundle,
32438 &_swigt__p_wxIconizeEvent,
32439 &_swigt__p_wxIdleEvent,
32440 &_swigt__p_wxImage,
32441 &_swigt__p_wxImageHandler,
32442 &_swigt__p_wxIndividualLayoutConstraint,
32443 &_swigt__p_wxInitDialogEvent,
32444 &_swigt__p_wxJPEGHandler,
32445 &_swigt__p_wxKeyEvent,
32446 &_swigt__p_wxLayoutAlgorithm,
32447 &_swigt__p_wxLayoutConstraints,
32448 &_swigt__p_wxMDIChildFrame,
32449 &_swigt__p_wxMDIClientWindow,
32450 &_swigt__p_wxMDIParentFrame,
32451 &_swigt__p_wxMaximizeEvent,
32452 &_swigt__p_wxMenu,
32453 &_swigt__p_wxMenuBar,
32454 &_swigt__p_wxMenuEvent,
32455 &_swigt__p_wxMenuItem,
32456 &_swigt__p_wxMessageDialog,
32457 &_swigt__p_wxMiniFrame,
32458 &_swigt__p_wxMouseCaptureChangedEvent,
32459 &_swigt__p_wxMouseEvent,
32460 &_swigt__p_wxMoveEvent,
32461 &_swigt__p_wxMultiChoiceDialog,
32462 &_swigt__p_wxNavigationKeyEvent,
32463 &_swigt__p_wxNcPaintEvent,
32464 &_swigt__p_wxNotifyEvent,
32465 &_swigt__p_wxObject,
32466 &_swigt__p_wxPCXHandler,
32467 &_swigt__p_wxPNGHandler,
32468 &_swigt__p_wxPNMHandler,
32469 &_swigt__p_wxPageSetupDialog,
32470 &_swigt__p_wxPageSetupDialogData,
32471 &_swigt__p_wxPaintEvent,
32472 &_swigt__p_wxPaletteChangedEvent,
32473 &_swigt__p_wxPanel,
32474 &_swigt__p_wxPaperSize,
32475 &_swigt__p_wxPasswordEntryDialog,
32476 &_swigt__p_wxPoint,
32477 &_swigt__p_wxPopupWindow,
32478 &_swigt__p_wxPreviewCanvas,
32479 &_swigt__p_wxPreviewControlBar,
32480 &_swigt__p_wxPreviewFrame,
32481 &_swigt__p_wxPrintData,
32482 &_swigt__p_wxPrintDialog,
32483 &_swigt__p_wxPrintDialogData,
32484 &_swigt__p_wxPrintPreview,
32485 &_swigt__p_wxPrinter,
32486 &_swigt__p_wxProgressDialog,
32487 &_swigt__p_wxPyApp,
32488 &_swigt__p_wxPyCommandEvent,
32489 &_swigt__p_wxPyEvent,
32490 &_swigt__p_wxPyHtmlListBox,
32491 &_swigt__p_wxPyImageHandler,
32492 &_swigt__p_wxPyPanel,
32493 &_swigt__p_wxPyPopupTransientWindow,
32494 &_swigt__p_wxPyPreviewControlBar,
32495 &_swigt__p_wxPyPreviewFrame,
32496 &_swigt__p_wxPyPrintPreview,
32497 &_swigt__p_wxPyPrintout,
32498 &_swigt__p_wxPyScrolledWindow,
32499 &_swigt__p_wxPySizer,
32500 &_swigt__p_wxPyTaskBarIcon,
32501 &_swigt__p_wxPyVListBox,
32502 &_swigt__p_wxPyVScrolledWindow,
32503 &_swigt__p_wxPyValidator,
32504 &_swigt__p_wxPyWindow,
32505 &_swigt__p_wxQueryLayoutInfoEvent,
32506 &_swigt__p_wxQueryNewPaletteEvent,
32507 &_swigt__p_wxRect,
32508 &_swigt__p_wxRegion,
32509 &_swigt__p_wxSashEvent,
32510 &_swigt__p_wxSashLayoutWindow,
32511 &_swigt__p_wxSashWindow,
32512 &_swigt__p_wxScrollEvent,
32513 &_swigt__p_wxScrollWinEvent,
32514 &_swigt__p_wxScrolledWindow,
32515 &_swigt__p_wxSetCursorEvent,
32516 &_swigt__p_wxShowEvent,
32517 &_swigt__p_wxSingleChoiceDialog,
32518 &_swigt__p_wxSize,
32519 &_swigt__p_wxSizeEvent,
32520 &_swigt__p_wxSizer,
32521 &_swigt__p_wxSizerItem,
32522 &_swigt__p_wxSplashScreen,
32523 &_swigt__p_wxSplashScreenWindow,
32524 &_swigt__p_wxSplitterEvent,
32525 &_swigt__p_wxSplitterWindow,
32526 &_swigt__p_wxStaticBoxSizer,
32527 &_swigt__p_wxStatusBar,
32528 &_swigt__p_wxStdDialogButtonSizer,
32529 &_swigt__p_wxString,
32530 &_swigt__p_wxSysColourChangedEvent,
32531 &_swigt__p_wxTIFFHandler,
32532 &_swigt__p_wxTaskBarIcon,
32533 &_swigt__p_wxTaskBarIconEvent,
32534 &_swigt__p_wxTextEntryDialog,
32535 &_swigt__p_wxTipWindow,
32536 &_swigt__p_wxToolBar,
32537 &_swigt__p_wxTopLevelWindow,
32538 &_swigt__p_wxUpdateUIEvent,
32539 &_swigt__p_wxValidator,
32540 &_swigt__p_wxVisualAttributes,
32541 &_swigt__p_wxWindow,
32542 &_swigt__p_wxWindowCreateEvent,
32543 &_swigt__p_wxWindowDestroyEvent,
32544 &_swigt__p_wxXPMHandler,
32545 };
32546
32547 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32548 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32549 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32550 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32551 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32552 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32553 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32554 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32555 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32556 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32557 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32558 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32559 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32560 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32561 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32562 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32563 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32564 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32565 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32566 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32567 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32568 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32569 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}};
32570 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32571 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32572 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32573 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32574 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32575 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32576 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32577 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32578 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32579 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32580 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32581 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32582 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32583 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32584 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32585 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32586 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32587 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32588 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32589 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32590 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32591 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32592 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32593 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32594 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32595 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32596 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32597 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32598 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32599 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32600 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32601 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32602 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32603 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}};
32604 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32605 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32606 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32607 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32608 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32609 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32610 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32611 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32612 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}};
32613 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32614 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32615 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32616 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32617 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32618 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32619 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32620 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32621 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32622 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32623 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32624 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}};
32625 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32626 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32627 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32628 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32629 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32630 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32631 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32632 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32633 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32634 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32635 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32636 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32637 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32638 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32639 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32640 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32641 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32642 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32643 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32644 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32645 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32646 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32647 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32648 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32649 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32650 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32651 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32652 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32653 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_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}};
32654 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32655 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32656 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}};
32657 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32658 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32660 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}};
32661 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32662 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}};
32663 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}};
32664 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32667 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}};
32668 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32672 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}};
32673 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32676 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32677 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32678 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32679 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}};
32680 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}};
32681 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32682 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32683 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32686 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32687 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}};
32688 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32689 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}};
32690 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32691 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32699 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32700 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32701 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}};
32702 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32703 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32704 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}};
32705 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32706 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}};
32707
32708 static swig_cast_info *swig_cast_initial[] = {
32709 _swigc__p_char,
32710 _swigc__p_form_ops_t,
32711 _swigc__p_int,
32712 _swigc__p_unsigned_char,
32713 _swigc__p_unsigned_int,
32714 _swigc__p_unsigned_long,
32715 _swigc__p_wxANIHandler,
32716 _swigc__p_wxAcceleratorTable,
32717 _swigc__p_wxActivateEvent,
32718 _swigc__p_wxArrayInt,
32719 _swigc__p_wxBMPHandler,
32720 _swigc__p_wxBitmap,
32721 _swigc__p_wxBoxSizer,
32722 _swigc__p_wxCURHandler,
32723 _swigc__p_wxCalculateLayoutEvent,
32724 _swigc__p_wxChildFocusEvent,
32725 _swigc__p_wxCloseEvent,
32726 _swigc__p_wxColour,
32727 _swigc__p_wxColourData,
32728 _swigc__p_wxColourDialog,
32729 _swigc__p_wxCommandEvent,
32730 _swigc__p_wxContextMenuEvent,
32731 _swigc__p_wxControl,
32732 _swigc__p_wxControlWithItems,
32733 _swigc__p_wxDC,
32734 _swigc__p_wxDateEvent,
32735 _swigc__p_wxDialog,
32736 _swigc__p_wxDirDialog,
32737 _swigc__p_wxDisplayChangedEvent,
32738 _swigc__p_wxDropFilesEvent,
32739 _swigc__p_wxDuplexMode,
32740 _swigc__p_wxEraseEvent,
32741 _swigc__p_wxEvent,
32742 _swigc__p_wxEvtHandler,
32743 _swigc__p_wxFSFile,
32744 _swigc__p_wxFileDialog,
32745 _swigc__p_wxFileSystem,
32746 _swigc__p_wxFindDialogEvent,
32747 _swigc__p_wxFindReplaceData,
32748 _swigc__p_wxFindReplaceDialog,
32749 _swigc__p_wxFlexGridSizer,
32750 _swigc__p_wxFocusEvent,
32751 _swigc__p_wxFont,
32752 _swigc__p_wxFontData,
32753 _swigc__p_wxFontDialog,
32754 _swigc__p_wxFrame,
32755 _swigc__p_wxGBSizerItem,
32756 _swigc__p_wxGIFHandler,
32757 _swigc__p_wxGridBagSizer,
32758 _swigc__p_wxGridSizer,
32759 _swigc__p_wxICOHandler,
32760 _swigc__p_wxIcon,
32761 _swigc__p_wxIconBundle,
32762 _swigc__p_wxIconizeEvent,
32763 _swigc__p_wxIdleEvent,
32764 _swigc__p_wxImage,
32765 _swigc__p_wxImageHandler,
32766 _swigc__p_wxIndividualLayoutConstraint,
32767 _swigc__p_wxInitDialogEvent,
32768 _swigc__p_wxJPEGHandler,
32769 _swigc__p_wxKeyEvent,
32770 _swigc__p_wxLayoutAlgorithm,
32771 _swigc__p_wxLayoutConstraints,
32772 _swigc__p_wxMDIChildFrame,
32773 _swigc__p_wxMDIClientWindow,
32774 _swigc__p_wxMDIParentFrame,
32775 _swigc__p_wxMaximizeEvent,
32776 _swigc__p_wxMenu,
32777 _swigc__p_wxMenuBar,
32778 _swigc__p_wxMenuEvent,
32779 _swigc__p_wxMenuItem,
32780 _swigc__p_wxMessageDialog,
32781 _swigc__p_wxMiniFrame,
32782 _swigc__p_wxMouseCaptureChangedEvent,
32783 _swigc__p_wxMouseEvent,
32784 _swigc__p_wxMoveEvent,
32785 _swigc__p_wxMultiChoiceDialog,
32786 _swigc__p_wxNavigationKeyEvent,
32787 _swigc__p_wxNcPaintEvent,
32788 _swigc__p_wxNotifyEvent,
32789 _swigc__p_wxObject,
32790 _swigc__p_wxPCXHandler,
32791 _swigc__p_wxPNGHandler,
32792 _swigc__p_wxPNMHandler,
32793 _swigc__p_wxPageSetupDialog,
32794 _swigc__p_wxPageSetupDialogData,
32795 _swigc__p_wxPaintEvent,
32796 _swigc__p_wxPaletteChangedEvent,
32797 _swigc__p_wxPanel,
32798 _swigc__p_wxPaperSize,
32799 _swigc__p_wxPasswordEntryDialog,
32800 _swigc__p_wxPoint,
32801 _swigc__p_wxPopupWindow,
32802 _swigc__p_wxPreviewCanvas,
32803 _swigc__p_wxPreviewControlBar,
32804 _swigc__p_wxPreviewFrame,
32805 _swigc__p_wxPrintData,
32806 _swigc__p_wxPrintDialog,
32807 _swigc__p_wxPrintDialogData,
32808 _swigc__p_wxPrintPreview,
32809 _swigc__p_wxPrinter,
32810 _swigc__p_wxProgressDialog,
32811 _swigc__p_wxPyApp,
32812 _swigc__p_wxPyCommandEvent,
32813 _swigc__p_wxPyEvent,
32814 _swigc__p_wxPyHtmlListBox,
32815 _swigc__p_wxPyImageHandler,
32816 _swigc__p_wxPyPanel,
32817 _swigc__p_wxPyPopupTransientWindow,
32818 _swigc__p_wxPyPreviewControlBar,
32819 _swigc__p_wxPyPreviewFrame,
32820 _swigc__p_wxPyPrintPreview,
32821 _swigc__p_wxPyPrintout,
32822 _swigc__p_wxPyScrolledWindow,
32823 _swigc__p_wxPySizer,
32824 _swigc__p_wxPyTaskBarIcon,
32825 _swigc__p_wxPyVListBox,
32826 _swigc__p_wxPyVScrolledWindow,
32827 _swigc__p_wxPyValidator,
32828 _swigc__p_wxPyWindow,
32829 _swigc__p_wxQueryLayoutInfoEvent,
32830 _swigc__p_wxQueryNewPaletteEvent,
32831 _swigc__p_wxRect,
32832 _swigc__p_wxRegion,
32833 _swigc__p_wxSashEvent,
32834 _swigc__p_wxSashLayoutWindow,
32835 _swigc__p_wxSashWindow,
32836 _swigc__p_wxScrollEvent,
32837 _swigc__p_wxScrollWinEvent,
32838 _swigc__p_wxScrolledWindow,
32839 _swigc__p_wxSetCursorEvent,
32840 _swigc__p_wxShowEvent,
32841 _swigc__p_wxSingleChoiceDialog,
32842 _swigc__p_wxSize,
32843 _swigc__p_wxSizeEvent,
32844 _swigc__p_wxSizer,
32845 _swigc__p_wxSizerItem,
32846 _swigc__p_wxSplashScreen,
32847 _swigc__p_wxSplashScreenWindow,
32848 _swigc__p_wxSplitterEvent,
32849 _swigc__p_wxSplitterWindow,
32850 _swigc__p_wxStaticBoxSizer,
32851 _swigc__p_wxStatusBar,
32852 _swigc__p_wxStdDialogButtonSizer,
32853 _swigc__p_wxString,
32854 _swigc__p_wxSysColourChangedEvent,
32855 _swigc__p_wxTIFFHandler,
32856 _swigc__p_wxTaskBarIcon,
32857 _swigc__p_wxTaskBarIconEvent,
32858 _swigc__p_wxTextEntryDialog,
32859 _swigc__p_wxTipWindow,
32860 _swigc__p_wxToolBar,
32861 _swigc__p_wxTopLevelWindow,
32862 _swigc__p_wxUpdateUIEvent,
32863 _swigc__p_wxValidator,
32864 _swigc__p_wxVisualAttributes,
32865 _swigc__p_wxWindow,
32866 _swigc__p_wxWindowCreateEvent,
32867 _swigc__p_wxWindowDestroyEvent,
32868 _swigc__p_wxXPMHandler,
32869 };
32870
32871
32872 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32873
32874 static swig_const_info swig_const_table[] = {
32875 {0, 0, 0, 0.0, 0, 0}};
32876
32877 #ifdef __cplusplus
32878 }
32879 #endif
32880 /* -----------------------------------------------------------------------------
32881 * Type initialization:
32882 * This problem is tough by the requirement that no dynamic
32883 * memory is used. Also, since swig_type_info structures store pointers to
32884 * swig_cast_info structures and swig_cast_info structures store pointers back
32885 * to swig_type_info structures, we need some lookup code at initialization.
32886 * The idea is that swig generates all the structures that are needed.
32887 * The runtime then collects these partially filled structures.
32888 * The SWIG_InitializeModule function takes these initial arrays out of
32889 * swig_module, and does all the lookup, filling in the swig_module.types
32890 * array with the correct data and linking the correct swig_cast_info
32891 * structures together.
32892 *
32893 * The generated swig_type_info structures are assigned staticly to an initial
32894 * array. We just loop though that array, and handle each type individually.
32895 * First we lookup if this type has been already loaded, and if so, use the
32896 * loaded structure instead of the generated one. Then we have to fill in the
32897 * cast linked list. The cast data is initially stored in something like a
32898 * two-dimensional array. Each row corresponds to a type (there are the same
32899 * number of rows as there are in the swig_type_initial array). Each entry in
32900 * a column is one of the swig_cast_info structures for that type.
32901 * The cast_initial array is actually an array of arrays, because each row has
32902 * a variable number of columns. So to actually build the cast linked list,
32903 * we find the array of casts associated with the type, and loop through it
32904 * adding the casts to the list. The one last trick we need to do is making
32905 * sure the type pointer in the swig_cast_info struct is correct.
32906 *
32907 * First off, we lookup the cast->type name to see if it is already loaded.
32908 * There are three cases to handle:
32909 * 1) If the cast->type has already been loaded AND the type we are adding
32910 * casting info to has not been loaded (it is in this module), THEN we
32911 * replace the cast->type pointer with the type pointer that has already
32912 * been loaded.
32913 * 2) If BOTH types (the one we are adding casting info to, and the
32914 * cast->type) are loaded, THEN the cast info has already been loaded by
32915 * the previous module so we just ignore it.
32916 * 3) Finally, if cast->type has not already been loaded, then we add that
32917 * swig_cast_info to the linked list (because the cast->type) pointer will
32918 * be correct.
32919 * ----------------------------------------------------------------------------- */
32920
32921 #ifdef __cplusplus
32922 extern "C" {
32923 #if 0
32924 } /* c-mode */
32925 #endif
32926 #endif
32927
32928 #if 0
32929 #define SWIGRUNTIME_DEBUG
32930 #endif
32931
32932 SWIGRUNTIME void
32933 SWIG_InitializeModule(void *clientdata) {
32934 size_t i;
32935 swig_module_info *module_head;
32936 static int init_run = 0;
32937
32938 clientdata = clientdata;
32939
32940 if (init_run) return;
32941 init_run = 1;
32942
32943 /* Initialize the swig_module */
32944 swig_module.type_initial = swig_type_initial;
32945 swig_module.cast_initial = swig_cast_initial;
32946
32947 /* Try and load any already created modules */
32948 module_head = SWIG_GetModule(clientdata);
32949 if (module_head) {
32950 swig_module.next = module_head->next;
32951 module_head->next = &swig_module;
32952 } else {
32953 /* This is the first module loaded */
32954 swig_module.next = &swig_module;
32955 SWIG_SetModule(clientdata, &swig_module);
32956 }
32957
32958 /* Now work on filling in swig_module.types */
32959 #ifdef SWIGRUNTIME_DEBUG
32960 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
32961 #endif
32962 for (i = 0; i < swig_module.size; ++i) {
32963 swig_type_info *type = 0;
32964 swig_type_info *ret;
32965 swig_cast_info *cast;
32966
32967 #ifdef SWIGRUNTIME_DEBUG
32968 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
32969 #endif
32970
32971 /* if there is another module already loaded */
32972 if (swig_module.next != &swig_module) {
32973 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
32974 }
32975 if (type) {
32976 /* Overwrite clientdata field */
32977 #ifdef SWIGRUNTIME_DEBUG
32978 printf("SWIG_InitializeModule: found type %s\n", type->name);
32979 #endif
32980 if (swig_module.type_initial[i]->clientdata) {
32981 type->clientdata = swig_module.type_initial[i]->clientdata;
32982 #ifdef SWIGRUNTIME_DEBUG
32983 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
32984 #endif
32985 }
32986 } else {
32987 type = swig_module.type_initial[i];
32988 }
32989
32990 /* Insert casting types */
32991 cast = swig_module.cast_initial[i];
32992 while (cast->type) {
32993 /* Don't need to add information already in the list */
32994 ret = 0;
32995 #ifdef SWIGRUNTIME_DEBUG
32996 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
32997 #endif
32998 if (swig_module.next != &swig_module) {
32999 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33000 #ifdef SWIGRUNTIME_DEBUG
33001 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33002 #endif
33003 }
33004 if (ret) {
33005 if (type == swig_module.type_initial[i]) {
33006 #ifdef SWIGRUNTIME_DEBUG
33007 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33008 #endif
33009 cast->type = ret;
33010 ret = 0;
33011 } else {
33012 /* Check for casting already in the list */
33013 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33014 #ifdef SWIGRUNTIME_DEBUG
33015 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33016 #endif
33017 if (!ocast) ret = 0;
33018 }
33019 }
33020
33021 if (!ret) {
33022 #ifdef SWIGRUNTIME_DEBUG
33023 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33024 #endif
33025 if (type->cast) {
33026 type->cast->prev = cast;
33027 cast->next = type->cast;
33028 }
33029 type->cast = cast;
33030 }
33031 cast++;
33032 }
33033 /* Set entry in modules->types array equal to the type */
33034 swig_module.types[i] = type;
33035 }
33036 swig_module.types[i] = 0;
33037
33038 #ifdef SWIGRUNTIME_DEBUG
33039 printf("**** SWIG_InitializeModule: Cast List ******\n");
33040 for (i = 0; i < swig_module.size; ++i) {
33041 int j = 0;
33042 swig_cast_info *cast = swig_module.cast_initial[i];
33043 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33044 while (cast->type) {
33045 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33046 cast++;
33047 ++j;
33048 }
33049 printf("---- Total casts: %d\n",j);
33050 }
33051 printf("**** SWIG_InitializeModule: Cast List ******\n");
33052 #endif
33053 }
33054
33055 /* This function will propagate the clientdata field of type to
33056 * any new swig_type_info structures that have been added into the list
33057 * of equivalent types. It is like calling
33058 * SWIG_TypeClientData(type, clientdata) a second time.
33059 */
33060 SWIGRUNTIME void
33061 SWIG_PropagateClientData(void) {
33062 size_t i;
33063 swig_cast_info *equiv;
33064 static int init_run = 0;
33065
33066 if (init_run) return;
33067 init_run = 1;
33068
33069 for (i = 0; i < swig_module.size; i++) {
33070 if (swig_module.types[i]->clientdata) {
33071 equiv = swig_module.types[i]->cast;
33072 while (equiv) {
33073 if (!equiv->converter) {
33074 if (equiv->type && !equiv->type->clientdata)
33075 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33076 }
33077 equiv = equiv->next;
33078 }
33079 }
33080 }
33081 }
33082
33083 #ifdef __cplusplus
33084 #if 0
33085 {
33086 /* c-mode */
33087 #endif
33088 }
33089 #endif
33090
33091
33092
33093 #ifdef __cplusplus
33094 extern "C" {
33095 #endif
33096
33097 /* Python-specific SWIG API */
33098 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33099 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33100 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33101
33102 /* -----------------------------------------------------------------------------
33103 * global variable support code.
33104 * ----------------------------------------------------------------------------- */
33105
33106 typedef struct swig_globalvar {
33107 char *name; /* Name of global variable */
33108 PyObject *(*get_attr)(void); /* Return the current value */
33109 int (*set_attr)(PyObject *); /* Set the value */
33110 struct swig_globalvar *next;
33111 } swig_globalvar;
33112
33113 typedef struct swig_varlinkobject {
33114 PyObject_HEAD
33115 swig_globalvar *vars;
33116 } swig_varlinkobject;
33117
33118 SWIGINTERN PyObject *
33119 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33120 return PyString_FromString("<Swig global variables>");
33121 }
33122
33123 SWIGINTERN PyObject *
33124 swig_varlink_str(swig_varlinkobject *v) {
33125 PyObject *str = PyString_FromString("(");
33126 swig_globalvar *var;
33127 for (var = v->vars; var; var=var->next) {
33128 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33129 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33130 }
33131 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33132 return str;
33133 }
33134
33135 SWIGINTERN int
33136 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33137 PyObject *str = swig_varlink_str(v);
33138 fprintf(fp,"Swig global variables ");
33139 fprintf(fp,"%s\n", PyString_AsString(str));
33140 Py_DECREF(str);
33141 return 0;
33142 }
33143
33144 SWIGINTERN void
33145 swig_varlink_dealloc(swig_varlinkobject *v) {
33146 swig_globalvar *var = v->vars;
33147 while (var) {
33148 swig_globalvar *n = var->next;
33149 free(var->name);
33150 free(var);
33151 var = n;
33152 }
33153 }
33154
33155 SWIGINTERN PyObject *
33156 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33157 PyObject *res = NULL;
33158 swig_globalvar *var = v->vars;
33159 while (var) {
33160 if (strcmp(var->name,n) == 0) {
33161 res = (*var->get_attr)();
33162 break;
33163 }
33164 var = var->next;
33165 }
33166 if (res == NULL && !PyErr_Occurred()) {
33167 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33168 }
33169 return res;
33170 }
33171
33172 SWIGINTERN int
33173 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33174 int res = 1;
33175 swig_globalvar *var = v->vars;
33176 while (var) {
33177 if (strcmp(var->name,n) == 0) {
33178 res = (*var->set_attr)(p);
33179 break;
33180 }
33181 var = var->next;
33182 }
33183 if (res == 1 && !PyErr_Occurred()) {
33184 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33185 }
33186 return res;
33187 }
33188
33189 SWIGINTERN PyTypeObject*
33190 swig_varlink_type(void) {
33191 static char varlink__doc__[] = "Swig var link object";
33192 static PyTypeObject varlink_type;
33193 static int type_init = 0;
33194 if (!type_init) {
33195 const PyTypeObject tmp
33196 = {
33197 PyObject_HEAD_INIT(NULL)
33198 0, /* Number of items in variable part (ob_size) */
33199 (char *)"swigvarlink", /* Type name (tp_name) */
33200 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33201 0, /* Itemsize (tp_itemsize) */
33202 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33203 (printfunc) swig_varlink_print, /* Print (tp_print) */
33204 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33205 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33206 0, /* tp_compare */
33207 (reprfunc) swig_varlink_repr, /* tp_repr */
33208 0, /* tp_as_number */
33209 0, /* tp_as_sequence */
33210 0, /* tp_as_mapping */
33211 0, /* tp_hash */
33212 0, /* tp_call */
33213 (reprfunc)swig_varlink_str, /* tp_str */
33214 0, /* tp_getattro */
33215 0, /* tp_setattro */
33216 0, /* tp_as_buffer */
33217 0, /* tp_flags */
33218 varlink__doc__, /* tp_doc */
33219 0, /* tp_traverse */
33220 0, /* tp_clear */
33221 0, /* tp_richcompare */
33222 0, /* tp_weaklistoffset */
33223 #if PY_VERSION_HEX >= 0x02020000
33224 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33225 #endif
33226 #if PY_VERSION_HEX >= 0x02030000
33227 0, /* tp_del */
33228 #endif
33229 #ifdef COUNT_ALLOCS
33230 0,0,0,0 /* tp_alloc -> tp_next */
33231 #endif
33232 };
33233 varlink_type = tmp;
33234 varlink_type.ob_type = &PyType_Type;
33235 type_init = 1;
33236 }
33237 return &varlink_type;
33238 }
33239
33240 /* Create a variable linking object for use later */
33241 SWIGINTERN PyObject *
33242 SWIG_Python_newvarlink(void) {
33243 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33244 if (result) {
33245 result->vars = 0;
33246 }
33247 return ((PyObject*) result);
33248 }
33249
33250 SWIGINTERN void
33251 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33252 swig_varlinkobject *v = (swig_varlinkobject *) p;
33253 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33254 if (gv) {
33255 size_t size = strlen(name)+1;
33256 gv->name = (char *)malloc(size);
33257 if (gv->name) {
33258 strncpy(gv->name,name,size);
33259 gv->get_attr = get_attr;
33260 gv->set_attr = set_attr;
33261 gv->next = v->vars;
33262 }
33263 }
33264 v->vars = gv;
33265 }
33266
33267 SWIGINTERN PyObject *
33268 SWIG_globals() {
33269 static PyObject *_SWIG_globals = 0;
33270 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33271 return _SWIG_globals;
33272 }
33273
33274 /* -----------------------------------------------------------------------------
33275 * constants/methods manipulation
33276 * ----------------------------------------------------------------------------- */
33277
33278 /* Install Constants */
33279 SWIGINTERN void
33280 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33281 PyObject *obj = 0;
33282 size_t i;
33283 for (i = 0; constants[i].type; ++i) {
33284 switch(constants[i].type) {
33285 case SWIG_PY_POINTER:
33286 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33287 break;
33288 case SWIG_PY_BINARY:
33289 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33290 break;
33291 default:
33292 obj = 0;
33293 break;
33294 }
33295 if (obj) {
33296 PyDict_SetItemString(d, constants[i].name, obj);
33297 Py_DECREF(obj);
33298 }
33299 }
33300 }
33301
33302 /* -----------------------------------------------------------------------------*/
33303 /* Fix SwigMethods to carry the callback ptrs when needed */
33304 /* -----------------------------------------------------------------------------*/
33305
33306 SWIGINTERN void
33307 SWIG_Python_FixMethods(PyMethodDef *methods,
33308 swig_const_info *const_table,
33309 swig_type_info **types,
33310 swig_type_info **types_initial) {
33311 size_t i;
33312 for (i = 0; methods[i].ml_name; ++i) {
33313 char *c = methods[i].ml_doc;
33314 if (c && (c = strstr(c, "swig_ptr: "))) {
33315 int j;
33316 swig_const_info *ci = 0;
33317 char *name = c + 10;
33318 for (j = 0; const_table[j].type; ++j) {
33319 if (strncmp(const_table[j].name, name,
33320 strlen(const_table[j].name)) == 0) {
33321 ci = &(const_table[j]);
33322 break;
33323 }
33324 }
33325 if (ci) {
33326 size_t shift = (ci->ptype) - types;
33327 swig_type_info *ty = types_initial[shift];
33328 size_t ldoc = (c - methods[i].ml_doc);
33329 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33330 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33331 if (ndoc) {
33332 char *buff = ndoc;
33333 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33334 if (ptr) {
33335 strncpy(buff, methods[i].ml_doc, ldoc);
33336 buff += ldoc;
33337 strncpy(buff, "swig_ptr: ", 10);
33338 buff += 10;
33339 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33340 methods[i].ml_doc = ndoc;
33341 }
33342 }
33343 }
33344 }
33345 }
33346 }
33347
33348 #ifdef __cplusplus
33349 }
33350 #endif
33351
33352 /* -----------------------------------------------------------------------------*
33353 * Partial Init method
33354 * -----------------------------------------------------------------------------*/
33355
33356 #ifdef __cplusplus
33357 extern "C"
33358 #endif
33359 SWIGEXPORT void SWIG_init(void) {
33360 PyObject *m, *d;
33361
33362 /* Fix SwigMethods to carry the callback ptrs when needed */
33363 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33364
33365 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33366 d = PyModule_GetDict(m);
33367
33368 SWIG_InitializeModule(0);
33369 SWIG_InstallConstants(d,swig_const_table);
33370
33371
33372 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33373 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33374 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33375 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33376 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33377 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33378 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33379 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33380 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33381 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33382 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33383 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33384 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33385 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33386 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33387 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33388 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33389 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33390 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33391 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33392 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33393 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33394 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33395 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33396 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33397 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33398 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33399 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33400 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33401 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33402 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33403 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33404 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33405 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33406 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33407 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33408 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33409 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33410 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33411 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33412 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33413 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33414 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33415 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33416 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33417 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33418 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33419 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33420 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33421 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33422 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33423 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33424 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33425 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33426 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33427 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33428 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33429 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33430 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33431 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33432 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33433 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33434 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33435 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33436 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33437 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33438 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33439 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33440 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33441 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33442 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33443 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33444 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33445 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33446 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33447 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33448 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33449 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33450 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33451 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33452 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33453 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33454 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33455 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33456 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33457 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33458 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33459 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33460 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33461 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33462 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33463 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33464 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33465 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33466 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33467 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33468 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33469 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33470 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33471 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33472 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33473 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33474
33475 // Map renamed classes back to their common name for OOR
33476 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33477 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33478 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33479
33480 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33481 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33482 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33483 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33484 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33485 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33486 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33487 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33488 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33489 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33490 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33491 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33492 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33493 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33494 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33495 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33496 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33497 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33498 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33499 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33500 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33501 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33502 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33503 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33504 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33505 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33506 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33507 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33508 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33509 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33510 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33511 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33512 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33513 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33514 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33515 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33516 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33517 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33518 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33519 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33520 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33521 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33522 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33523 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33524 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33525 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33526 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33527 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33528 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33529 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33530 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33531 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33532 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33533 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33534 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33535 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33536 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33537 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33538 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33539 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33540 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33541 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33542 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33543 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33544 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33545 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33546 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33547 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33548 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33549 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33550 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33551 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33552 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33553 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33554 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33555 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33556 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33557 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33558
33559 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33560
33561 }
33562