]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEventBlocker swig_types[36]
2503 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504 #define SWIGTYPE_p_wxFSFile swig_types[38]
2505 #define SWIGTYPE_p_wxFileDialog swig_types[39]
2506 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2507 #define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511 #define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512 #define SWIGTYPE_p_wxFont swig_types[46]
2513 #define SWIGTYPE_p_wxFontData swig_types[47]
2514 #define SWIGTYPE_p_wxFontDialog swig_types[48]
2515 #define SWIGTYPE_p_wxFrame swig_types[49]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518 #define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519 #define SWIGTYPE_p_wxGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[54]
2521 #define SWIGTYPE_p_wxICOHandler swig_types[55]
2522 #define SWIGTYPE_p_wxIcon swig_types[56]
2523 #define SWIGTYPE_p_wxIconBundle swig_types[57]
2524 #define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525 #define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526 #define SWIGTYPE_p_wxImage swig_types[60]
2527 #define SWIGTYPE_p_wxImageHandler swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2531 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2532 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[67]
2534 #define SWIGTYPE_p_wxLayoutConstraints swig_types[68]
2535 #define SWIGTYPE_p_wxMDIChildFrame swig_types[69]
2536 #define SWIGTYPE_p_wxMDIClientWindow swig_types[70]
2537 #define SWIGTYPE_p_wxMDIParentFrame swig_types[71]
2538 #define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenu swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBar swig_types[74]
2541 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2543 #define SWIGTYPE_p_wxMessageDialog swig_types[77]
2544 #define SWIGTYPE_p_wxMiniFrame swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[87]
2554 #define SWIGTYPE_p_wxObject swig_types[88]
2555 #define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialog swig_types[92]
2559 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[93]
2560 #define SWIGTYPE_p_wxPaintEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxPanel swig_types[96]
2563 #define SWIGTYPE_p_wxPaperSize swig_types[97]
2564 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98]
2565 #define SWIGTYPE_p_wxPoint swig_types[99]
2566 #define SWIGTYPE_p_wxPopupWindow swig_types[100]
2567 #define SWIGTYPE_p_wxPreviewCanvas swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewControlBar swig_types[102]
2569 #define SWIGTYPE_p_wxPreviewFrame swig_types[103]
2570 #define SWIGTYPE_p_wxPrintData swig_types[104]
2571 #define SWIGTYPE_p_wxPrintDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPrintDialogData swig_types[106]
2573 #define SWIGTYPE_p_wxPrintPreview swig_types[107]
2574 #define SWIGTYPE_p_wxPrinter swig_types[108]
2575 #define SWIGTYPE_p_wxProgressDialog swig_types[109]
2576 #define SWIGTYPE_p_wxPyApp swig_types[110]
2577 #define SWIGTYPE_p_wxPyCommandEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPyEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[113]
2580 #define SWIGTYPE_p_wxPyImageHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPyPanel swig_types[115]
2582 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[116]
2583 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[117]
2584 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[118]
2585 #define SWIGTYPE_p_wxPyPrintPreview swig_types[119]
2586 #define SWIGTYPE_p_wxPyPrintout swig_types[120]
2587 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPySizer swig_types[122]
2589 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[123]
2590 #define SWIGTYPE_p_wxPyVListBox swig_types[124]
2591 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxPyWindow swig_types[127]
2594 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxRegion swig_types[131]
2598 #define SWIGTYPE_p_wxSashEvent swig_types[132]
2599 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSashWindow swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrolledWindow swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[140]
2607 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[141]
2608 #define SWIGTYPE_p_wxSize swig_types[142]
2609 #define SWIGTYPE_p_wxSizeEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxSizerItem swig_types[145]
2612 #define SWIGTYPE_p_wxSplashScreen swig_types[146]
2613 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[147]
2614 #define SWIGTYPE_p_wxSplitterEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSplitterWindow swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStatusBar swig_types[151]
2618 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIcon swig_types[157]
2624 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[158]
2625 #define SWIGTYPE_p_wxTextEntryDialog swig_types[159]
2626 #define SWIGTYPE_p_wxTipWindow swig_types[160]
2627 #define SWIGTYPE_p_wxToolBar swig_types[161]
2628 #define SWIGTYPE_p_wxTopLevelWindow swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxVisualAttributes swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info *swig_types[171];
2637 static swig_module_info swig_module = {swig_types, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640
2641 /* -------- TYPES TABLE (END) -------- */
2642
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2646 # endif
2647 #endif
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2650 #endif
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2653 #endif
2654 #ifndef METH_O
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2656 #endif
2657
2658 /*-----------------------------------------------
2659 @(target):= _windows_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_windows_
2662
2663 #define SWIG_name "_windows_"
2664
2665 #define SWIGVERSION 0x010329
2666
2667
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2670
2671
2672 #include <stdexcept>
2673
2674
2675 namespace swig {
2676 class PyObject_ptr {
2677 protected:
2678 PyObject *_obj;
2679
2680 public:
2681 PyObject_ptr() :_obj(0)
2682 {
2683 }
2684
2685 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2686 {
2687 Py_XINCREF(_obj);
2688 }
2689
2690 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2691 {
2692 if (initial_ref) Py_XINCREF(_obj);
2693 }
2694
2695 PyObject_ptr & operator=(const PyObject_ptr& item)
2696 {
2697 Py_XINCREF(item._obj);
2698 Py_XDECREF(_obj);
2699 _obj = item._obj;
2700 return *this;
2701 }
2702
2703 ~PyObject_ptr()
2704 {
2705 Py_XDECREF(_obj);
2706 }
2707
2708 operator PyObject *() const
2709 {
2710 return _obj;
2711 }
2712
2713 PyObject *operator->() const
2714 {
2715 return _obj;
2716 }
2717 };
2718 }
2719
2720
2721 namespace swig {
2722 struct PyObject_var : PyObject_ptr {
2723 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2724
2725 PyObject_var & operator = (PyObject* obj)
2726 {
2727 Py_XDECREF(_obj);
2728 _obj = obj;
2729 return *this;
2730 }
2731 };
2732 }
2733
2734
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2737
2738
2739 static const wxString wxPyEmptyString(wxEmptyString);
2740 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2741
2742
2743
2744 #include <limits.h>
2745 #ifndef LLONG_MIN
2746 # define LLONG_MIN LONG_LONG_MIN
2747 #endif
2748 #ifndef LLONG_MAX
2749 # define LLONG_MAX LONG_LONG_MAX
2750 #endif
2751 #ifndef ULLONG_MAX
2752 # define ULLONG_MAX ULONG_LONG_MAX
2753 #endif
2754
2755
2756 SWIGINTERN int
2757 SWIG_AsVal_long (PyObject* obj, long* val)
2758 {
2759 if (PyNumber_Check(obj)) {
2760 if (val) *val = PyInt_AsLong(obj);
2761 return SWIG_OK;
2762 }
2763 return SWIG_TypeError;
2764 }
2765
2766
2767 SWIGINTERN int
2768 SWIG_AsVal_int (PyObject * obj, int *val)
2769 {
2770 long v;
2771 int res = SWIG_AsVal_long (obj, &v);
2772 if (SWIG_IsOK(res)) {
2773 if ((v < INT_MIN || v > INT_MAX)) {
2774 return SWIG_OverflowError;
2775 } else {
2776 if (val) *val = static_cast< int >(v);
2777 }
2778 }
2779 return res;
2780 }
2781
2782
2783 SWIGINTERN int
2784 SWIG_AsVal_bool (PyObject *obj, bool *val)
2785 {
2786 if (obj == Py_True) {
2787 if (val) *val = true;
2788 return SWIG_OK;
2789 } else if (obj == Py_False) {
2790 if (val) *val = false;
2791 return SWIG_OK;
2792 } else {
2793 long v = 0;
2794 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2795 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2796 return res;
2797 }
2798 }
2799
2800
2801 #define SWIG_From_long PyInt_FromLong
2802
2803
2804 SWIGINTERNINLINE PyObject *
2805 SWIG_From_int (int value)
2806 {
2807 return SWIG_From_long (value);
2808 }
2809
2810
2811 SWIGINTERN int
2812 SWIG_AsVal_double (PyObject *obj, double* val)
2813 {
2814 if (PyNumber_Check(obj)) {
2815 if (val) *val = PyFloat_AsDouble(obj);
2816 return SWIG_OK;
2817 }
2818 return SWIG_TypeError;
2819 }
2820
2821
2822 #define SWIG_From_double PyFloat_FromDouble
2823
2824 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2825 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2826 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2827 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2828 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2829 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2830
2831 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2832
2833
2834
2835 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2836 wxRect r;
2837 self->GetFieldRect(i, r);
2838 return r;
2839 }
2840 static const wxString wxPySplitterNameStr(wxT("splitter"));
2841 static const wxString wxPySashNameStr(wxT("sashWindow"));
2842 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2843
2844 #include <wx/popupwin.h>
2845
2846
2847 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2848 {
2849 public:
2850 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2851 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2852 : wxPopupTransientWindow(parent, style) {}
2853
2854 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2855 DEC_PYCALLBACK__(OnDismiss);
2856 DEC_PYCALLBACK_BOOL_(CanDismiss);
2857 PYPRIVATE;
2858 };
2859
2860
2861 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2862 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2863 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2864
2865
2866 #include <wx/tipwin.h>
2867
2868 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2869 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2870 }
2871
2872 #include <wx/tipwin.h>
2873
2874
2875 #include <wx/vscroll.h>
2876
2877
2878 class wxPyVScrolledWindow : public wxVScrolledWindow
2879 {
2880 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2881 public:
2882 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2883
2884 wxPyVScrolledWindow(wxWindow *parent,
2885 wxWindowID id = wxID_ANY,
2886 const wxPoint& pos = wxDefaultPosition,
2887 const wxSize& size = wxDefaultSize,
2888 long style = 0,
2889 const wxString& name = wxPyPanelNameStr)
2890 : wxVScrolledWindow(parent, id, pos, size, style, name)
2891 {}
2892
2893 // Overridable virtuals
2894
2895 // this function must be overridden in the derived class and it should
2896 // return the height of the given line in pixels
2897 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2898
2899
2900 // this function doesn't have to be overridden but it may be useful to do
2901 // it if calculating the lines heights is a relatively expensive operation
2902 // as it gives the user code a possibility to calculate several of them at
2903 // once
2904 //
2905 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2906 // shouldn't rely on the latter being called for all lines in the interval
2907 // specified here. It is also possible that OnGetLineHeight() will be
2908 // called for the lines outside of this interval, so this is really just a
2909 // hint, not a promise.
2910 //
2911 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2912 // usual
2913 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2914
2915
2916 // when the number of lines changes, we try to estimate the total height
2917 // of all lines which is a rather expensive operation in terms of lines
2918 // access, so if the user code may estimate the average height
2919 // better/faster than we do, it should override this function to implement
2920 // its own logic
2921 //
2922 // this function should return the best guess for the total height it may
2923 // make
2924 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2925
2926
2927 // Also expose some other interesting protected methods
2928
2929
2930 // find the index of the line we need to show at the top of the window such
2931 // that the last (fully or partially) visible line is the given one
2932 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2933 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2934
2935 // get the total height of the lines between lineMin (inclusive) and
2936 // lineMax (exclusive)
2937 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2938 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2939
2940 // update the thumb size shown by the scrollbar
2941 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2942
2943 // remove the scrollbar completely because we don't need it
2944 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2945
2946 PYPRIVATE;
2947 };
2948
2949 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2950
2951 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2952 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2953 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2954
2955
2956 SWIGINTERN int
2957 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2958 {
2959 long v = 0;
2960 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2961 return SWIG_TypeError;
2962 }
2963 else if (val)
2964 *val = (unsigned long)v;
2965 return SWIG_OK;
2966 }
2967
2968
2969 SWIGINTERNINLINE int
2970 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2971 {
2972 unsigned long v;
2973 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2974 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2975 return res;
2976 }
2977
2978
2979 SWIGINTERNINLINE PyObject*
2980 SWIG_From_unsigned_SS_long (unsigned long value)
2981 {
2982 return (value > LONG_MAX) ?
2983 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2984 }
2985
2986
2987 SWIGINTERNINLINE PyObject *
2988 SWIG_From_size_t (size_t value)
2989 {
2990 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2991 }
2992
2993
2994 #include <wx/vlbox.h>
2995
2996 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2997
2998 class wxPyVListBox : public wxVListBox
2999 {
3000 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3001 public:
3002 wxPyVListBox() : wxVListBox() {}
3003
3004 wxPyVListBox(wxWindow *parent,
3005 wxWindowID id = wxID_ANY,
3006 const wxPoint& pos = wxDefaultPosition,
3007 const wxSize& size = wxDefaultSize,
3008 long style = 0,
3009 const wxString& name = wxPyVListBoxNameStr)
3010 : wxVListBox(parent, id, pos, size, style, name)
3011 {}
3012
3013 // Overridable virtuals
3014
3015 // the derived class must implement this function to actually draw the item
3016 // with the given index on the provided DC
3017 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3018 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3019
3020
3021 // the derived class must implement this method to return the height of the
3022 // specified item
3023 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3024 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3025
3026
3027 // this method may be used to draw separators between the lines; note that
3028 // the rectangle may be modified, typically to deflate it a bit before
3029 // passing to OnDrawItem()
3030 //
3031 // the base class version doesn't do anything
3032 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3033 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3034
3035
3036 // this method is used to draw the items background and, maybe, a border
3037 // around it
3038 //
3039 // the base class version implements a reasonable default behaviour which
3040 // consists in drawing the selected item with the standard background
3041 // colour and drawing a border around the item if it is either selected or
3042 // current
3043 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3044 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3045
3046
3047 PYPRIVATE;
3048 };
3049
3050 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3051
3052 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3053 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3054 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3055 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3056
3057
3058 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3059 unsigned long cookie = 0;
3060 int selected = self->GetFirstSelected(cookie);
3061 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3062 PyObject* tup = PyTuple_New(2);
3063 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3064 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3065 wxPyEndBlockThreads(blocked);
3066 return tup;
3067 }
3068 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3069 int selected = self->GetNextSelected(cookie);
3070 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3071 PyObject* tup = PyTuple_New(2);
3072 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3073 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3074 wxPyEndBlockThreads(blocked);
3075 return tup;
3076 }
3077
3078 #include <wx/htmllbox.h>
3079
3080
3081 class wxPyHtmlListBox : public wxHtmlListBox
3082 {
3083 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3084 public:
3085 wxPyHtmlListBox() : wxHtmlListBox() {}
3086
3087 wxPyHtmlListBox(wxWindow *parent,
3088 wxWindowID id = wxID_ANY,
3089 const wxPoint& pos = wxDefaultPosition,
3090 const wxSize& size = wxDefaultSize,
3091 long style = 0,
3092 const wxString& name = wxPyVListBoxNameStr)
3093 : wxHtmlListBox(parent, id, pos, size, style, name)
3094 {}
3095
3096 // Overridable virtuals
3097
3098 // this method must be implemented in the derived class and should return
3099 // the body (i.e. without <html>) of the HTML for the given item
3100 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3101
3102 // this function may be overridden to decorate HTML returned by OnGetItem()
3103 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3104
3105 // These are from wxVListBox
3106 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3107 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3108
3109 // TODO:
3110 // // this method allows to customize the selection appearance: it may be used
3111 // // to specify the colour of the text which normally has the given colour
3112 // // colFg when it is inside the selection
3113 // //
3114 // // by default, the original colour is not used at all and all text has the
3115 // // same (default for this system) colour inside selection
3116 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3117
3118 // // this is the same as GetSelectedTextColour() but allows to customize the
3119 // // background colour -- this is even more rarely used as you can change it
3120 // // globally using SetSelectionBackground()
3121 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3122
3123
3124 // This method may be overriden to handle clicking on a link in
3125 // the listbox. By default, clicking links is ignored.
3126 virtual void OnLinkClicked(size_t n,
3127 const wxHtmlLinkInfo& link);
3128
3129 PYPRIVATE;
3130 };
3131
3132
3133 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3134
3135 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3136 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3137 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3138 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3139
3140
3141 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3142 const wxHtmlLinkInfo& link) {
3143 bool found;
3144 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3145 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3146 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3147 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3148 Py_DECREF(obj);
3149 }
3150 wxPyEndBlockThreads(blocked);
3151 if (! found)
3152 wxPyHtmlListBox::OnLinkClicked(n, link);
3153 }
3154
3155
3156
3157 const wxArrayString wxPyEmptyStringArray;
3158
3159 static const wxString wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr);
3160
3161
3162
3163 #ifndef wxHAS_TASK_BAR_ICON
3164 // implement dummy classes for platforms that don't have it
3165
3166 class wxTaskBarIcon : public wxEvtHandler
3167 {
3168 public:
3169 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3170 };
3171
3172
3173 class wxTaskBarIconEvent : public wxEvent
3174 {
3175 public:
3176 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3177 { wxPyRaiseNotImplemented(); }
3178 virtual wxEvent* Clone() const { return NULL; }
3179 bool IsOk() const { return false; }
3180 bool IsIconInstalled() const { return false; }
3181 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3182 bool RemoveIcon() { return false; }
3183 bool PopupMenu(wxMenu *menu) { return false; }
3184 };
3185
3186 enum {
3187 wxEVT_TASKBAR_MOVE = 0,
3188 wxEVT_TASKBAR_LEFT_DOWN = 0,
3189 wxEVT_TASKBAR_LEFT_UP = 0,
3190 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3191 wxEVT_TASKBAR_RIGHT_UP = 0,
3192 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3193 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3194 };
3195
3196
3197 #else
3198 // Otherwise make a class that can virtualize CreatePopupMenu
3199 class wxPyTaskBarIcon : public wxTaskBarIcon
3200 {
3201 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3202 public:
3203 wxPyTaskBarIcon() : wxTaskBarIcon()
3204 {}
3205
3206 wxMenu* CreatePopupMenu() {
3207 wxMenu *rval = NULL;
3208 bool found;
3209 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3210 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3211 PyObject* ro;
3212 wxMenu* ptr;
3213 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3214 if (ro) {
3215 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3216 rval = ptr;
3217 Py_DECREF(ro);
3218 }
3219 }
3220 wxPyEndBlockThreads(blocked);
3221 if (! found)
3222 rval = wxTaskBarIcon::CreatePopupMenu();
3223 return rval;
3224 }
3225
3226 PYPRIVATE;
3227 };
3228
3229 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3230
3231 #endif
3232
3233 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3234 self->RemoveIcon();
3235 delete self;
3236 }
3237 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3238 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3239 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3240 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3241 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3242 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3243
3244 // for compatibility only
3245 #define wxHIDE_READONLY 0
3246
3247 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3248 wxArrayString arr;
3249 self->GetFilenames(arr);
3250 return wxArrayString2PyList_helper(arr);
3251 }
3252 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3253 wxArrayString arr;
3254 self->GetPaths(arr);
3255 return wxArrayString2PyList_helper(arr);
3256 }
3257 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3258 return wxArrayInt2PyList_helper(self->GetSelections());
3259 }
3260 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){
3261 return new wxSingleChoiceDialog(parent, message, caption,
3262 choices, choices_array, NULL, style, pos);
3263 }
3264 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3265
3266 SWIGINTERNINLINE PyObject*
3267 SWIG_From_bool (bool value)
3268 {
3269 return PyBool_FromLong(value ? 1 : 0);
3270 }
3271
3272
3273 #include <wx/mdi.h>
3274
3275 // C++ version of Python aware wxWindow
3276 class wxPyWindow : public wxWindow
3277 {
3278 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3279 public:
3280 wxPyWindow() : wxWindow() {}
3281 wxPyWindow(wxWindow* parent, const wxWindowID id,
3282 const wxPoint& pos = wxDefaultPosition,
3283 const wxSize& size = wxDefaultSize,
3284 long style = 0,
3285 const wxString& name = wxPyPanelNameStr)
3286 : wxWindow(parent, id, pos, size, style, name) {}
3287
3288
3289 bool DoEraseBackground(wxDC* dc) {
3290 #ifdef __WXMSW__
3291 return wxWindow::DoEraseBackground(dc->GetHDC());
3292 #else
3293 dc->SetBackground(wxBrush(GetBackgroundColour()));
3294 dc->Clear();
3295 return true;
3296 #endif
3297 }
3298
3299 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3300 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3301 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3302 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3303
3304 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3306 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3307
3308 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3309 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3310
3311 DEC_PYCALLBACK__(InitDialog);
3312 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3313 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3314 DEC_PYCALLBACK_BOOL_(Validate);
3315
3316 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3317 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3318 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3319
3320 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3321 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3322
3323 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3324 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3325
3326 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3327
3328 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3329
3330 PYPRIVATE;
3331 };
3332
3333 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3334
3335 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3336 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3337 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3338 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3339
3340 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3342 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3343
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3345 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3346
3347 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3348 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3350 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3351
3352 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3353 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3354 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3355
3356 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3357 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3358
3359 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3360 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3361
3362 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3363
3364 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3365
3366 // C++ version of Python aware wxPanel
3367 class wxPyPanel : public wxPanel
3368 {
3369 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3370 public:
3371 wxPyPanel() : wxPanel() {}
3372 wxPyPanel(wxWindow* parent, const wxWindowID id,
3373 const wxPoint& pos = wxDefaultPosition,
3374 const wxSize& size = wxDefaultSize,
3375 long style = 0,
3376 const wxString& name = wxPyPanelNameStr)
3377 : wxPanel(parent, id, pos, size, style, name) {}
3378
3379 bool DoEraseBackground(wxDC* dc) {
3380 #ifdef __WXMSW__
3381 return wxWindow::DoEraseBackground(dc->GetHDC());
3382 #else
3383 dc->SetBackground(wxBrush(GetBackgroundColour()));
3384 dc->Clear();
3385 return true;
3386 #endif
3387 }
3388
3389
3390 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3391 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3392 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3393 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3394
3395 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3397 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3398
3399 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3400 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3401
3402 DEC_PYCALLBACK__(InitDialog);
3403 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3404 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3405 DEC_PYCALLBACK_BOOL_(Validate);
3406
3407 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3408 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3409 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3410
3411 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3412 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3413
3414 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3415 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3416
3417 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3418
3419 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3420
3421 PYPRIVATE;
3422 };
3423
3424 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3425
3426 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3427 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3428 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3429 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3430
3431 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3432 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3433 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3434
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3436 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3437
3438 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3439 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3440 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3441 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3442
3443 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3444 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3445 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3446
3447 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3448 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3449
3450 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3451 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3452
3453 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3454
3455 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3456
3457 // C++ version of Python aware wxScrolledWindow
3458 class wxPyScrolledWindow : public wxScrolledWindow
3459 {
3460 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3461 public:
3462 wxPyScrolledWindow() : wxScrolledWindow() {}
3463 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3464 const wxPoint& pos = wxDefaultPosition,
3465 const wxSize& size = wxDefaultSize,
3466 long style = 0,
3467 const wxString& name = wxPyPanelNameStr)
3468 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3469
3470 bool DoEraseBackground(wxDC* dc) {
3471 #ifdef __WXMSW__
3472 return wxWindow::DoEraseBackground(dc->GetHDC());
3473 #else
3474 dc->SetBackground(wxBrush(GetBackgroundColour()));
3475 dc->Clear();
3476 return true;
3477 #endif
3478 }
3479
3480 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3481 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3482 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3483 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3484
3485 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3487 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3488
3489 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3490 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3491
3492 DEC_PYCALLBACK__(InitDialog);
3493 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3494 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3495 DEC_PYCALLBACK_BOOL_(Validate);
3496
3497 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3498 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3499 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3500
3501 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3502 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3503
3504 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3505 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3506
3507 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3508
3509 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3510
3511 PYPRIVATE;
3512 };
3513
3514 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3515
3516 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3517 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3518 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3519 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3520
3521 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3522 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3523 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3524
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3527
3528 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3529 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3530 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3531 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3532
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3534 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3535 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3536
3537 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3538 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3539
3540 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3541 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3542
3543 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3544
3545 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3546
3547
3548 #include "wx/wxPython/printfw.h"
3549
3550
3551 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3552 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3553 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3554 PyObject* data;
3555 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3556 data = PyString_FromStringAndSize(self->GetPrivData(),
3557 self->GetPrivDataLen());
3558 wxPyEndBlockThreads(blocked);
3559 return data;
3560 }
3561 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3562 if (! PyString_Check(data)) {
3563 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3564 "Expected string object"));
3565 return /* NULL */ ;
3566 }
3567
3568 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3569 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3570 wxPyEndBlockThreads(blocked);
3571 }
3572
3573
3574 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3575
3576 // Since this one would be tough and ugly to do with the Macros...
3577 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3578 bool hadErr = false;
3579 bool found;
3580
3581 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3582 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3583 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3584 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3585 PyObject* val;
3586
3587 val = PyTuple_GetItem(result, 0);
3588 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3589 else hadErr = true;
3590
3591 val = PyTuple_GetItem(result, 1);
3592 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3593 else hadErr = true;
3594
3595 val = PyTuple_GetItem(result, 2);
3596 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3597 else hadErr = true;
3598
3599 val = PyTuple_GetItem(result, 3);
3600 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3601 else hadErr = true;
3602 }
3603 else
3604 hadErr = true;
3605
3606 if (hadErr) {
3607 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3608 PyErr_Print();
3609 }
3610 Py_DECREF(result);
3611 }
3612 wxPyEndBlockThreads(blocked);
3613 if (! found)
3614 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3615 }
3616
3617
3618
3619 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3620 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3621 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3622 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3623 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3624 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3625 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3626
3627
3628
3629
3630
3631 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3632 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3633
3634
3635 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3636 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3637 bool rval=false; \
3638 bool found; \
3639 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3640 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3641 PyObject* win = wxPyMake_wxObject(a,false); \
3642 PyObject* dc = wxPyMake_wxObject(&b,false); \
3643 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3644 Py_DECREF(win); \
3645 Py_DECREF(dc); \
3646 } \
3647 wxPyEndBlockThreads(blocked); \
3648 if (! found) \
3649 rval = PCLASS::CBNAME(a, b); \
3650 return rval; \
3651 }
3652
3653
3654
3655
3656 class wxPyPrintPreview : public wxPrintPreview
3657 {
3658 DECLARE_CLASS(wxPyPrintPreview)
3659 public:
3660 wxPyPrintPreview(wxPyPrintout* printout,
3661 wxPyPrintout* printoutForPrinting,
3662 wxPrintDialogData* data=NULL)
3663 : wxPrintPreview(printout, printoutForPrinting, data)
3664 {}
3665 wxPyPrintPreview(wxPyPrintout* printout,
3666 wxPyPrintout* printoutForPrinting,
3667 wxPrintData* data)
3668 : wxPrintPreview(printout, printoutForPrinting, data)
3669 {}
3670
3671 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3672 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3673 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3674 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3675 DEC_PYCALLBACK_VOID_INT(SetZoom);
3676 DEC_PYCALLBACK_BOOL_BOOL(Print);
3677 DEC_PYCALLBACK_VOID_(DetermineScaling);
3678
3679 PYPRIVATE;
3680 };
3681
3682 // Stupid renamed classes... Fix this in 2.5...
3683 #if defined(__WXMSW__)
3684 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3685 #elif defined(__WXMAC__)
3686 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3687 #else
3688 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3689 #endif
3690
3691 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3692 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3693 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3694 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3695 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3696 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3697 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3698
3699
3700 class wxPyPreviewFrame : public wxPreviewFrame
3701 {
3702 DECLARE_CLASS(wxPyPreviewFrame)
3703 public:
3704 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3705 const wxString& title,
3706 const wxPoint& pos = wxDefaultPosition,
3707 const wxSize& size = wxDefaultSize,
3708 long style = wxDEFAULT_FRAME_STYLE,
3709 const wxString& name = wxPyFrameNameStr)
3710 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3711 {}
3712
3713 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3714 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3715
3716 DEC_PYCALLBACK_VOID_(Initialize);
3717 DEC_PYCALLBACK_VOID_(CreateCanvas);
3718 DEC_PYCALLBACK_VOID_(CreateControlBar);
3719
3720 PYPRIVATE;
3721 };
3722
3723 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3724
3725 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3726 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3727 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3728
3729
3730 class wxPyPreviewControlBar : public wxPreviewControlBar
3731 {
3732 DECLARE_CLASS(wxPyPreviewControlBar)
3733 public:
3734 wxPyPreviewControlBar(wxPrintPreview *preview,
3735 long buttons,
3736 wxWindow *parent,
3737 const wxPoint& pos = wxDefaultPosition,
3738 const wxSize& size = wxDefaultSize,
3739 long style = 0,
3740 const wxString& name = wxPyPanelNameStr)
3741 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3742 {}
3743
3744 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3745
3746 DEC_PYCALLBACK_VOID_(CreateButtons);
3747 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3748
3749 PYPRIVATE;
3750 };
3751
3752 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3753 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3754 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3755
3756 #ifdef __cplusplus
3757 extern "C" {
3758 #endif
3759 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj = 0;
3761 wxWindow *arg1 = (wxWindow *) 0 ;
3762 int arg2 = (int) (int)-1 ;
3763 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3764 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3765 wxSize const &arg4_defvalue = wxDefaultSize ;
3766 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3767 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3768 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3769 wxString *arg6 = (wxString *) &arg6_defvalue ;
3770 wxPanel *result = 0 ;
3771 void *argp1 = 0 ;
3772 int res1 = 0 ;
3773 int val2 ;
3774 int ecode2 = 0 ;
3775 wxPoint temp3 ;
3776 wxSize temp4 ;
3777 long val5 ;
3778 int ecode5 = 0 ;
3779 bool temp6 = false ;
3780 PyObject * obj0 = 0 ;
3781 PyObject * obj1 = 0 ;
3782 PyObject * obj2 = 0 ;
3783 PyObject * obj3 = 0 ;
3784 PyObject * obj4 = 0 ;
3785 PyObject * obj5 = 0 ;
3786 char * kwnames[] = {
3787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3788 };
3789
3790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3792 if (!SWIG_IsOK(res1)) {
3793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3794 }
3795 arg1 = reinterpret_cast< wxWindow * >(argp1);
3796 if (obj1) {
3797 ecode2 = SWIG_AsVal_int(obj1, &val2);
3798 if (!SWIG_IsOK(ecode2)) {
3799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3800 }
3801 arg2 = static_cast< int >(val2);
3802 }
3803 if (obj2) {
3804 {
3805 arg3 = &temp3;
3806 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3807 }
3808 }
3809 if (obj3) {
3810 {
3811 arg4 = &temp4;
3812 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3813 }
3814 }
3815 if (obj4) {
3816 ecode5 = SWIG_AsVal_long(obj4, &val5);
3817 if (!SWIG_IsOK(ecode5)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3819 }
3820 arg5 = static_cast< long >(val5);
3821 }
3822 if (obj5) {
3823 {
3824 arg6 = wxString_in_helper(obj5);
3825 if (arg6 == NULL) SWIG_fail;
3826 temp6 = true;
3827 }
3828 }
3829 {
3830 if (!wxPyCheckForApp()) SWIG_fail;
3831 PyThreadState* __tstate = wxPyBeginAllowThreads();
3832 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3833 wxPyEndAllowThreads(__tstate);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
3836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3837 {
3838 if (temp6)
3839 delete arg6;
3840 }
3841 return resultobj;
3842 fail:
3843 {
3844 if (temp6)
3845 delete arg6;
3846 }
3847 return NULL;
3848 }
3849
3850
3851 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3852 PyObject *resultobj = 0;
3853 wxPanel *result = 0 ;
3854
3855 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3856 {
3857 if (!wxPyCheckForApp()) SWIG_fail;
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (wxPanel *)new wxPanel();
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3864 return resultobj;
3865 fail:
3866 return NULL;
3867 }
3868
3869
3870 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3871 PyObject *resultobj = 0;
3872 wxPanel *arg1 = (wxPanel *) 0 ;
3873 wxWindow *arg2 = (wxWindow *) 0 ;
3874 int arg3 = (int) (int)-1 ;
3875 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3876 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3877 wxSize const &arg5_defvalue = wxDefaultSize ;
3878 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3879 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3880 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3881 wxString *arg7 = (wxString *) &arg7_defvalue ;
3882 bool result;
3883 void *argp1 = 0 ;
3884 int res1 = 0 ;
3885 void *argp2 = 0 ;
3886 int res2 = 0 ;
3887 int val3 ;
3888 int ecode3 = 0 ;
3889 wxPoint temp4 ;
3890 wxSize temp5 ;
3891 long val6 ;
3892 int ecode6 = 0 ;
3893 bool temp7 = false ;
3894 PyObject * obj0 = 0 ;
3895 PyObject * obj1 = 0 ;
3896 PyObject * obj2 = 0 ;
3897 PyObject * obj3 = 0 ;
3898 PyObject * obj4 = 0 ;
3899 PyObject * obj5 = 0 ;
3900 PyObject * obj6 = 0 ;
3901 char * kwnames[] = {
3902 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3903 };
3904
3905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3907 if (!SWIG_IsOK(res1)) {
3908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3909 }
3910 arg1 = reinterpret_cast< wxPanel * >(argp1);
3911 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3912 if (!SWIG_IsOK(res2)) {
3913 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3914 }
3915 arg2 = reinterpret_cast< wxWindow * >(argp2);
3916 if (obj2) {
3917 ecode3 = SWIG_AsVal_int(obj2, &val3);
3918 if (!SWIG_IsOK(ecode3)) {
3919 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3920 }
3921 arg3 = static_cast< int >(val3);
3922 }
3923 if (obj3) {
3924 {
3925 arg4 = &temp4;
3926 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3927 }
3928 }
3929 if (obj4) {
3930 {
3931 arg5 = &temp5;
3932 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3933 }
3934 }
3935 if (obj5) {
3936 ecode6 = SWIG_AsVal_long(obj5, &val6);
3937 if (!SWIG_IsOK(ecode6)) {
3938 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3939 }
3940 arg6 = static_cast< long >(val6);
3941 }
3942 if (obj6) {
3943 {
3944 arg7 = wxString_in_helper(obj6);
3945 if (arg7 == NULL) SWIG_fail;
3946 temp7 = true;
3947 }
3948 }
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3952 wxPyEndAllowThreads(__tstate);
3953 if (PyErr_Occurred()) SWIG_fail;
3954 }
3955 {
3956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3957 }
3958 {
3959 if (temp7)
3960 delete arg7;
3961 }
3962 return resultobj;
3963 fail:
3964 {
3965 if (temp7)
3966 delete arg7;
3967 }
3968 return NULL;
3969 }
3970
3971
3972 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3973 PyObject *resultobj = 0;
3974 wxPanel *arg1 = (wxPanel *) 0 ;
3975 void *argp1 = 0 ;
3976 int res1 = 0 ;
3977 PyObject *swig_obj[1] ;
3978
3979 if (!args) SWIG_fail;
3980 swig_obj[0] = args;
3981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3982 if (!SWIG_IsOK(res1)) {
3983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3984 }
3985 arg1 = reinterpret_cast< wxPanel * >(argp1);
3986 {
3987 PyThreadState* __tstate = wxPyBeginAllowThreads();
3988 (arg1)->SetFocusIgnoringChildren();
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 resultobj = SWIG_Py_Void();
3993 return resultobj;
3994 fail:
3995 return NULL;
3996 }
3997
3998
3999 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4000 PyObject *resultobj = 0;
4001 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4002 SwigValueWrapper<wxVisualAttributes > result;
4003 int val1 ;
4004 int ecode1 = 0 ;
4005 PyObject * obj0 = 0 ;
4006 char * kwnames[] = {
4007 (char *) "variant", NULL
4008 };
4009
4010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4011 if (obj0) {
4012 ecode1 = SWIG_AsVal_int(obj0, &val1);
4013 if (!SWIG_IsOK(ecode1)) {
4014 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4015 }
4016 arg1 = static_cast< wxWindowVariant >(val1);
4017 }
4018 {
4019 if (!wxPyCheckForApp()) SWIG_fail;
4020 PyThreadState* __tstate = wxPyBeginAllowThreads();
4021 result = wxPanel::GetClassDefaultAttributes(arg1);
4022 wxPyEndAllowThreads(__tstate);
4023 if (PyErr_Occurred()) SWIG_fail;
4024 }
4025 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4026 return resultobj;
4027 fail:
4028 return NULL;
4029 }
4030
4031
4032 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4033 PyObject *obj;
4034 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4035 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4036 return SWIG_Py_Void();
4037 }
4038
4039 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4040 return SWIG_Python_InitShadowInstance(args);
4041 }
4042
4043 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4044 PyObject *resultobj = 0;
4045 wxWindow *arg1 = (wxWindow *) 0 ;
4046 int arg2 = (int) (int)-1 ;
4047 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4048 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4049 wxSize const &arg4_defvalue = wxDefaultSize ;
4050 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4051 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4052 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4053 wxString *arg6 = (wxString *) &arg6_defvalue ;
4054 wxScrolledWindow *result = 0 ;
4055 void *argp1 = 0 ;
4056 int res1 = 0 ;
4057 int val2 ;
4058 int ecode2 = 0 ;
4059 wxPoint temp3 ;
4060 wxSize temp4 ;
4061 long val5 ;
4062 int ecode5 = 0 ;
4063 bool temp6 = false ;
4064 PyObject * obj0 = 0 ;
4065 PyObject * obj1 = 0 ;
4066 PyObject * obj2 = 0 ;
4067 PyObject * obj3 = 0 ;
4068 PyObject * obj4 = 0 ;
4069 PyObject * obj5 = 0 ;
4070 char * kwnames[] = {
4071 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4072 };
4073
4074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4076 if (!SWIG_IsOK(res1)) {
4077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4078 }
4079 arg1 = reinterpret_cast< wxWindow * >(argp1);
4080 if (obj1) {
4081 ecode2 = SWIG_AsVal_int(obj1, &val2);
4082 if (!SWIG_IsOK(ecode2)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4084 }
4085 arg2 = static_cast< int >(val2);
4086 }
4087 if (obj2) {
4088 {
4089 arg3 = &temp3;
4090 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4091 }
4092 }
4093 if (obj3) {
4094 {
4095 arg4 = &temp4;
4096 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4097 }
4098 }
4099 if (obj4) {
4100 ecode5 = SWIG_AsVal_long(obj4, &val5);
4101 if (!SWIG_IsOK(ecode5)) {
4102 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4103 }
4104 arg5 = static_cast< long >(val5);
4105 }
4106 if (obj5) {
4107 {
4108 arg6 = wxString_in_helper(obj5);
4109 if (arg6 == NULL) SWIG_fail;
4110 temp6 = true;
4111 }
4112 }
4113 {
4114 if (!wxPyCheckForApp()) SWIG_fail;
4115 PyThreadState* __tstate = wxPyBeginAllowThreads();
4116 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4117 wxPyEndAllowThreads(__tstate);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4121 {
4122 if (temp6)
4123 delete arg6;
4124 }
4125 return resultobj;
4126 fail:
4127 {
4128 if (temp6)
4129 delete arg6;
4130 }
4131 return NULL;
4132 }
4133
4134
4135 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4136 PyObject *resultobj = 0;
4137 wxScrolledWindow *result = 0 ;
4138
4139 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4140 {
4141 if (!wxPyCheckForApp()) SWIG_fail;
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 result = (wxScrolledWindow *)new wxScrolledWindow();
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4148 return resultobj;
4149 fail:
4150 return NULL;
4151 }
4152
4153
4154 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4155 PyObject *resultobj = 0;
4156 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4157 wxWindow *arg2 = (wxWindow *) 0 ;
4158 int arg3 = (int) (int)-1 ;
4159 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4160 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4161 wxSize const &arg5_defvalue = wxDefaultSize ;
4162 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4163 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4164 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4165 wxString *arg7 = (wxString *) &arg7_defvalue ;
4166 bool result;
4167 void *argp1 = 0 ;
4168 int res1 = 0 ;
4169 void *argp2 = 0 ;
4170 int res2 = 0 ;
4171 int val3 ;
4172 int ecode3 = 0 ;
4173 wxPoint temp4 ;
4174 wxSize temp5 ;
4175 long val6 ;
4176 int ecode6 = 0 ;
4177 bool temp7 = false ;
4178 PyObject * obj0 = 0 ;
4179 PyObject * obj1 = 0 ;
4180 PyObject * obj2 = 0 ;
4181 PyObject * obj3 = 0 ;
4182 PyObject * obj4 = 0 ;
4183 PyObject * obj5 = 0 ;
4184 PyObject * obj6 = 0 ;
4185 char * kwnames[] = {
4186 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4187 };
4188
4189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4191 if (!SWIG_IsOK(res1)) {
4192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4193 }
4194 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4195 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4196 if (!SWIG_IsOK(res2)) {
4197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4198 }
4199 arg2 = reinterpret_cast< wxWindow * >(argp2);
4200 if (obj2) {
4201 ecode3 = SWIG_AsVal_int(obj2, &val3);
4202 if (!SWIG_IsOK(ecode3)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4204 }
4205 arg3 = static_cast< int >(val3);
4206 }
4207 if (obj3) {
4208 {
4209 arg4 = &temp4;
4210 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4211 }
4212 }
4213 if (obj4) {
4214 {
4215 arg5 = &temp5;
4216 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4217 }
4218 }
4219 if (obj5) {
4220 ecode6 = SWIG_AsVal_long(obj5, &val6);
4221 if (!SWIG_IsOK(ecode6)) {
4222 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4223 }
4224 arg6 = static_cast< long >(val6);
4225 }
4226 if (obj6) {
4227 {
4228 arg7 = wxString_in_helper(obj6);
4229 if (arg7 == NULL) SWIG_fail;
4230 temp7 = true;
4231 }
4232 }
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 }
4239 {
4240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4241 }
4242 {
4243 if (temp7)
4244 delete arg7;
4245 }
4246 return resultobj;
4247 fail:
4248 {
4249 if (temp7)
4250 delete arg7;
4251 }
4252 return NULL;
4253 }
4254
4255
4256 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4257 PyObject *resultobj = 0;
4258 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4259 int arg2 ;
4260 int arg3 ;
4261 int arg4 ;
4262 int arg5 ;
4263 int arg6 = (int) 0 ;
4264 int arg7 = (int) 0 ;
4265 bool arg8 = (bool) false ;
4266 void *argp1 = 0 ;
4267 int res1 = 0 ;
4268 int val2 ;
4269 int ecode2 = 0 ;
4270 int val3 ;
4271 int ecode3 = 0 ;
4272 int val4 ;
4273 int ecode4 = 0 ;
4274 int val5 ;
4275 int ecode5 = 0 ;
4276 int val6 ;
4277 int ecode6 = 0 ;
4278 int val7 ;
4279 int ecode7 = 0 ;
4280 bool val8 ;
4281 int ecode8 = 0 ;
4282 PyObject * obj0 = 0 ;
4283 PyObject * obj1 = 0 ;
4284 PyObject * obj2 = 0 ;
4285 PyObject * obj3 = 0 ;
4286 PyObject * obj4 = 0 ;
4287 PyObject * obj5 = 0 ;
4288 PyObject * obj6 = 0 ;
4289 PyObject * obj7 = 0 ;
4290 char * kwnames[] = {
4291 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4292 };
4293
4294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4296 if (!SWIG_IsOK(res1)) {
4297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4298 }
4299 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4300 ecode2 = SWIG_AsVal_int(obj1, &val2);
4301 if (!SWIG_IsOK(ecode2)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4303 }
4304 arg2 = static_cast< int >(val2);
4305 ecode3 = SWIG_AsVal_int(obj2, &val3);
4306 if (!SWIG_IsOK(ecode3)) {
4307 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4308 }
4309 arg3 = static_cast< int >(val3);
4310 ecode4 = SWIG_AsVal_int(obj3, &val4);
4311 if (!SWIG_IsOK(ecode4)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4313 }
4314 arg4 = static_cast< int >(val4);
4315 ecode5 = SWIG_AsVal_int(obj4, &val5);
4316 if (!SWIG_IsOK(ecode5)) {
4317 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4318 }
4319 arg5 = static_cast< int >(val5);
4320 if (obj5) {
4321 ecode6 = SWIG_AsVal_int(obj5, &val6);
4322 if (!SWIG_IsOK(ecode6)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4324 }
4325 arg6 = static_cast< int >(val6);
4326 }
4327 if (obj6) {
4328 ecode7 = SWIG_AsVal_int(obj6, &val7);
4329 if (!SWIG_IsOK(ecode7)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4331 }
4332 arg7 = static_cast< int >(val7);
4333 }
4334 if (obj7) {
4335 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4336 if (!SWIG_IsOK(ecode8)) {
4337 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4338 }
4339 arg8 = static_cast< bool >(val8);
4340 }
4341 {
4342 PyThreadState* __tstate = wxPyBeginAllowThreads();
4343 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4344 wxPyEndAllowThreads(__tstate);
4345 if (PyErr_Occurred()) SWIG_fail;
4346 }
4347 resultobj = SWIG_Py_Void();
4348 return resultobj;
4349 fail:
4350 return NULL;
4351 }
4352
4353
4354 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4355 PyObject *resultobj = 0;
4356 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4357 int arg2 ;
4358 int arg3 ;
4359 void *argp1 = 0 ;
4360 int res1 = 0 ;
4361 int val2 ;
4362 int ecode2 = 0 ;
4363 int val3 ;
4364 int ecode3 = 0 ;
4365 PyObject * obj0 = 0 ;
4366 PyObject * obj1 = 0 ;
4367 PyObject * obj2 = 0 ;
4368 char * kwnames[] = {
4369 (char *) "self",(char *) "x",(char *) "y", NULL
4370 };
4371
4372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4374 if (!SWIG_IsOK(res1)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4376 }
4377 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4378 ecode2 = SWIG_AsVal_int(obj1, &val2);
4379 if (!SWIG_IsOK(ecode2)) {
4380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4381 }
4382 arg2 = static_cast< int >(val2);
4383 ecode3 = SWIG_AsVal_int(obj2, &val3);
4384 if (!SWIG_IsOK(ecode3)) {
4385 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4386 }
4387 arg3 = static_cast< int >(val3);
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 (arg1)->Scroll(arg2,arg3);
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 resultobj = SWIG_Py_Void();
4395 return resultobj;
4396 fail:
4397 return NULL;
4398 }
4399
4400
4401 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj = 0;
4403 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4404 int arg2 ;
4405 int result;
4406 void *argp1 = 0 ;
4407 int res1 = 0 ;
4408 int val2 ;
4409 int ecode2 = 0 ;
4410 PyObject * obj0 = 0 ;
4411 PyObject * obj1 = 0 ;
4412 char * kwnames[] = {
4413 (char *) "self",(char *) "orient", NULL
4414 };
4415
4416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4418 if (!SWIG_IsOK(res1)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4420 }
4421 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4422 ecode2 = SWIG_AsVal_int(obj1, &val2);
4423 if (!SWIG_IsOK(ecode2)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4425 }
4426 arg2 = static_cast< int >(val2);
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 resultobj = SWIG_From_int(static_cast< int >(result));
4434 return resultobj;
4435 fail:
4436 return NULL;
4437 }
4438
4439
4440 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4441 PyObject *resultobj = 0;
4442 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4443 int arg2 ;
4444 int arg3 ;
4445 void *argp1 = 0 ;
4446 int res1 = 0 ;
4447 int val2 ;
4448 int ecode2 = 0 ;
4449 int val3 ;
4450 int ecode3 = 0 ;
4451 PyObject * obj0 = 0 ;
4452 PyObject * obj1 = 0 ;
4453 PyObject * obj2 = 0 ;
4454 char * kwnames[] = {
4455 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4456 };
4457
4458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4460 if (!SWIG_IsOK(res1)) {
4461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4462 }
4463 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4464 ecode2 = SWIG_AsVal_int(obj1, &val2);
4465 if (!SWIG_IsOK(ecode2)) {
4466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4467 }
4468 arg2 = static_cast< int >(val2);
4469 ecode3 = SWIG_AsVal_int(obj2, &val3);
4470 if (!SWIG_IsOK(ecode3)) {
4471 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4472 }
4473 arg3 = static_cast< int >(val3);
4474 {
4475 PyThreadState* __tstate = wxPyBeginAllowThreads();
4476 (arg1)->SetScrollPageSize(arg2,arg3);
4477 wxPyEndAllowThreads(__tstate);
4478 if (PyErr_Occurred()) SWIG_fail;
4479 }
4480 resultobj = SWIG_Py_Void();
4481 return resultobj;
4482 fail:
4483 return NULL;
4484 }
4485
4486
4487 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4488 PyObject *resultobj = 0;
4489 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4490 int arg2 ;
4491 int arg3 ;
4492 void *argp1 = 0 ;
4493 int res1 = 0 ;
4494 int val2 ;
4495 int ecode2 = 0 ;
4496 int val3 ;
4497 int ecode3 = 0 ;
4498 PyObject * obj0 = 0 ;
4499 PyObject * obj1 = 0 ;
4500 PyObject * obj2 = 0 ;
4501 char * kwnames[] = {
4502 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4503 };
4504
4505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4507 if (!SWIG_IsOK(res1)) {
4508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4509 }
4510 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4511 ecode2 = SWIG_AsVal_int(obj1, &val2);
4512 if (!SWIG_IsOK(ecode2)) {
4513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4514 }
4515 arg2 = static_cast< int >(val2);
4516 ecode3 = SWIG_AsVal_int(obj2, &val3);
4517 if (!SWIG_IsOK(ecode3)) {
4518 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4519 }
4520 arg3 = static_cast< int >(val3);
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 (arg1)->SetScrollRate(arg2,arg3);
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 resultobj = SWIG_Py_Void();
4528 return resultobj;
4529 fail:
4530 return NULL;
4531 }
4532
4533
4534 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4535 PyObject *resultobj = 0;
4536 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4537 int *arg2 = (int *) 0 ;
4538 int *arg3 = (int *) 0 ;
4539 void *argp1 = 0 ;
4540 int res1 = 0 ;
4541 int temp2 ;
4542 int res2 = SWIG_TMPOBJ ;
4543 int temp3 ;
4544 int res3 = SWIG_TMPOBJ ;
4545 PyObject *swig_obj[1] ;
4546
4547 arg2 = &temp2;
4548 arg3 = &temp3;
4549 if (!args) SWIG_fail;
4550 swig_obj[0] = args;
4551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4552 if (!SWIG_IsOK(res1)) {
4553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4554 }
4555 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4556 {
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 resultobj = SWIG_Py_Void();
4563 if (SWIG_IsTmpObj(res2)) {
4564 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4565 } else {
4566 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4567 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4568 }
4569 if (SWIG_IsTmpObj(res3)) {
4570 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4571 } else {
4572 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4573 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4574 }
4575 return resultobj;
4576 fail:
4577 return NULL;
4578 }
4579
4580
4581 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4582 PyObject *resultobj = 0;
4583 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4584 bool arg2 ;
4585 bool arg3 ;
4586 void *argp1 = 0 ;
4587 int res1 = 0 ;
4588 bool val2 ;
4589 int ecode2 = 0 ;
4590 bool val3 ;
4591 int ecode3 = 0 ;
4592 PyObject * obj0 = 0 ;
4593 PyObject * obj1 = 0 ;
4594 PyObject * obj2 = 0 ;
4595 char * kwnames[] = {
4596 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4597 };
4598
4599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4601 if (!SWIG_IsOK(res1)) {
4602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4603 }
4604 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4605 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4606 if (!SWIG_IsOK(ecode2)) {
4607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4608 }
4609 arg2 = static_cast< bool >(val2);
4610 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4611 if (!SWIG_IsOK(ecode3)) {
4612 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4613 }
4614 arg3 = static_cast< bool >(val3);
4615 {
4616 PyThreadState* __tstate = wxPyBeginAllowThreads();
4617 (arg1)->EnableScrolling(arg2,arg3);
4618 wxPyEndAllowThreads(__tstate);
4619 if (PyErr_Occurred()) SWIG_fail;
4620 }
4621 resultobj = SWIG_Py_Void();
4622 return resultobj;
4623 fail:
4624 return NULL;
4625 }
4626
4627
4628 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4629 PyObject *resultobj = 0;
4630 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4631 int *arg2 = (int *) 0 ;
4632 int *arg3 = (int *) 0 ;
4633 void *argp1 = 0 ;
4634 int res1 = 0 ;
4635 int temp2 ;
4636 int res2 = SWIG_TMPOBJ ;
4637 int temp3 ;
4638 int res3 = SWIG_TMPOBJ ;
4639 PyObject *swig_obj[1] ;
4640
4641 arg2 = &temp2;
4642 arg3 = &temp3;
4643 if (!args) SWIG_fail;
4644 swig_obj[0] = args;
4645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4646 if (!SWIG_IsOK(res1)) {
4647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4648 }
4649 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4653 wxPyEndAllowThreads(__tstate);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
4656 resultobj = SWIG_Py_Void();
4657 if (SWIG_IsTmpObj(res2)) {
4658 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4659 } else {
4660 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4661 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4662 }
4663 if (SWIG_IsTmpObj(res3)) {
4664 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4665 } else {
4666 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4667 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4668 }
4669 return resultobj;
4670 fail:
4671 return NULL;
4672 }
4673
4674
4675 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4676 PyObject *resultobj = 0;
4677 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4678 double arg2 ;
4679 double arg3 ;
4680 void *argp1 = 0 ;
4681 int res1 = 0 ;
4682 double val2 ;
4683 int ecode2 = 0 ;
4684 double val3 ;
4685 int ecode3 = 0 ;
4686 PyObject * obj0 = 0 ;
4687 PyObject * obj1 = 0 ;
4688 PyObject * obj2 = 0 ;
4689 char * kwnames[] = {
4690 (char *) "self",(char *) "xs",(char *) "ys", NULL
4691 };
4692
4693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4695 if (!SWIG_IsOK(res1)) {
4696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4697 }
4698 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4699 ecode2 = SWIG_AsVal_double(obj1, &val2);
4700 if (!SWIG_IsOK(ecode2)) {
4701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4702 }
4703 arg2 = static_cast< double >(val2);
4704 ecode3 = SWIG_AsVal_double(obj2, &val3);
4705 if (!SWIG_IsOK(ecode3)) {
4706 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4707 }
4708 arg3 = static_cast< double >(val3);
4709 {
4710 PyThreadState* __tstate = wxPyBeginAllowThreads();
4711 (arg1)->SetScale(arg2,arg3);
4712 wxPyEndAllowThreads(__tstate);
4713 if (PyErr_Occurred()) SWIG_fail;
4714 }
4715 resultobj = SWIG_Py_Void();
4716 return resultobj;
4717 fail:
4718 return NULL;
4719 }
4720
4721
4722 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4723 PyObject *resultobj = 0;
4724 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4725 double result;
4726 void *argp1 = 0 ;
4727 int res1 = 0 ;
4728 PyObject *swig_obj[1] ;
4729
4730 if (!args) SWIG_fail;
4731 swig_obj[0] = args;
4732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4733 if (!SWIG_IsOK(res1)) {
4734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4735 }
4736 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 resultobj = SWIG_From_double(static_cast< double >(result));
4744 return resultobj;
4745 fail:
4746 return NULL;
4747 }
4748
4749
4750 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4751 PyObject *resultobj = 0;
4752 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4753 double result;
4754 void *argp1 = 0 ;
4755 int res1 = 0 ;
4756 PyObject *swig_obj[1] ;
4757
4758 if (!args) SWIG_fail;
4759 swig_obj[0] = args;
4760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4761 if (!SWIG_IsOK(res1)) {
4762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4763 }
4764 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4765 {
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 resultobj = SWIG_From_double(static_cast< double >(result));
4772 return resultobj;
4773 fail:
4774 return NULL;
4775 }
4776
4777
4778 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4779 PyObject *resultobj = 0;
4780 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4781 wxPoint *arg2 = 0 ;
4782 wxPoint result;
4783 void *argp1 = 0 ;
4784 int res1 = 0 ;
4785 wxPoint temp2 ;
4786
4787 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4789 if (!SWIG_IsOK(res1)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4791 }
4792 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4793 {
4794 arg2 = &temp2;
4795 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4796 }
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4800 wxPyEndAllowThreads(__tstate);
4801 if (PyErr_Occurred()) SWIG_fail;
4802 }
4803 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4804 return resultobj;
4805 fail:
4806 return NULL;
4807 }
4808
4809
4810 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4811 PyObject *resultobj = 0;
4812 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4813 int arg2 ;
4814 int arg3 ;
4815 int *arg4 = (int *) 0 ;
4816 int *arg5 = (int *) 0 ;
4817 void *argp1 = 0 ;
4818 int res1 = 0 ;
4819 int val2 ;
4820 int ecode2 = 0 ;
4821 int val3 ;
4822 int ecode3 = 0 ;
4823 int temp4 ;
4824 int res4 = SWIG_TMPOBJ ;
4825 int temp5 ;
4826 int res5 = SWIG_TMPOBJ ;
4827
4828 arg4 = &temp4;
4829 arg5 = &temp5;
4830 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4832 if (!SWIG_IsOK(res1)) {
4833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4834 }
4835 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4836 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4837 if (!SWIG_IsOK(ecode2)) {
4838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4839 }
4840 arg2 = static_cast< int >(val2);
4841 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4842 if (!SWIG_IsOK(ecode3)) {
4843 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4844 }
4845 arg3 = static_cast< int >(val3);
4846 {
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 resultobj = SWIG_Py_Void();
4853 if (SWIG_IsTmpObj(res4)) {
4854 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4855 } else {
4856 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4857 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4858 }
4859 if (SWIG_IsTmpObj(res5)) {
4860 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4861 } else {
4862 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4863 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4864 }
4865 return resultobj;
4866 fail:
4867 return NULL;
4868 }
4869
4870
4871 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4872 int argc;
4873 PyObject *argv[4];
4874
4875 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4876 --argc;
4877 if (argc == 2) {
4878 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4879 }
4880 if (argc == 3) {
4881 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4882 }
4883
4884 fail:
4885 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4886 return NULL;
4887 }
4888
4889
4890 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4891 PyObject *resultobj = 0;
4892 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4893 wxPoint *arg2 = 0 ;
4894 wxPoint result;
4895 void *argp1 = 0 ;
4896 int res1 = 0 ;
4897 wxPoint temp2 ;
4898
4899 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4901 if (!SWIG_IsOK(res1)) {
4902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4903 }
4904 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4905 {
4906 arg2 = &temp2;
4907 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4908 }
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
4915 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4916 return resultobj;
4917 fail:
4918 return NULL;
4919 }
4920
4921
4922 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4923 PyObject *resultobj = 0;
4924 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4925 int arg2 ;
4926 int arg3 ;
4927 int *arg4 = (int *) 0 ;
4928 int *arg5 = (int *) 0 ;
4929 void *argp1 = 0 ;
4930 int res1 = 0 ;
4931 int val2 ;
4932 int ecode2 = 0 ;
4933 int val3 ;
4934 int ecode3 = 0 ;
4935 int temp4 ;
4936 int res4 = SWIG_TMPOBJ ;
4937 int temp5 ;
4938 int res5 = SWIG_TMPOBJ ;
4939
4940 arg4 = &temp4;
4941 arg5 = &temp5;
4942 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4944 if (!SWIG_IsOK(res1)) {
4945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4946 }
4947 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4948 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4949 if (!SWIG_IsOK(ecode2)) {
4950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4951 }
4952 arg2 = static_cast< int >(val2);
4953 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4954 if (!SWIG_IsOK(ecode3)) {
4955 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4956 }
4957 arg3 = static_cast< int >(val3);
4958 {
4959 PyThreadState* __tstate = wxPyBeginAllowThreads();
4960 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 resultobj = SWIG_Py_Void();
4965 if (SWIG_IsTmpObj(res4)) {
4966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4967 } else {
4968 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4969 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4970 }
4971 if (SWIG_IsTmpObj(res5)) {
4972 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4973 } else {
4974 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4975 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4976 }
4977 return resultobj;
4978 fail:
4979 return NULL;
4980 }
4981
4982
4983 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4984 int argc;
4985 PyObject *argv[4];
4986
4987 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4988 --argc;
4989 if (argc == 2) {
4990 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4991 }
4992 if (argc == 3) {
4993 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4994 }
4995
4996 fail:
4997 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4998 return NULL;
4999 }
5000
5001
5002 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5003 PyObject *resultobj = 0;
5004 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5005 void *argp1 = 0 ;
5006 int res1 = 0 ;
5007 PyObject *swig_obj[1] ;
5008
5009 if (!args) SWIG_fail;
5010 swig_obj[0] = args;
5011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5012 if (!SWIG_IsOK(res1)) {
5013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5014 }
5015 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5016 {
5017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5018 (arg1)->AdjustScrollbars();
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 resultobj = SWIG_Py_Void();
5023 return resultobj;
5024 fail:
5025 return NULL;
5026 }
5027
5028
5029 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5030 PyObject *resultobj = 0;
5031 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5032 wxScrollWinEvent *arg2 = 0 ;
5033 int result;
5034 void *argp1 = 0 ;
5035 int res1 = 0 ;
5036 void *argp2 = 0 ;
5037 int res2 = 0 ;
5038 PyObject * obj0 = 0 ;
5039 PyObject * obj1 = 0 ;
5040 char * kwnames[] = {
5041 (char *) "self",(char *) "event", NULL
5042 };
5043
5044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5046 if (!SWIG_IsOK(res1)) {
5047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5048 }
5049 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5050 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5051 if (!SWIG_IsOK(res2)) {
5052 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5053 }
5054 if (!argp2) {
5055 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5056 }
5057 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5058 {
5059 PyThreadState* __tstate = wxPyBeginAllowThreads();
5060 result = (int)(arg1)->CalcScrollInc(*arg2);
5061 wxPyEndAllowThreads(__tstate);
5062 if (PyErr_Occurred()) SWIG_fail;
5063 }
5064 resultobj = SWIG_From_int(static_cast< int >(result));
5065 return resultobj;
5066 fail:
5067 return NULL;
5068 }
5069
5070
5071 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5072 PyObject *resultobj = 0;
5073 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5074 wxWindow *arg2 = (wxWindow *) 0 ;
5075 void *argp1 = 0 ;
5076 int res1 = 0 ;
5077 void *argp2 = 0 ;
5078 int res2 = 0 ;
5079 PyObject * obj0 = 0 ;
5080 PyObject * obj1 = 0 ;
5081 char * kwnames[] = {
5082 (char *) "self",(char *) "target", NULL
5083 };
5084
5085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5087 if (!SWIG_IsOK(res1)) {
5088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5089 }
5090 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5091 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5092 if (!SWIG_IsOK(res2)) {
5093 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5094 }
5095 arg2 = reinterpret_cast< wxWindow * >(argp2);
5096 {
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 (arg1)->SetTargetWindow(arg2);
5099 wxPyEndAllowThreads(__tstate);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
5102 resultobj = SWIG_Py_Void();
5103 return resultobj;
5104 fail:
5105 return NULL;
5106 }
5107
5108
5109 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5110 PyObject *resultobj = 0;
5111 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5112 wxWindow *result = 0 ;
5113 void *argp1 = 0 ;
5114 int res1 = 0 ;
5115 PyObject *swig_obj[1] ;
5116
5117 if (!args) SWIG_fail;
5118 swig_obj[0] = args;
5119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5120 if (!SWIG_IsOK(res1)) {
5121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5122 }
5123 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5127 wxPyEndAllowThreads(__tstate);
5128 if (PyErr_Occurred()) SWIG_fail;
5129 }
5130 {
5131 resultobj = wxPyMake_wxObject(result, 0);
5132 }
5133 return resultobj;
5134 fail:
5135 return NULL;
5136 }
5137
5138
5139 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5140 PyObject *resultobj = 0;
5141 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5142 wxRect *arg2 = 0 ;
5143 void *argp1 = 0 ;
5144 int res1 = 0 ;
5145 wxRect temp2 ;
5146 PyObject * obj0 = 0 ;
5147 PyObject * obj1 = 0 ;
5148 char * kwnames[] = {
5149 (char *) "self",(char *) "rect", NULL
5150 };
5151
5152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5154 if (!SWIG_IsOK(res1)) {
5155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5156 }
5157 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5158 {
5159 arg2 = &temp2;
5160 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5161 }
5162 {
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 (arg1)->SetTargetRect((wxRect const &)*arg2);
5165 wxPyEndAllowThreads(__tstate);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 }
5168 resultobj = SWIG_Py_Void();
5169 return resultobj;
5170 fail:
5171 return NULL;
5172 }
5173
5174
5175 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5176 PyObject *resultobj = 0;
5177 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5178 wxRect result;
5179 void *argp1 = 0 ;
5180 int res1 = 0 ;
5181 PyObject *swig_obj[1] ;
5182
5183 if (!args) SWIG_fail;
5184 swig_obj[0] = args;
5185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5186 if (!SWIG_IsOK(res1)) {
5187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5188 }
5189 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5190 {
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5193 wxPyEndAllowThreads(__tstate);
5194 if (PyErr_Occurred()) SWIG_fail;
5195 }
5196 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5197 return resultobj;
5198 fail:
5199 return NULL;
5200 }
5201
5202
5203 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5204 PyObject *resultobj = 0;
5205 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5206 wxDC *arg2 = 0 ;
5207 void *argp1 = 0 ;
5208 int res1 = 0 ;
5209 void *argp2 = 0 ;
5210 int res2 = 0 ;
5211 PyObject * obj0 = 0 ;
5212 PyObject * obj1 = 0 ;
5213 char * kwnames[] = {
5214 (char *) "self",(char *) "dc", NULL
5215 };
5216
5217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5219 if (!SWIG_IsOK(res1)) {
5220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5221 }
5222 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5223 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5224 if (!SWIG_IsOK(res2)) {
5225 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5226 }
5227 if (!argp2) {
5228 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5229 }
5230 arg2 = reinterpret_cast< wxDC * >(argp2);
5231 {
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 (arg1)->DoPrepareDC(*arg2);
5234 wxPyEndAllowThreads(__tstate);
5235 if (PyErr_Occurred()) SWIG_fail;
5236 }
5237 resultobj = SWIG_Py_Void();
5238 return resultobj;
5239 fail:
5240 return NULL;
5241 }
5242
5243
5244 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5245 PyObject *resultobj = 0;
5246 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5247 SwigValueWrapper<wxVisualAttributes > result;
5248 int val1 ;
5249 int ecode1 = 0 ;
5250 PyObject * obj0 = 0 ;
5251 char * kwnames[] = {
5252 (char *) "variant", NULL
5253 };
5254
5255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5256 if (obj0) {
5257 ecode1 = SWIG_AsVal_int(obj0, &val1);
5258 if (!SWIG_IsOK(ecode1)) {
5259 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5260 }
5261 arg1 = static_cast< wxWindowVariant >(val1);
5262 }
5263 {
5264 if (!wxPyCheckForApp()) SWIG_fail;
5265 PyThreadState* __tstate = wxPyBeginAllowThreads();
5266 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5267 wxPyEndAllowThreads(__tstate);
5268 if (PyErr_Occurred()) SWIG_fail;
5269 }
5270 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5271 return resultobj;
5272 fail:
5273 return NULL;
5274 }
5275
5276
5277 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5278 PyObject *obj;
5279 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5280 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5281 return SWIG_Py_Void();
5282 }
5283
5284 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5285 return SWIG_Python_InitShadowInstance(args);
5286 }
5287
5288 SWIGINTERN int FrameNameStr_set(PyObject *) {
5289 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5290 return 1;
5291 }
5292
5293
5294 SWIGINTERN PyObject *FrameNameStr_get(void) {
5295 PyObject *pyobj = 0;
5296
5297 {
5298 #if wxUSE_UNICODE
5299 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5300 #else
5301 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5302 #endif
5303 }
5304 return pyobj;
5305 }
5306
5307
5308 SWIGINTERN int DialogNameStr_set(PyObject *) {
5309 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5310 return 1;
5311 }
5312
5313
5314 SWIGINTERN PyObject *DialogNameStr_get(void) {
5315 PyObject *pyobj = 0;
5316
5317 {
5318 #if wxUSE_UNICODE
5319 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5320 #else
5321 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5322 #endif
5323 }
5324 return pyobj;
5325 }
5326
5327
5328 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5329 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5330 return 1;
5331 }
5332
5333
5334 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5335 PyObject *pyobj = 0;
5336
5337 {
5338 #if wxUSE_UNICODE
5339 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5340 #else
5341 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5342 #endif
5343 }
5344 return pyobj;
5345 }
5346
5347
5348 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5349 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5350 return 1;
5351 }
5352
5353
5354 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5355 PyObject *pyobj = 0;
5356
5357 {
5358 #if wxUSE_UNICODE
5359 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5360 #else
5361 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5362 #endif
5363 }
5364 return pyobj;
5365 }
5366
5367
5368 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5369 PyObject *resultobj = 0;
5370 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5371 bool arg2 = (bool) true ;
5372 void *argp1 = 0 ;
5373 int res1 = 0 ;
5374 bool val2 ;
5375 int ecode2 = 0 ;
5376 PyObject * obj0 = 0 ;
5377 PyObject * obj1 = 0 ;
5378 char * kwnames[] = {
5379 (char *) "self",(char *) "maximize", NULL
5380 };
5381
5382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5384 if (!SWIG_IsOK(res1)) {
5385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5386 }
5387 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5388 if (obj1) {
5389 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5390 if (!SWIG_IsOK(ecode2)) {
5391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5392 }
5393 arg2 = static_cast< bool >(val2);
5394 }
5395 {
5396 PyThreadState* __tstate = wxPyBeginAllowThreads();
5397 (arg1)->Maximize(arg2);
5398 wxPyEndAllowThreads(__tstate);
5399 if (PyErr_Occurred()) SWIG_fail;
5400 }
5401 resultobj = SWIG_Py_Void();
5402 return resultobj;
5403 fail:
5404 return NULL;
5405 }
5406
5407
5408 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5409 PyObject *resultobj = 0;
5410 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5411 void *argp1 = 0 ;
5412 int res1 = 0 ;
5413 PyObject *swig_obj[1] ;
5414
5415 if (!args) SWIG_fail;
5416 swig_obj[0] = args;
5417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5418 if (!SWIG_IsOK(res1)) {
5419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5420 }
5421 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5422 {
5423 PyThreadState* __tstate = wxPyBeginAllowThreads();
5424 (arg1)->Restore();
5425 wxPyEndAllowThreads(__tstate);
5426 if (PyErr_Occurred()) SWIG_fail;
5427 }
5428 resultobj = SWIG_Py_Void();
5429 return resultobj;
5430 fail:
5431 return NULL;
5432 }
5433
5434
5435 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5436 PyObject *resultobj = 0;
5437 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5438 bool arg2 = (bool) true ;
5439 void *argp1 = 0 ;
5440 int res1 = 0 ;
5441 bool val2 ;
5442 int ecode2 = 0 ;
5443 PyObject * obj0 = 0 ;
5444 PyObject * obj1 = 0 ;
5445 char * kwnames[] = {
5446 (char *) "self",(char *) "iconize", NULL
5447 };
5448
5449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5451 if (!SWIG_IsOK(res1)) {
5452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5453 }
5454 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5455 if (obj1) {
5456 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5457 if (!SWIG_IsOK(ecode2)) {
5458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5459 }
5460 arg2 = static_cast< bool >(val2);
5461 }
5462 {
5463 PyThreadState* __tstate = wxPyBeginAllowThreads();
5464 (arg1)->Iconize(arg2);
5465 wxPyEndAllowThreads(__tstate);
5466 if (PyErr_Occurred()) SWIG_fail;
5467 }
5468 resultobj = SWIG_Py_Void();
5469 return resultobj;
5470 fail:
5471 return NULL;
5472 }
5473
5474
5475 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5476 PyObject *resultobj = 0;
5477 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5478 bool result;
5479 void *argp1 = 0 ;
5480 int res1 = 0 ;
5481 PyObject *swig_obj[1] ;
5482
5483 if (!args) SWIG_fail;
5484 swig_obj[0] = args;
5485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5486 if (!SWIG_IsOK(res1)) {
5487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5488 }
5489 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 {
5497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5498 }
5499 return resultobj;
5500 fail:
5501 return NULL;
5502 }
5503
5504
5505 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5506 PyObject *resultobj = 0;
5507 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5508 bool result;
5509 void *argp1 = 0 ;
5510 int res1 = 0 ;
5511 PyObject *swig_obj[1] ;
5512
5513 if (!args) SWIG_fail;
5514 swig_obj[0] = args;
5515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5516 if (!SWIG_IsOK(res1)) {
5517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5518 }
5519 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5520 {
5521 PyThreadState* __tstate = wxPyBeginAllowThreads();
5522 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5523 wxPyEndAllowThreads(__tstate);
5524 if (PyErr_Occurred()) SWIG_fail;
5525 }
5526 {
5527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5528 }
5529 return resultobj;
5530 fail:
5531 return NULL;
5532 }
5533
5534
5535 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5536 PyObject *resultobj = 0;
5537 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5538 bool result;
5539 void *argp1 = 0 ;
5540 int res1 = 0 ;
5541 PyObject *swig_obj[1] ;
5542
5543 if (!args) SWIG_fail;
5544 swig_obj[0] = args;
5545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5546 if (!SWIG_IsOK(res1)) {
5547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5548 }
5549 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5550 {
5551 PyThreadState* __tstate = wxPyBeginAllowThreads();
5552 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5553 wxPyEndAllowThreads(__tstate);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
5556 {
5557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5558 }
5559 return resultobj;
5560 fail:
5561 return NULL;
5562 }
5563
5564
5565 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5566 PyObject *resultobj = 0;
5567 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5568 wxIcon result;
5569 void *argp1 = 0 ;
5570 int res1 = 0 ;
5571 PyObject *swig_obj[1] ;
5572
5573 if (!args) SWIG_fail;
5574 swig_obj[0] = args;
5575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5576 if (!SWIG_IsOK(res1)) {
5577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5578 }
5579 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5580 {
5581 PyThreadState* __tstate = wxPyBeginAllowThreads();
5582 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5583 wxPyEndAllowThreads(__tstate);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
5586 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5587 return resultobj;
5588 fail:
5589 return NULL;
5590 }
5591
5592
5593 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5594 PyObject *resultobj = 0;
5595 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5596 wxIcon *arg2 = 0 ;
5597 void *argp1 = 0 ;
5598 int res1 = 0 ;
5599 void *argp2 = 0 ;
5600 int res2 = 0 ;
5601 PyObject * obj0 = 0 ;
5602 PyObject * obj1 = 0 ;
5603 char * kwnames[] = {
5604 (char *) "self",(char *) "icon", NULL
5605 };
5606
5607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5609 if (!SWIG_IsOK(res1)) {
5610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5611 }
5612 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5613 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5614 if (!SWIG_IsOK(res2)) {
5615 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5616 }
5617 if (!argp2) {
5618 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5619 }
5620 arg2 = reinterpret_cast< wxIcon * >(argp2);
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 (arg1)->SetIcon((wxIcon const &)*arg2);
5624 wxPyEndAllowThreads(__tstate);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 }
5627 resultobj = SWIG_Py_Void();
5628 return resultobj;
5629 fail:
5630 return NULL;
5631 }
5632
5633
5634 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5635 PyObject *resultobj = 0;
5636 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5637 wxIconBundle *arg2 = 0 ;
5638 void *argp1 = 0 ;
5639 int res1 = 0 ;
5640 void *argp2 = 0 ;
5641 int res2 = 0 ;
5642 PyObject * obj0 = 0 ;
5643 PyObject * obj1 = 0 ;
5644 char * kwnames[] = {
5645 (char *) "self",(char *) "icons", NULL
5646 };
5647
5648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5650 if (!SWIG_IsOK(res1)) {
5651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5652 }
5653 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5654 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5655 if (!SWIG_IsOK(res2)) {
5656 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5657 }
5658 if (!argp2) {
5659 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5660 }
5661 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
5664 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5665 wxPyEndAllowThreads(__tstate);
5666 if (PyErr_Occurred()) SWIG_fail;
5667 }
5668 resultobj = SWIG_Py_Void();
5669 return resultobj;
5670 fail:
5671 return NULL;
5672 }
5673
5674
5675 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5676 PyObject *resultobj = 0;
5677 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5678 bool arg2 ;
5679 long arg3 = (long) wxFULLSCREEN_ALL ;
5680 bool result;
5681 void *argp1 = 0 ;
5682 int res1 = 0 ;
5683 bool val2 ;
5684 int ecode2 = 0 ;
5685 long val3 ;
5686 int ecode3 = 0 ;
5687 PyObject * obj0 = 0 ;
5688 PyObject * obj1 = 0 ;
5689 PyObject * obj2 = 0 ;
5690 char * kwnames[] = {
5691 (char *) "self",(char *) "show",(char *) "style", NULL
5692 };
5693
5694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5696 if (!SWIG_IsOK(res1)) {
5697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5698 }
5699 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5700 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5701 if (!SWIG_IsOK(ecode2)) {
5702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5703 }
5704 arg2 = static_cast< bool >(val2);
5705 if (obj2) {
5706 ecode3 = SWIG_AsVal_long(obj2, &val3);
5707 if (!SWIG_IsOK(ecode3)) {
5708 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5709 }
5710 arg3 = static_cast< long >(val3);
5711 }
5712 {
5713 PyThreadState* __tstate = wxPyBeginAllowThreads();
5714 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) SWIG_fail;
5717 }
5718 {
5719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5720 }
5721 return resultobj;
5722 fail:
5723 return NULL;
5724 }
5725
5726
5727 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5728 PyObject *resultobj = 0;
5729 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5730 bool result;
5731 void *argp1 = 0 ;
5732 int res1 = 0 ;
5733 PyObject *swig_obj[1] ;
5734
5735 if (!args) SWIG_fail;
5736 swig_obj[0] = args;
5737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5738 if (!SWIG_IsOK(res1)) {
5739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5740 }
5741 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5742 {
5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
5744 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5745 wxPyEndAllowThreads(__tstate);
5746 if (PyErr_Occurred()) SWIG_fail;
5747 }
5748 {
5749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5750 }
5751 return resultobj;
5752 fail:
5753 return NULL;
5754 }
5755
5756
5757 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5758 PyObject *resultobj = 0;
5759 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5760 wxString *arg2 = 0 ;
5761 void *argp1 = 0 ;
5762 int res1 = 0 ;
5763 bool temp2 = false ;
5764 PyObject * obj0 = 0 ;
5765 PyObject * obj1 = 0 ;
5766 char * kwnames[] = {
5767 (char *) "self",(char *) "title", NULL
5768 };
5769
5770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5772 if (!SWIG_IsOK(res1)) {
5773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5774 }
5775 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5776 {
5777 arg2 = wxString_in_helper(obj1);
5778 if (arg2 == NULL) SWIG_fail;
5779 temp2 = true;
5780 }
5781 {
5782 PyThreadState* __tstate = wxPyBeginAllowThreads();
5783 (arg1)->SetTitle((wxString const &)*arg2);
5784 wxPyEndAllowThreads(__tstate);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
5787 resultobj = SWIG_Py_Void();
5788 {
5789 if (temp2)
5790 delete arg2;
5791 }
5792 return resultobj;
5793 fail:
5794 {
5795 if (temp2)
5796 delete arg2;
5797 }
5798 return NULL;
5799 }
5800
5801
5802 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5803 PyObject *resultobj = 0;
5804 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5805 wxString result;
5806 void *argp1 = 0 ;
5807 int res1 = 0 ;
5808 PyObject *swig_obj[1] ;
5809
5810 if (!args) SWIG_fail;
5811 swig_obj[0] = args;
5812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5813 if (!SWIG_IsOK(res1)) {
5814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5815 }
5816 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5817 {
5818 PyThreadState* __tstate = wxPyBeginAllowThreads();
5819 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5820 wxPyEndAllowThreads(__tstate);
5821 if (PyErr_Occurred()) SWIG_fail;
5822 }
5823 {
5824 #if wxUSE_UNICODE
5825 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5826 #else
5827 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5828 #endif
5829 }
5830 return resultobj;
5831 fail:
5832 return NULL;
5833 }
5834
5835
5836 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5837 PyObject *resultobj = 0;
5838 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5839 bool arg2 ;
5840 bool result;
5841 void *argp1 = 0 ;
5842 int res1 = 0 ;
5843 bool val2 ;
5844 int ecode2 = 0 ;
5845 PyObject * obj0 = 0 ;
5846 PyObject * obj1 = 0 ;
5847 char * kwnames[] = {
5848 (char *) "self",(char *) "enable", NULL
5849 };
5850
5851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5853 if (!SWIG_IsOK(res1)) {
5854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5855 }
5856 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5857 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5858 if (!SWIG_IsOK(ecode2)) {
5859 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5860 }
5861 arg2 = static_cast< bool >(val2);
5862 {
5863 PyThreadState* __tstate = wxPyBeginAllowThreads();
5864 result = (bool)(arg1)->EnableCloseButton(arg2);
5865 wxPyEndAllowThreads(__tstate);
5866 if (PyErr_Occurred()) SWIG_fail;
5867 }
5868 {
5869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5870 }
5871 return resultobj;
5872 fail:
5873 return NULL;
5874 }
5875
5876
5877 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5878 PyObject *resultobj = 0;
5879 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5880 wxRegion *arg2 = 0 ;
5881 bool result;
5882 void *argp1 = 0 ;
5883 int res1 = 0 ;
5884 void *argp2 = 0 ;
5885 int res2 = 0 ;
5886 PyObject * obj0 = 0 ;
5887 PyObject * obj1 = 0 ;
5888 char * kwnames[] = {
5889 (char *) "self",(char *) "region", NULL
5890 };
5891
5892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5894 if (!SWIG_IsOK(res1)) {
5895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5896 }
5897 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5898 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5899 if (!SWIG_IsOK(res2)) {
5900 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5901 }
5902 if (!argp2) {
5903 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5904 }
5905 arg2 = reinterpret_cast< wxRegion * >(argp2);
5906 {
5907 PyThreadState* __tstate = wxPyBeginAllowThreads();
5908 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5909 wxPyEndAllowThreads(__tstate);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
5912 {
5913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5914 }
5915 return resultobj;
5916 fail:
5917 return NULL;
5918 }
5919
5920
5921 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5922 PyObject *resultobj = 0;
5923 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5924 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5925 void *argp1 = 0 ;
5926 int res1 = 0 ;
5927 int val2 ;
5928 int ecode2 = 0 ;
5929 PyObject * obj0 = 0 ;
5930 PyObject * obj1 = 0 ;
5931 char * kwnames[] = {
5932 (char *) "self",(char *) "flags", NULL
5933 };
5934
5935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5937 if (!SWIG_IsOK(res1)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5939 }
5940 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5941 if (obj1) {
5942 ecode2 = SWIG_AsVal_int(obj1, &val2);
5943 if (!SWIG_IsOK(ecode2)) {
5944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5945 }
5946 arg2 = static_cast< int >(val2);
5947 }
5948 {
5949 PyThreadState* __tstate = wxPyBeginAllowThreads();
5950 (arg1)->RequestUserAttention(arg2);
5951 wxPyEndAllowThreads(__tstate);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 resultobj = SWIG_Py_Void();
5955 return resultobj;
5956 fail:
5957 return NULL;
5958 }
5959
5960
5961 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5962 PyObject *resultobj = 0;
5963 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5964 bool result;
5965 void *argp1 = 0 ;
5966 int res1 = 0 ;
5967 PyObject *swig_obj[1] ;
5968
5969 if (!args) SWIG_fail;
5970 swig_obj[0] = args;
5971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5972 if (!SWIG_IsOK(res1)) {
5973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5974 }
5975 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5976 {
5977 PyThreadState* __tstate = wxPyBeginAllowThreads();
5978 result = (bool)(arg1)->IsActive();
5979 wxPyEndAllowThreads(__tstate);
5980 if (PyErr_Occurred()) SWIG_fail;
5981 }
5982 {
5983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5984 }
5985 return resultobj;
5986 fail:
5987 return NULL;
5988 }
5989
5990
5991 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5992 PyObject *resultobj = 0;
5993 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5994 bool arg2 ;
5995 void *argp1 = 0 ;
5996 int res1 = 0 ;
5997 bool val2 ;
5998 int ecode2 = 0 ;
5999 PyObject * obj0 = 0 ;
6000 PyObject * obj1 = 0 ;
6001 char * kwnames[] = {
6002 (char *) "self",(char *) "on", NULL
6003 };
6004
6005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
6006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6007 if (!SWIG_IsOK(res1)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6009 }
6010 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6011 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6012 if (!SWIG_IsOK(ecode2)) {
6013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6014 }
6015 arg2 = static_cast< bool >(val2);
6016 {
6017 PyThreadState* __tstate = wxPyBeginAllowThreads();
6018 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6019 wxPyEndAllowThreads(__tstate);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 }
6022 resultobj = SWIG_Py_Void();
6023 return resultobj;
6024 fail:
6025 return NULL;
6026 }
6027
6028
6029 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6030 PyObject *resultobj = 0;
6031 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6032 bool result;
6033 void *argp1 = 0 ;
6034 int res1 = 0 ;
6035 PyObject *swig_obj[1] ;
6036
6037 if (!args) SWIG_fail;
6038 swig_obj[0] = args;
6039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6040 if (!SWIG_IsOK(res1)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6042 }
6043 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 {
6051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6052 }
6053 return resultobj;
6054 fail:
6055 return NULL;
6056 }
6057
6058
6059 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6060 PyObject *resultobj = 0;
6061 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6062 int arg2 = (int) wxBOTH ;
6063 void *argp1 = 0 ;
6064 int res1 = 0 ;
6065 int val2 ;
6066 int ecode2 = 0 ;
6067 PyObject * obj0 = 0 ;
6068 PyObject * obj1 = 0 ;
6069 char * kwnames[] = {
6070 (char *) "self",(char *) "dir", NULL
6071 };
6072
6073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6075 if (!SWIG_IsOK(res1)) {
6076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6077 }
6078 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6079 if (obj1) {
6080 ecode2 = SWIG_AsVal_int(obj1, &val2);
6081 if (!SWIG_IsOK(ecode2)) {
6082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6083 }
6084 arg2 = static_cast< int >(val2);
6085 }
6086 {
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 (arg1)->CenterOnScreen(arg2);
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 resultobj = SWIG_Py_Void();
6093 return resultobj;
6094 fail:
6095 return NULL;
6096 }
6097
6098
6099 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6100 PyObject *resultobj = 0;
6101 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6102 wxWindow *result = 0 ;
6103 void *argp1 = 0 ;
6104 int res1 = 0 ;
6105 PyObject *swig_obj[1] ;
6106
6107 if (!args) SWIG_fail;
6108 swig_obj[0] = args;
6109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6110 if (!SWIG_IsOK(res1)) {
6111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6112 }
6113 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 {
6121 resultobj = wxPyMake_wxObject(result, 0);
6122 }
6123 return resultobj;
6124 fail:
6125 return NULL;
6126 }
6127
6128
6129 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6130 PyObject *resultobj = 0;
6131 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6132 wxWindow *arg2 = (wxWindow *) 0 ;
6133 wxWindow *result = 0 ;
6134 void *argp1 = 0 ;
6135 int res1 = 0 ;
6136 void *argp2 = 0 ;
6137 int res2 = 0 ;
6138 PyObject * obj0 = 0 ;
6139 PyObject * obj1 = 0 ;
6140 char * kwnames[] = {
6141 (char *) "self",(char *) "child", NULL
6142 };
6143
6144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6146 if (!SWIG_IsOK(res1)) {
6147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6148 }
6149 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6150 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6151 if (!SWIG_IsOK(res2)) {
6152 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6153 }
6154 arg2 = reinterpret_cast< wxWindow * >(argp2);
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6158 wxPyEndAllowThreads(__tstate);
6159 if (PyErr_Occurred()) SWIG_fail;
6160 }
6161 {
6162 resultobj = wxPyMake_wxObject(result, 0);
6163 }
6164 return resultobj;
6165 fail:
6166 return NULL;
6167 }
6168
6169
6170 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6171 PyObject *resultobj = 0;
6172 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6173 wxWindow *arg2 = (wxWindow *) 0 ;
6174 void *argp1 = 0 ;
6175 int res1 = 0 ;
6176 void *argp2 = 0 ;
6177 int res2 = 0 ;
6178 PyObject * obj0 = 0 ;
6179 PyObject * obj1 = 0 ;
6180 char * kwnames[] = {
6181 (char *) "self",(char *) "win", NULL
6182 };
6183
6184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6186 if (!SWIG_IsOK(res1)) {
6187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6188 }
6189 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6190 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6191 if (!SWIG_IsOK(res2)) {
6192 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6193 }
6194 arg2 = reinterpret_cast< wxWindow * >(argp2);
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 (arg1)->SetTmpDefaultItem(arg2);
6198 wxPyEndAllowThreads(__tstate);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 resultobj = SWIG_Py_Void();
6202 return resultobj;
6203 fail:
6204 return NULL;
6205 }
6206
6207
6208 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6209 PyObject *resultobj = 0;
6210 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6211 wxWindow *result = 0 ;
6212 void *argp1 = 0 ;
6213 int res1 = 0 ;
6214 PyObject *swig_obj[1] ;
6215
6216 if (!args) SWIG_fail;
6217 swig_obj[0] = args;
6218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6219 if (!SWIG_IsOK(res1)) {
6220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6221 }
6222 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6223 {
6224 PyThreadState* __tstate = wxPyBeginAllowThreads();
6225 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6226 wxPyEndAllowThreads(__tstate);
6227 if (PyErr_Occurred()) SWIG_fail;
6228 }
6229 {
6230 resultobj = wxPyMake_wxObject(result, 0);
6231 }
6232 return resultobj;
6233 fail:
6234 return NULL;
6235 }
6236
6237
6238 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6239 PyObject *obj;
6240 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6241 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6242 return SWIG_Py_Void();
6243 }
6244
6245 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6246 PyObject *resultobj = 0;
6247 wxWindow *arg1 = (wxWindow *) 0 ;
6248 int arg2 = (int) (int)-1 ;
6249 wxString const &arg3_defvalue = wxPyEmptyString ;
6250 wxString *arg3 = (wxString *) &arg3_defvalue ;
6251 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6252 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6253 wxSize const &arg5_defvalue = wxDefaultSize ;
6254 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6255 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6256 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6257 wxString *arg7 = (wxString *) &arg7_defvalue ;
6258 wxFrame *result = 0 ;
6259 void *argp1 = 0 ;
6260 int res1 = 0 ;
6261 int val2 ;
6262 int ecode2 = 0 ;
6263 bool temp3 = false ;
6264 wxPoint temp4 ;
6265 wxSize temp5 ;
6266 long val6 ;
6267 int ecode6 = 0 ;
6268 bool temp7 = false ;
6269 PyObject * obj0 = 0 ;
6270 PyObject * obj1 = 0 ;
6271 PyObject * obj2 = 0 ;
6272 PyObject * obj3 = 0 ;
6273 PyObject * obj4 = 0 ;
6274 PyObject * obj5 = 0 ;
6275 PyObject * obj6 = 0 ;
6276 char * kwnames[] = {
6277 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6278 };
6279
6280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6282 if (!SWIG_IsOK(res1)) {
6283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6284 }
6285 arg1 = reinterpret_cast< wxWindow * >(argp1);
6286 if (obj1) {
6287 ecode2 = SWIG_AsVal_int(obj1, &val2);
6288 if (!SWIG_IsOK(ecode2)) {
6289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6290 }
6291 arg2 = static_cast< int >(val2);
6292 }
6293 if (obj2) {
6294 {
6295 arg3 = wxString_in_helper(obj2);
6296 if (arg3 == NULL) SWIG_fail;
6297 temp3 = true;
6298 }
6299 }
6300 if (obj3) {
6301 {
6302 arg4 = &temp4;
6303 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6304 }
6305 }
6306 if (obj4) {
6307 {
6308 arg5 = &temp5;
6309 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6310 }
6311 }
6312 if (obj5) {
6313 ecode6 = SWIG_AsVal_long(obj5, &val6);
6314 if (!SWIG_IsOK(ecode6)) {
6315 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6316 }
6317 arg6 = static_cast< long >(val6);
6318 }
6319 if (obj6) {
6320 {
6321 arg7 = wxString_in_helper(obj6);
6322 if (arg7 == NULL) SWIG_fail;
6323 temp7 = true;
6324 }
6325 }
6326 {
6327 if (!wxPyCheckForApp()) SWIG_fail;
6328 PyThreadState* __tstate = wxPyBeginAllowThreads();
6329 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6330 wxPyEndAllowThreads(__tstate);
6331 if (PyErr_Occurred()) SWIG_fail;
6332 }
6333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6334 {
6335 if (temp3)
6336 delete arg3;
6337 }
6338 {
6339 if (temp7)
6340 delete arg7;
6341 }
6342 return resultobj;
6343 fail:
6344 {
6345 if (temp3)
6346 delete arg3;
6347 }
6348 {
6349 if (temp7)
6350 delete arg7;
6351 }
6352 return NULL;
6353 }
6354
6355
6356 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6357 PyObject *resultobj = 0;
6358 wxFrame *result = 0 ;
6359
6360 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6361 {
6362 if (!wxPyCheckForApp()) SWIG_fail;
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6364 result = (wxFrame *)new wxFrame();
6365 wxPyEndAllowThreads(__tstate);
6366 if (PyErr_Occurred()) SWIG_fail;
6367 }
6368 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6369 return resultobj;
6370 fail:
6371 return NULL;
6372 }
6373
6374
6375 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6376 PyObject *resultobj = 0;
6377 wxFrame *arg1 = (wxFrame *) 0 ;
6378 wxWindow *arg2 = (wxWindow *) 0 ;
6379 int arg3 = (int) (int)-1 ;
6380 wxString const &arg4_defvalue = wxPyEmptyString ;
6381 wxString *arg4 = (wxString *) &arg4_defvalue ;
6382 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6383 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6384 wxSize const &arg6_defvalue = wxDefaultSize ;
6385 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6386 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6387 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6388 wxString *arg8 = (wxString *) &arg8_defvalue ;
6389 bool result;
6390 void *argp1 = 0 ;
6391 int res1 = 0 ;
6392 void *argp2 = 0 ;
6393 int res2 = 0 ;
6394 int val3 ;
6395 int ecode3 = 0 ;
6396 bool temp4 = false ;
6397 wxPoint temp5 ;
6398 wxSize temp6 ;
6399 long val7 ;
6400 int ecode7 = 0 ;
6401 bool temp8 = false ;
6402 PyObject * obj0 = 0 ;
6403 PyObject * obj1 = 0 ;
6404 PyObject * obj2 = 0 ;
6405 PyObject * obj3 = 0 ;
6406 PyObject * obj4 = 0 ;
6407 PyObject * obj5 = 0 ;
6408 PyObject * obj6 = 0 ;
6409 PyObject * obj7 = 0 ;
6410 char * kwnames[] = {
6411 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6412 };
6413
6414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6416 if (!SWIG_IsOK(res1)) {
6417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6418 }
6419 arg1 = reinterpret_cast< wxFrame * >(argp1);
6420 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6421 if (!SWIG_IsOK(res2)) {
6422 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6423 }
6424 arg2 = reinterpret_cast< wxWindow * >(argp2);
6425 if (obj2) {
6426 ecode3 = SWIG_AsVal_int(obj2, &val3);
6427 if (!SWIG_IsOK(ecode3)) {
6428 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6429 }
6430 arg3 = static_cast< int >(val3);
6431 }
6432 if (obj3) {
6433 {
6434 arg4 = wxString_in_helper(obj3);
6435 if (arg4 == NULL) SWIG_fail;
6436 temp4 = true;
6437 }
6438 }
6439 if (obj4) {
6440 {
6441 arg5 = &temp5;
6442 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6443 }
6444 }
6445 if (obj5) {
6446 {
6447 arg6 = &temp6;
6448 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6449 }
6450 }
6451 if (obj6) {
6452 ecode7 = SWIG_AsVal_long(obj6, &val7);
6453 if (!SWIG_IsOK(ecode7)) {
6454 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6455 }
6456 arg7 = static_cast< long >(val7);
6457 }
6458 if (obj7) {
6459 {
6460 arg8 = wxString_in_helper(obj7);
6461 if (arg8 == NULL) SWIG_fail;
6462 temp8 = true;
6463 }
6464 }
6465 {
6466 PyThreadState* __tstate = wxPyBeginAllowThreads();
6467 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6468 wxPyEndAllowThreads(__tstate);
6469 if (PyErr_Occurred()) SWIG_fail;
6470 }
6471 {
6472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6473 }
6474 {
6475 if (temp4)
6476 delete arg4;
6477 }
6478 {
6479 if (temp8)
6480 delete arg8;
6481 }
6482 return resultobj;
6483 fail:
6484 {
6485 if (temp4)
6486 delete arg4;
6487 }
6488 {
6489 if (temp8)
6490 delete arg8;
6491 }
6492 return NULL;
6493 }
6494
6495
6496 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6497 PyObject *resultobj = 0;
6498 wxFrame *arg1 = (wxFrame *) 0 ;
6499 void *argp1 = 0 ;
6500 int res1 = 0 ;
6501 PyObject *swig_obj[1] ;
6502
6503 if (!args) SWIG_fail;
6504 swig_obj[0] = args;
6505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6506 if (!SWIG_IsOK(res1)) {
6507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6508 }
6509 arg1 = reinterpret_cast< wxFrame * >(argp1);
6510 {
6511 PyThreadState* __tstate = wxPyBeginAllowThreads();
6512 (arg1)->SendSizeEvent();
6513 wxPyEndAllowThreads(__tstate);
6514 if (PyErr_Occurred()) SWIG_fail;
6515 }
6516 resultobj = SWIG_Py_Void();
6517 return resultobj;
6518 fail:
6519 return NULL;
6520 }
6521
6522
6523 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6524 PyObject *resultobj = 0;
6525 wxFrame *arg1 = (wxFrame *) 0 ;
6526 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6527 void *argp1 = 0 ;
6528 int res1 = 0 ;
6529 void *argp2 = 0 ;
6530 int res2 = 0 ;
6531 PyObject * obj0 = 0 ;
6532 PyObject * obj1 = 0 ;
6533 char * kwnames[] = {
6534 (char *) "self",(char *) "menubar", NULL
6535 };
6536
6537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6539 if (!SWIG_IsOK(res1)) {
6540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6541 }
6542 arg1 = reinterpret_cast< wxFrame * >(argp1);
6543 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6544 if (!SWIG_IsOK(res2)) {
6545 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6546 }
6547 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6548 {
6549 PyThreadState* __tstate = wxPyBeginAllowThreads();
6550 (arg1)->SetMenuBar(arg2);
6551 wxPyEndAllowThreads(__tstate);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 resultobj = SWIG_Py_Void();
6555 return resultobj;
6556 fail:
6557 return NULL;
6558 }
6559
6560
6561 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6562 PyObject *resultobj = 0;
6563 wxFrame *arg1 = (wxFrame *) 0 ;
6564 wxMenuBar *result = 0 ;
6565 void *argp1 = 0 ;
6566 int res1 = 0 ;
6567 PyObject *swig_obj[1] ;
6568
6569 if (!args) SWIG_fail;
6570 swig_obj[0] = args;
6571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6572 if (!SWIG_IsOK(res1)) {
6573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6574 }
6575 arg1 = reinterpret_cast< wxFrame * >(argp1);
6576 {
6577 PyThreadState* __tstate = wxPyBeginAllowThreads();
6578 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6579 wxPyEndAllowThreads(__tstate);
6580 if (PyErr_Occurred()) SWIG_fail;
6581 }
6582 {
6583 resultobj = wxPyMake_wxObject(result, 0);
6584 }
6585 return resultobj;
6586 fail:
6587 return NULL;
6588 }
6589
6590
6591 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6592 PyObject *resultobj = 0;
6593 wxFrame *arg1 = (wxFrame *) 0 ;
6594 int arg2 ;
6595 bool result;
6596 void *argp1 = 0 ;
6597 int res1 = 0 ;
6598 int val2 ;
6599 int ecode2 = 0 ;
6600 PyObject * obj0 = 0 ;
6601 PyObject * obj1 = 0 ;
6602 char * kwnames[] = {
6603 (char *) "self",(char *) "winid", NULL
6604 };
6605
6606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6608 if (!SWIG_IsOK(res1)) {
6609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6610 }
6611 arg1 = reinterpret_cast< wxFrame * >(argp1);
6612 ecode2 = SWIG_AsVal_int(obj1, &val2);
6613 if (!SWIG_IsOK(ecode2)) {
6614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6615 }
6616 arg2 = static_cast< int >(val2);
6617 {
6618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6619 result = (bool)(arg1)->ProcessCommand(arg2);
6620 wxPyEndAllowThreads(__tstate);
6621 if (PyErr_Occurred()) SWIG_fail;
6622 }
6623 {
6624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6625 }
6626 return resultobj;
6627 fail:
6628 return NULL;
6629 }
6630
6631
6632 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6633 PyObject *resultobj = 0;
6634 wxFrame *arg1 = (wxFrame *) 0 ;
6635 int arg2 = (int) 1 ;
6636 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6637 int arg4 = (int) 0 ;
6638 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6639 wxString *arg5 = (wxString *) &arg5_defvalue ;
6640 wxStatusBar *result = 0 ;
6641 void *argp1 = 0 ;
6642 int res1 = 0 ;
6643 int val2 ;
6644 int ecode2 = 0 ;
6645 long val3 ;
6646 int ecode3 = 0 ;
6647 int val4 ;
6648 int ecode4 = 0 ;
6649 bool temp5 = false ;
6650 PyObject * obj0 = 0 ;
6651 PyObject * obj1 = 0 ;
6652 PyObject * obj2 = 0 ;
6653 PyObject * obj3 = 0 ;
6654 PyObject * obj4 = 0 ;
6655 char * kwnames[] = {
6656 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6657 };
6658
6659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6661 if (!SWIG_IsOK(res1)) {
6662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6663 }
6664 arg1 = reinterpret_cast< wxFrame * >(argp1);
6665 if (obj1) {
6666 ecode2 = SWIG_AsVal_int(obj1, &val2);
6667 if (!SWIG_IsOK(ecode2)) {
6668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6669 }
6670 arg2 = static_cast< int >(val2);
6671 }
6672 if (obj2) {
6673 ecode3 = SWIG_AsVal_long(obj2, &val3);
6674 if (!SWIG_IsOK(ecode3)) {
6675 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6676 }
6677 arg3 = static_cast< long >(val3);
6678 }
6679 if (obj3) {
6680 ecode4 = SWIG_AsVal_int(obj3, &val4);
6681 if (!SWIG_IsOK(ecode4)) {
6682 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6683 }
6684 arg4 = static_cast< int >(val4);
6685 }
6686 if (obj4) {
6687 {
6688 arg5 = wxString_in_helper(obj4);
6689 if (arg5 == NULL) SWIG_fail;
6690 temp5 = true;
6691 }
6692 }
6693 {
6694 PyThreadState* __tstate = wxPyBeginAllowThreads();
6695 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6696 wxPyEndAllowThreads(__tstate);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 }
6699 {
6700 resultobj = wxPyMake_wxObject(result, (bool)0);
6701 }
6702 {
6703 if (temp5)
6704 delete arg5;
6705 }
6706 return resultobj;
6707 fail:
6708 {
6709 if (temp5)
6710 delete arg5;
6711 }
6712 return NULL;
6713 }
6714
6715
6716 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6717 PyObject *resultobj = 0;
6718 wxFrame *arg1 = (wxFrame *) 0 ;
6719 wxStatusBar *result = 0 ;
6720 void *argp1 = 0 ;
6721 int res1 = 0 ;
6722 PyObject *swig_obj[1] ;
6723
6724 if (!args) SWIG_fail;
6725 swig_obj[0] = args;
6726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6727 if (!SWIG_IsOK(res1)) {
6728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6729 }
6730 arg1 = reinterpret_cast< wxFrame * >(argp1);
6731 {
6732 PyThreadState* __tstate = wxPyBeginAllowThreads();
6733 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6734 wxPyEndAllowThreads(__tstate);
6735 if (PyErr_Occurred()) SWIG_fail;
6736 }
6737 {
6738 resultobj = wxPyMake_wxObject(result, (bool)0);
6739 }
6740 return resultobj;
6741 fail:
6742 return NULL;
6743 }
6744
6745
6746 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6747 PyObject *resultobj = 0;
6748 wxFrame *arg1 = (wxFrame *) 0 ;
6749 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6750 void *argp1 = 0 ;
6751 int res1 = 0 ;
6752 void *argp2 = 0 ;
6753 int res2 = 0 ;
6754 PyObject * obj0 = 0 ;
6755 PyObject * obj1 = 0 ;
6756 char * kwnames[] = {
6757 (char *) "self",(char *) "statBar", NULL
6758 };
6759
6760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6762 if (!SWIG_IsOK(res1)) {
6763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6764 }
6765 arg1 = reinterpret_cast< wxFrame * >(argp1);
6766 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6767 if (!SWIG_IsOK(res2)) {
6768 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6769 }
6770 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 (arg1)->SetStatusBar(arg2);
6774 wxPyEndAllowThreads(__tstate);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 }
6777 resultobj = SWIG_Py_Void();
6778 return resultobj;
6779 fail:
6780 return NULL;
6781 }
6782
6783
6784 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6785 PyObject *resultobj = 0;
6786 wxFrame *arg1 = (wxFrame *) 0 ;
6787 wxString *arg2 = 0 ;
6788 int arg3 = (int) 0 ;
6789 void *argp1 = 0 ;
6790 int res1 = 0 ;
6791 bool temp2 = false ;
6792 int val3 ;
6793 int ecode3 = 0 ;
6794 PyObject * obj0 = 0 ;
6795 PyObject * obj1 = 0 ;
6796 PyObject * obj2 = 0 ;
6797 char * kwnames[] = {
6798 (char *) "self",(char *) "text",(char *) "number", NULL
6799 };
6800
6801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6803 if (!SWIG_IsOK(res1)) {
6804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6805 }
6806 arg1 = reinterpret_cast< wxFrame * >(argp1);
6807 {
6808 arg2 = wxString_in_helper(obj1);
6809 if (arg2 == NULL) SWIG_fail;
6810 temp2 = true;
6811 }
6812 if (obj2) {
6813 ecode3 = SWIG_AsVal_int(obj2, &val3);
6814 if (!SWIG_IsOK(ecode3)) {
6815 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6816 }
6817 arg3 = static_cast< int >(val3);
6818 }
6819 {
6820 PyThreadState* __tstate = wxPyBeginAllowThreads();
6821 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6822 wxPyEndAllowThreads(__tstate);
6823 if (PyErr_Occurred()) SWIG_fail;
6824 }
6825 resultobj = SWIG_Py_Void();
6826 {
6827 if (temp2)
6828 delete arg2;
6829 }
6830 return resultobj;
6831 fail:
6832 {
6833 if (temp2)
6834 delete arg2;
6835 }
6836 return NULL;
6837 }
6838
6839
6840 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6841 PyObject *resultobj = 0;
6842 wxFrame *arg1 = (wxFrame *) 0 ;
6843 int arg2 ;
6844 int *arg3 = (int *) 0 ;
6845 void *argp1 = 0 ;
6846 int res1 = 0 ;
6847 PyObject * obj0 = 0 ;
6848 PyObject * obj1 = 0 ;
6849 char * kwnames[] = {
6850 (char *) "self",(char *) "widths", NULL
6851 };
6852
6853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6855 if (!SWIG_IsOK(res1)) {
6856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6857 }
6858 arg1 = reinterpret_cast< wxFrame * >(argp1);
6859 {
6860 arg2 = PyList_Size(obj1);
6861 arg3 = int_LIST_helper(obj1);
6862 if (arg3 == NULL) SWIG_fail;
6863 }
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 resultobj = SWIG_Py_Void();
6871 {
6872 if (arg3) delete [] arg3;
6873 }
6874 return resultobj;
6875 fail:
6876 {
6877 if (arg3) delete [] arg3;
6878 }
6879 return NULL;
6880 }
6881
6882
6883 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6884 PyObject *resultobj = 0;
6885 wxFrame *arg1 = (wxFrame *) 0 ;
6886 wxString *arg2 = 0 ;
6887 int arg3 = (int) 0 ;
6888 void *argp1 = 0 ;
6889 int res1 = 0 ;
6890 bool temp2 = false ;
6891 int val3 ;
6892 int ecode3 = 0 ;
6893 PyObject * obj0 = 0 ;
6894 PyObject * obj1 = 0 ;
6895 PyObject * obj2 = 0 ;
6896 char * kwnames[] = {
6897 (char *) "self",(char *) "text",(char *) "number", NULL
6898 };
6899
6900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6902 if (!SWIG_IsOK(res1)) {
6903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6904 }
6905 arg1 = reinterpret_cast< wxFrame * >(argp1);
6906 {
6907 arg2 = wxString_in_helper(obj1);
6908 if (arg2 == NULL) SWIG_fail;
6909 temp2 = true;
6910 }
6911 if (obj2) {
6912 ecode3 = SWIG_AsVal_int(obj2, &val3);
6913 if (!SWIG_IsOK(ecode3)) {
6914 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6915 }
6916 arg3 = static_cast< int >(val3);
6917 }
6918 {
6919 PyThreadState* __tstate = wxPyBeginAllowThreads();
6920 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6921 wxPyEndAllowThreads(__tstate);
6922 if (PyErr_Occurred()) SWIG_fail;
6923 }
6924 resultobj = SWIG_Py_Void();
6925 {
6926 if (temp2)
6927 delete arg2;
6928 }
6929 return resultobj;
6930 fail:
6931 {
6932 if (temp2)
6933 delete arg2;
6934 }
6935 return NULL;
6936 }
6937
6938
6939 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6940 PyObject *resultobj = 0;
6941 wxFrame *arg1 = (wxFrame *) 0 ;
6942 int arg2 = (int) 0 ;
6943 void *argp1 = 0 ;
6944 int res1 = 0 ;
6945 int val2 ;
6946 int ecode2 = 0 ;
6947 PyObject * obj0 = 0 ;
6948 PyObject * obj1 = 0 ;
6949 char * kwnames[] = {
6950 (char *) "self",(char *) "number", NULL
6951 };
6952
6953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6955 if (!SWIG_IsOK(res1)) {
6956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6957 }
6958 arg1 = reinterpret_cast< wxFrame * >(argp1);
6959 if (obj1) {
6960 ecode2 = SWIG_AsVal_int(obj1, &val2);
6961 if (!SWIG_IsOK(ecode2)) {
6962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6963 }
6964 arg2 = static_cast< int >(val2);
6965 }
6966 {
6967 PyThreadState* __tstate = wxPyBeginAllowThreads();
6968 (arg1)->PopStatusText(arg2);
6969 wxPyEndAllowThreads(__tstate);
6970 if (PyErr_Occurred()) SWIG_fail;
6971 }
6972 resultobj = SWIG_Py_Void();
6973 return resultobj;
6974 fail:
6975 return NULL;
6976 }
6977
6978
6979 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6980 PyObject *resultobj = 0;
6981 wxFrame *arg1 = (wxFrame *) 0 ;
6982 int arg2 ;
6983 void *argp1 = 0 ;
6984 int res1 = 0 ;
6985 int val2 ;
6986 int ecode2 = 0 ;
6987 PyObject * obj0 = 0 ;
6988 PyObject * obj1 = 0 ;
6989 char * kwnames[] = {
6990 (char *) "self",(char *) "n", NULL
6991 };
6992
6993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6995 if (!SWIG_IsOK(res1)) {
6996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6997 }
6998 arg1 = reinterpret_cast< wxFrame * >(argp1);
6999 ecode2 = SWIG_AsVal_int(obj1, &val2);
7000 if (!SWIG_IsOK(ecode2)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7002 }
7003 arg2 = static_cast< int >(val2);
7004 {
7005 PyThreadState* __tstate = wxPyBeginAllowThreads();
7006 (arg1)->SetStatusBarPane(arg2);
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 resultobj = SWIG_Py_Void();
7011 return resultobj;
7012 fail:
7013 return NULL;
7014 }
7015
7016
7017 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7018 PyObject *resultobj = 0;
7019 wxFrame *arg1 = (wxFrame *) 0 ;
7020 int result;
7021 void *argp1 = 0 ;
7022 int res1 = 0 ;
7023 PyObject *swig_obj[1] ;
7024
7025 if (!args) SWIG_fail;
7026 swig_obj[0] = args;
7027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7028 if (!SWIG_IsOK(res1)) {
7029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7030 }
7031 arg1 = reinterpret_cast< wxFrame * >(argp1);
7032 {
7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
7034 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7035 wxPyEndAllowThreads(__tstate);
7036 if (PyErr_Occurred()) SWIG_fail;
7037 }
7038 resultobj = SWIG_From_int(static_cast< int >(result));
7039 return resultobj;
7040 fail:
7041 return NULL;
7042 }
7043
7044
7045 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7046 PyObject *resultobj = 0;
7047 wxFrame *arg1 = (wxFrame *) 0 ;
7048 long arg2 = (long) -1 ;
7049 int arg3 = (int) -1 ;
7050 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7051 wxString *arg4 = (wxString *) &arg4_defvalue ;
7052 wxToolBar *result = 0 ;
7053 void *argp1 = 0 ;
7054 int res1 = 0 ;
7055 long val2 ;
7056 int ecode2 = 0 ;
7057 int val3 ;
7058 int ecode3 = 0 ;
7059 bool temp4 = false ;
7060 PyObject * obj0 = 0 ;
7061 PyObject * obj1 = 0 ;
7062 PyObject * obj2 = 0 ;
7063 PyObject * obj3 = 0 ;
7064 char * kwnames[] = {
7065 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7066 };
7067
7068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7070 if (!SWIG_IsOK(res1)) {
7071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7072 }
7073 arg1 = reinterpret_cast< wxFrame * >(argp1);
7074 if (obj1) {
7075 ecode2 = SWIG_AsVal_long(obj1, &val2);
7076 if (!SWIG_IsOK(ecode2)) {
7077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7078 }
7079 arg2 = static_cast< long >(val2);
7080 }
7081 if (obj2) {
7082 ecode3 = SWIG_AsVal_int(obj2, &val3);
7083 if (!SWIG_IsOK(ecode3)) {
7084 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7085 }
7086 arg3 = static_cast< int >(val3);
7087 }
7088 if (obj3) {
7089 {
7090 arg4 = wxString_in_helper(obj3);
7091 if (arg4 == NULL) SWIG_fail;
7092 temp4 = true;
7093 }
7094 }
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 {
7102 resultobj = wxPyMake_wxObject(result, (bool)0);
7103 }
7104 {
7105 if (temp4)
7106 delete arg4;
7107 }
7108 return resultobj;
7109 fail:
7110 {
7111 if (temp4)
7112 delete arg4;
7113 }
7114 return NULL;
7115 }
7116
7117
7118 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7119 PyObject *resultobj = 0;
7120 wxFrame *arg1 = (wxFrame *) 0 ;
7121 wxToolBar *result = 0 ;
7122 void *argp1 = 0 ;
7123 int res1 = 0 ;
7124 PyObject *swig_obj[1] ;
7125
7126 if (!args) SWIG_fail;
7127 swig_obj[0] = args;
7128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7129 if (!SWIG_IsOK(res1)) {
7130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7131 }
7132 arg1 = reinterpret_cast< wxFrame * >(argp1);
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7136 wxPyEndAllowThreads(__tstate);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
7139 {
7140 resultobj = wxPyMake_wxObject(result, (bool)0);
7141 }
7142 return resultobj;
7143 fail:
7144 return NULL;
7145 }
7146
7147
7148 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7149 PyObject *resultobj = 0;
7150 wxFrame *arg1 = (wxFrame *) 0 ;
7151 wxToolBar *arg2 = (wxToolBar *) 0 ;
7152 void *argp1 = 0 ;
7153 int res1 = 0 ;
7154 void *argp2 = 0 ;
7155 int res2 = 0 ;
7156 PyObject * obj0 = 0 ;
7157 PyObject * obj1 = 0 ;
7158 char * kwnames[] = {
7159 (char *) "self",(char *) "toolbar", NULL
7160 };
7161
7162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7164 if (!SWIG_IsOK(res1)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7166 }
7167 arg1 = reinterpret_cast< wxFrame * >(argp1);
7168 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7169 if (!SWIG_IsOK(res2)) {
7170 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7171 }
7172 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7173 {
7174 PyThreadState* __tstate = wxPyBeginAllowThreads();
7175 (arg1)->SetToolBar(arg2);
7176 wxPyEndAllowThreads(__tstate);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 }
7179 resultobj = SWIG_Py_Void();
7180 return resultobj;
7181 fail:
7182 return NULL;
7183 }
7184
7185
7186 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7187 PyObject *resultobj = 0;
7188 wxFrame *arg1 = (wxFrame *) 0 ;
7189 wxString *arg2 = 0 ;
7190 bool arg3 ;
7191 void *argp1 = 0 ;
7192 int res1 = 0 ;
7193 bool temp2 = false ;
7194 bool val3 ;
7195 int ecode3 = 0 ;
7196 PyObject * obj0 = 0 ;
7197 PyObject * obj1 = 0 ;
7198 PyObject * obj2 = 0 ;
7199 char * kwnames[] = {
7200 (char *) "self",(char *) "text",(char *) "show", NULL
7201 };
7202
7203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7205 if (!SWIG_IsOK(res1)) {
7206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7207 }
7208 arg1 = reinterpret_cast< wxFrame * >(argp1);
7209 {
7210 arg2 = wxString_in_helper(obj1);
7211 if (arg2 == NULL) SWIG_fail;
7212 temp2 = true;
7213 }
7214 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7215 if (!SWIG_IsOK(ecode3)) {
7216 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7217 }
7218 arg3 = static_cast< bool >(val3);
7219 {
7220 PyThreadState* __tstate = wxPyBeginAllowThreads();
7221 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7222 wxPyEndAllowThreads(__tstate);
7223 if (PyErr_Occurred()) SWIG_fail;
7224 }
7225 resultobj = SWIG_Py_Void();
7226 {
7227 if (temp2)
7228 delete arg2;
7229 }
7230 return resultobj;
7231 fail:
7232 {
7233 if (temp2)
7234 delete arg2;
7235 }
7236 return NULL;
7237 }
7238
7239
7240 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7241 PyObject *resultobj = 0;
7242 wxFrame *arg1 = (wxFrame *) 0 ;
7243 wxMenu *arg2 = (wxMenu *) NULL ;
7244 void *argp1 = 0 ;
7245 int res1 = 0 ;
7246 void *argp2 = 0 ;
7247 int res2 = 0 ;
7248 PyObject * obj0 = 0 ;
7249 PyObject * obj1 = 0 ;
7250 char * kwnames[] = {
7251 (char *) "self",(char *) "menu", NULL
7252 };
7253
7254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7256 if (!SWIG_IsOK(res1)) {
7257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7258 }
7259 arg1 = reinterpret_cast< wxFrame * >(argp1);
7260 if (obj1) {
7261 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7262 if (!SWIG_IsOK(res2)) {
7263 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7264 }
7265 arg2 = reinterpret_cast< wxMenu * >(argp2);
7266 }
7267 {
7268 PyThreadState* __tstate = wxPyBeginAllowThreads();
7269 (arg1)->DoMenuUpdates(arg2);
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 resultobj = SWIG_Py_Void();
7274 return resultobj;
7275 fail:
7276 return NULL;
7277 }
7278
7279
7280 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7281 PyObject *resultobj = 0;
7282 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7283 SwigValueWrapper<wxVisualAttributes > result;
7284 int val1 ;
7285 int ecode1 = 0 ;
7286 PyObject * obj0 = 0 ;
7287 char * kwnames[] = {
7288 (char *) "variant", NULL
7289 };
7290
7291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7292 if (obj0) {
7293 ecode1 = SWIG_AsVal_int(obj0, &val1);
7294 if (!SWIG_IsOK(ecode1)) {
7295 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7296 }
7297 arg1 = static_cast< wxWindowVariant >(val1);
7298 }
7299 {
7300 if (!wxPyCheckForApp()) SWIG_fail;
7301 PyThreadState* __tstate = wxPyBeginAllowThreads();
7302 result = wxFrame::GetClassDefaultAttributes(arg1);
7303 wxPyEndAllowThreads(__tstate);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 }
7306 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7307 return resultobj;
7308 fail:
7309 return NULL;
7310 }
7311
7312
7313 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7314 PyObject *obj;
7315 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7316 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7317 return SWIG_Py_Void();
7318 }
7319
7320 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7321 return SWIG_Python_InitShadowInstance(args);
7322 }
7323
7324 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj = 0;
7326 wxWindow *arg1 = (wxWindow *) 0 ;
7327 int arg2 = (int) (int)-1 ;
7328 wxString const &arg3_defvalue = wxPyEmptyString ;
7329 wxString *arg3 = (wxString *) &arg3_defvalue ;
7330 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7331 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7332 wxSize const &arg5_defvalue = wxDefaultSize ;
7333 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7334 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7335 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7336 wxString *arg7 = (wxString *) &arg7_defvalue ;
7337 wxDialog *result = 0 ;
7338 void *argp1 = 0 ;
7339 int res1 = 0 ;
7340 int val2 ;
7341 int ecode2 = 0 ;
7342 bool temp3 = false ;
7343 wxPoint temp4 ;
7344 wxSize temp5 ;
7345 long val6 ;
7346 int ecode6 = 0 ;
7347 bool temp7 = false ;
7348 PyObject * obj0 = 0 ;
7349 PyObject * obj1 = 0 ;
7350 PyObject * obj2 = 0 ;
7351 PyObject * obj3 = 0 ;
7352 PyObject * obj4 = 0 ;
7353 PyObject * obj5 = 0 ;
7354 PyObject * obj6 = 0 ;
7355 char * kwnames[] = {
7356 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7357 };
7358
7359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7361 if (!SWIG_IsOK(res1)) {
7362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7363 }
7364 arg1 = reinterpret_cast< wxWindow * >(argp1);
7365 if (obj1) {
7366 ecode2 = SWIG_AsVal_int(obj1, &val2);
7367 if (!SWIG_IsOK(ecode2)) {
7368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7369 }
7370 arg2 = static_cast< int >(val2);
7371 }
7372 if (obj2) {
7373 {
7374 arg3 = wxString_in_helper(obj2);
7375 if (arg3 == NULL) SWIG_fail;
7376 temp3 = true;
7377 }
7378 }
7379 if (obj3) {
7380 {
7381 arg4 = &temp4;
7382 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7383 }
7384 }
7385 if (obj4) {
7386 {
7387 arg5 = &temp5;
7388 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7389 }
7390 }
7391 if (obj5) {
7392 ecode6 = SWIG_AsVal_long(obj5, &val6);
7393 if (!SWIG_IsOK(ecode6)) {
7394 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7395 }
7396 arg6 = static_cast< long >(val6);
7397 }
7398 if (obj6) {
7399 {
7400 arg7 = wxString_in_helper(obj6);
7401 if (arg7 == NULL) SWIG_fail;
7402 temp7 = true;
7403 }
7404 }
7405 {
7406 if (!wxPyCheckForApp()) SWIG_fail;
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7409 wxPyEndAllowThreads(__tstate);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 }
7412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7413 {
7414 if (temp3)
7415 delete arg3;
7416 }
7417 {
7418 if (temp7)
7419 delete arg7;
7420 }
7421 return resultobj;
7422 fail:
7423 {
7424 if (temp3)
7425 delete arg3;
7426 }
7427 {
7428 if (temp7)
7429 delete arg7;
7430 }
7431 return NULL;
7432 }
7433
7434
7435 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7436 PyObject *resultobj = 0;
7437 wxDialog *result = 0 ;
7438
7439 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7440 {
7441 if (!wxPyCheckForApp()) SWIG_fail;
7442 PyThreadState* __tstate = wxPyBeginAllowThreads();
7443 result = (wxDialog *)new wxDialog();
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7448 return resultobj;
7449 fail:
7450 return NULL;
7451 }
7452
7453
7454 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7455 PyObject *resultobj = 0;
7456 wxDialog *arg1 = (wxDialog *) 0 ;
7457 wxWindow *arg2 = (wxWindow *) 0 ;
7458 int arg3 = (int) (int)-1 ;
7459 wxString const &arg4_defvalue = wxPyEmptyString ;
7460 wxString *arg4 = (wxString *) &arg4_defvalue ;
7461 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7462 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7463 wxSize const &arg6_defvalue = wxDefaultSize ;
7464 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7465 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7466 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7467 wxString *arg8 = (wxString *) &arg8_defvalue ;
7468 bool result;
7469 void *argp1 = 0 ;
7470 int res1 = 0 ;
7471 void *argp2 = 0 ;
7472 int res2 = 0 ;
7473 int val3 ;
7474 int ecode3 = 0 ;
7475 bool temp4 = false ;
7476 wxPoint temp5 ;
7477 wxSize temp6 ;
7478 long val7 ;
7479 int ecode7 = 0 ;
7480 bool temp8 = false ;
7481 PyObject * obj0 = 0 ;
7482 PyObject * obj1 = 0 ;
7483 PyObject * obj2 = 0 ;
7484 PyObject * obj3 = 0 ;
7485 PyObject * obj4 = 0 ;
7486 PyObject * obj5 = 0 ;
7487 PyObject * obj6 = 0 ;
7488 PyObject * obj7 = 0 ;
7489 char * kwnames[] = {
7490 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7491 };
7492
7493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7495 if (!SWIG_IsOK(res1)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7497 }
7498 arg1 = reinterpret_cast< wxDialog * >(argp1);
7499 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7500 if (!SWIG_IsOK(res2)) {
7501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7502 }
7503 arg2 = reinterpret_cast< wxWindow * >(argp2);
7504 if (obj2) {
7505 ecode3 = SWIG_AsVal_int(obj2, &val3);
7506 if (!SWIG_IsOK(ecode3)) {
7507 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7508 }
7509 arg3 = static_cast< int >(val3);
7510 }
7511 if (obj3) {
7512 {
7513 arg4 = wxString_in_helper(obj3);
7514 if (arg4 == NULL) SWIG_fail;
7515 temp4 = true;
7516 }
7517 }
7518 if (obj4) {
7519 {
7520 arg5 = &temp5;
7521 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7522 }
7523 }
7524 if (obj5) {
7525 {
7526 arg6 = &temp6;
7527 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7528 }
7529 }
7530 if (obj6) {
7531 ecode7 = SWIG_AsVal_long(obj6, &val7);
7532 if (!SWIG_IsOK(ecode7)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7534 }
7535 arg7 = static_cast< long >(val7);
7536 }
7537 if (obj7) {
7538 {
7539 arg8 = wxString_in_helper(obj7);
7540 if (arg8 == NULL) SWIG_fail;
7541 temp8 = true;
7542 }
7543 }
7544 {
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 {
7551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7552 }
7553 {
7554 if (temp4)
7555 delete arg4;
7556 }
7557 {
7558 if (temp8)
7559 delete arg8;
7560 }
7561 return resultobj;
7562 fail:
7563 {
7564 if (temp4)
7565 delete arg4;
7566 }
7567 {
7568 if (temp8)
7569 delete arg8;
7570 }
7571 return NULL;
7572 }
7573
7574
7575 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7576 PyObject *resultobj = 0;
7577 wxDialog *arg1 = (wxDialog *) 0 ;
7578 int arg2 ;
7579 void *argp1 = 0 ;
7580 int res1 = 0 ;
7581 int val2 ;
7582 int ecode2 = 0 ;
7583 PyObject * obj0 = 0 ;
7584 PyObject * obj1 = 0 ;
7585 char * kwnames[] = {
7586 (char *) "self",(char *) "returnCode", NULL
7587 };
7588
7589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7591 if (!SWIG_IsOK(res1)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7593 }
7594 arg1 = reinterpret_cast< wxDialog * >(argp1);
7595 ecode2 = SWIG_AsVal_int(obj1, &val2);
7596 if (!SWIG_IsOK(ecode2)) {
7597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7598 }
7599 arg2 = static_cast< int >(val2);
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 (arg1)->SetReturnCode(arg2);
7603 wxPyEndAllowThreads(__tstate);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 }
7606 resultobj = SWIG_Py_Void();
7607 return resultobj;
7608 fail:
7609 return NULL;
7610 }
7611
7612
7613 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7614 PyObject *resultobj = 0;
7615 wxDialog *arg1 = (wxDialog *) 0 ;
7616 int result;
7617 void *argp1 = 0 ;
7618 int res1 = 0 ;
7619 PyObject *swig_obj[1] ;
7620
7621 if (!args) SWIG_fail;
7622 swig_obj[0] = args;
7623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7624 if (!SWIG_IsOK(res1)) {
7625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7626 }
7627 arg1 = reinterpret_cast< wxDialog * >(argp1);
7628 {
7629 PyThreadState* __tstate = wxPyBeginAllowThreads();
7630 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 resultobj = SWIG_From_int(static_cast< int >(result));
7635 return resultobj;
7636 fail:
7637 return NULL;
7638 }
7639
7640
7641 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7642 PyObject *resultobj = 0;
7643 wxDialog *arg1 = (wxDialog *) 0 ;
7644 int arg2 ;
7645 void *argp1 = 0 ;
7646 int res1 = 0 ;
7647 int val2 ;
7648 int ecode2 = 0 ;
7649 PyObject * obj0 = 0 ;
7650 PyObject * obj1 = 0 ;
7651 char * kwnames[] = {
7652 (char *) "self",(char *) "affirmativeId", NULL
7653 };
7654
7655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7657 if (!SWIG_IsOK(res1)) {
7658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7659 }
7660 arg1 = reinterpret_cast< wxDialog * >(argp1);
7661 ecode2 = SWIG_AsVal_int(obj1, &val2);
7662 if (!SWIG_IsOK(ecode2)) {
7663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7664 }
7665 arg2 = static_cast< int >(val2);
7666 {
7667 PyThreadState* __tstate = wxPyBeginAllowThreads();
7668 (arg1)->SetAffirmativeId(arg2);
7669 wxPyEndAllowThreads(__tstate);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 }
7672 resultobj = SWIG_Py_Void();
7673 return resultobj;
7674 fail:
7675 return NULL;
7676 }
7677
7678
7679 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7680 PyObject *resultobj = 0;
7681 wxDialog *arg1 = (wxDialog *) 0 ;
7682 int result;
7683 void *argp1 = 0 ;
7684 int res1 = 0 ;
7685 PyObject *swig_obj[1] ;
7686
7687 if (!args) SWIG_fail;
7688 swig_obj[0] = args;
7689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7690 if (!SWIG_IsOK(res1)) {
7691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7692 }
7693 arg1 = reinterpret_cast< wxDialog * >(argp1);
7694 {
7695 PyThreadState* __tstate = wxPyBeginAllowThreads();
7696 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 }
7700 resultobj = SWIG_From_int(static_cast< int >(result));
7701 return resultobj;
7702 fail:
7703 return NULL;
7704 }
7705
7706
7707 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7708 PyObject *resultobj = 0;
7709 wxDialog *arg1 = (wxDialog *) 0 ;
7710 int arg2 ;
7711 void *argp1 = 0 ;
7712 int res1 = 0 ;
7713 int val2 ;
7714 int ecode2 = 0 ;
7715 PyObject * obj0 = 0 ;
7716 PyObject * obj1 = 0 ;
7717 char * kwnames[] = {
7718 (char *) "self",(char *) "escapeId", NULL
7719 };
7720
7721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7723 if (!SWIG_IsOK(res1)) {
7724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7725 }
7726 arg1 = reinterpret_cast< wxDialog * >(argp1);
7727 ecode2 = SWIG_AsVal_int(obj1, &val2);
7728 if (!SWIG_IsOK(ecode2)) {
7729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7730 }
7731 arg2 = static_cast< int >(val2);
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 (arg1)->SetEscapeId(arg2);
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 resultobj = SWIG_Py_Void();
7739 return resultobj;
7740 fail:
7741 return NULL;
7742 }
7743
7744
7745 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7746 PyObject *resultobj = 0;
7747 wxDialog *arg1 = (wxDialog *) 0 ;
7748 int result;
7749 void *argp1 = 0 ;
7750 int res1 = 0 ;
7751 PyObject *swig_obj[1] ;
7752
7753 if (!args) SWIG_fail;
7754 swig_obj[0] = args;
7755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7756 if (!SWIG_IsOK(res1)) {
7757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7758 }
7759 arg1 = reinterpret_cast< wxDialog * >(argp1);
7760 {
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7763 wxPyEndAllowThreads(__tstate);
7764 if (PyErr_Occurred()) SWIG_fail;
7765 }
7766 resultobj = SWIG_From_int(static_cast< int >(result));
7767 return resultobj;
7768 fail:
7769 return NULL;
7770 }
7771
7772
7773 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7774 PyObject *resultobj = 0;
7775 wxDialog *arg1 = (wxDialog *) 0 ;
7776 wxString *arg2 = 0 ;
7777 wxSizer *result = 0 ;
7778 void *argp1 = 0 ;
7779 int res1 = 0 ;
7780 bool temp2 = false ;
7781 PyObject * obj0 = 0 ;
7782 PyObject * obj1 = 0 ;
7783 char * kwnames[] = {
7784 (char *) "self",(char *) "message", NULL
7785 };
7786
7787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7789 if (!SWIG_IsOK(res1)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7791 }
7792 arg1 = reinterpret_cast< wxDialog * >(argp1);
7793 {
7794 arg2 = wxString_in_helper(obj1);
7795 if (arg2 == NULL) SWIG_fail;
7796 temp2 = true;
7797 }
7798 {
7799 PyThreadState* __tstate = wxPyBeginAllowThreads();
7800 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7801 wxPyEndAllowThreads(__tstate);
7802 if (PyErr_Occurred()) SWIG_fail;
7803 }
7804 {
7805 resultobj = wxPyMake_wxObject(result, (bool)0);
7806 }
7807 {
7808 if (temp2)
7809 delete arg2;
7810 }
7811 return resultobj;
7812 fail:
7813 {
7814 if (temp2)
7815 delete arg2;
7816 }
7817 return NULL;
7818 }
7819
7820
7821 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7822 PyObject *resultobj = 0;
7823 wxDialog *arg1 = (wxDialog *) 0 ;
7824 long arg2 ;
7825 wxSizer *result = 0 ;
7826 void *argp1 = 0 ;
7827 int res1 = 0 ;
7828 long val2 ;
7829 int ecode2 = 0 ;
7830 PyObject * obj0 = 0 ;
7831 PyObject * obj1 = 0 ;
7832 char * kwnames[] = {
7833 (char *) "self",(char *) "flags", NULL
7834 };
7835
7836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7838 if (!SWIG_IsOK(res1)) {
7839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7840 }
7841 arg1 = reinterpret_cast< wxDialog * >(argp1);
7842 ecode2 = SWIG_AsVal_long(obj1, &val2);
7843 if (!SWIG_IsOK(ecode2)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7845 }
7846 arg2 = static_cast< long >(val2);
7847 {
7848 PyThreadState* __tstate = wxPyBeginAllowThreads();
7849 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
7853 {
7854 resultobj = wxPyMake_wxObject(result, (bool)0);
7855 }
7856 return resultobj;
7857 fail:
7858 return NULL;
7859 }
7860
7861
7862 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7863 PyObject *resultobj = 0;
7864 wxDialog *arg1 = (wxDialog *) 0 ;
7865 long arg2 ;
7866 wxSizer *result = 0 ;
7867 void *argp1 = 0 ;
7868 int res1 = 0 ;
7869 long val2 ;
7870 int ecode2 = 0 ;
7871 PyObject * obj0 = 0 ;
7872 PyObject * obj1 = 0 ;
7873 char * kwnames[] = {
7874 (char *) "self",(char *) "flags", NULL
7875 };
7876
7877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7879 if (!SWIG_IsOK(res1)) {
7880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7881 }
7882 arg1 = reinterpret_cast< wxDialog * >(argp1);
7883 ecode2 = SWIG_AsVal_long(obj1, &val2);
7884 if (!SWIG_IsOK(ecode2)) {
7885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7886 }
7887 arg2 = static_cast< long >(val2);
7888 {
7889 PyThreadState* __tstate = wxPyBeginAllowThreads();
7890 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 {
7895 resultobj = wxPyMake_wxObject(result, (bool)0);
7896 }
7897 return resultobj;
7898 fail:
7899 return NULL;
7900 }
7901
7902
7903 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7904 PyObject *resultobj = 0;
7905 wxDialog *arg1 = (wxDialog *) 0 ;
7906 long arg2 ;
7907 wxStdDialogButtonSizer *result = 0 ;
7908 void *argp1 = 0 ;
7909 int res1 = 0 ;
7910 long val2 ;
7911 int ecode2 = 0 ;
7912 PyObject * obj0 = 0 ;
7913 PyObject * obj1 = 0 ;
7914 char * kwnames[] = {
7915 (char *) "self",(char *) "flags", NULL
7916 };
7917
7918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7920 if (!SWIG_IsOK(res1)) {
7921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7922 }
7923 arg1 = reinterpret_cast< wxDialog * >(argp1);
7924 ecode2 = SWIG_AsVal_long(obj1, &val2);
7925 if (!SWIG_IsOK(ecode2)) {
7926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7927 }
7928 arg2 = static_cast< long >(val2);
7929 {
7930 PyThreadState* __tstate = wxPyBeginAllowThreads();
7931 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7932 wxPyEndAllowThreads(__tstate);
7933 if (PyErr_Occurred()) SWIG_fail;
7934 }
7935 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7936 return resultobj;
7937 fail:
7938 return NULL;
7939 }
7940
7941
7942 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7943 PyObject *resultobj = 0;
7944 wxDialog *arg1 = (wxDialog *) 0 ;
7945 bool result;
7946 void *argp1 = 0 ;
7947 int res1 = 0 ;
7948 PyObject *swig_obj[1] ;
7949
7950 if (!args) SWIG_fail;
7951 swig_obj[0] = args;
7952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7953 if (!SWIG_IsOK(res1)) {
7954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7955 }
7956 arg1 = reinterpret_cast< wxDialog * >(argp1);
7957 {
7958 PyThreadState* __tstate = wxPyBeginAllowThreads();
7959 result = (bool)((wxDialog const *)arg1)->IsModal();
7960 wxPyEndAllowThreads(__tstate);
7961 if (PyErr_Occurred()) SWIG_fail;
7962 }
7963 {
7964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7965 }
7966 return resultobj;
7967 fail:
7968 return NULL;
7969 }
7970
7971
7972 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7973 PyObject *resultobj = 0;
7974 wxDialog *arg1 = (wxDialog *) 0 ;
7975 int result;
7976 void *argp1 = 0 ;
7977 int res1 = 0 ;
7978 PyObject *swig_obj[1] ;
7979
7980 if (!args) SWIG_fail;
7981 swig_obj[0] = args;
7982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7983 if (!SWIG_IsOK(res1)) {
7984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7985 }
7986 arg1 = reinterpret_cast< wxDialog * >(argp1);
7987 {
7988 PyThreadState* __tstate = wxPyBeginAllowThreads();
7989 result = (int)(arg1)->ShowModal();
7990 wxPyEndAllowThreads(__tstate);
7991 if (PyErr_Occurred()) SWIG_fail;
7992 }
7993 resultobj = SWIG_From_int(static_cast< int >(result));
7994 return resultobj;
7995 fail:
7996 return NULL;
7997 }
7998
7999
8000 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8001 PyObject *resultobj = 0;
8002 wxDialog *arg1 = (wxDialog *) 0 ;
8003 int arg2 ;
8004 void *argp1 = 0 ;
8005 int res1 = 0 ;
8006 int val2 ;
8007 int ecode2 = 0 ;
8008 PyObject * obj0 = 0 ;
8009 PyObject * obj1 = 0 ;
8010 char * kwnames[] = {
8011 (char *) "self",(char *) "retCode", NULL
8012 };
8013
8014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8016 if (!SWIG_IsOK(res1)) {
8017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8018 }
8019 arg1 = reinterpret_cast< wxDialog * >(argp1);
8020 ecode2 = SWIG_AsVal_int(obj1, &val2);
8021 if (!SWIG_IsOK(ecode2)) {
8022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8023 }
8024 arg2 = static_cast< int >(val2);
8025 {
8026 PyThreadState* __tstate = wxPyBeginAllowThreads();
8027 (arg1)->EndModal(arg2);
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 resultobj = SWIG_Py_Void();
8032 return resultobj;
8033 fail:
8034 return NULL;
8035 }
8036
8037
8038 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8039 PyObject *resultobj = 0;
8040 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8041 SwigValueWrapper<wxVisualAttributes > result;
8042 int val1 ;
8043 int ecode1 = 0 ;
8044 PyObject * obj0 = 0 ;
8045 char * kwnames[] = {
8046 (char *) "variant", NULL
8047 };
8048
8049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8050 if (obj0) {
8051 ecode1 = SWIG_AsVal_int(obj0, &val1);
8052 if (!SWIG_IsOK(ecode1)) {
8053 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8054 }
8055 arg1 = static_cast< wxWindowVariant >(val1);
8056 }
8057 {
8058 if (!wxPyCheckForApp()) SWIG_fail;
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 result = wxDialog::GetClassDefaultAttributes(arg1);
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
8064 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8065 return resultobj;
8066 fail:
8067 return NULL;
8068 }
8069
8070
8071 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8072 PyObject *obj;
8073 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8074 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8075 return SWIG_Py_Void();
8076 }
8077
8078 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8079 return SWIG_Python_InitShadowInstance(args);
8080 }
8081
8082 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8083 PyObject *resultobj = 0;
8084 wxWindow *arg1 = (wxWindow *) 0 ;
8085 int arg2 = (int) (int)-1 ;
8086 wxString const &arg3_defvalue = wxPyEmptyString ;
8087 wxString *arg3 = (wxString *) &arg3_defvalue ;
8088 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8089 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8090 wxSize const &arg5_defvalue = wxDefaultSize ;
8091 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8092 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8093 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8094 wxString *arg7 = (wxString *) &arg7_defvalue ;
8095 wxMiniFrame *result = 0 ;
8096 void *argp1 = 0 ;
8097 int res1 = 0 ;
8098 int val2 ;
8099 int ecode2 = 0 ;
8100 bool temp3 = false ;
8101 wxPoint temp4 ;
8102 wxSize temp5 ;
8103 long val6 ;
8104 int ecode6 = 0 ;
8105 bool temp7 = false ;
8106 PyObject * obj0 = 0 ;
8107 PyObject * obj1 = 0 ;
8108 PyObject * obj2 = 0 ;
8109 PyObject * obj3 = 0 ;
8110 PyObject * obj4 = 0 ;
8111 PyObject * obj5 = 0 ;
8112 PyObject * obj6 = 0 ;
8113 char * kwnames[] = {
8114 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8115 };
8116
8117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8119 if (!SWIG_IsOK(res1)) {
8120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8121 }
8122 arg1 = reinterpret_cast< wxWindow * >(argp1);
8123 if (obj1) {
8124 ecode2 = SWIG_AsVal_int(obj1, &val2);
8125 if (!SWIG_IsOK(ecode2)) {
8126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8127 }
8128 arg2 = static_cast< int >(val2);
8129 }
8130 if (obj2) {
8131 {
8132 arg3 = wxString_in_helper(obj2);
8133 if (arg3 == NULL) SWIG_fail;
8134 temp3 = true;
8135 }
8136 }
8137 if (obj3) {
8138 {
8139 arg4 = &temp4;
8140 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8141 }
8142 }
8143 if (obj4) {
8144 {
8145 arg5 = &temp5;
8146 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8147 }
8148 }
8149 if (obj5) {
8150 ecode6 = SWIG_AsVal_long(obj5, &val6);
8151 if (!SWIG_IsOK(ecode6)) {
8152 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8153 }
8154 arg6 = static_cast< long >(val6);
8155 }
8156 if (obj6) {
8157 {
8158 arg7 = wxString_in_helper(obj6);
8159 if (arg7 == NULL) SWIG_fail;
8160 temp7 = true;
8161 }
8162 }
8163 {
8164 if (!wxPyCheckForApp()) SWIG_fail;
8165 PyThreadState* __tstate = wxPyBeginAllowThreads();
8166 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
8170 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8171 {
8172 if (temp3)
8173 delete arg3;
8174 }
8175 {
8176 if (temp7)
8177 delete arg7;
8178 }
8179 return resultobj;
8180 fail:
8181 {
8182 if (temp3)
8183 delete arg3;
8184 }
8185 {
8186 if (temp7)
8187 delete arg7;
8188 }
8189 return NULL;
8190 }
8191
8192
8193 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8194 PyObject *resultobj = 0;
8195 wxMiniFrame *result = 0 ;
8196
8197 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8198 {
8199 if (!wxPyCheckForApp()) SWIG_fail;
8200 PyThreadState* __tstate = wxPyBeginAllowThreads();
8201 result = (wxMiniFrame *)new wxMiniFrame();
8202 wxPyEndAllowThreads(__tstate);
8203 if (PyErr_Occurred()) SWIG_fail;
8204 }
8205 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8206 return resultobj;
8207 fail:
8208 return NULL;
8209 }
8210
8211
8212 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8213 PyObject *resultobj = 0;
8214 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8215 wxWindow *arg2 = (wxWindow *) 0 ;
8216 int arg3 = (int) (int)-1 ;
8217 wxString const &arg4_defvalue = wxPyEmptyString ;
8218 wxString *arg4 = (wxString *) &arg4_defvalue ;
8219 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8220 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8221 wxSize const &arg6_defvalue = wxDefaultSize ;
8222 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8223 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8224 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8225 wxString *arg8 = (wxString *) &arg8_defvalue ;
8226 bool result;
8227 void *argp1 = 0 ;
8228 int res1 = 0 ;
8229 void *argp2 = 0 ;
8230 int res2 = 0 ;
8231 int val3 ;
8232 int ecode3 = 0 ;
8233 bool temp4 = false ;
8234 wxPoint temp5 ;
8235 wxSize temp6 ;
8236 long val7 ;
8237 int ecode7 = 0 ;
8238 bool temp8 = false ;
8239 PyObject * obj0 = 0 ;
8240 PyObject * obj1 = 0 ;
8241 PyObject * obj2 = 0 ;
8242 PyObject * obj3 = 0 ;
8243 PyObject * obj4 = 0 ;
8244 PyObject * obj5 = 0 ;
8245 PyObject * obj6 = 0 ;
8246 PyObject * obj7 = 0 ;
8247 char * kwnames[] = {
8248 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8249 };
8250
8251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8253 if (!SWIG_IsOK(res1)) {
8254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8255 }
8256 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8257 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8258 if (!SWIG_IsOK(res2)) {
8259 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8260 }
8261 arg2 = reinterpret_cast< wxWindow * >(argp2);
8262 if (obj2) {
8263 ecode3 = SWIG_AsVal_int(obj2, &val3);
8264 if (!SWIG_IsOK(ecode3)) {
8265 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8266 }
8267 arg3 = static_cast< int >(val3);
8268 }
8269 if (obj3) {
8270 {
8271 arg4 = wxString_in_helper(obj3);
8272 if (arg4 == NULL) SWIG_fail;
8273 temp4 = true;
8274 }
8275 }
8276 if (obj4) {
8277 {
8278 arg5 = &temp5;
8279 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8280 }
8281 }
8282 if (obj5) {
8283 {
8284 arg6 = &temp6;
8285 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8286 }
8287 }
8288 if (obj6) {
8289 ecode7 = SWIG_AsVal_long(obj6, &val7);
8290 if (!SWIG_IsOK(ecode7)) {
8291 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8292 }
8293 arg7 = static_cast< long >(val7);
8294 }
8295 if (obj7) {
8296 {
8297 arg8 = wxString_in_helper(obj7);
8298 if (arg8 == NULL) SWIG_fail;
8299 temp8 = true;
8300 }
8301 }
8302 {
8303 PyThreadState* __tstate = wxPyBeginAllowThreads();
8304 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8305 wxPyEndAllowThreads(__tstate);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 }
8308 {
8309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8310 }
8311 {
8312 if (temp4)
8313 delete arg4;
8314 }
8315 {
8316 if (temp8)
8317 delete arg8;
8318 }
8319 return resultobj;
8320 fail:
8321 {
8322 if (temp4)
8323 delete arg4;
8324 }
8325 {
8326 if (temp8)
8327 delete arg8;
8328 }
8329 return NULL;
8330 }
8331
8332
8333 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8334 PyObject *obj;
8335 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8336 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8337 return SWIG_Py_Void();
8338 }
8339
8340 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8341 return SWIG_Python_InitShadowInstance(args);
8342 }
8343
8344 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8345 PyObject *resultobj = 0;
8346 wxBitmap *arg1 = 0 ;
8347 wxWindow *arg2 = (wxWindow *) 0 ;
8348 int arg3 ;
8349 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8350 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8351 wxSize const &arg5_defvalue = wxDefaultSize ;
8352 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8353 long arg6 = (long) wxNO_BORDER ;
8354 wxSplashScreenWindow *result = 0 ;
8355 void *argp1 = 0 ;
8356 int res1 = 0 ;
8357 void *argp2 = 0 ;
8358 int res2 = 0 ;
8359 int val3 ;
8360 int ecode3 = 0 ;
8361 wxPoint temp4 ;
8362 wxSize temp5 ;
8363 long val6 ;
8364 int ecode6 = 0 ;
8365 PyObject * obj0 = 0 ;
8366 PyObject * obj1 = 0 ;
8367 PyObject * obj2 = 0 ;
8368 PyObject * obj3 = 0 ;
8369 PyObject * obj4 = 0 ;
8370 PyObject * obj5 = 0 ;
8371 char * kwnames[] = {
8372 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8373 };
8374
8375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8376 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8377 if (!SWIG_IsOK(res1)) {
8378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8379 }
8380 if (!argp1) {
8381 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8382 }
8383 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8384 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8385 if (!SWIG_IsOK(res2)) {
8386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8387 }
8388 arg2 = reinterpret_cast< wxWindow * >(argp2);
8389 ecode3 = SWIG_AsVal_int(obj2, &val3);
8390 if (!SWIG_IsOK(ecode3)) {
8391 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8392 }
8393 arg3 = static_cast< int >(val3);
8394 if (obj3) {
8395 {
8396 arg4 = &temp4;
8397 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8398 }
8399 }
8400 if (obj4) {
8401 {
8402 arg5 = &temp5;
8403 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8404 }
8405 }
8406 if (obj5) {
8407 ecode6 = SWIG_AsVal_long(obj5, &val6);
8408 if (!SWIG_IsOK(ecode6)) {
8409 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8410 }
8411 arg6 = static_cast< long >(val6);
8412 }
8413 {
8414 if (!wxPyCheckForApp()) SWIG_fail;
8415 PyThreadState* __tstate = wxPyBeginAllowThreads();
8416 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8421 return resultobj;
8422 fail:
8423 return NULL;
8424 }
8425
8426
8427 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8428 PyObject *resultobj = 0;
8429 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8430 wxBitmap *arg2 = 0 ;
8431 void *argp1 = 0 ;
8432 int res1 = 0 ;
8433 void *argp2 = 0 ;
8434 int res2 = 0 ;
8435 PyObject * obj0 = 0 ;
8436 PyObject * obj1 = 0 ;
8437 char * kwnames[] = {
8438 (char *) "self",(char *) "bitmap", NULL
8439 };
8440
8441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8443 if (!SWIG_IsOK(res1)) {
8444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8445 }
8446 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8447 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8448 if (!SWIG_IsOK(res2)) {
8449 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8450 }
8451 if (!argp2) {
8452 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8453 }
8454 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8455 {
8456 PyThreadState* __tstate = wxPyBeginAllowThreads();
8457 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8458 wxPyEndAllowThreads(__tstate);
8459 if (PyErr_Occurred()) SWIG_fail;
8460 }
8461 resultobj = SWIG_Py_Void();
8462 return resultobj;
8463 fail:
8464 return NULL;
8465 }
8466
8467
8468 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8469 PyObject *resultobj = 0;
8470 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8471 wxBitmap *result = 0 ;
8472 void *argp1 = 0 ;
8473 int res1 = 0 ;
8474 PyObject *swig_obj[1] ;
8475
8476 if (!args) SWIG_fail;
8477 swig_obj[0] = args;
8478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8479 if (!SWIG_IsOK(res1)) {
8480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8481 }
8482 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8483 {
8484 PyThreadState* __tstate = wxPyBeginAllowThreads();
8485 {
8486 wxBitmap &_result_ref = (arg1)->GetBitmap();
8487 result = (wxBitmap *) &_result_ref;
8488 }
8489 wxPyEndAllowThreads(__tstate);
8490 if (PyErr_Occurred()) SWIG_fail;
8491 }
8492 {
8493 wxBitmap* resultptr = new wxBitmap(*result);
8494 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8495 }
8496 return resultobj;
8497 fail:
8498 return NULL;
8499 }
8500
8501
8502 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8503 PyObject *obj;
8504 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8505 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8506 return SWIG_Py_Void();
8507 }
8508
8509 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8510 return SWIG_Python_InitShadowInstance(args);
8511 }
8512
8513 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8514 PyObject *resultobj = 0;
8515 wxBitmap *arg1 = 0 ;
8516 long arg2 ;
8517 int arg3 ;
8518 wxWindow *arg4 = (wxWindow *) 0 ;
8519 int arg5 = (int) -1 ;
8520 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8521 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8522 wxSize const &arg7_defvalue = wxDefaultSize ;
8523 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8524 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8525 wxSplashScreen *result = 0 ;
8526 void *argp1 = 0 ;
8527 int res1 = 0 ;
8528 long val2 ;
8529 int ecode2 = 0 ;
8530 int val3 ;
8531 int ecode3 = 0 ;
8532 void *argp4 = 0 ;
8533 int res4 = 0 ;
8534 int val5 ;
8535 int ecode5 = 0 ;
8536 wxPoint temp6 ;
8537 wxSize temp7 ;
8538 long val8 ;
8539 int ecode8 = 0 ;
8540 PyObject * obj0 = 0 ;
8541 PyObject * obj1 = 0 ;
8542 PyObject * obj2 = 0 ;
8543 PyObject * obj3 = 0 ;
8544 PyObject * obj4 = 0 ;
8545 PyObject * obj5 = 0 ;
8546 PyObject * obj6 = 0 ;
8547 PyObject * obj7 = 0 ;
8548 char * kwnames[] = {
8549 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8550 };
8551
8552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8553 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8554 if (!SWIG_IsOK(res1)) {
8555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8556 }
8557 if (!argp1) {
8558 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8559 }
8560 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8561 ecode2 = SWIG_AsVal_long(obj1, &val2);
8562 if (!SWIG_IsOK(ecode2)) {
8563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8564 }
8565 arg2 = static_cast< long >(val2);
8566 ecode3 = SWIG_AsVal_int(obj2, &val3);
8567 if (!SWIG_IsOK(ecode3)) {
8568 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8569 }
8570 arg3 = static_cast< int >(val3);
8571 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8572 if (!SWIG_IsOK(res4)) {
8573 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8574 }
8575 arg4 = reinterpret_cast< wxWindow * >(argp4);
8576 if (obj4) {
8577 ecode5 = SWIG_AsVal_int(obj4, &val5);
8578 if (!SWIG_IsOK(ecode5)) {
8579 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8580 }
8581 arg5 = static_cast< int >(val5);
8582 }
8583 if (obj5) {
8584 {
8585 arg6 = &temp6;
8586 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8587 }
8588 }
8589 if (obj6) {
8590 {
8591 arg7 = &temp7;
8592 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8593 }
8594 }
8595 if (obj7) {
8596 ecode8 = SWIG_AsVal_long(obj7, &val8);
8597 if (!SWIG_IsOK(ecode8)) {
8598 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8599 }
8600 arg8 = static_cast< long >(val8);
8601 }
8602 {
8603 if (!wxPyCheckForApp()) SWIG_fail;
8604 PyThreadState* __tstate = wxPyBeginAllowThreads();
8605 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8606 wxPyEndAllowThreads(__tstate);
8607 if (PyErr_Occurred()) SWIG_fail;
8608 }
8609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8610 return resultobj;
8611 fail:
8612 return NULL;
8613 }
8614
8615
8616 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8617 PyObject *resultobj = 0;
8618 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8619 long result;
8620 void *argp1 = 0 ;
8621 int res1 = 0 ;
8622 PyObject *swig_obj[1] ;
8623
8624 if (!args) SWIG_fail;
8625 swig_obj[0] = args;
8626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8627 if (!SWIG_IsOK(res1)) {
8628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8629 }
8630 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8631 {
8632 PyThreadState* __tstate = wxPyBeginAllowThreads();
8633 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8634 wxPyEndAllowThreads(__tstate);
8635 if (PyErr_Occurred()) SWIG_fail;
8636 }
8637 resultobj = SWIG_From_long(static_cast< long >(result));
8638 return resultobj;
8639 fail:
8640 return NULL;
8641 }
8642
8643
8644 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8645 PyObject *resultobj = 0;
8646 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8647 wxSplashScreenWindow *result = 0 ;
8648 void *argp1 = 0 ;
8649 int res1 = 0 ;
8650 PyObject *swig_obj[1] ;
8651
8652 if (!args) SWIG_fail;
8653 swig_obj[0] = args;
8654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8655 if (!SWIG_IsOK(res1)) {
8656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8657 }
8658 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8659 {
8660 PyThreadState* __tstate = wxPyBeginAllowThreads();
8661 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8662 wxPyEndAllowThreads(__tstate);
8663 if (PyErr_Occurred()) SWIG_fail;
8664 }
8665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8666 return resultobj;
8667 fail:
8668 return NULL;
8669 }
8670
8671
8672 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8673 PyObject *resultobj = 0;
8674 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8675 int result;
8676 void *argp1 = 0 ;
8677 int res1 = 0 ;
8678 PyObject *swig_obj[1] ;
8679
8680 if (!args) SWIG_fail;
8681 swig_obj[0] = args;
8682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8683 if (!SWIG_IsOK(res1)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8685 }
8686 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 resultobj = SWIG_From_int(static_cast< int >(result));
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8701 PyObject *obj;
8702 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8703 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8704 return SWIG_Py_Void();
8705 }
8706
8707 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8708 return SWIG_Python_InitShadowInstance(args);
8709 }
8710
8711 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8712 PyObject *resultobj = 0;
8713 wxWindow *arg1 = (wxWindow *) 0 ;
8714 int arg2 = (int) -1 ;
8715 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8716 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8717 wxString *arg4 = (wxString *) &arg4_defvalue ;
8718 wxStatusBar *result = 0 ;
8719 void *argp1 = 0 ;
8720 int res1 = 0 ;
8721 int val2 ;
8722 int ecode2 = 0 ;
8723 long val3 ;
8724 int ecode3 = 0 ;
8725 bool temp4 = false ;
8726 PyObject * obj0 = 0 ;
8727 PyObject * obj1 = 0 ;
8728 PyObject * obj2 = 0 ;
8729 PyObject * obj3 = 0 ;
8730 char * kwnames[] = {
8731 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8732 };
8733
8734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8736 if (!SWIG_IsOK(res1)) {
8737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8738 }
8739 arg1 = reinterpret_cast< wxWindow * >(argp1);
8740 if (obj1) {
8741 ecode2 = SWIG_AsVal_int(obj1, &val2);
8742 if (!SWIG_IsOK(ecode2)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8744 }
8745 arg2 = static_cast< int >(val2);
8746 }
8747 if (obj2) {
8748 ecode3 = SWIG_AsVal_long(obj2, &val3);
8749 if (!SWIG_IsOK(ecode3)) {
8750 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8751 }
8752 arg3 = static_cast< long >(val3);
8753 }
8754 if (obj3) {
8755 {
8756 arg4 = wxString_in_helper(obj3);
8757 if (arg4 == NULL) SWIG_fail;
8758 temp4 = true;
8759 }
8760 }
8761 {
8762 if (!wxPyCheckForApp()) SWIG_fail;
8763 PyThreadState* __tstate = wxPyBeginAllowThreads();
8764 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8765 wxPyEndAllowThreads(__tstate);
8766 if (PyErr_Occurred()) SWIG_fail;
8767 }
8768 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8769 {
8770 if (temp4)
8771 delete arg4;
8772 }
8773 return resultobj;
8774 fail:
8775 {
8776 if (temp4)
8777 delete arg4;
8778 }
8779 return NULL;
8780 }
8781
8782
8783 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8784 PyObject *resultobj = 0;
8785 wxStatusBar *result = 0 ;
8786
8787 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8788 {
8789 if (!wxPyCheckForApp()) SWIG_fail;
8790 PyThreadState* __tstate = wxPyBeginAllowThreads();
8791 result = (wxStatusBar *)new wxStatusBar();
8792 wxPyEndAllowThreads(__tstate);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
8795 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8796 return resultobj;
8797 fail:
8798 return NULL;
8799 }
8800
8801
8802 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8803 PyObject *resultobj = 0;
8804 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8805 wxWindow *arg2 = (wxWindow *) 0 ;
8806 int arg3 = (int) -1 ;
8807 long arg4 = (long) wxST_SIZEGRIP ;
8808 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8809 wxString *arg5 = (wxString *) &arg5_defvalue ;
8810 bool result;
8811 void *argp1 = 0 ;
8812 int res1 = 0 ;
8813 void *argp2 = 0 ;
8814 int res2 = 0 ;
8815 int val3 ;
8816 int ecode3 = 0 ;
8817 long val4 ;
8818 int ecode4 = 0 ;
8819 bool temp5 = false ;
8820 PyObject * obj0 = 0 ;
8821 PyObject * obj1 = 0 ;
8822 PyObject * obj2 = 0 ;
8823 PyObject * obj3 = 0 ;
8824 PyObject * obj4 = 0 ;
8825 char * kwnames[] = {
8826 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8827 };
8828
8829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8831 if (!SWIG_IsOK(res1)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8833 }
8834 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8835 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8836 if (!SWIG_IsOK(res2)) {
8837 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8838 }
8839 arg2 = reinterpret_cast< wxWindow * >(argp2);
8840 if (obj2) {
8841 ecode3 = SWIG_AsVal_int(obj2, &val3);
8842 if (!SWIG_IsOK(ecode3)) {
8843 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8844 }
8845 arg3 = static_cast< int >(val3);
8846 }
8847 if (obj3) {
8848 ecode4 = SWIG_AsVal_long(obj3, &val4);
8849 if (!SWIG_IsOK(ecode4)) {
8850 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8851 }
8852 arg4 = static_cast< long >(val4);
8853 }
8854 if (obj4) {
8855 {
8856 arg5 = wxString_in_helper(obj4);
8857 if (arg5 == NULL) SWIG_fail;
8858 temp5 = true;
8859 }
8860 }
8861 {
8862 PyThreadState* __tstate = wxPyBeginAllowThreads();
8863 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8864 wxPyEndAllowThreads(__tstate);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 }
8867 {
8868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8869 }
8870 {
8871 if (temp5)
8872 delete arg5;
8873 }
8874 return resultobj;
8875 fail:
8876 {
8877 if (temp5)
8878 delete arg5;
8879 }
8880 return NULL;
8881 }
8882
8883
8884 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8885 PyObject *resultobj = 0;
8886 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8887 int arg2 = (int) 1 ;
8888 void *argp1 = 0 ;
8889 int res1 = 0 ;
8890 int val2 ;
8891 int ecode2 = 0 ;
8892 PyObject * obj0 = 0 ;
8893 PyObject * obj1 = 0 ;
8894 char * kwnames[] = {
8895 (char *) "self",(char *) "number", NULL
8896 };
8897
8898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8900 if (!SWIG_IsOK(res1)) {
8901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8902 }
8903 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8904 if (obj1) {
8905 ecode2 = SWIG_AsVal_int(obj1, &val2);
8906 if (!SWIG_IsOK(ecode2)) {
8907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8908 }
8909 arg2 = static_cast< int >(val2);
8910 }
8911 {
8912 PyThreadState* __tstate = wxPyBeginAllowThreads();
8913 (arg1)->SetFieldsCount(arg2);
8914 wxPyEndAllowThreads(__tstate);
8915 if (PyErr_Occurred()) SWIG_fail;
8916 }
8917 resultobj = SWIG_Py_Void();
8918 return resultobj;
8919 fail:
8920 return NULL;
8921 }
8922
8923
8924 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8925 PyObject *resultobj = 0;
8926 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8927 int result;
8928 void *argp1 = 0 ;
8929 int res1 = 0 ;
8930 PyObject *swig_obj[1] ;
8931
8932 if (!args) SWIG_fail;
8933 swig_obj[0] = args;
8934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8935 if (!SWIG_IsOK(res1)) {
8936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8937 }
8938 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8939 {
8940 PyThreadState* __tstate = wxPyBeginAllowThreads();
8941 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8942 wxPyEndAllowThreads(__tstate);
8943 if (PyErr_Occurred()) SWIG_fail;
8944 }
8945 resultobj = SWIG_From_int(static_cast< int >(result));
8946 return resultobj;
8947 fail:
8948 return NULL;
8949 }
8950
8951
8952 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8953 PyObject *resultobj = 0;
8954 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8955 wxString *arg2 = 0 ;
8956 int arg3 = (int) 0 ;
8957 void *argp1 = 0 ;
8958 int res1 = 0 ;
8959 bool temp2 = false ;
8960 int val3 ;
8961 int ecode3 = 0 ;
8962 PyObject * obj0 = 0 ;
8963 PyObject * obj1 = 0 ;
8964 PyObject * obj2 = 0 ;
8965 char * kwnames[] = {
8966 (char *) "self",(char *) "text",(char *) "number", NULL
8967 };
8968
8969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8971 if (!SWIG_IsOK(res1)) {
8972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8973 }
8974 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8975 {
8976 arg2 = wxString_in_helper(obj1);
8977 if (arg2 == NULL) SWIG_fail;
8978 temp2 = true;
8979 }
8980 if (obj2) {
8981 ecode3 = SWIG_AsVal_int(obj2, &val3);
8982 if (!SWIG_IsOK(ecode3)) {
8983 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8984 }
8985 arg3 = static_cast< int >(val3);
8986 }
8987 {
8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
8989 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 resultobj = SWIG_Py_Void();
8994 {
8995 if (temp2)
8996 delete arg2;
8997 }
8998 return resultobj;
8999 fail:
9000 {
9001 if (temp2)
9002 delete arg2;
9003 }
9004 return NULL;
9005 }
9006
9007
9008 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj = 0;
9010 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9011 int arg2 = (int) 0 ;
9012 wxString result;
9013 void *argp1 = 0 ;
9014 int res1 = 0 ;
9015 int val2 ;
9016 int ecode2 = 0 ;
9017 PyObject * obj0 = 0 ;
9018 PyObject * obj1 = 0 ;
9019 char * kwnames[] = {
9020 (char *) "self",(char *) "number", NULL
9021 };
9022
9023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9025 if (!SWIG_IsOK(res1)) {
9026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9027 }
9028 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9029 if (obj1) {
9030 ecode2 = SWIG_AsVal_int(obj1, &val2);
9031 if (!SWIG_IsOK(ecode2)) {
9032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9033 }
9034 arg2 = static_cast< int >(val2);
9035 }
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9039 wxPyEndAllowThreads(__tstate);
9040 if (PyErr_Occurred()) SWIG_fail;
9041 }
9042 {
9043 #if wxUSE_UNICODE
9044 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9045 #else
9046 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9047 #endif
9048 }
9049 return resultobj;
9050 fail:
9051 return NULL;
9052 }
9053
9054
9055 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9056 PyObject *resultobj = 0;
9057 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9058 wxString *arg2 = 0 ;
9059 int arg3 = (int) 0 ;
9060 void *argp1 = 0 ;
9061 int res1 = 0 ;
9062 bool temp2 = false ;
9063 int val3 ;
9064 int ecode3 = 0 ;
9065 PyObject * obj0 = 0 ;
9066 PyObject * obj1 = 0 ;
9067 PyObject * obj2 = 0 ;
9068 char * kwnames[] = {
9069 (char *) "self",(char *) "text",(char *) "number", NULL
9070 };
9071
9072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9074 if (!SWIG_IsOK(res1)) {
9075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9076 }
9077 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9078 {
9079 arg2 = wxString_in_helper(obj1);
9080 if (arg2 == NULL) SWIG_fail;
9081 temp2 = true;
9082 }
9083 if (obj2) {
9084 ecode3 = SWIG_AsVal_int(obj2, &val3);
9085 if (!SWIG_IsOK(ecode3)) {
9086 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9087 }
9088 arg3 = static_cast< int >(val3);
9089 }
9090 {
9091 PyThreadState* __tstate = wxPyBeginAllowThreads();
9092 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9093 wxPyEndAllowThreads(__tstate);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 }
9096 resultobj = SWIG_Py_Void();
9097 {
9098 if (temp2)
9099 delete arg2;
9100 }
9101 return resultobj;
9102 fail:
9103 {
9104 if (temp2)
9105 delete arg2;
9106 }
9107 return NULL;
9108 }
9109
9110
9111 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9112 PyObject *resultobj = 0;
9113 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9114 int arg2 = (int) 0 ;
9115 void *argp1 = 0 ;
9116 int res1 = 0 ;
9117 int val2 ;
9118 int ecode2 = 0 ;
9119 PyObject * obj0 = 0 ;
9120 PyObject * obj1 = 0 ;
9121 char * kwnames[] = {
9122 (char *) "self",(char *) "number", NULL
9123 };
9124
9125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9127 if (!SWIG_IsOK(res1)) {
9128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9129 }
9130 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9131 if (obj1) {
9132 ecode2 = SWIG_AsVal_int(obj1, &val2);
9133 if (!SWIG_IsOK(ecode2)) {
9134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9135 }
9136 arg2 = static_cast< int >(val2);
9137 }
9138 {
9139 PyThreadState* __tstate = wxPyBeginAllowThreads();
9140 (arg1)->PopStatusText(arg2);
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 resultobj = SWIG_Py_Void();
9145 return resultobj;
9146 fail:
9147 return NULL;
9148 }
9149
9150
9151 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj = 0;
9153 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9154 int arg2 ;
9155 int *arg3 = (int *) 0 ;
9156 void *argp1 = 0 ;
9157 int res1 = 0 ;
9158 PyObject * obj0 = 0 ;
9159 PyObject * obj1 = 0 ;
9160 char * kwnames[] = {
9161 (char *) "self",(char *) "widths", NULL
9162 };
9163
9164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9166 if (!SWIG_IsOK(res1)) {
9167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9168 }
9169 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9170 {
9171 arg2 = PyList_Size(obj1);
9172 arg3 = int_LIST_helper(obj1);
9173 if (arg3 == NULL) SWIG_fail;
9174 }
9175 {
9176 PyThreadState* __tstate = wxPyBeginAllowThreads();
9177 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9178 wxPyEndAllowThreads(__tstate);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 }
9181 resultobj = SWIG_Py_Void();
9182 {
9183 if (arg3) delete [] arg3;
9184 }
9185 return resultobj;
9186 fail:
9187 {
9188 if (arg3) delete [] arg3;
9189 }
9190 return NULL;
9191 }
9192
9193
9194 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9195 PyObject *resultobj = 0;
9196 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9197 int arg2 ;
9198 int *arg3 = (int *) 0 ;
9199 void *argp1 = 0 ;
9200 int res1 = 0 ;
9201 PyObject * obj0 = 0 ;
9202 PyObject * obj1 = 0 ;
9203 char * kwnames[] = {
9204 (char *) "self",(char *) "styles", NULL
9205 };
9206
9207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9209 if (!SWIG_IsOK(res1)) {
9210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9211 }
9212 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9213 {
9214 arg2 = PyList_Size(obj1);
9215 arg3 = int_LIST_helper(obj1);
9216 if (arg3 == NULL) SWIG_fail;
9217 }
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
9224 resultobj = SWIG_Py_Void();
9225 {
9226 if (arg3) delete [] arg3;
9227 }
9228 return resultobj;
9229 fail:
9230 {
9231 if (arg3) delete [] arg3;
9232 }
9233 return NULL;
9234 }
9235
9236
9237 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9238 PyObject *resultobj = 0;
9239 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9240 int arg2 ;
9241 wxRect result;
9242 void *argp1 = 0 ;
9243 int res1 = 0 ;
9244 int val2 ;
9245 int ecode2 = 0 ;
9246 PyObject * obj0 = 0 ;
9247 PyObject * obj1 = 0 ;
9248 char * kwnames[] = {
9249 (char *) "self",(char *) "i", NULL
9250 };
9251
9252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9254 if (!SWIG_IsOK(res1)) {
9255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9256 }
9257 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9258 ecode2 = SWIG_AsVal_int(obj1, &val2);
9259 if (!SWIG_IsOK(ecode2)) {
9260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9261 }
9262 arg2 = static_cast< int >(val2);
9263 {
9264 PyThreadState* __tstate = wxPyBeginAllowThreads();
9265 result = wxStatusBar_GetFieldRect(arg1,arg2);
9266 wxPyEndAllowThreads(__tstate);
9267 if (PyErr_Occurred()) SWIG_fail;
9268 }
9269 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9270 return resultobj;
9271 fail:
9272 return NULL;
9273 }
9274
9275
9276 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9277 PyObject *resultobj = 0;
9278 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9279 int arg2 ;
9280 void *argp1 = 0 ;
9281 int res1 = 0 ;
9282 int val2 ;
9283 int ecode2 = 0 ;
9284 PyObject * obj0 = 0 ;
9285 PyObject * obj1 = 0 ;
9286 char * kwnames[] = {
9287 (char *) "self",(char *) "height", NULL
9288 };
9289
9290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9292 if (!SWIG_IsOK(res1)) {
9293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9294 }
9295 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9296 ecode2 = SWIG_AsVal_int(obj1, &val2);
9297 if (!SWIG_IsOK(ecode2)) {
9298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9299 }
9300 arg2 = static_cast< int >(val2);
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 (arg1)->SetMinHeight(arg2);
9304 wxPyEndAllowThreads(__tstate);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 }
9307 resultobj = SWIG_Py_Void();
9308 return resultobj;
9309 fail:
9310 return NULL;
9311 }
9312
9313
9314 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9315 PyObject *resultobj = 0;
9316 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9317 int result;
9318 void *argp1 = 0 ;
9319 int res1 = 0 ;
9320 PyObject *swig_obj[1] ;
9321
9322 if (!args) SWIG_fail;
9323 swig_obj[0] = args;
9324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9325 if (!SWIG_IsOK(res1)) {
9326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9327 }
9328 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9329 {
9330 PyThreadState* __tstate = wxPyBeginAllowThreads();
9331 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9332 wxPyEndAllowThreads(__tstate);
9333 if (PyErr_Occurred()) SWIG_fail;
9334 }
9335 resultobj = SWIG_From_int(static_cast< int >(result));
9336 return resultobj;
9337 fail:
9338 return NULL;
9339 }
9340
9341
9342 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9343 PyObject *resultobj = 0;
9344 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9345 int result;
9346 void *argp1 = 0 ;
9347 int res1 = 0 ;
9348 PyObject *swig_obj[1] ;
9349
9350 if (!args) SWIG_fail;
9351 swig_obj[0] = args;
9352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9353 if (!SWIG_IsOK(res1)) {
9354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9355 }
9356 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 resultobj = SWIG_From_int(static_cast< int >(result));
9364 return resultobj;
9365 fail:
9366 return NULL;
9367 }
9368
9369
9370 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9371 PyObject *resultobj = 0;
9372 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9373 SwigValueWrapper<wxVisualAttributes > result;
9374 int val1 ;
9375 int ecode1 = 0 ;
9376 PyObject * obj0 = 0 ;
9377 char * kwnames[] = {
9378 (char *) "variant", NULL
9379 };
9380
9381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9382 if (obj0) {
9383 ecode1 = SWIG_AsVal_int(obj0, &val1);
9384 if (!SWIG_IsOK(ecode1)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9386 }
9387 arg1 = static_cast< wxWindowVariant >(val1);
9388 }
9389 {
9390 if (!wxPyCheckForApp()) SWIG_fail;
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9393 wxPyEndAllowThreads(__tstate);
9394 if (PyErr_Occurred()) SWIG_fail;
9395 }
9396 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9397 return resultobj;
9398 fail:
9399 return NULL;
9400 }
9401
9402
9403 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9404 PyObject *obj;
9405 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9406 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9407 return SWIG_Py_Void();
9408 }
9409
9410 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9411 return SWIG_Python_InitShadowInstance(args);
9412 }
9413
9414 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9415 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9416 return 1;
9417 }
9418
9419
9420 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9421 PyObject *pyobj = 0;
9422
9423 {
9424 #if wxUSE_UNICODE
9425 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9426 #else
9427 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9428 #endif
9429 }
9430 return pyobj;
9431 }
9432
9433
9434 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9435 PyObject *resultobj = 0;
9436 wxWindow *arg1 = (wxWindow *) 0 ;
9437 int arg2 = (int) -1 ;
9438 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9439 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9440 wxSize const &arg4_defvalue = wxDefaultSize ;
9441 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9442 long arg5 = (long) wxSP_3D ;
9443 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9444 wxString *arg6 = (wxString *) &arg6_defvalue ;
9445 wxSplitterWindow *result = 0 ;
9446 void *argp1 = 0 ;
9447 int res1 = 0 ;
9448 int val2 ;
9449 int ecode2 = 0 ;
9450 wxPoint temp3 ;
9451 wxSize temp4 ;
9452 long val5 ;
9453 int ecode5 = 0 ;
9454 bool temp6 = false ;
9455 PyObject * obj0 = 0 ;
9456 PyObject * obj1 = 0 ;
9457 PyObject * obj2 = 0 ;
9458 PyObject * obj3 = 0 ;
9459 PyObject * obj4 = 0 ;
9460 PyObject * obj5 = 0 ;
9461 char * kwnames[] = {
9462 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9463 };
9464
9465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9467 if (!SWIG_IsOK(res1)) {
9468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9469 }
9470 arg1 = reinterpret_cast< wxWindow * >(argp1);
9471 if (obj1) {
9472 ecode2 = SWIG_AsVal_int(obj1, &val2);
9473 if (!SWIG_IsOK(ecode2)) {
9474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9475 }
9476 arg2 = static_cast< int >(val2);
9477 }
9478 if (obj2) {
9479 {
9480 arg3 = &temp3;
9481 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9482 }
9483 }
9484 if (obj3) {
9485 {
9486 arg4 = &temp4;
9487 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9488 }
9489 }
9490 if (obj4) {
9491 ecode5 = SWIG_AsVal_long(obj4, &val5);
9492 if (!SWIG_IsOK(ecode5)) {
9493 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9494 }
9495 arg5 = static_cast< long >(val5);
9496 }
9497 if (obj5) {
9498 {
9499 arg6 = wxString_in_helper(obj5);
9500 if (arg6 == NULL) SWIG_fail;
9501 temp6 = true;
9502 }
9503 }
9504 {
9505 if (!wxPyCheckForApp()) SWIG_fail;
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9508 wxPyEndAllowThreads(__tstate);
9509 if (PyErr_Occurred()) SWIG_fail;
9510 }
9511 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9512 {
9513 if (temp6)
9514 delete arg6;
9515 }
9516 return resultobj;
9517 fail:
9518 {
9519 if (temp6)
9520 delete arg6;
9521 }
9522 return NULL;
9523 }
9524
9525
9526 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9527 PyObject *resultobj = 0;
9528 wxSplitterWindow *result = 0 ;
9529
9530 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9531 {
9532 if (!wxPyCheckForApp()) SWIG_fail;
9533 PyThreadState* __tstate = wxPyBeginAllowThreads();
9534 result = (wxSplitterWindow *)new wxSplitterWindow();
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9539 return resultobj;
9540 fail:
9541 return NULL;
9542 }
9543
9544
9545 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9546 PyObject *resultobj = 0;
9547 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9548 wxWindow *arg2 = (wxWindow *) 0 ;
9549 int arg3 = (int) -1 ;
9550 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9551 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9552 wxSize const &arg5_defvalue = wxDefaultSize ;
9553 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9554 long arg6 = (long) wxSP_3D ;
9555 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9556 wxString *arg7 = (wxString *) &arg7_defvalue ;
9557 bool result;
9558 void *argp1 = 0 ;
9559 int res1 = 0 ;
9560 void *argp2 = 0 ;
9561 int res2 = 0 ;
9562 int val3 ;
9563 int ecode3 = 0 ;
9564 wxPoint temp4 ;
9565 wxSize temp5 ;
9566 long val6 ;
9567 int ecode6 = 0 ;
9568 bool temp7 = false ;
9569 PyObject * obj0 = 0 ;
9570 PyObject * obj1 = 0 ;
9571 PyObject * obj2 = 0 ;
9572 PyObject * obj3 = 0 ;
9573 PyObject * obj4 = 0 ;
9574 PyObject * obj5 = 0 ;
9575 PyObject * obj6 = 0 ;
9576 char * kwnames[] = {
9577 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9578 };
9579
9580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9582 if (!SWIG_IsOK(res1)) {
9583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9584 }
9585 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9586 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9587 if (!SWIG_IsOK(res2)) {
9588 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9589 }
9590 arg2 = reinterpret_cast< wxWindow * >(argp2);
9591 if (obj2) {
9592 ecode3 = SWIG_AsVal_int(obj2, &val3);
9593 if (!SWIG_IsOK(ecode3)) {
9594 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9595 }
9596 arg3 = static_cast< int >(val3);
9597 }
9598 if (obj3) {
9599 {
9600 arg4 = &temp4;
9601 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9602 }
9603 }
9604 if (obj4) {
9605 {
9606 arg5 = &temp5;
9607 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9608 }
9609 }
9610 if (obj5) {
9611 ecode6 = SWIG_AsVal_long(obj5, &val6);
9612 if (!SWIG_IsOK(ecode6)) {
9613 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9614 }
9615 arg6 = static_cast< long >(val6);
9616 }
9617 if (obj6) {
9618 {
9619 arg7 = wxString_in_helper(obj6);
9620 if (arg7 == NULL) SWIG_fail;
9621 temp7 = true;
9622 }
9623 }
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9627 wxPyEndAllowThreads(__tstate);
9628 if (PyErr_Occurred()) SWIG_fail;
9629 }
9630 {
9631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9632 }
9633 {
9634 if (temp7)
9635 delete arg7;
9636 }
9637 return resultobj;
9638 fail:
9639 {
9640 if (temp7)
9641 delete arg7;
9642 }
9643 return NULL;
9644 }
9645
9646
9647 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9648 PyObject *resultobj = 0;
9649 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9650 wxWindow *result = 0 ;
9651 void *argp1 = 0 ;
9652 int res1 = 0 ;
9653 PyObject *swig_obj[1] ;
9654
9655 if (!args) SWIG_fail;
9656 swig_obj[0] = args;
9657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9658 if (!SWIG_IsOK(res1)) {
9659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9660 }
9661 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
9664 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 {
9669 resultobj = wxPyMake_wxObject(result, 0);
9670 }
9671 return resultobj;
9672 fail:
9673 return NULL;
9674 }
9675
9676
9677 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9678 PyObject *resultobj = 0;
9679 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9680 wxWindow *result = 0 ;
9681 void *argp1 = 0 ;
9682 int res1 = 0 ;
9683 PyObject *swig_obj[1] ;
9684
9685 if (!args) SWIG_fail;
9686 swig_obj[0] = args;
9687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9688 if (!SWIG_IsOK(res1)) {
9689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9690 }
9691 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9692 {
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9694 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 {
9699 resultobj = wxPyMake_wxObject(result, 0);
9700 }
9701 return resultobj;
9702 fail:
9703 return NULL;
9704 }
9705
9706
9707 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9708 PyObject *resultobj = 0;
9709 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9710 int arg2 ;
9711 void *argp1 = 0 ;
9712 int res1 = 0 ;
9713 int val2 ;
9714 int ecode2 = 0 ;
9715 PyObject * obj0 = 0 ;
9716 PyObject * obj1 = 0 ;
9717 char * kwnames[] = {
9718 (char *) "self",(char *) "mode", NULL
9719 };
9720
9721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9723 if (!SWIG_IsOK(res1)) {
9724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9725 }
9726 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9727 ecode2 = SWIG_AsVal_int(obj1, &val2);
9728 if (!SWIG_IsOK(ecode2)) {
9729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9730 }
9731 arg2 = static_cast< int >(val2);
9732 {
9733 PyThreadState* __tstate = wxPyBeginAllowThreads();
9734 (arg1)->SetSplitMode(arg2);
9735 wxPyEndAllowThreads(__tstate);
9736 if (PyErr_Occurred()) SWIG_fail;
9737 }
9738 resultobj = SWIG_Py_Void();
9739 return resultobj;
9740 fail:
9741 return NULL;
9742 }
9743
9744
9745 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9746 PyObject *resultobj = 0;
9747 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9748 wxSplitMode result;
9749 void *argp1 = 0 ;
9750 int res1 = 0 ;
9751 PyObject *swig_obj[1] ;
9752
9753 if (!args) SWIG_fail;
9754 swig_obj[0] = args;
9755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9756 if (!SWIG_IsOK(res1)) {
9757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9758 }
9759 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9763 wxPyEndAllowThreads(__tstate);
9764 if (PyErr_Occurred()) SWIG_fail;
9765 }
9766 resultobj = SWIG_From_int(static_cast< int >(result));
9767 return resultobj;
9768 fail:
9769 return NULL;
9770 }
9771
9772
9773 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9774 PyObject *resultobj = 0;
9775 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9776 wxWindow *arg2 = (wxWindow *) 0 ;
9777 void *argp1 = 0 ;
9778 int res1 = 0 ;
9779 void *argp2 = 0 ;
9780 int res2 = 0 ;
9781 PyObject * obj0 = 0 ;
9782 PyObject * obj1 = 0 ;
9783 char * kwnames[] = {
9784 (char *) "self",(char *) "window", NULL
9785 };
9786
9787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9789 if (!SWIG_IsOK(res1)) {
9790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9791 }
9792 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9793 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9794 if (!SWIG_IsOK(res2)) {
9795 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9796 }
9797 arg2 = reinterpret_cast< wxWindow * >(argp2);
9798 {
9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9800 (arg1)->Initialize(arg2);
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
9804 resultobj = SWIG_Py_Void();
9805 return resultobj;
9806 fail:
9807 return NULL;
9808 }
9809
9810
9811 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj = 0;
9813 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9814 wxWindow *arg2 = (wxWindow *) 0 ;
9815 wxWindow *arg3 = (wxWindow *) 0 ;
9816 int arg4 = (int) 0 ;
9817 bool result;
9818 void *argp1 = 0 ;
9819 int res1 = 0 ;
9820 void *argp2 = 0 ;
9821 int res2 = 0 ;
9822 void *argp3 = 0 ;
9823 int res3 = 0 ;
9824 int val4 ;
9825 int ecode4 = 0 ;
9826 PyObject * obj0 = 0 ;
9827 PyObject * obj1 = 0 ;
9828 PyObject * obj2 = 0 ;
9829 PyObject * obj3 = 0 ;
9830 char * kwnames[] = {
9831 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9832 };
9833
9834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9836 if (!SWIG_IsOK(res1)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9838 }
9839 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9840 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9841 if (!SWIG_IsOK(res2)) {
9842 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9843 }
9844 arg2 = reinterpret_cast< wxWindow * >(argp2);
9845 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9846 if (!SWIG_IsOK(res3)) {
9847 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9848 }
9849 arg3 = reinterpret_cast< wxWindow * >(argp3);
9850 if (obj3) {
9851 ecode4 = SWIG_AsVal_int(obj3, &val4);
9852 if (!SWIG_IsOK(ecode4)) {
9853 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9854 }
9855 arg4 = static_cast< int >(val4);
9856 }
9857 {
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
9859 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9860 wxPyEndAllowThreads(__tstate);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 {
9864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9865 }
9866 return resultobj;
9867 fail:
9868 return NULL;
9869 }
9870
9871
9872 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9873 PyObject *resultobj = 0;
9874 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9875 wxWindow *arg2 = (wxWindow *) 0 ;
9876 wxWindow *arg3 = (wxWindow *) 0 ;
9877 int arg4 = (int) 0 ;
9878 bool result;
9879 void *argp1 = 0 ;
9880 int res1 = 0 ;
9881 void *argp2 = 0 ;
9882 int res2 = 0 ;
9883 void *argp3 = 0 ;
9884 int res3 = 0 ;
9885 int val4 ;
9886 int ecode4 = 0 ;
9887 PyObject * obj0 = 0 ;
9888 PyObject * obj1 = 0 ;
9889 PyObject * obj2 = 0 ;
9890 PyObject * obj3 = 0 ;
9891 char * kwnames[] = {
9892 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9893 };
9894
9895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9897 if (!SWIG_IsOK(res1)) {
9898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9899 }
9900 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9901 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9902 if (!SWIG_IsOK(res2)) {
9903 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9904 }
9905 arg2 = reinterpret_cast< wxWindow * >(argp2);
9906 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9907 if (!SWIG_IsOK(res3)) {
9908 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9909 }
9910 arg3 = reinterpret_cast< wxWindow * >(argp3);
9911 if (obj3) {
9912 ecode4 = SWIG_AsVal_int(obj3, &val4);
9913 if (!SWIG_IsOK(ecode4)) {
9914 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9915 }
9916 arg4 = static_cast< int >(val4);
9917 }
9918 {
9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
9920 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 }
9924 {
9925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9926 }
9927 return resultobj;
9928 fail:
9929 return NULL;
9930 }
9931
9932
9933 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9934 PyObject *resultobj = 0;
9935 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9936 wxWindow *arg2 = (wxWindow *) NULL ;
9937 bool result;
9938 void *argp1 = 0 ;
9939 int res1 = 0 ;
9940 void *argp2 = 0 ;
9941 int res2 = 0 ;
9942 PyObject * obj0 = 0 ;
9943 PyObject * obj1 = 0 ;
9944 char * kwnames[] = {
9945 (char *) "self",(char *) "toRemove", NULL
9946 };
9947
9948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9950 if (!SWIG_IsOK(res1)) {
9951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9952 }
9953 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9954 if (obj1) {
9955 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9956 if (!SWIG_IsOK(res2)) {
9957 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9958 }
9959 arg2 = reinterpret_cast< wxWindow * >(argp2);
9960 }
9961 {
9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
9963 result = (bool)(arg1)->Unsplit(arg2);
9964 wxPyEndAllowThreads(__tstate);
9965 if (PyErr_Occurred()) SWIG_fail;
9966 }
9967 {
9968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9969 }
9970 return resultobj;
9971 fail:
9972 return NULL;
9973 }
9974
9975
9976 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9977 PyObject *resultobj = 0;
9978 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9979 wxWindow *arg2 = (wxWindow *) 0 ;
9980 wxWindow *arg3 = (wxWindow *) 0 ;
9981 bool result;
9982 void *argp1 = 0 ;
9983 int res1 = 0 ;
9984 void *argp2 = 0 ;
9985 int res2 = 0 ;
9986 void *argp3 = 0 ;
9987 int res3 = 0 ;
9988 PyObject * obj0 = 0 ;
9989 PyObject * obj1 = 0 ;
9990 PyObject * obj2 = 0 ;
9991 char * kwnames[] = {
9992 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9993 };
9994
9995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9997 if (!SWIG_IsOK(res1)) {
9998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9999 }
10000 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10001 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10002 if (!SWIG_IsOK(res2)) {
10003 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10004 }
10005 arg2 = reinterpret_cast< wxWindow * >(argp2);
10006 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10007 if (!SWIG_IsOK(res3)) {
10008 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10009 }
10010 arg3 = reinterpret_cast< wxWindow * >(argp3);
10011 {
10012 PyThreadState* __tstate = wxPyBeginAllowThreads();
10013 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) SWIG_fail;
10016 }
10017 {
10018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10019 }
10020 return resultobj;
10021 fail:
10022 return NULL;
10023 }
10024
10025
10026 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10027 PyObject *resultobj = 0;
10028 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10029 void *argp1 = 0 ;
10030 int res1 = 0 ;
10031 PyObject *swig_obj[1] ;
10032
10033 if (!args) SWIG_fail;
10034 swig_obj[0] = args;
10035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10036 if (!SWIG_IsOK(res1)) {
10037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10038 }
10039 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10040 {
10041 PyThreadState* __tstate = wxPyBeginAllowThreads();
10042 (arg1)->UpdateSize();
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
10046 resultobj = SWIG_Py_Void();
10047 return resultobj;
10048 fail:
10049 return NULL;
10050 }
10051
10052
10053 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10054 PyObject *resultobj = 0;
10055 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10056 bool result;
10057 void *argp1 = 0 ;
10058 int res1 = 0 ;
10059 PyObject *swig_obj[1] ;
10060
10061 if (!args) SWIG_fail;
10062 swig_obj[0] = args;
10063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10064 if (!SWIG_IsOK(res1)) {
10065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10066 }
10067 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10068 {
10069 PyThreadState* __tstate = wxPyBeginAllowThreads();
10070 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10071 wxPyEndAllowThreads(__tstate);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 {
10075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10076 }
10077 return resultobj;
10078 fail:
10079 return NULL;
10080 }
10081
10082
10083 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj = 0;
10085 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10086 int arg2 ;
10087 void *argp1 = 0 ;
10088 int res1 = 0 ;
10089 int val2 ;
10090 int ecode2 = 0 ;
10091 PyObject * obj0 = 0 ;
10092 PyObject * obj1 = 0 ;
10093 char * kwnames[] = {
10094 (char *) "self",(char *) "width", NULL
10095 };
10096
10097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10099 if (!SWIG_IsOK(res1)) {
10100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10101 }
10102 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10103 ecode2 = SWIG_AsVal_int(obj1, &val2);
10104 if (!SWIG_IsOK(ecode2)) {
10105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10106 }
10107 arg2 = static_cast< int >(val2);
10108 {
10109 PyThreadState* __tstate = wxPyBeginAllowThreads();
10110 (arg1)->SetSashSize(arg2);
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
10114 resultobj = SWIG_Py_Void();
10115 return resultobj;
10116 fail:
10117 return NULL;
10118 }
10119
10120
10121 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj = 0;
10123 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10124 int arg2 ;
10125 void *argp1 = 0 ;
10126 int res1 = 0 ;
10127 int val2 ;
10128 int ecode2 = 0 ;
10129 PyObject * obj0 = 0 ;
10130 PyObject * obj1 = 0 ;
10131 char * kwnames[] = {
10132 (char *) "self",(char *) "width", NULL
10133 };
10134
10135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10137 if (!SWIG_IsOK(res1)) {
10138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10139 }
10140 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10141 ecode2 = SWIG_AsVal_int(obj1, &val2);
10142 if (!SWIG_IsOK(ecode2)) {
10143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10144 }
10145 arg2 = static_cast< int >(val2);
10146 {
10147 PyThreadState* __tstate = wxPyBeginAllowThreads();
10148 (arg1)->SetBorderSize(arg2);
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 resultobj = SWIG_Py_Void();
10153 return resultobj;
10154 fail:
10155 return NULL;
10156 }
10157
10158
10159 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10160 PyObject *resultobj = 0;
10161 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10162 int result;
10163 void *argp1 = 0 ;
10164 int res1 = 0 ;
10165 PyObject *swig_obj[1] ;
10166
10167 if (!args) SWIG_fail;
10168 swig_obj[0] = args;
10169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10170 if (!SWIG_IsOK(res1)) {
10171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10172 }
10173 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10177 wxPyEndAllowThreads(__tstate);
10178 if (PyErr_Occurred()) SWIG_fail;
10179 }
10180 resultobj = SWIG_From_int(static_cast< int >(result));
10181 return resultobj;
10182 fail:
10183 return NULL;
10184 }
10185
10186
10187 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10188 PyObject *resultobj = 0;
10189 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10190 int result;
10191 void *argp1 = 0 ;
10192 int res1 = 0 ;
10193 PyObject *swig_obj[1] ;
10194
10195 if (!args) SWIG_fail;
10196 swig_obj[0] = args;
10197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10198 if (!SWIG_IsOK(res1)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10200 }
10201 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10202 {
10203 PyThreadState* __tstate = wxPyBeginAllowThreads();
10204 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 resultobj = SWIG_From_int(static_cast< int >(result));
10209 return resultobj;
10210 fail:
10211 return NULL;
10212 }
10213
10214
10215 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10216 PyObject *resultobj = 0;
10217 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10218 int arg2 ;
10219 bool arg3 = (bool) true ;
10220 void *argp1 = 0 ;
10221 int res1 = 0 ;
10222 int val2 ;
10223 int ecode2 = 0 ;
10224 bool val3 ;
10225 int ecode3 = 0 ;
10226 PyObject * obj0 = 0 ;
10227 PyObject * obj1 = 0 ;
10228 PyObject * obj2 = 0 ;
10229 char * kwnames[] = {
10230 (char *) "self",(char *) "position",(char *) "redraw", NULL
10231 };
10232
10233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10235 if (!SWIG_IsOK(res1)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10237 }
10238 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10239 ecode2 = SWIG_AsVal_int(obj1, &val2);
10240 if (!SWIG_IsOK(ecode2)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10242 }
10243 arg2 = static_cast< int >(val2);
10244 if (obj2) {
10245 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10246 if (!SWIG_IsOK(ecode3)) {
10247 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10248 }
10249 arg3 = static_cast< bool >(val3);
10250 }
10251 {
10252 PyThreadState* __tstate = wxPyBeginAllowThreads();
10253 (arg1)->SetSashPosition(arg2,arg3);
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) SWIG_fail;
10256 }
10257 resultobj = SWIG_Py_Void();
10258 return resultobj;
10259 fail:
10260 return NULL;
10261 }
10262
10263
10264 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10265 PyObject *resultobj = 0;
10266 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10267 int result;
10268 void *argp1 = 0 ;
10269 int res1 = 0 ;
10270 PyObject *swig_obj[1] ;
10271
10272 if (!args) SWIG_fail;
10273 swig_obj[0] = args;
10274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10275 if (!SWIG_IsOK(res1)) {
10276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10277 }
10278 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10279 {
10280 PyThreadState* __tstate = wxPyBeginAllowThreads();
10281 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 resultobj = SWIG_From_int(static_cast< int >(result));
10286 return resultobj;
10287 fail:
10288 return NULL;
10289 }
10290
10291
10292 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10293 PyObject *resultobj = 0;
10294 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10295 double arg2 ;
10296 void *argp1 = 0 ;
10297 int res1 = 0 ;
10298 double val2 ;
10299 int ecode2 = 0 ;
10300 PyObject * obj0 = 0 ;
10301 PyObject * obj1 = 0 ;
10302 char * kwnames[] = {
10303 (char *) "self",(char *) "gravity", NULL
10304 };
10305
10306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10308 if (!SWIG_IsOK(res1)) {
10309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10310 }
10311 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10312 ecode2 = SWIG_AsVal_double(obj1, &val2);
10313 if (!SWIG_IsOK(ecode2)) {
10314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10315 }
10316 arg2 = static_cast< double >(val2);
10317 {
10318 PyThreadState* __tstate = wxPyBeginAllowThreads();
10319 (arg1)->SetSashGravity(arg2);
10320 wxPyEndAllowThreads(__tstate);
10321 if (PyErr_Occurred()) SWIG_fail;
10322 }
10323 resultobj = SWIG_Py_Void();
10324 return resultobj;
10325 fail:
10326 return NULL;
10327 }
10328
10329
10330 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10331 PyObject *resultobj = 0;
10332 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10333 double result;
10334 void *argp1 = 0 ;
10335 int res1 = 0 ;
10336 PyObject *swig_obj[1] ;
10337
10338 if (!args) SWIG_fail;
10339 swig_obj[0] = args;
10340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10341 if (!SWIG_IsOK(res1)) {
10342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10343 }
10344 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
10347 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10348 wxPyEndAllowThreads(__tstate);
10349 if (PyErr_Occurred()) SWIG_fail;
10350 }
10351 resultobj = SWIG_From_double(static_cast< double >(result));
10352 return resultobj;
10353 fail:
10354 return NULL;
10355 }
10356
10357
10358 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10359 PyObject *resultobj = 0;
10360 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10361 int arg2 ;
10362 void *argp1 = 0 ;
10363 int res1 = 0 ;
10364 int val2 ;
10365 int ecode2 = 0 ;
10366 PyObject * obj0 = 0 ;
10367 PyObject * obj1 = 0 ;
10368 char * kwnames[] = {
10369 (char *) "self",(char *) "min", NULL
10370 };
10371
10372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10374 if (!SWIG_IsOK(res1)) {
10375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10376 }
10377 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10378 ecode2 = SWIG_AsVal_int(obj1, &val2);
10379 if (!SWIG_IsOK(ecode2)) {
10380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10381 }
10382 arg2 = static_cast< int >(val2);
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 (arg1)->SetMinimumPaneSize(arg2);
10386 wxPyEndAllowThreads(__tstate);
10387 if (PyErr_Occurred()) SWIG_fail;
10388 }
10389 resultobj = SWIG_Py_Void();
10390 return resultobj;
10391 fail:
10392 return NULL;
10393 }
10394
10395
10396 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10397 PyObject *resultobj = 0;
10398 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10399 int result;
10400 void *argp1 = 0 ;
10401 int res1 = 0 ;
10402 PyObject *swig_obj[1] ;
10403
10404 if (!args) SWIG_fail;
10405 swig_obj[0] = args;
10406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10407 if (!SWIG_IsOK(res1)) {
10408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10409 }
10410 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10414 wxPyEndAllowThreads(__tstate);
10415 if (PyErr_Occurred()) SWIG_fail;
10416 }
10417 resultobj = SWIG_From_int(static_cast< int >(result));
10418 return resultobj;
10419 fail:
10420 return NULL;
10421 }
10422
10423
10424 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10425 PyObject *resultobj = 0;
10426 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10427 int arg2 ;
10428 int arg3 ;
10429 int arg4 = (int) 5 ;
10430 bool result;
10431 void *argp1 = 0 ;
10432 int res1 = 0 ;
10433 int val2 ;
10434 int ecode2 = 0 ;
10435 int val3 ;
10436 int ecode3 = 0 ;
10437 int val4 ;
10438 int ecode4 = 0 ;
10439 PyObject * obj0 = 0 ;
10440 PyObject * obj1 = 0 ;
10441 PyObject * obj2 = 0 ;
10442 PyObject * obj3 = 0 ;
10443 char * kwnames[] = {
10444 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10445 };
10446
10447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10449 if (!SWIG_IsOK(res1)) {
10450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10451 }
10452 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10453 ecode2 = SWIG_AsVal_int(obj1, &val2);
10454 if (!SWIG_IsOK(ecode2)) {
10455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10456 }
10457 arg2 = static_cast< int >(val2);
10458 ecode3 = SWIG_AsVal_int(obj2, &val3);
10459 if (!SWIG_IsOK(ecode3)) {
10460 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10461 }
10462 arg3 = static_cast< int >(val3);
10463 if (obj3) {
10464 ecode4 = SWIG_AsVal_int(obj3, &val4);
10465 if (!SWIG_IsOK(ecode4)) {
10466 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10467 }
10468 arg4 = static_cast< int >(val4);
10469 }
10470 {
10471 PyThreadState* __tstate = wxPyBeginAllowThreads();
10472 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 {
10477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10478 }
10479 return resultobj;
10480 fail:
10481 return NULL;
10482 }
10483
10484
10485 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10486 PyObject *resultobj = 0;
10487 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10488 void *argp1 = 0 ;
10489 int res1 = 0 ;
10490 PyObject *swig_obj[1] ;
10491
10492 if (!args) SWIG_fail;
10493 swig_obj[0] = args;
10494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10495 if (!SWIG_IsOK(res1)) {
10496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10497 }
10498 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
10501 (arg1)->SizeWindows();
10502 wxPyEndAllowThreads(__tstate);
10503 if (PyErr_Occurred()) SWIG_fail;
10504 }
10505 resultobj = SWIG_Py_Void();
10506 return resultobj;
10507 fail:
10508 return NULL;
10509 }
10510
10511
10512 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10513 PyObject *resultobj = 0;
10514 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10515 bool arg2 ;
10516 void *argp1 = 0 ;
10517 int res1 = 0 ;
10518 bool val2 ;
10519 int ecode2 = 0 ;
10520 PyObject * obj0 = 0 ;
10521 PyObject * obj1 = 0 ;
10522 char * kwnames[] = {
10523 (char *) "self",(char *) "needUpdating", NULL
10524 };
10525
10526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10528 if (!SWIG_IsOK(res1)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10530 }
10531 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10532 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10533 if (!SWIG_IsOK(ecode2)) {
10534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10535 }
10536 arg2 = static_cast< bool >(val2);
10537 {
10538 PyThreadState* __tstate = wxPyBeginAllowThreads();
10539 (arg1)->SetNeedUpdating(arg2);
10540 wxPyEndAllowThreads(__tstate);
10541 if (PyErr_Occurred()) SWIG_fail;
10542 }
10543 resultobj = SWIG_Py_Void();
10544 return resultobj;
10545 fail:
10546 return NULL;
10547 }
10548
10549
10550 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10551 PyObject *resultobj = 0;
10552 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10553 bool result;
10554 void *argp1 = 0 ;
10555 int res1 = 0 ;
10556 PyObject *swig_obj[1] ;
10557
10558 if (!args) SWIG_fail;
10559 swig_obj[0] = args;
10560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10561 if (!SWIG_IsOK(res1)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10563 }
10564 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10565 {
10566 PyThreadState* __tstate = wxPyBeginAllowThreads();
10567 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10568 wxPyEndAllowThreads(__tstate);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
10571 {
10572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10573 }
10574 return resultobj;
10575 fail:
10576 return NULL;
10577 }
10578
10579
10580 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10581 PyObject *resultobj = 0;
10582 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10583 SwigValueWrapper<wxVisualAttributes > result;
10584 int val1 ;
10585 int ecode1 = 0 ;
10586 PyObject * obj0 = 0 ;
10587 char * kwnames[] = {
10588 (char *) "variant", NULL
10589 };
10590
10591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10592 if (obj0) {
10593 ecode1 = SWIG_AsVal_int(obj0, &val1);
10594 if (!SWIG_IsOK(ecode1)) {
10595 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10596 }
10597 arg1 = static_cast< wxWindowVariant >(val1);
10598 }
10599 {
10600 if (!wxPyCheckForApp()) SWIG_fail;
10601 PyThreadState* __tstate = wxPyBeginAllowThreads();
10602 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10603 wxPyEndAllowThreads(__tstate);
10604 if (PyErr_Occurred()) SWIG_fail;
10605 }
10606 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10607 return resultobj;
10608 fail:
10609 return NULL;
10610 }
10611
10612
10613 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10614 PyObject *obj;
10615 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10616 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10617 return SWIG_Py_Void();
10618 }
10619
10620 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10621 return SWIG_Python_InitShadowInstance(args);
10622 }
10623
10624 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10625 PyObject *resultobj = 0;
10626 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10627 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10628 wxSplitterEvent *result = 0 ;
10629 int val1 ;
10630 int ecode1 = 0 ;
10631 void *argp2 = 0 ;
10632 int res2 = 0 ;
10633 PyObject * obj0 = 0 ;
10634 PyObject * obj1 = 0 ;
10635 char * kwnames[] = {
10636 (char *) "type",(char *) "splitter", NULL
10637 };
10638
10639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10640 if (obj0) {
10641 ecode1 = SWIG_AsVal_int(obj0, &val1);
10642 if (!SWIG_IsOK(ecode1)) {
10643 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10644 }
10645 arg1 = static_cast< wxEventType >(val1);
10646 }
10647 if (obj1) {
10648 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10649 if (!SWIG_IsOK(res2)) {
10650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10651 }
10652 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10653 }
10654 {
10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
10656 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10657 wxPyEndAllowThreads(__tstate);
10658 if (PyErr_Occurred()) SWIG_fail;
10659 }
10660 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10661 return resultobj;
10662 fail:
10663 return NULL;
10664 }
10665
10666
10667 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10668 PyObject *resultobj = 0;
10669 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10670 int arg2 ;
10671 void *argp1 = 0 ;
10672 int res1 = 0 ;
10673 int val2 ;
10674 int ecode2 = 0 ;
10675 PyObject * obj0 = 0 ;
10676 PyObject * obj1 = 0 ;
10677 char * kwnames[] = {
10678 (char *) "self",(char *) "pos", NULL
10679 };
10680
10681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10683 if (!SWIG_IsOK(res1)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10685 }
10686 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10687 ecode2 = SWIG_AsVal_int(obj1, &val2);
10688 if (!SWIG_IsOK(ecode2)) {
10689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10690 }
10691 arg2 = static_cast< int >(val2);
10692 {
10693 PyThreadState* __tstate = wxPyBeginAllowThreads();
10694 (arg1)->SetSashPosition(arg2);
10695 wxPyEndAllowThreads(__tstate);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 }
10698 resultobj = SWIG_Py_Void();
10699 return resultobj;
10700 fail:
10701 return NULL;
10702 }
10703
10704
10705 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10706 PyObject *resultobj = 0;
10707 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10708 int result;
10709 void *argp1 = 0 ;
10710 int res1 = 0 ;
10711 PyObject *swig_obj[1] ;
10712
10713 if (!args) SWIG_fail;
10714 swig_obj[0] = args;
10715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10716 if (!SWIG_IsOK(res1)) {
10717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10718 }
10719 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10720 {
10721 PyThreadState* __tstate = wxPyBeginAllowThreads();
10722 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 resultobj = SWIG_From_int(static_cast< int >(result));
10727 return resultobj;
10728 fail:
10729 return NULL;
10730 }
10731
10732
10733 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10734 PyObject *resultobj = 0;
10735 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10736 wxWindow *result = 0 ;
10737 void *argp1 = 0 ;
10738 int res1 = 0 ;
10739 PyObject *swig_obj[1] ;
10740
10741 if (!args) SWIG_fail;
10742 swig_obj[0] = args;
10743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10744 if (!SWIG_IsOK(res1)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10746 }
10747 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10748 {
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 {
10755 resultobj = wxPyMake_wxObject(result, 0);
10756 }
10757 return resultobj;
10758 fail:
10759 return NULL;
10760 }
10761
10762
10763 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10764 PyObject *resultobj = 0;
10765 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10766 int result;
10767 void *argp1 = 0 ;
10768 int res1 = 0 ;
10769 PyObject *swig_obj[1] ;
10770
10771 if (!args) SWIG_fail;
10772 swig_obj[0] = args;
10773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10774 if (!SWIG_IsOK(res1)) {
10775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10776 }
10777 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10778 {
10779 PyThreadState* __tstate = wxPyBeginAllowThreads();
10780 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 resultobj = SWIG_From_int(static_cast< int >(result));
10785 return resultobj;
10786 fail:
10787 return NULL;
10788 }
10789
10790
10791 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10792 PyObject *resultobj = 0;
10793 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10794 int result;
10795 void *argp1 = 0 ;
10796 int res1 = 0 ;
10797 PyObject *swig_obj[1] ;
10798
10799 if (!args) SWIG_fail;
10800 swig_obj[0] = args;
10801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10802 if (!SWIG_IsOK(res1)) {
10803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10804 }
10805 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 resultobj = SWIG_From_int(static_cast< int >(result));
10813 return resultobj;
10814 fail:
10815 return NULL;
10816 }
10817
10818
10819 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10820 PyObject *obj;
10821 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10822 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10823 return SWIG_Py_Void();
10824 }
10825
10826 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10827 return SWIG_Python_InitShadowInstance(args);
10828 }
10829
10830 SWIGINTERN int SashNameStr_set(PyObject *) {
10831 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10832 return 1;
10833 }
10834
10835
10836 SWIGINTERN PyObject *SashNameStr_get(void) {
10837 PyObject *pyobj = 0;
10838
10839 {
10840 #if wxUSE_UNICODE
10841 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10842 #else
10843 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10844 #endif
10845 }
10846 return pyobj;
10847 }
10848
10849
10850 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10851 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10852 return 1;
10853 }
10854
10855
10856 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10857 PyObject *pyobj = 0;
10858
10859 {
10860 #if wxUSE_UNICODE
10861 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10862 #else
10863 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10864 #endif
10865 }
10866 return pyobj;
10867 }
10868
10869
10870 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10871 PyObject *resultobj = 0;
10872 wxWindow *arg1 = (wxWindow *) 0 ;
10873 int arg2 = (int) -1 ;
10874 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10875 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10876 wxSize const &arg4_defvalue = wxDefaultSize ;
10877 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10878 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10879 wxString const &arg6_defvalue = wxPySashNameStr ;
10880 wxString *arg6 = (wxString *) &arg6_defvalue ;
10881 wxSashWindow *result = 0 ;
10882 void *argp1 = 0 ;
10883 int res1 = 0 ;
10884 int val2 ;
10885 int ecode2 = 0 ;
10886 wxPoint temp3 ;
10887 wxSize temp4 ;
10888 long val5 ;
10889 int ecode5 = 0 ;
10890 bool temp6 = false ;
10891 PyObject * obj0 = 0 ;
10892 PyObject * obj1 = 0 ;
10893 PyObject * obj2 = 0 ;
10894 PyObject * obj3 = 0 ;
10895 PyObject * obj4 = 0 ;
10896 PyObject * obj5 = 0 ;
10897 char * kwnames[] = {
10898 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10899 };
10900
10901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10903 if (!SWIG_IsOK(res1)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10905 }
10906 arg1 = reinterpret_cast< wxWindow * >(argp1);
10907 if (obj1) {
10908 ecode2 = SWIG_AsVal_int(obj1, &val2);
10909 if (!SWIG_IsOK(ecode2)) {
10910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10911 }
10912 arg2 = static_cast< int >(val2);
10913 }
10914 if (obj2) {
10915 {
10916 arg3 = &temp3;
10917 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10918 }
10919 }
10920 if (obj3) {
10921 {
10922 arg4 = &temp4;
10923 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10924 }
10925 }
10926 if (obj4) {
10927 ecode5 = SWIG_AsVal_long(obj4, &val5);
10928 if (!SWIG_IsOK(ecode5)) {
10929 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10930 }
10931 arg5 = static_cast< long >(val5);
10932 }
10933 if (obj5) {
10934 {
10935 arg6 = wxString_in_helper(obj5);
10936 if (arg6 == NULL) SWIG_fail;
10937 temp6 = true;
10938 }
10939 }
10940 {
10941 if (!wxPyCheckForApp()) SWIG_fail;
10942 PyThreadState* __tstate = wxPyBeginAllowThreads();
10943 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10948 {
10949 if (temp6)
10950 delete arg6;
10951 }
10952 return resultobj;
10953 fail:
10954 {
10955 if (temp6)
10956 delete arg6;
10957 }
10958 return NULL;
10959 }
10960
10961
10962 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10963 PyObject *resultobj = 0;
10964 wxSashWindow *result = 0 ;
10965
10966 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10967 {
10968 if (!wxPyCheckForApp()) SWIG_fail;
10969 PyThreadState* __tstate = wxPyBeginAllowThreads();
10970 result = (wxSashWindow *)new wxSashWindow();
10971 wxPyEndAllowThreads(__tstate);
10972 if (PyErr_Occurred()) SWIG_fail;
10973 }
10974 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10975 return resultobj;
10976 fail:
10977 return NULL;
10978 }
10979
10980
10981 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10982 PyObject *resultobj = 0;
10983 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10984 wxWindow *arg2 = (wxWindow *) 0 ;
10985 int arg3 = (int) -1 ;
10986 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10987 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10988 wxSize const &arg5_defvalue = wxDefaultSize ;
10989 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10990 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10991 wxString const &arg7_defvalue = wxPySashNameStr ;
10992 wxString *arg7 = (wxString *) &arg7_defvalue ;
10993 bool result;
10994 void *argp1 = 0 ;
10995 int res1 = 0 ;
10996 void *argp2 = 0 ;
10997 int res2 = 0 ;
10998 int val3 ;
10999 int ecode3 = 0 ;
11000 wxPoint temp4 ;
11001 wxSize temp5 ;
11002 long val6 ;
11003 int ecode6 = 0 ;
11004 bool temp7 = false ;
11005 PyObject * obj0 = 0 ;
11006 PyObject * obj1 = 0 ;
11007 PyObject * obj2 = 0 ;
11008 PyObject * obj3 = 0 ;
11009 PyObject * obj4 = 0 ;
11010 PyObject * obj5 = 0 ;
11011 PyObject * obj6 = 0 ;
11012 char * kwnames[] = {
11013 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11014 };
11015
11016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11018 if (!SWIG_IsOK(res1)) {
11019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11020 }
11021 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11022 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11023 if (!SWIG_IsOK(res2)) {
11024 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11025 }
11026 arg2 = reinterpret_cast< wxWindow * >(argp2);
11027 if (obj2) {
11028 ecode3 = SWIG_AsVal_int(obj2, &val3);
11029 if (!SWIG_IsOK(ecode3)) {
11030 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11031 }
11032 arg3 = static_cast< int >(val3);
11033 }
11034 if (obj3) {
11035 {
11036 arg4 = &temp4;
11037 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11038 }
11039 }
11040 if (obj4) {
11041 {
11042 arg5 = &temp5;
11043 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11044 }
11045 }
11046 if (obj5) {
11047 ecode6 = SWIG_AsVal_long(obj5, &val6);
11048 if (!SWIG_IsOK(ecode6)) {
11049 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11050 }
11051 arg6 = static_cast< long >(val6);
11052 }
11053 if (obj6) {
11054 {
11055 arg7 = wxString_in_helper(obj6);
11056 if (arg7 == NULL) SWIG_fail;
11057 temp7 = true;
11058 }
11059 }
11060 {
11061 PyThreadState* __tstate = wxPyBeginAllowThreads();
11062 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11063 wxPyEndAllowThreads(__tstate);
11064 if (PyErr_Occurred()) SWIG_fail;
11065 }
11066 {
11067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11068 }
11069 {
11070 if (temp7)
11071 delete arg7;
11072 }
11073 return resultobj;
11074 fail:
11075 {
11076 if (temp7)
11077 delete arg7;
11078 }
11079 return NULL;
11080 }
11081
11082
11083 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11084 PyObject *resultobj = 0;
11085 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11086 wxSashEdgePosition arg2 ;
11087 bool arg3 ;
11088 void *argp1 = 0 ;
11089 int res1 = 0 ;
11090 int val2 ;
11091 int ecode2 = 0 ;
11092 bool val3 ;
11093 int ecode3 = 0 ;
11094 PyObject * obj0 = 0 ;
11095 PyObject * obj1 = 0 ;
11096 PyObject * obj2 = 0 ;
11097 char * kwnames[] = {
11098 (char *) "self",(char *) "edge",(char *) "sash", NULL
11099 };
11100
11101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11103 if (!SWIG_IsOK(res1)) {
11104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11105 }
11106 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11107 ecode2 = SWIG_AsVal_int(obj1, &val2);
11108 if (!SWIG_IsOK(ecode2)) {
11109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11110 }
11111 arg2 = static_cast< wxSashEdgePosition >(val2);
11112 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11113 if (!SWIG_IsOK(ecode3)) {
11114 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11115 }
11116 arg3 = static_cast< bool >(val3);
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 (arg1)->SetSashVisible(arg2,arg3);
11120 wxPyEndAllowThreads(__tstate);
11121 if (PyErr_Occurred()) SWIG_fail;
11122 }
11123 resultobj = SWIG_Py_Void();
11124 return resultobj;
11125 fail:
11126 return NULL;
11127 }
11128
11129
11130 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11131 PyObject *resultobj = 0;
11132 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11133 wxSashEdgePosition arg2 ;
11134 bool result;
11135 void *argp1 = 0 ;
11136 int res1 = 0 ;
11137 int val2 ;
11138 int ecode2 = 0 ;
11139 PyObject * obj0 = 0 ;
11140 PyObject * obj1 = 0 ;
11141 char * kwnames[] = {
11142 (char *) "self",(char *) "edge", NULL
11143 };
11144
11145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11147 if (!SWIG_IsOK(res1)) {
11148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11149 }
11150 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11151 ecode2 = SWIG_AsVal_int(obj1, &val2);
11152 if (!SWIG_IsOK(ecode2)) {
11153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11154 }
11155 arg2 = static_cast< wxSashEdgePosition >(val2);
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11159 wxPyEndAllowThreads(__tstate);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 }
11162 {
11163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11164 }
11165 return resultobj;
11166 fail:
11167 return NULL;
11168 }
11169
11170
11171 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11172 PyObject *resultobj = 0;
11173 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11174 wxSashEdgePosition arg2 ;
11175 int result;
11176 void *argp1 = 0 ;
11177 int res1 = 0 ;
11178 int val2 ;
11179 int ecode2 = 0 ;
11180 PyObject * obj0 = 0 ;
11181 PyObject * obj1 = 0 ;
11182 char * kwnames[] = {
11183 (char *) "self",(char *) "edge", NULL
11184 };
11185
11186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11188 if (!SWIG_IsOK(res1)) {
11189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11190 }
11191 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11192 ecode2 = SWIG_AsVal_int(obj1, &val2);
11193 if (!SWIG_IsOK(ecode2)) {
11194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11195 }
11196 arg2 = static_cast< wxSashEdgePosition >(val2);
11197 {
11198 PyThreadState* __tstate = wxPyBeginAllowThreads();
11199 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11200 wxPyEndAllowThreads(__tstate);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 }
11203 resultobj = SWIG_From_int(static_cast< int >(result));
11204 return resultobj;
11205 fail:
11206 return NULL;
11207 }
11208
11209
11210 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11211 PyObject *resultobj = 0;
11212 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11213 int arg2 ;
11214 void *argp1 = 0 ;
11215 int res1 = 0 ;
11216 int val2 ;
11217 int ecode2 = 0 ;
11218 PyObject * obj0 = 0 ;
11219 PyObject * obj1 = 0 ;
11220 char * kwnames[] = {
11221 (char *) "self",(char *) "width", NULL
11222 };
11223
11224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11226 if (!SWIG_IsOK(res1)) {
11227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11228 }
11229 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11230 ecode2 = SWIG_AsVal_int(obj1, &val2);
11231 if (!SWIG_IsOK(ecode2)) {
11232 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11233 }
11234 arg2 = static_cast< int >(val2);
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 (arg1)->SetDefaultBorderSize(arg2);
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
11241 resultobj = SWIG_Py_Void();
11242 return resultobj;
11243 fail:
11244 return NULL;
11245 }
11246
11247
11248 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11249 PyObject *resultobj = 0;
11250 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11251 int result;
11252 void *argp1 = 0 ;
11253 int res1 = 0 ;
11254 PyObject *swig_obj[1] ;
11255
11256 if (!args) SWIG_fail;
11257 swig_obj[0] = args;
11258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11259 if (!SWIG_IsOK(res1)) {
11260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11261 }
11262 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11263 {
11264 PyThreadState* __tstate = wxPyBeginAllowThreads();
11265 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11266 wxPyEndAllowThreads(__tstate);
11267 if (PyErr_Occurred()) SWIG_fail;
11268 }
11269 resultobj = SWIG_From_int(static_cast< int >(result));
11270 return resultobj;
11271 fail:
11272 return NULL;
11273 }
11274
11275
11276 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11277 PyObject *resultobj = 0;
11278 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11279 int arg2 ;
11280 void *argp1 = 0 ;
11281 int res1 = 0 ;
11282 int val2 ;
11283 int ecode2 = 0 ;
11284 PyObject * obj0 = 0 ;
11285 PyObject * obj1 = 0 ;
11286 char * kwnames[] = {
11287 (char *) "self",(char *) "width", NULL
11288 };
11289
11290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11292 if (!SWIG_IsOK(res1)) {
11293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11294 }
11295 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11296 ecode2 = SWIG_AsVal_int(obj1, &val2);
11297 if (!SWIG_IsOK(ecode2)) {
11298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11299 }
11300 arg2 = static_cast< int >(val2);
11301 {
11302 PyThreadState* __tstate = wxPyBeginAllowThreads();
11303 (arg1)->SetExtraBorderSize(arg2);
11304 wxPyEndAllowThreads(__tstate);
11305 if (PyErr_Occurred()) SWIG_fail;
11306 }
11307 resultobj = SWIG_Py_Void();
11308 return resultobj;
11309 fail:
11310 return NULL;
11311 }
11312
11313
11314 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11315 PyObject *resultobj = 0;
11316 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11317 int result;
11318 void *argp1 = 0 ;
11319 int res1 = 0 ;
11320 PyObject *swig_obj[1] ;
11321
11322 if (!args) SWIG_fail;
11323 swig_obj[0] = args;
11324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11325 if (!SWIG_IsOK(res1)) {
11326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11327 }
11328 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11329 {
11330 PyThreadState* __tstate = wxPyBeginAllowThreads();
11331 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11332 wxPyEndAllowThreads(__tstate);
11333 if (PyErr_Occurred()) SWIG_fail;
11334 }
11335 resultobj = SWIG_From_int(static_cast< int >(result));
11336 return resultobj;
11337 fail:
11338 return NULL;
11339 }
11340
11341
11342 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11343 PyObject *resultobj = 0;
11344 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11345 int arg2 ;
11346 void *argp1 = 0 ;
11347 int res1 = 0 ;
11348 int val2 ;
11349 int ecode2 = 0 ;
11350 PyObject * obj0 = 0 ;
11351 PyObject * obj1 = 0 ;
11352 char * kwnames[] = {
11353 (char *) "self",(char *) "min", NULL
11354 };
11355
11356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11358 if (!SWIG_IsOK(res1)) {
11359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11360 }
11361 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11362 ecode2 = SWIG_AsVal_int(obj1, &val2);
11363 if (!SWIG_IsOK(ecode2)) {
11364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11365 }
11366 arg2 = static_cast< int >(val2);
11367 {
11368 PyThreadState* __tstate = wxPyBeginAllowThreads();
11369 (arg1)->SetMinimumSizeX(arg2);
11370 wxPyEndAllowThreads(__tstate);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 }
11373 resultobj = SWIG_Py_Void();
11374 return resultobj;
11375 fail:
11376 return NULL;
11377 }
11378
11379
11380 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11381 PyObject *resultobj = 0;
11382 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11383 int arg2 ;
11384 void *argp1 = 0 ;
11385 int res1 = 0 ;
11386 int val2 ;
11387 int ecode2 = 0 ;
11388 PyObject * obj0 = 0 ;
11389 PyObject * obj1 = 0 ;
11390 char * kwnames[] = {
11391 (char *) "self",(char *) "min", NULL
11392 };
11393
11394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11396 if (!SWIG_IsOK(res1)) {
11397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11398 }
11399 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11400 ecode2 = SWIG_AsVal_int(obj1, &val2);
11401 if (!SWIG_IsOK(ecode2)) {
11402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11403 }
11404 arg2 = static_cast< int >(val2);
11405 {
11406 PyThreadState* __tstate = wxPyBeginAllowThreads();
11407 (arg1)->SetMinimumSizeY(arg2);
11408 wxPyEndAllowThreads(__tstate);
11409 if (PyErr_Occurred()) SWIG_fail;
11410 }
11411 resultobj = SWIG_Py_Void();
11412 return resultobj;
11413 fail:
11414 return NULL;
11415 }
11416
11417
11418 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11419 PyObject *resultobj = 0;
11420 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11421 int result;
11422 void *argp1 = 0 ;
11423 int res1 = 0 ;
11424 PyObject *swig_obj[1] ;
11425
11426 if (!args) SWIG_fail;
11427 swig_obj[0] = args;
11428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11429 if (!SWIG_IsOK(res1)) {
11430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11431 }
11432 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11433 {
11434 PyThreadState* __tstate = wxPyBeginAllowThreads();
11435 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11436 wxPyEndAllowThreads(__tstate);
11437 if (PyErr_Occurred()) SWIG_fail;
11438 }
11439 resultobj = SWIG_From_int(static_cast< int >(result));
11440 return resultobj;
11441 fail:
11442 return NULL;
11443 }
11444
11445
11446 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11447 PyObject *resultobj = 0;
11448 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11449 int result;
11450 void *argp1 = 0 ;
11451 int res1 = 0 ;
11452 PyObject *swig_obj[1] ;
11453
11454 if (!args) SWIG_fail;
11455 swig_obj[0] = args;
11456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11457 if (!SWIG_IsOK(res1)) {
11458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11459 }
11460 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11461 {
11462 PyThreadState* __tstate = wxPyBeginAllowThreads();
11463 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11464 wxPyEndAllowThreads(__tstate);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
11467 resultobj = SWIG_From_int(static_cast< int >(result));
11468 return resultobj;
11469 fail:
11470 return NULL;
11471 }
11472
11473
11474 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11475 PyObject *resultobj = 0;
11476 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11477 int arg2 ;
11478 void *argp1 = 0 ;
11479 int res1 = 0 ;
11480 int val2 ;
11481 int ecode2 = 0 ;
11482 PyObject * obj0 = 0 ;
11483 PyObject * obj1 = 0 ;
11484 char * kwnames[] = {
11485 (char *) "self",(char *) "max", NULL
11486 };
11487
11488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11490 if (!SWIG_IsOK(res1)) {
11491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11492 }
11493 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11494 ecode2 = SWIG_AsVal_int(obj1, &val2);
11495 if (!SWIG_IsOK(ecode2)) {
11496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11497 }
11498 arg2 = static_cast< int >(val2);
11499 {
11500 PyThreadState* __tstate = wxPyBeginAllowThreads();
11501 (arg1)->SetMaximumSizeX(arg2);
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
11505 resultobj = SWIG_Py_Void();
11506 return resultobj;
11507 fail:
11508 return NULL;
11509 }
11510
11511
11512 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11513 PyObject *resultobj = 0;
11514 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11515 int arg2 ;
11516 void *argp1 = 0 ;
11517 int res1 = 0 ;
11518 int val2 ;
11519 int ecode2 = 0 ;
11520 PyObject * obj0 = 0 ;
11521 PyObject * obj1 = 0 ;
11522 char * kwnames[] = {
11523 (char *) "self",(char *) "max", NULL
11524 };
11525
11526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11528 if (!SWIG_IsOK(res1)) {
11529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11530 }
11531 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11532 ecode2 = SWIG_AsVal_int(obj1, &val2);
11533 if (!SWIG_IsOK(ecode2)) {
11534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11535 }
11536 arg2 = static_cast< int >(val2);
11537 {
11538 PyThreadState* __tstate = wxPyBeginAllowThreads();
11539 (arg1)->SetMaximumSizeY(arg2);
11540 wxPyEndAllowThreads(__tstate);
11541 if (PyErr_Occurred()) SWIG_fail;
11542 }
11543 resultobj = SWIG_Py_Void();
11544 return resultobj;
11545 fail:
11546 return NULL;
11547 }
11548
11549
11550 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11551 PyObject *resultobj = 0;
11552 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11553 int result;
11554 void *argp1 = 0 ;
11555 int res1 = 0 ;
11556 PyObject *swig_obj[1] ;
11557
11558 if (!args) SWIG_fail;
11559 swig_obj[0] = args;
11560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11561 if (!SWIG_IsOK(res1)) {
11562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11563 }
11564 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11565 {
11566 PyThreadState* __tstate = wxPyBeginAllowThreads();
11567 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11568 wxPyEndAllowThreads(__tstate);
11569 if (PyErr_Occurred()) SWIG_fail;
11570 }
11571 resultobj = SWIG_From_int(static_cast< int >(result));
11572 return resultobj;
11573 fail:
11574 return NULL;
11575 }
11576
11577
11578 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11579 PyObject *resultobj = 0;
11580 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11581 int result;
11582 void *argp1 = 0 ;
11583 int res1 = 0 ;
11584 PyObject *swig_obj[1] ;
11585
11586 if (!args) SWIG_fail;
11587 swig_obj[0] = args;
11588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11589 if (!SWIG_IsOK(res1)) {
11590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11591 }
11592 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11593 {
11594 PyThreadState* __tstate = wxPyBeginAllowThreads();
11595 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11596 wxPyEndAllowThreads(__tstate);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 resultobj = SWIG_From_int(static_cast< int >(result));
11600 return resultobj;
11601 fail:
11602 return NULL;
11603 }
11604
11605
11606 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11607 PyObject *resultobj = 0;
11608 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11609 int arg2 ;
11610 int arg3 ;
11611 int arg4 = (int) 2 ;
11612 wxSashEdgePosition result;
11613 void *argp1 = 0 ;
11614 int res1 = 0 ;
11615 int val2 ;
11616 int ecode2 = 0 ;
11617 int val3 ;
11618 int ecode3 = 0 ;
11619 int val4 ;
11620 int ecode4 = 0 ;
11621 PyObject * obj0 = 0 ;
11622 PyObject * obj1 = 0 ;
11623 PyObject * obj2 = 0 ;
11624 PyObject * obj3 = 0 ;
11625 char * kwnames[] = {
11626 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11627 };
11628
11629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11631 if (!SWIG_IsOK(res1)) {
11632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11633 }
11634 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11635 ecode2 = SWIG_AsVal_int(obj1, &val2);
11636 if (!SWIG_IsOK(ecode2)) {
11637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11638 }
11639 arg2 = static_cast< int >(val2);
11640 ecode3 = SWIG_AsVal_int(obj2, &val3);
11641 if (!SWIG_IsOK(ecode3)) {
11642 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11643 }
11644 arg3 = static_cast< int >(val3);
11645 if (obj3) {
11646 ecode4 = SWIG_AsVal_int(obj3, &val4);
11647 if (!SWIG_IsOK(ecode4)) {
11648 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11649 }
11650 arg4 = static_cast< int >(val4);
11651 }
11652 {
11653 PyThreadState* __tstate = wxPyBeginAllowThreads();
11654 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11655 wxPyEndAllowThreads(__tstate);
11656 if (PyErr_Occurred()) SWIG_fail;
11657 }
11658 resultobj = SWIG_From_int(static_cast< int >(result));
11659 return resultobj;
11660 fail:
11661 return NULL;
11662 }
11663
11664
11665 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11666 PyObject *resultobj = 0;
11667 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11668 void *argp1 = 0 ;
11669 int res1 = 0 ;
11670 PyObject *swig_obj[1] ;
11671
11672 if (!args) SWIG_fail;
11673 swig_obj[0] = args;
11674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11675 if (!SWIG_IsOK(res1)) {
11676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11677 }
11678 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11679 {
11680 PyThreadState* __tstate = wxPyBeginAllowThreads();
11681 (arg1)->SizeWindows();
11682 wxPyEndAllowThreads(__tstate);
11683 if (PyErr_Occurred()) SWIG_fail;
11684 }
11685 resultobj = SWIG_Py_Void();
11686 return resultobj;
11687 fail:
11688 return NULL;
11689 }
11690
11691
11692 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11693 PyObject *obj;
11694 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11695 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11696 return SWIG_Py_Void();
11697 }
11698
11699 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11700 return SWIG_Python_InitShadowInstance(args);
11701 }
11702
11703 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11704 PyObject *resultobj = 0;
11705 int arg1 = (int) 0 ;
11706 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11707 wxSashEvent *result = 0 ;
11708 int val1 ;
11709 int ecode1 = 0 ;
11710 int val2 ;
11711 int ecode2 = 0 ;
11712 PyObject * obj0 = 0 ;
11713 PyObject * obj1 = 0 ;
11714 char * kwnames[] = {
11715 (char *) "id",(char *) "edge", NULL
11716 };
11717
11718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11719 if (obj0) {
11720 ecode1 = SWIG_AsVal_int(obj0, &val1);
11721 if (!SWIG_IsOK(ecode1)) {
11722 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11723 }
11724 arg1 = static_cast< int >(val1);
11725 }
11726 if (obj1) {
11727 ecode2 = SWIG_AsVal_int(obj1, &val2);
11728 if (!SWIG_IsOK(ecode2)) {
11729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11730 }
11731 arg2 = static_cast< wxSashEdgePosition >(val2);
11732 }
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11736 wxPyEndAllowThreads(__tstate);
11737 if (PyErr_Occurred()) SWIG_fail;
11738 }
11739 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11740 return resultobj;
11741 fail:
11742 return NULL;
11743 }
11744
11745
11746 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11747 PyObject *resultobj = 0;
11748 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11749 wxSashEdgePosition arg2 ;
11750 void *argp1 = 0 ;
11751 int res1 = 0 ;
11752 int val2 ;
11753 int ecode2 = 0 ;
11754 PyObject * obj0 = 0 ;
11755 PyObject * obj1 = 0 ;
11756 char * kwnames[] = {
11757 (char *) "self",(char *) "edge", NULL
11758 };
11759
11760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11762 if (!SWIG_IsOK(res1)) {
11763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11764 }
11765 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11766 ecode2 = SWIG_AsVal_int(obj1, &val2);
11767 if (!SWIG_IsOK(ecode2)) {
11768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11769 }
11770 arg2 = static_cast< wxSashEdgePosition >(val2);
11771 {
11772 PyThreadState* __tstate = wxPyBeginAllowThreads();
11773 (arg1)->SetEdge(arg2);
11774 wxPyEndAllowThreads(__tstate);
11775 if (PyErr_Occurred()) SWIG_fail;
11776 }
11777 resultobj = SWIG_Py_Void();
11778 return resultobj;
11779 fail:
11780 return NULL;
11781 }
11782
11783
11784 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11785 PyObject *resultobj = 0;
11786 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11787 wxSashEdgePosition result;
11788 void *argp1 = 0 ;
11789 int res1 = 0 ;
11790 PyObject *swig_obj[1] ;
11791
11792 if (!args) SWIG_fail;
11793 swig_obj[0] = args;
11794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11795 if (!SWIG_IsOK(res1)) {
11796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11797 }
11798 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11799 {
11800 PyThreadState* __tstate = wxPyBeginAllowThreads();
11801 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11802 wxPyEndAllowThreads(__tstate);
11803 if (PyErr_Occurred()) SWIG_fail;
11804 }
11805 resultobj = SWIG_From_int(static_cast< int >(result));
11806 return resultobj;
11807 fail:
11808 return NULL;
11809 }
11810
11811
11812 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11813 PyObject *resultobj = 0;
11814 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11815 wxRect *arg2 = 0 ;
11816 void *argp1 = 0 ;
11817 int res1 = 0 ;
11818 wxRect temp2 ;
11819 PyObject * obj0 = 0 ;
11820 PyObject * obj1 = 0 ;
11821 char * kwnames[] = {
11822 (char *) "self",(char *) "rect", NULL
11823 };
11824
11825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11827 if (!SWIG_IsOK(res1)) {
11828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11829 }
11830 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11831 {
11832 arg2 = &temp2;
11833 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11834 }
11835 {
11836 PyThreadState* __tstate = wxPyBeginAllowThreads();
11837 (arg1)->SetDragRect((wxRect const &)*arg2);
11838 wxPyEndAllowThreads(__tstate);
11839 if (PyErr_Occurred()) SWIG_fail;
11840 }
11841 resultobj = SWIG_Py_Void();
11842 return resultobj;
11843 fail:
11844 return NULL;
11845 }
11846
11847
11848 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11849 PyObject *resultobj = 0;
11850 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11851 wxRect result;
11852 void *argp1 = 0 ;
11853 int res1 = 0 ;
11854 PyObject *swig_obj[1] ;
11855
11856 if (!args) SWIG_fail;
11857 swig_obj[0] = args;
11858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11859 if (!SWIG_IsOK(res1)) {
11860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11861 }
11862 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11863 {
11864 PyThreadState* __tstate = wxPyBeginAllowThreads();
11865 result = ((wxSashEvent const *)arg1)->GetDragRect();
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11870 return resultobj;
11871 fail:
11872 return NULL;
11873 }
11874
11875
11876 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11877 PyObject *resultobj = 0;
11878 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11879 wxSashDragStatus arg2 ;
11880 void *argp1 = 0 ;
11881 int res1 = 0 ;
11882 int val2 ;
11883 int ecode2 = 0 ;
11884 PyObject * obj0 = 0 ;
11885 PyObject * obj1 = 0 ;
11886 char * kwnames[] = {
11887 (char *) "self",(char *) "status", NULL
11888 };
11889
11890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11892 if (!SWIG_IsOK(res1)) {
11893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11894 }
11895 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11896 ecode2 = SWIG_AsVal_int(obj1, &val2);
11897 if (!SWIG_IsOK(ecode2)) {
11898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11899 }
11900 arg2 = static_cast< wxSashDragStatus >(val2);
11901 {
11902 PyThreadState* __tstate = wxPyBeginAllowThreads();
11903 (arg1)->SetDragStatus(arg2);
11904 wxPyEndAllowThreads(__tstate);
11905 if (PyErr_Occurred()) SWIG_fail;
11906 }
11907 resultobj = SWIG_Py_Void();
11908 return resultobj;
11909 fail:
11910 return NULL;
11911 }
11912
11913
11914 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11915 PyObject *resultobj = 0;
11916 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11917 wxSashDragStatus result;
11918 void *argp1 = 0 ;
11919 int res1 = 0 ;
11920 PyObject *swig_obj[1] ;
11921
11922 if (!args) SWIG_fail;
11923 swig_obj[0] = args;
11924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11925 if (!SWIG_IsOK(res1)) {
11926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11927 }
11928 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11929 {
11930 PyThreadState* __tstate = wxPyBeginAllowThreads();
11931 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11932 wxPyEndAllowThreads(__tstate);
11933 if (PyErr_Occurred()) SWIG_fail;
11934 }
11935 resultobj = SWIG_From_int(static_cast< int >(result));
11936 return resultobj;
11937 fail:
11938 return NULL;
11939 }
11940
11941
11942 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11943 PyObject *obj;
11944 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11945 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11946 return SWIG_Py_Void();
11947 }
11948
11949 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11950 return SWIG_Python_InitShadowInstance(args);
11951 }
11952
11953 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11954 PyObject *resultobj = 0;
11955 int arg1 = (int) 0 ;
11956 wxQueryLayoutInfoEvent *result = 0 ;
11957 int val1 ;
11958 int ecode1 = 0 ;
11959 PyObject * obj0 = 0 ;
11960 char * kwnames[] = {
11961 (char *) "id", NULL
11962 };
11963
11964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11965 if (obj0) {
11966 ecode1 = SWIG_AsVal_int(obj0, &val1);
11967 if (!SWIG_IsOK(ecode1)) {
11968 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11969 }
11970 arg1 = static_cast< int >(val1);
11971 }
11972 {
11973 PyThreadState* __tstate = wxPyBeginAllowThreads();
11974 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11975 wxPyEndAllowThreads(__tstate);
11976 if (PyErr_Occurred()) SWIG_fail;
11977 }
11978 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11979 return resultobj;
11980 fail:
11981 return NULL;
11982 }
11983
11984
11985 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11986 PyObject *resultobj = 0;
11987 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11988 int arg2 ;
11989 void *argp1 = 0 ;
11990 int res1 = 0 ;
11991 int val2 ;
11992 int ecode2 = 0 ;
11993 PyObject * obj0 = 0 ;
11994 PyObject * obj1 = 0 ;
11995 char * kwnames[] = {
11996 (char *) "self",(char *) "length", NULL
11997 };
11998
11999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12001 if (!SWIG_IsOK(res1)) {
12002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12003 }
12004 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12005 ecode2 = SWIG_AsVal_int(obj1, &val2);
12006 if (!SWIG_IsOK(ecode2)) {
12007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12008 }
12009 arg2 = static_cast< int >(val2);
12010 {
12011 PyThreadState* __tstate = wxPyBeginAllowThreads();
12012 (arg1)->SetRequestedLength(arg2);
12013 wxPyEndAllowThreads(__tstate);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 resultobj = SWIG_Py_Void();
12017 return resultobj;
12018 fail:
12019 return NULL;
12020 }
12021
12022
12023 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12024 PyObject *resultobj = 0;
12025 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12026 int result;
12027 void *argp1 = 0 ;
12028 int res1 = 0 ;
12029 PyObject *swig_obj[1] ;
12030
12031 if (!args) SWIG_fail;
12032 swig_obj[0] = args;
12033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12034 if (!SWIG_IsOK(res1)) {
12035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12036 }
12037 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12038 {
12039 PyThreadState* __tstate = wxPyBeginAllowThreads();
12040 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12041 wxPyEndAllowThreads(__tstate);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
12044 resultobj = SWIG_From_int(static_cast< int >(result));
12045 return resultobj;
12046 fail:
12047 return NULL;
12048 }
12049
12050
12051 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12052 PyObject *resultobj = 0;
12053 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12054 int arg2 ;
12055 void *argp1 = 0 ;
12056 int res1 = 0 ;
12057 int val2 ;
12058 int ecode2 = 0 ;
12059 PyObject * obj0 = 0 ;
12060 PyObject * obj1 = 0 ;
12061 char * kwnames[] = {
12062 (char *) "self",(char *) "flags", NULL
12063 };
12064
12065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12067 if (!SWIG_IsOK(res1)) {
12068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12069 }
12070 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12071 ecode2 = SWIG_AsVal_int(obj1, &val2);
12072 if (!SWIG_IsOK(ecode2)) {
12073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12074 }
12075 arg2 = static_cast< int >(val2);
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 (arg1)->SetFlags(arg2);
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) SWIG_fail;
12081 }
12082 resultobj = SWIG_Py_Void();
12083 return resultobj;
12084 fail:
12085 return NULL;
12086 }
12087
12088
12089 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12090 PyObject *resultobj = 0;
12091 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12092 int result;
12093 void *argp1 = 0 ;
12094 int res1 = 0 ;
12095 PyObject *swig_obj[1] ;
12096
12097 if (!args) SWIG_fail;
12098 swig_obj[0] = args;
12099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12100 if (!SWIG_IsOK(res1)) {
12101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12102 }
12103 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12104 {
12105 PyThreadState* __tstate = wxPyBeginAllowThreads();
12106 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12107 wxPyEndAllowThreads(__tstate);
12108 if (PyErr_Occurred()) SWIG_fail;
12109 }
12110 resultobj = SWIG_From_int(static_cast< int >(result));
12111 return resultobj;
12112 fail:
12113 return NULL;
12114 }
12115
12116
12117 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12118 PyObject *resultobj = 0;
12119 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12120 wxSize *arg2 = 0 ;
12121 void *argp1 = 0 ;
12122 int res1 = 0 ;
12123 wxSize temp2 ;
12124 PyObject * obj0 = 0 ;
12125 PyObject * obj1 = 0 ;
12126 char * kwnames[] = {
12127 (char *) "self",(char *) "size", NULL
12128 };
12129
12130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12132 if (!SWIG_IsOK(res1)) {
12133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12134 }
12135 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12136 {
12137 arg2 = &temp2;
12138 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12139 }
12140 {
12141 PyThreadState* __tstate = wxPyBeginAllowThreads();
12142 (arg1)->SetSize((wxSize const &)*arg2);
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
12146 resultobj = SWIG_Py_Void();
12147 return resultobj;
12148 fail:
12149 return NULL;
12150 }
12151
12152
12153 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12154 PyObject *resultobj = 0;
12155 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12156 wxSize result;
12157 void *argp1 = 0 ;
12158 int res1 = 0 ;
12159 PyObject *swig_obj[1] ;
12160
12161 if (!args) SWIG_fail;
12162 swig_obj[0] = args;
12163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12164 if (!SWIG_IsOK(res1)) {
12165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12166 }
12167 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12168 {
12169 PyThreadState* __tstate = wxPyBeginAllowThreads();
12170 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12175 return resultobj;
12176 fail:
12177 return NULL;
12178 }
12179
12180
12181 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12182 PyObject *resultobj = 0;
12183 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12184 wxLayoutOrientation arg2 ;
12185 void *argp1 = 0 ;
12186 int res1 = 0 ;
12187 int val2 ;
12188 int ecode2 = 0 ;
12189 PyObject * obj0 = 0 ;
12190 PyObject * obj1 = 0 ;
12191 char * kwnames[] = {
12192 (char *) "self",(char *) "orient", NULL
12193 };
12194
12195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12197 if (!SWIG_IsOK(res1)) {
12198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12199 }
12200 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12201 ecode2 = SWIG_AsVal_int(obj1, &val2);
12202 if (!SWIG_IsOK(ecode2)) {
12203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12204 }
12205 arg2 = static_cast< wxLayoutOrientation >(val2);
12206 {
12207 PyThreadState* __tstate = wxPyBeginAllowThreads();
12208 (arg1)->SetOrientation(arg2);
12209 wxPyEndAllowThreads(__tstate);
12210 if (PyErr_Occurred()) SWIG_fail;
12211 }
12212 resultobj = SWIG_Py_Void();
12213 return resultobj;
12214 fail:
12215 return NULL;
12216 }
12217
12218
12219 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12220 PyObject *resultobj = 0;
12221 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12222 wxLayoutOrientation result;
12223 void *argp1 = 0 ;
12224 int res1 = 0 ;
12225 PyObject *swig_obj[1] ;
12226
12227 if (!args) SWIG_fail;
12228 swig_obj[0] = args;
12229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12230 if (!SWIG_IsOK(res1)) {
12231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12232 }
12233 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12234 {
12235 PyThreadState* __tstate = wxPyBeginAllowThreads();
12236 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12237 wxPyEndAllowThreads(__tstate);
12238 if (PyErr_Occurred()) SWIG_fail;
12239 }
12240 resultobj = SWIG_From_int(static_cast< int >(result));
12241 return resultobj;
12242 fail:
12243 return NULL;
12244 }
12245
12246
12247 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12248 PyObject *resultobj = 0;
12249 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12250 wxLayoutAlignment arg2 ;
12251 void *argp1 = 0 ;
12252 int res1 = 0 ;
12253 int val2 ;
12254 int ecode2 = 0 ;
12255 PyObject * obj0 = 0 ;
12256 PyObject * obj1 = 0 ;
12257 char * kwnames[] = {
12258 (char *) "self",(char *) "align", NULL
12259 };
12260
12261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12263 if (!SWIG_IsOK(res1)) {
12264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12265 }
12266 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12267 ecode2 = SWIG_AsVal_int(obj1, &val2);
12268 if (!SWIG_IsOK(ecode2)) {
12269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12270 }
12271 arg2 = static_cast< wxLayoutAlignment >(val2);
12272 {
12273 PyThreadState* __tstate = wxPyBeginAllowThreads();
12274 (arg1)->SetAlignment(arg2);
12275 wxPyEndAllowThreads(__tstate);
12276 if (PyErr_Occurred()) SWIG_fail;
12277 }
12278 resultobj = SWIG_Py_Void();
12279 return resultobj;
12280 fail:
12281 return NULL;
12282 }
12283
12284
12285 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12286 PyObject *resultobj = 0;
12287 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12288 wxLayoutAlignment result;
12289 void *argp1 = 0 ;
12290 int res1 = 0 ;
12291 PyObject *swig_obj[1] ;
12292
12293 if (!args) SWIG_fail;
12294 swig_obj[0] = args;
12295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12296 if (!SWIG_IsOK(res1)) {
12297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12298 }
12299 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12300 {
12301 PyThreadState* __tstate = wxPyBeginAllowThreads();
12302 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12303 wxPyEndAllowThreads(__tstate);
12304 if (PyErr_Occurred()) SWIG_fail;
12305 }
12306 resultobj = SWIG_From_int(static_cast< int >(result));
12307 return resultobj;
12308 fail:
12309 return NULL;
12310 }
12311
12312
12313 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12314 PyObject *obj;
12315 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12316 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12317 return SWIG_Py_Void();
12318 }
12319
12320 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12321 return SWIG_Python_InitShadowInstance(args);
12322 }
12323
12324 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12325 PyObject *resultobj = 0;
12326 int arg1 = (int) 0 ;
12327 wxCalculateLayoutEvent *result = 0 ;
12328 int val1 ;
12329 int ecode1 = 0 ;
12330 PyObject * obj0 = 0 ;
12331 char * kwnames[] = {
12332 (char *) "id", NULL
12333 };
12334
12335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12336 if (obj0) {
12337 ecode1 = SWIG_AsVal_int(obj0, &val1);
12338 if (!SWIG_IsOK(ecode1)) {
12339 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12340 }
12341 arg1 = static_cast< int >(val1);
12342 }
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12346 wxPyEndAllowThreads(__tstate);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 }
12349 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12350 return resultobj;
12351 fail:
12352 return NULL;
12353 }
12354
12355
12356 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12357 PyObject *resultobj = 0;
12358 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12359 int arg2 ;
12360 void *argp1 = 0 ;
12361 int res1 = 0 ;
12362 int val2 ;
12363 int ecode2 = 0 ;
12364 PyObject * obj0 = 0 ;
12365 PyObject * obj1 = 0 ;
12366 char * kwnames[] = {
12367 (char *) "self",(char *) "flags", NULL
12368 };
12369
12370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12372 if (!SWIG_IsOK(res1)) {
12373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12374 }
12375 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12376 ecode2 = SWIG_AsVal_int(obj1, &val2);
12377 if (!SWIG_IsOK(ecode2)) {
12378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12379 }
12380 arg2 = static_cast< int >(val2);
12381 {
12382 PyThreadState* __tstate = wxPyBeginAllowThreads();
12383 (arg1)->SetFlags(arg2);
12384 wxPyEndAllowThreads(__tstate);
12385 if (PyErr_Occurred()) SWIG_fail;
12386 }
12387 resultobj = SWIG_Py_Void();
12388 return resultobj;
12389 fail:
12390 return NULL;
12391 }
12392
12393
12394 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12395 PyObject *resultobj = 0;
12396 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12397 int result;
12398 void *argp1 = 0 ;
12399 int res1 = 0 ;
12400 PyObject *swig_obj[1] ;
12401
12402 if (!args) SWIG_fail;
12403 swig_obj[0] = args;
12404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12405 if (!SWIG_IsOK(res1)) {
12406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12407 }
12408 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12409 {
12410 PyThreadState* __tstate = wxPyBeginAllowThreads();
12411 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12412 wxPyEndAllowThreads(__tstate);
12413 if (PyErr_Occurred()) SWIG_fail;
12414 }
12415 resultobj = SWIG_From_int(static_cast< int >(result));
12416 return resultobj;
12417 fail:
12418 return NULL;
12419 }
12420
12421
12422 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12423 PyObject *resultobj = 0;
12424 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12425 wxRect *arg2 = 0 ;
12426 void *argp1 = 0 ;
12427 int res1 = 0 ;
12428 wxRect temp2 ;
12429 PyObject * obj0 = 0 ;
12430 PyObject * obj1 = 0 ;
12431 char * kwnames[] = {
12432 (char *) "self",(char *) "rect", NULL
12433 };
12434
12435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12437 if (!SWIG_IsOK(res1)) {
12438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12439 }
12440 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12441 {
12442 arg2 = &temp2;
12443 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12444 }
12445 {
12446 PyThreadState* __tstate = wxPyBeginAllowThreads();
12447 (arg1)->SetRect((wxRect const &)*arg2);
12448 wxPyEndAllowThreads(__tstate);
12449 if (PyErr_Occurred()) SWIG_fail;
12450 }
12451 resultobj = SWIG_Py_Void();
12452 return resultobj;
12453 fail:
12454 return NULL;
12455 }
12456
12457
12458 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12459 PyObject *resultobj = 0;
12460 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12461 wxRect result;
12462 void *argp1 = 0 ;
12463 int res1 = 0 ;
12464 PyObject *swig_obj[1] ;
12465
12466 if (!args) SWIG_fail;
12467 swig_obj[0] = args;
12468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12469 if (!SWIG_IsOK(res1)) {
12470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12471 }
12472 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12473 {
12474 PyThreadState* __tstate = wxPyBeginAllowThreads();
12475 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12476 wxPyEndAllowThreads(__tstate);
12477 if (PyErr_Occurred()) SWIG_fail;
12478 }
12479 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12480 return resultobj;
12481 fail:
12482 return NULL;
12483 }
12484
12485
12486 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12487 PyObject *obj;
12488 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12489 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12490 return SWIG_Py_Void();
12491 }
12492
12493 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12494 return SWIG_Python_InitShadowInstance(args);
12495 }
12496
12497 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12498 PyObject *resultobj = 0;
12499 wxWindow *arg1 = (wxWindow *) 0 ;
12500 int arg2 = (int) -1 ;
12501 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12502 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12503 wxSize const &arg4_defvalue = wxDefaultSize ;
12504 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12505 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12506 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12507 wxString *arg6 = (wxString *) &arg6_defvalue ;
12508 wxSashLayoutWindow *result = 0 ;
12509 void *argp1 = 0 ;
12510 int res1 = 0 ;
12511 int val2 ;
12512 int ecode2 = 0 ;
12513 wxPoint temp3 ;
12514 wxSize temp4 ;
12515 long val5 ;
12516 int ecode5 = 0 ;
12517 bool temp6 = false ;
12518 PyObject * obj0 = 0 ;
12519 PyObject * obj1 = 0 ;
12520 PyObject * obj2 = 0 ;
12521 PyObject * obj3 = 0 ;
12522 PyObject * obj4 = 0 ;
12523 PyObject * obj5 = 0 ;
12524 char * kwnames[] = {
12525 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12526 };
12527
12528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12530 if (!SWIG_IsOK(res1)) {
12531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12532 }
12533 arg1 = reinterpret_cast< wxWindow * >(argp1);
12534 if (obj1) {
12535 ecode2 = SWIG_AsVal_int(obj1, &val2);
12536 if (!SWIG_IsOK(ecode2)) {
12537 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12538 }
12539 arg2 = static_cast< int >(val2);
12540 }
12541 if (obj2) {
12542 {
12543 arg3 = &temp3;
12544 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12545 }
12546 }
12547 if (obj3) {
12548 {
12549 arg4 = &temp4;
12550 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12551 }
12552 }
12553 if (obj4) {
12554 ecode5 = SWIG_AsVal_long(obj4, &val5);
12555 if (!SWIG_IsOK(ecode5)) {
12556 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12557 }
12558 arg5 = static_cast< long >(val5);
12559 }
12560 if (obj5) {
12561 {
12562 arg6 = wxString_in_helper(obj5);
12563 if (arg6 == NULL) SWIG_fail;
12564 temp6 = true;
12565 }
12566 }
12567 {
12568 if (!wxPyCheckForApp()) SWIG_fail;
12569 PyThreadState* __tstate = wxPyBeginAllowThreads();
12570 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12571 wxPyEndAllowThreads(__tstate);
12572 if (PyErr_Occurred()) SWIG_fail;
12573 }
12574 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12575 {
12576 if (temp6)
12577 delete arg6;
12578 }
12579 return resultobj;
12580 fail:
12581 {
12582 if (temp6)
12583 delete arg6;
12584 }
12585 return NULL;
12586 }
12587
12588
12589 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12590 PyObject *resultobj = 0;
12591 wxSashLayoutWindow *result = 0 ;
12592
12593 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12594 {
12595 if (!wxPyCheckForApp()) SWIG_fail;
12596 PyThreadState* __tstate = wxPyBeginAllowThreads();
12597 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12598 wxPyEndAllowThreads(__tstate);
12599 if (PyErr_Occurred()) SWIG_fail;
12600 }
12601 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12602 return resultobj;
12603 fail:
12604 return NULL;
12605 }
12606
12607
12608 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12609 PyObject *resultobj = 0;
12610 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12611 wxWindow *arg2 = (wxWindow *) 0 ;
12612 int arg3 = (int) -1 ;
12613 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12614 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12615 wxSize const &arg5_defvalue = wxDefaultSize ;
12616 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12617 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12618 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12619 wxString *arg7 = (wxString *) &arg7_defvalue ;
12620 bool result;
12621 void *argp1 = 0 ;
12622 int res1 = 0 ;
12623 void *argp2 = 0 ;
12624 int res2 = 0 ;
12625 int val3 ;
12626 int ecode3 = 0 ;
12627 wxPoint temp4 ;
12628 wxSize temp5 ;
12629 long val6 ;
12630 int ecode6 = 0 ;
12631 bool temp7 = false ;
12632 PyObject * obj0 = 0 ;
12633 PyObject * obj1 = 0 ;
12634 PyObject * obj2 = 0 ;
12635 PyObject * obj3 = 0 ;
12636 PyObject * obj4 = 0 ;
12637 PyObject * obj5 = 0 ;
12638 PyObject * obj6 = 0 ;
12639 char * kwnames[] = {
12640 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12641 };
12642
12643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12645 if (!SWIG_IsOK(res1)) {
12646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12647 }
12648 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12649 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12650 if (!SWIG_IsOK(res2)) {
12651 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12652 }
12653 arg2 = reinterpret_cast< wxWindow * >(argp2);
12654 if (obj2) {
12655 ecode3 = SWIG_AsVal_int(obj2, &val3);
12656 if (!SWIG_IsOK(ecode3)) {
12657 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12658 }
12659 arg3 = static_cast< int >(val3);
12660 }
12661 if (obj3) {
12662 {
12663 arg4 = &temp4;
12664 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12665 }
12666 }
12667 if (obj4) {
12668 {
12669 arg5 = &temp5;
12670 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12671 }
12672 }
12673 if (obj5) {
12674 ecode6 = SWIG_AsVal_long(obj5, &val6);
12675 if (!SWIG_IsOK(ecode6)) {
12676 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12677 }
12678 arg6 = static_cast< long >(val6);
12679 }
12680 if (obj6) {
12681 {
12682 arg7 = wxString_in_helper(obj6);
12683 if (arg7 == NULL) SWIG_fail;
12684 temp7 = true;
12685 }
12686 }
12687 {
12688 PyThreadState* __tstate = wxPyBeginAllowThreads();
12689 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12690 wxPyEndAllowThreads(__tstate);
12691 if (PyErr_Occurred()) SWIG_fail;
12692 }
12693 {
12694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12695 }
12696 {
12697 if (temp7)
12698 delete arg7;
12699 }
12700 return resultobj;
12701 fail:
12702 {
12703 if (temp7)
12704 delete arg7;
12705 }
12706 return NULL;
12707 }
12708
12709
12710 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12711 PyObject *resultobj = 0;
12712 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12713 wxLayoutAlignment result;
12714 void *argp1 = 0 ;
12715 int res1 = 0 ;
12716 PyObject *swig_obj[1] ;
12717
12718 if (!args) SWIG_fail;
12719 swig_obj[0] = args;
12720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12721 if (!SWIG_IsOK(res1)) {
12722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12723 }
12724 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12725 {
12726 PyThreadState* __tstate = wxPyBeginAllowThreads();
12727 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12728 wxPyEndAllowThreads(__tstate);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 }
12731 resultobj = SWIG_From_int(static_cast< int >(result));
12732 return resultobj;
12733 fail:
12734 return NULL;
12735 }
12736
12737
12738 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12739 PyObject *resultobj = 0;
12740 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12741 wxLayoutOrientation result;
12742 void *argp1 = 0 ;
12743 int res1 = 0 ;
12744 PyObject *swig_obj[1] ;
12745
12746 if (!args) SWIG_fail;
12747 swig_obj[0] = args;
12748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12749 if (!SWIG_IsOK(res1)) {
12750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12751 }
12752 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12753 {
12754 PyThreadState* __tstate = wxPyBeginAllowThreads();
12755 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12756 wxPyEndAllowThreads(__tstate);
12757 if (PyErr_Occurred()) SWIG_fail;
12758 }
12759 resultobj = SWIG_From_int(static_cast< int >(result));
12760 return resultobj;
12761 fail:
12762 return NULL;
12763 }
12764
12765
12766 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12767 PyObject *resultobj = 0;
12768 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12769 wxLayoutAlignment arg2 ;
12770 void *argp1 = 0 ;
12771 int res1 = 0 ;
12772 int val2 ;
12773 int ecode2 = 0 ;
12774 PyObject * obj0 = 0 ;
12775 PyObject * obj1 = 0 ;
12776 char * kwnames[] = {
12777 (char *) "self",(char *) "alignment", NULL
12778 };
12779
12780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12782 if (!SWIG_IsOK(res1)) {
12783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12784 }
12785 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12786 ecode2 = SWIG_AsVal_int(obj1, &val2);
12787 if (!SWIG_IsOK(ecode2)) {
12788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12789 }
12790 arg2 = static_cast< wxLayoutAlignment >(val2);
12791 {
12792 PyThreadState* __tstate = wxPyBeginAllowThreads();
12793 (arg1)->SetAlignment(arg2);
12794 wxPyEndAllowThreads(__tstate);
12795 if (PyErr_Occurred()) SWIG_fail;
12796 }
12797 resultobj = SWIG_Py_Void();
12798 return resultobj;
12799 fail:
12800 return NULL;
12801 }
12802
12803
12804 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12805 PyObject *resultobj = 0;
12806 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12807 wxSize *arg2 = 0 ;
12808 void *argp1 = 0 ;
12809 int res1 = 0 ;
12810 wxSize temp2 ;
12811 PyObject * obj0 = 0 ;
12812 PyObject * obj1 = 0 ;
12813 char * kwnames[] = {
12814 (char *) "self",(char *) "size", NULL
12815 };
12816
12817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12819 if (!SWIG_IsOK(res1)) {
12820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12821 }
12822 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12823 {
12824 arg2 = &temp2;
12825 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12826 }
12827 {
12828 PyThreadState* __tstate = wxPyBeginAllowThreads();
12829 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12830 wxPyEndAllowThreads(__tstate);
12831 if (PyErr_Occurred()) SWIG_fail;
12832 }
12833 resultobj = SWIG_Py_Void();
12834 return resultobj;
12835 fail:
12836 return NULL;
12837 }
12838
12839
12840 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12841 PyObject *resultobj = 0;
12842 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12843 wxLayoutOrientation arg2 ;
12844 void *argp1 = 0 ;
12845 int res1 = 0 ;
12846 int val2 ;
12847 int ecode2 = 0 ;
12848 PyObject * obj0 = 0 ;
12849 PyObject * obj1 = 0 ;
12850 char * kwnames[] = {
12851 (char *) "self",(char *) "orientation", NULL
12852 };
12853
12854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12856 if (!SWIG_IsOK(res1)) {
12857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12858 }
12859 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12860 ecode2 = SWIG_AsVal_int(obj1, &val2);
12861 if (!SWIG_IsOK(ecode2)) {
12862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12863 }
12864 arg2 = static_cast< wxLayoutOrientation >(val2);
12865 {
12866 PyThreadState* __tstate = wxPyBeginAllowThreads();
12867 (arg1)->SetOrientation(arg2);
12868 wxPyEndAllowThreads(__tstate);
12869 if (PyErr_Occurred()) SWIG_fail;
12870 }
12871 resultobj = SWIG_Py_Void();
12872 return resultobj;
12873 fail:
12874 return NULL;
12875 }
12876
12877
12878 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12879 PyObject *obj;
12880 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12881 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12882 return SWIG_Py_Void();
12883 }
12884
12885 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12886 return SWIG_Python_InitShadowInstance(args);
12887 }
12888
12889 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12890 PyObject *resultobj = 0;
12891 wxLayoutAlgorithm *result = 0 ;
12892
12893 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12894 {
12895 PyThreadState* __tstate = wxPyBeginAllowThreads();
12896 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12897 wxPyEndAllowThreads(__tstate);
12898 if (PyErr_Occurred()) SWIG_fail;
12899 }
12900 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12901 return resultobj;
12902 fail:
12903 return NULL;
12904 }
12905
12906
12907 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12908 PyObject *resultobj = 0;
12909 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12910 void *argp1 = 0 ;
12911 int res1 = 0 ;
12912 PyObject *swig_obj[1] ;
12913
12914 if (!args) SWIG_fail;
12915 swig_obj[0] = args;
12916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12917 if (!SWIG_IsOK(res1)) {
12918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12919 }
12920 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12921 {
12922 PyThreadState* __tstate = wxPyBeginAllowThreads();
12923 delete arg1;
12924
12925 wxPyEndAllowThreads(__tstate);
12926 if (PyErr_Occurred()) SWIG_fail;
12927 }
12928 resultobj = SWIG_Py_Void();
12929 return resultobj;
12930 fail:
12931 return NULL;
12932 }
12933
12934
12935 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12936 PyObject *resultobj = 0;
12937 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12938 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12939 wxRect *arg3 = (wxRect *) NULL ;
12940 bool result;
12941 void *argp1 = 0 ;
12942 int res1 = 0 ;
12943 void *argp2 = 0 ;
12944 int res2 = 0 ;
12945 void *argp3 = 0 ;
12946 int res3 = 0 ;
12947 PyObject * obj0 = 0 ;
12948 PyObject * obj1 = 0 ;
12949 PyObject * obj2 = 0 ;
12950 char * kwnames[] = {
12951 (char *) "self",(char *) "frame",(char *) "rect", NULL
12952 };
12953
12954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12956 if (!SWIG_IsOK(res1)) {
12957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12958 }
12959 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12960 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12961 if (!SWIG_IsOK(res2)) {
12962 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12963 }
12964 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12965 if (obj2) {
12966 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12967 if (!SWIG_IsOK(res3)) {
12968 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12969 }
12970 arg3 = reinterpret_cast< wxRect * >(argp3);
12971 }
12972 {
12973 PyThreadState* __tstate = wxPyBeginAllowThreads();
12974 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12975 wxPyEndAllowThreads(__tstate);
12976 if (PyErr_Occurred()) SWIG_fail;
12977 }
12978 {
12979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12980 }
12981 return resultobj;
12982 fail:
12983 return NULL;
12984 }
12985
12986
12987 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12988 PyObject *resultobj = 0;
12989 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12990 wxFrame *arg2 = (wxFrame *) 0 ;
12991 wxWindow *arg3 = (wxWindow *) NULL ;
12992 bool result;
12993 void *argp1 = 0 ;
12994 int res1 = 0 ;
12995 void *argp2 = 0 ;
12996 int res2 = 0 ;
12997 void *argp3 = 0 ;
12998 int res3 = 0 ;
12999 PyObject * obj0 = 0 ;
13000 PyObject * obj1 = 0 ;
13001 PyObject * obj2 = 0 ;
13002 char * kwnames[] = {
13003 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13004 };
13005
13006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13008 if (!SWIG_IsOK(res1)) {
13009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13010 }
13011 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13012 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13013 if (!SWIG_IsOK(res2)) {
13014 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13015 }
13016 arg2 = reinterpret_cast< wxFrame * >(argp2);
13017 if (obj2) {
13018 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13019 if (!SWIG_IsOK(res3)) {
13020 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13021 }
13022 arg3 = reinterpret_cast< wxWindow * >(argp3);
13023 }
13024 {
13025 PyThreadState* __tstate = wxPyBeginAllowThreads();
13026 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 {
13031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13032 }
13033 return resultobj;
13034 fail:
13035 return NULL;
13036 }
13037
13038
13039 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13040 PyObject *resultobj = 0;
13041 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13042 wxWindow *arg2 = (wxWindow *) 0 ;
13043 wxWindow *arg3 = (wxWindow *) NULL ;
13044 bool result;
13045 void *argp1 = 0 ;
13046 int res1 = 0 ;
13047 void *argp2 = 0 ;
13048 int res2 = 0 ;
13049 void *argp3 = 0 ;
13050 int res3 = 0 ;
13051 PyObject * obj0 = 0 ;
13052 PyObject * obj1 = 0 ;
13053 PyObject * obj2 = 0 ;
13054 char * kwnames[] = {
13055 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13056 };
13057
13058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13060 if (!SWIG_IsOK(res1)) {
13061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13062 }
13063 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13064 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13065 if (!SWIG_IsOK(res2)) {
13066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13067 }
13068 arg2 = reinterpret_cast< wxWindow * >(argp2);
13069 if (obj2) {
13070 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13071 if (!SWIG_IsOK(res3)) {
13072 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13073 }
13074 arg3 = reinterpret_cast< wxWindow * >(argp3);
13075 }
13076 {
13077 PyThreadState* __tstate = wxPyBeginAllowThreads();
13078 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13079 wxPyEndAllowThreads(__tstate);
13080 if (PyErr_Occurred()) SWIG_fail;
13081 }
13082 {
13083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13084 }
13085 return resultobj;
13086 fail:
13087 return NULL;
13088 }
13089
13090
13091 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13092 PyObject *obj;
13093 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13094 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13095 return SWIG_Py_Void();
13096 }
13097
13098 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13099 return SWIG_Python_InitShadowInstance(args);
13100 }
13101
13102 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13103 PyObject *resultobj = 0;
13104 wxWindow *arg1 = (wxWindow *) 0 ;
13105 int arg2 = (int) wxBORDER_NONE ;
13106 wxPopupWindow *result = 0 ;
13107 void *argp1 = 0 ;
13108 int res1 = 0 ;
13109 int val2 ;
13110 int ecode2 = 0 ;
13111 PyObject * obj0 = 0 ;
13112 PyObject * obj1 = 0 ;
13113 char * kwnames[] = {
13114 (char *) "parent",(char *) "flags", NULL
13115 };
13116
13117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13119 if (!SWIG_IsOK(res1)) {
13120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13121 }
13122 arg1 = reinterpret_cast< wxWindow * >(argp1);
13123 if (obj1) {
13124 ecode2 = SWIG_AsVal_int(obj1, &val2);
13125 if (!SWIG_IsOK(ecode2)) {
13126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13127 }
13128 arg2 = static_cast< int >(val2);
13129 }
13130 {
13131 if (!wxPyCheckForApp()) SWIG_fail;
13132 PyThreadState* __tstate = wxPyBeginAllowThreads();
13133 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13134 wxPyEndAllowThreads(__tstate);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13138 return resultobj;
13139 fail:
13140 return NULL;
13141 }
13142
13143
13144 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13145 PyObject *resultobj = 0;
13146 wxPopupWindow *result = 0 ;
13147
13148 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13149 {
13150 if (!wxPyCheckForApp()) SWIG_fail;
13151 PyThreadState* __tstate = wxPyBeginAllowThreads();
13152 result = (wxPopupWindow *)new wxPopupWindow();
13153 wxPyEndAllowThreads(__tstate);
13154 if (PyErr_Occurred()) SWIG_fail;
13155 }
13156 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13157 return resultobj;
13158 fail:
13159 return NULL;
13160 }
13161
13162
13163 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13164 PyObject *resultobj = 0;
13165 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13166 wxWindow *arg2 = (wxWindow *) 0 ;
13167 int arg3 = (int) wxBORDER_NONE ;
13168 bool result;
13169 void *argp1 = 0 ;
13170 int res1 = 0 ;
13171 void *argp2 = 0 ;
13172 int res2 = 0 ;
13173 int val3 ;
13174 int ecode3 = 0 ;
13175 PyObject * obj0 = 0 ;
13176 PyObject * obj1 = 0 ;
13177 PyObject * obj2 = 0 ;
13178 char * kwnames[] = {
13179 (char *) "self",(char *) "parent",(char *) "flags", NULL
13180 };
13181
13182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13184 if (!SWIG_IsOK(res1)) {
13185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13186 }
13187 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13188 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13189 if (!SWIG_IsOK(res2)) {
13190 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13191 }
13192 arg2 = reinterpret_cast< wxWindow * >(argp2);
13193 if (obj2) {
13194 ecode3 = SWIG_AsVal_int(obj2, &val3);
13195 if (!SWIG_IsOK(ecode3)) {
13196 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13197 }
13198 arg3 = static_cast< int >(val3);
13199 }
13200 {
13201 PyThreadState* __tstate = wxPyBeginAllowThreads();
13202 result = (bool)(arg1)->Create(arg2,arg3);
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 {
13207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13208 }
13209 return resultobj;
13210 fail:
13211 return NULL;
13212 }
13213
13214
13215 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13216 PyObject *resultobj = 0;
13217 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13218 wxPoint *arg2 = 0 ;
13219 wxSize *arg3 = 0 ;
13220 void *argp1 = 0 ;
13221 int res1 = 0 ;
13222 wxPoint temp2 ;
13223 wxSize temp3 ;
13224 PyObject * obj0 = 0 ;
13225 PyObject * obj1 = 0 ;
13226 PyObject * obj2 = 0 ;
13227 char * kwnames[] = {
13228 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13229 };
13230
13231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13233 if (!SWIG_IsOK(res1)) {
13234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13235 }
13236 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13237 {
13238 arg2 = &temp2;
13239 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13240 }
13241 {
13242 arg3 = &temp3;
13243 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13244 }
13245 {
13246 PyThreadState* __tstate = wxPyBeginAllowThreads();
13247 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13248 wxPyEndAllowThreads(__tstate);
13249 if (PyErr_Occurred()) SWIG_fail;
13250 }
13251 resultobj = SWIG_Py_Void();
13252 return resultobj;
13253 fail:
13254 return NULL;
13255 }
13256
13257
13258 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13259 PyObject *obj;
13260 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13261 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13262 return SWIG_Py_Void();
13263 }
13264
13265 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13266 return SWIG_Python_InitShadowInstance(args);
13267 }
13268
13269 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13270 PyObject *resultobj = 0;
13271 wxWindow *arg1 = (wxWindow *) 0 ;
13272 int arg2 = (int) wxBORDER_NONE ;
13273 wxPyPopupTransientWindow *result = 0 ;
13274 void *argp1 = 0 ;
13275 int res1 = 0 ;
13276 int val2 ;
13277 int ecode2 = 0 ;
13278 PyObject * obj0 = 0 ;
13279 PyObject * obj1 = 0 ;
13280 char * kwnames[] = {
13281 (char *) "parent",(char *) "style", NULL
13282 };
13283
13284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13286 if (!SWIG_IsOK(res1)) {
13287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13288 }
13289 arg1 = reinterpret_cast< wxWindow * >(argp1);
13290 if (obj1) {
13291 ecode2 = SWIG_AsVal_int(obj1, &val2);
13292 if (!SWIG_IsOK(ecode2)) {
13293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13294 }
13295 arg2 = static_cast< int >(val2);
13296 }
13297 {
13298 if (!wxPyCheckForApp()) SWIG_fail;
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13301 wxPyEndAllowThreads(__tstate);
13302 if (PyErr_Occurred()) SWIG_fail;
13303 }
13304 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13305 return resultobj;
13306 fail:
13307 return NULL;
13308 }
13309
13310
13311 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13312 PyObject *resultobj = 0;
13313 wxPyPopupTransientWindow *result = 0 ;
13314
13315 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13316 {
13317 if (!wxPyCheckForApp()) SWIG_fail;
13318 PyThreadState* __tstate = wxPyBeginAllowThreads();
13319 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13320 wxPyEndAllowThreads(__tstate);
13321 if (PyErr_Occurred()) SWIG_fail;
13322 }
13323 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13324 return resultobj;
13325 fail:
13326 return NULL;
13327 }
13328
13329
13330 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13331 PyObject *resultobj = 0;
13332 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13333 PyObject *arg2 = (PyObject *) 0 ;
13334 PyObject *arg3 = (PyObject *) 0 ;
13335 void *argp1 = 0 ;
13336 int res1 = 0 ;
13337 PyObject * obj0 = 0 ;
13338 PyObject * obj1 = 0 ;
13339 PyObject * obj2 = 0 ;
13340 char * kwnames[] = {
13341 (char *) "self",(char *) "self",(char *) "_class", NULL
13342 };
13343
13344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13346 if (!SWIG_IsOK(res1)) {
13347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13348 }
13349 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13350 arg2 = obj1;
13351 arg3 = obj2;
13352 {
13353 PyThreadState* __tstate = wxPyBeginAllowThreads();
13354 (arg1)->_setCallbackInfo(arg2,arg3);
13355 wxPyEndAllowThreads(__tstate);
13356 if (PyErr_Occurred()) SWIG_fail;
13357 }
13358 resultobj = SWIG_Py_Void();
13359 return resultobj;
13360 fail:
13361 return NULL;
13362 }
13363
13364
13365 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13366 PyObject *resultobj = 0;
13367 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13368 wxWindow *arg2 = (wxWindow *) NULL ;
13369 void *argp1 = 0 ;
13370 int res1 = 0 ;
13371 void *argp2 = 0 ;
13372 int res2 = 0 ;
13373 PyObject * obj0 = 0 ;
13374 PyObject * obj1 = 0 ;
13375 char * kwnames[] = {
13376 (char *) "self",(char *) "focus", NULL
13377 };
13378
13379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13381 if (!SWIG_IsOK(res1)) {
13382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13383 }
13384 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13385 if (obj1) {
13386 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13387 if (!SWIG_IsOK(res2)) {
13388 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13389 }
13390 arg2 = reinterpret_cast< wxWindow * >(argp2);
13391 }
13392 {
13393 PyThreadState* __tstate = wxPyBeginAllowThreads();
13394 (arg1)->Popup(arg2);
13395 wxPyEndAllowThreads(__tstate);
13396 if (PyErr_Occurred()) SWIG_fail;
13397 }
13398 resultobj = SWIG_Py_Void();
13399 return resultobj;
13400 fail:
13401 return NULL;
13402 }
13403
13404
13405 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13406 PyObject *resultobj = 0;
13407 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13408 void *argp1 = 0 ;
13409 int res1 = 0 ;
13410 PyObject *swig_obj[1] ;
13411
13412 if (!args) SWIG_fail;
13413 swig_obj[0] = args;
13414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13415 if (!SWIG_IsOK(res1)) {
13416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13417 }
13418 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13419 {
13420 PyThreadState* __tstate = wxPyBeginAllowThreads();
13421 (arg1)->Dismiss();
13422 wxPyEndAllowThreads(__tstate);
13423 if (PyErr_Occurred()) SWIG_fail;
13424 }
13425 resultobj = SWIG_Py_Void();
13426 return resultobj;
13427 fail:
13428 return NULL;
13429 }
13430
13431
13432 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13433 PyObject *obj;
13434 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13435 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13436 return SWIG_Py_Void();
13437 }
13438
13439 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13440 return SWIG_Python_InitShadowInstance(args);
13441 }
13442
13443 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13444 PyObject *resultobj = 0;
13445 wxWindow *arg1 = (wxWindow *) 0 ;
13446 wxString *arg2 = 0 ;
13447 int arg3 = (int) 100 ;
13448 wxRect *arg4 = (wxRect *) NULL ;
13449 wxTipWindow *result = 0 ;
13450 void *argp1 = 0 ;
13451 int res1 = 0 ;
13452 bool temp2 = false ;
13453 int val3 ;
13454 int ecode3 = 0 ;
13455 void *argp4 = 0 ;
13456 int res4 = 0 ;
13457 PyObject * obj0 = 0 ;
13458 PyObject * obj1 = 0 ;
13459 PyObject * obj2 = 0 ;
13460 PyObject * obj3 = 0 ;
13461 char * kwnames[] = {
13462 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13463 };
13464
13465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13467 if (!SWIG_IsOK(res1)) {
13468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13469 }
13470 arg1 = reinterpret_cast< wxWindow * >(argp1);
13471 {
13472 arg2 = wxString_in_helper(obj1);
13473 if (arg2 == NULL) SWIG_fail;
13474 temp2 = true;
13475 }
13476 if (obj2) {
13477 ecode3 = SWIG_AsVal_int(obj2, &val3);
13478 if (!SWIG_IsOK(ecode3)) {
13479 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13480 }
13481 arg3 = static_cast< int >(val3);
13482 }
13483 if (obj3) {
13484 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13485 if (!SWIG_IsOK(res4)) {
13486 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13487 }
13488 arg4 = reinterpret_cast< wxRect * >(argp4);
13489 }
13490 {
13491 if (!wxPyCheckForApp()) SWIG_fail;
13492 PyThreadState* __tstate = wxPyBeginAllowThreads();
13493 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13494 wxPyEndAllowThreads(__tstate);
13495 if (PyErr_Occurred()) SWIG_fail;
13496 }
13497 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13498 {
13499 if (temp2)
13500 delete arg2;
13501 }
13502 return resultobj;
13503 fail:
13504 {
13505 if (temp2)
13506 delete arg2;
13507 }
13508 return NULL;
13509 }
13510
13511
13512 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13513 PyObject *resultobj = 0;
13514 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13515 wxRect *arg2 = 0 ;
13516 void *argp1 = 0 ;
13517 int res1 = 0 ;
13518 wxRect temp2 ;
13519 PyObject * obj0 = 0 ;
13520 PyObject * obj1 = 0 ;
13521 char * kwnames[] = {
13522 (char *) "self",(char *) "rectBound", NULL
13523 };
13524
13525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13527 if (!SWIG_IsOK(res1)) {
13528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13529 }
13530 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13531 {
13532 arg2 = &temp2;
13533 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13534 }
13535 {
13536 PyThreadState* __tstate = wxPyBeginAllowThreads();
13537 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13538 wxPyEndAllowThreads(__tstate);
13539 if (PyErr_Occurred()) SWIG_fail;
13540 }
13541 resultobj = SWIG_Py_Void();
13542 return resultobj;
13543 fail:
13544 return NULL;
13545 }
13546
13547
13548 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13549 PyObject *resultobj = 0;
13550 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13551 void *argp1 = 0 ;
13552 int res1 = 0 ;
13553 PyObject *swig_obj[1] ;
13554
13555 if (!args) SWIG_fail;
13556 swig_obj[0] = args;
13557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13558 if (!SWIG_IsOK(res1)) {
13559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13560 }
13561 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13562 {
13563 PyThreadState* __tstate = wxPyBeginAllowThreads();
13564 (arg1)->Close();
13565 wxPyEndAllowThreads(__tstate);
13566 if (PyErr_Occurred()) SWIG_fail;
13567 }
13568 resultobj = SWIG_Py_Void();
13569 return resultobj;
13570 fail:
13571 return NULL;
13572 }
13573
13574
13575 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13576 PyObject *obj;
13577 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13578 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13579 return SWIG_Py_Void();
13580 }
13581
13582 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13583 return SWIG_Python_InitShadowInstance(args);
13584 }
13585
13586 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13587 PyObject *resultobj = 0;
13588 wxWindow *arg1 = (wxWindow *) 0 ;
13589 int arg2 = (int) wxID_ANY ;
13590 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13591 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13592 wxSize const &arg4_defvalue = wxDefaultSize ;
13593 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13594 long arg5 = (long) 0 ;
13595 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13596 wxString *arg6 = (wxString *) &arg6_defvalue ;
13597 wxPyVScrolledWindow *result = 0 ;
13598 void *argp1 = 0 ;
13599 int res1 = 0 ;
13600 int val2 ;
13601 int ecode2 = 0 ;
13602 wxPoint temp3 ;
13603 wxSize temp4 ;
13604 long val5 ;
13605 int ecode5 = 0 ;
13606 bool temp6 = false ;
13607 PyObject * obj0 = 0 ;
13608 PyObject * obj1 = 0 ;
13609 PyObject * obj2 = 0 ;
13610 PyObject * obj3 = 0 ;
13611 PyObject * obj4 = 0 ;
13612 PyObject * obj5 = 0 ;
13613 char * kwnames[] = {
13614 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13615 };
13616
13617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13619 if (!SWIG_IsOK(res1)) {
13620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13621 }
13622 arg1 = reinterpret_cast< wxWindow * >(argp1);
13623 if (obj1) {
13624 ecode2 = SWIG_AsVal_int(obj1, &val2);
13625 if (!SWIG_IsOK(ecode2)) {
13626 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13627 }
13628 arg2 = static_cast< int >(val2);
13629 }
13630 if (obj2) {
13631 {
13632 arg3 = &temp3;
13633 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13634 }
13635 }
13636 if (obj3) {
13637 {
13638 arg4 = &temp4;
13639 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13640 }
13641 }
13642 if (obj4) {
13643 ecode5 = SWIG_AsVal_long(obj4, &val5);
13644 if (!SWIG_IsOK(ecode5)) {
13645 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13646 }
13647 arg5 = static_cast< long >(val5);
13648 }
13649 if (obj5) {
13650 {
13651 arg6 = wxString_in_helper(obj5);
13652 if (arg6 == NULL) SWIG_fail;
13653 temp6 = true;
13654 }
13655 }
13656 {
13657 if (!wxPyCheckForApp()) SWIG_fail;
13658 PyThreadState* __tstate = wxPyBeginAllowThreads();
13659 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13660 wxPyEndAllowThreads(__tstate);
13661 if (PyErr_Occurred()) SWIG_fail;
13662 }
13663 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13664 {
13665 if (temp6)
13666 delete arg6;
13667 }
13668 return resultobj;
13669 fail:
13670 {
13671 if (temp6)
13672 delete arg6;
13673 }
13674 return NULL;
13675 }
13676
13677
13678 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13679 PyObject *resultobj = 0;
13680 wxPyVScrolledWindow *result = 0 ;
13681
13682 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13683 {
13684 if (!wxPyCheckForApp()) SWIG_fail;
13685 PyThreadState* __tstate = wxPyBeginAllowThreads();
13686 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13687 wxPyEndAllowThreads(__tstate);
13688 if (PyErr_Occurred()) SWIG_fail;
13689 }
13690 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13691 return resultobj;
13692 fail:
13693 return NULL;
13694 }
13695
13696
13697 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13698 PyObject *resultobj = 0;
13699 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13700 PyObject *arg2 = (PyObject *) 0 ;
13701 PyObject *arg3 = (PyObject *) 0 ;
13702 void *argp1 = 0 ;
13703 int res1 = 0 ;
13704 PyObject * obj0 = 0 ;
13705 PyObject * obj1 = 0 ;
13706 PyObject * obj2 = 0 ;
13707 char * kwnames[] = {
13708 (char *) "self",(char *) "self",(char *) "_class", NULL
13709 };
13710
13711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13713 if (!SWIG_IsOK(res1)) {
13714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13715 }
13716 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13717 arg2 = obj1;
13718 arg3 = obj2;
13719 {
13720 PyThreadState* __tstate = wxPyBeginAllowThreads();
13721 (arg1)->_setCallbackInfo(arg2,arg3);
13722 wxPyEndAllowThreads(__tstate);
13723 if (PyErr_Occurred()) SWIG_fail;
13724 }
13725 resultobj = SWIG_Py_Void();
13726 return resultobj;
13727 fail:
13728 return NULL;
13729 }
13730
13731
13732 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13733 PyObject *resultobj = 0;
13734 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13735 wxWindow *arg2 = (wxWindow *) 0 ;
13736 int arg3 = (int) wxID_ANY ;
13737 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13738 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13739 wxSize const &arg5_defvalue = wxDefaultSize ;
13740 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13741 long arg6 = (long) 0 ;
13742 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13743 wxString *arg7 = (wxString *) &arg7_defvalue ;
13744 bool result;
13745 void *argp1 = 0 ;
13746 int res1 = 0 ;
13747 void *argp2 = 0 ;
13748 int res2 = 0 ;
13749 int val3 ;
13750 int ecode3 = 0 ;
13751 wxPoint temp4 ;
13752 wxSize temp5 ;
13753 long val6 ;
13754 int ecode6 = 0 ;
13755 bool temp7 = false ;
13756 PyObject * obj0 = 0 ;
13757 PyObject * obj1 = 0 ;
13758 PyObject * obj2 = 0 ;
13759 PyObject * obj3 = 0 ;
13760 PyObject * obj4 = 0 ;
13761 PyObject * obj5 = 0 ;
13762 PyObject * obj6 = 0 ;
13763 char * kwnames[] = {
13764 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13765 };
13766
13767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13769 if (!SWIG_IsOK(res1)) {
13770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13771 }
13772 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13773 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13774 if (!SWIG_IsOK(res2)) {
13775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13776 }
13777 arg2 = reinterpret_cast< wxWindow * >(argp2);
13778 if (obj2) {
13779 ecode3 = SWIG_AsVal_int(obj2, &val3);
13780 if (!SWIG_IsOK(ecode3)) {
13781 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13782 }
13783 arg3 = static_cast< int >(val3);
13784 }
13785 if (obj3) {
13786 {
13787 arg4 = &temp4;
13788 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13789 }
13790 }
13791 if (obj4) {
13792 {
13793 arg5 = &temp5;
13794 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13795 }
13796 }
13797 if (obj5) {
13798 ecode6 = SWIG_AsVal_long(obj5, &val6);
13799 if (!SWIG_IsOK(ecode6)) {
13800 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13801 }
13802 arg6 = static_cast< long >(val6);
13803 }
13804 if (obj6) {
13805 {
13806 arg7 = wxString_in_helper(obj6);
13807 if (arg7 == NULL) SWIG_fail;
13808 temp7 = true;
13809 }
13810 }
13811 {
13812 PyThreadState* __tstate = wxPyBeginAllowThreads();
13813 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13814 wxPyEndAllowThreads(__tstate);
13815 if (PyErr_Occurred()) SWIG_fail;
13816 }
13817 {
13818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13819 }
13820 {
13821 if (temp7)
13822 delete arg7;
13823 }
13824 return resultobj;
13825 fail:
13826 {
13827 if (temp7)
13828 delete arg7;
13829 }
13830 return NULL;
13831 }
13832
13833
13834 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13835 PyObject *resultobj = 0;
13836 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13837 size_t arg2 ;
13838 void *argp1 = 0 ;
13839 int res1 = 0 ;
13840 size_t val2 ;
13841 int ecode2 = 0 ;
13842 PyObject * obj0 = 0 ;
13843 PyObject * obj1 = 0 ;
13844 char * kwnames[] = {
13845 (char *) "self",(char *) "count", NULL
13846 };
13847
13848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13850 if (!SWIG_IsOK(res1)) {
13851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13852 }
13853 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13854 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13855 if (!SWIG_IsOK(ecode2)) {
13856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13857 }
13858 arg2 = static_cast< size_t >(val2);
13859 {
13860 PyThreadState* __tstate = wxPyBeginAllowThreads();
13861 (arg1)->SetLineCount(arg2);
13862 wxPyEndAllowThreads(__tstate);
13863 if (PyErr_Occurred()) SWIG_fail;
13864 }
13865 resultobj = SWIG_Py_Void();
13866 return resultobj;
13867 fail:
13868 return NULL;
13869 }
13870
13871
13872 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13873 PyObject *resultobj = 0;
13874 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13875 size_t arg2 ;
13876 bool result;
13877 void *argp1 = 0 ;
13878 int res1 = 0 ;
13879 size_t val2 ;
13880 int ecode2 = 0 ;
13881 PyObject * obj0 = 0 ;
13882 PyObject * obj1 = 0 ;
13883 char * kwnames[] = {
13884 (char *) "self",(char *) "line", NULL
13885 };
13886
13887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13889 if (!SWIG_IsOK(res1)) {
13890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13891 }
13892 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13893 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13894 if (!SWIG_IsOK(ecode2)) {
13895 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13896 }
13897 arg2 = static_cast< size_t >(val2);
13898 {
13899 PyThreadState* __tstate = wxPyBeginAllowThreads();
13900 result = (bool)(arg1)->ScrollToLine(arg2);
13901 wxPyEndAllowThreads(__tstate);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 }
13904 {
13905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13906 }
13907 return resultobj;
13908 fail:
13909 return NULL;
13910 }
13911
13912
13913 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13914 PyObject *resultobj = 0;
13915 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13916 size_t arg2 ;
13917 void *argp1 = 0 ;
13918 int res1 = 0 ;
13919 size_t val2 ;
13920 int ecode2 = 0 ;
13921 PyObject * obj0 = 0 ;
13922 PyObject * obj1 = 0 ;
13923 char * kwnames[] = {
13924 (char *) "self",(char *) "line", NULL
13925 };
13926
13927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13929 if (!SWIG_IsOK(res1)) {
13930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13931 }
13932 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13933 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13934 if (!SWIG_IsOK(ecode2)) {
13935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13936 }
13937 arg2 = static_cast< size_t >(val2);
13938 {
13939 PyThreadState* __tstate = wxPyBeginAllowThreads();
13940 (arg1)->RefreshLine(arg2);
13941 wxPyEndAllowThreads(__tstate);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 }
13944 resultobj = SWIG_Py_Void();
13945 return resultobj;
13946 fail:
13947 return NULL;
13948 }
13949
13950
13951 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13952 PyObject *resultobj = 0;
13953 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13954 size_t arg2 ;
13955 size_t arg3 ;
13956 void *argp1 = 0 ;
13957 int res1 = 0 ;
13958 size_t val2 ;
13959 int ecode2 = 0 ;
13960 size_t val3 ;
13961 int ecode3 = 0 ;
13962 PyObject * obj0 = 0 ;
13963 PyObject * obj1 = 0 ;
13964 PyObject * obj2 = 0 ;
13965 char * kwnames[] = {
13966 (char *) "self",(char *) "from",(char *) "to", NULL
13967 };
13968
13969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13971 if (!SWIG_IsOK(res1)) {
13972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13973 }
13974 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13975 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13976 if (!SWIG_IsOK(ecode2)) {
13977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13978 }
13979 arg2 = static_cast< size_t >(val2);
13980 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13981 if (!SWIG_IsOK(ecode3)) {
13982 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13983 }
13984 arg3 = static_cast< size_t >(val3);
13985 {
13986 PyThreadState* __tstate = wxPyBeginAllowThreads();
13987 (arg1)->RefreshLines(arg2,arg3);
13988 wxPyEndAllowThreads(__tstate);
13989 if (PyErr_Occurred()) SWIG_fail;
13990 }
13991 resultobj = SWIG_Py_Void();
13992 return resultobj;
13993 fail:
13994 return NULL;
13995 }
13996
13997
13998 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13999 PyObject *resultobj = 0;
14000 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14001 int arg2 ;
14002 int arg3 ;
14003 int result;
14004 void *argp1 = 0 ;
14005 int res1 = 0 ;
14006 int val2 ;
14007 int ecode2 = 0 ;
14008 int val3 ;
14009 int ecode3 = 0 ;
14010 PyObject * obj0 = 0 ;
14011 PyObject * obj1 = 0 ;
14012 PyObject * obj2 = 0 ;
14013 char * kwnames[] = {
14014 (char *) "self",(char *) "x",(char *) "y", NULL
14015 };
14016
14017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14019 if (!SWIG_IsOK(res1)) {
14020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14021 }
14022 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14023 ecode2 = SWIG_AsVal_int(obj1, &val2);
14024 if (!SWIG_IsOK(ecode2)) {
14025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14026 }
14027 arg2 = static_cast< int >(val2);
14028 ecode3 = SWIG_AsVal_int(obj2, &val3);
14029 if (!SWIG_IsOK(ecode3)) {
14030 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14031 }
14032 arg3 = static_cast< int >(val3);
14033 {
14034 PyThreadState* __tstate = wxPyBeginAllowThreads();
14035 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14036 wxPyEndAllowThreads(__tstate);
14037 if (PyErr_Occurred()) SWIG_fail;
14038 }
14039 resultobj = SWIG_From_int(static_cast< int >(result));
14040 return resultobj;
14041 fail:
14042 return NULL;
14043 }
14044
14045
14046 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14047 PyObject *resultobj = 0;
14048 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14049 wxPoint *arg2 = 0 ;
14050 int result;
14051 void *argp1 = 0 ;
14052 int res1 = 0 ;
14053 wxPoint temp2 ;
14054 PyObject * obj0 = 0 ;
14055 PyObject * obj1 = 0 ;
14056 char * kwnames[] = {
14057 (char *) "self",(char *) "pt", NULL
14058 };
14059
14060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14062 if (!SWIG_IsOK(res1)) {
14063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14064 }
14065 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14066 {
14067 arg2 = &temp2;
14068 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14069 }
14070 {
14071 PyThreadState* __tstate = wxPyBeginAllowThreads();
14072 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14073 wxPyEndAllowThreads(__tstate);
14074 if (PyErr_Occurred()) SWIG_fail;
14075 }
14076 resultobj = SWIG_From_int(static_cast< int >(result));
14077 return resultobj;
14078 fail:
14079 return NULL;
14080 }
14081
14082
14083 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14084 PyObject *resultobj = 0;
14085 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14086 void *argp1 = 0 ;
14087 int res1 = 0 ;
14088 PyObject *swig_obj[1] ;
14089
14090 if (!args) SWIG_fail;
14091 swig_obj[0] = args;
14092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14093 if (!SWIG_IsOK(res1)) {
14094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14095 }
14096 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14097 {
14098 PyThreadState* __tstate = wxPyBeginAllowThreads();
14099 (arg1)->RefreshAll();
14100 wxPyEndAllowThreads(__tstate);
14101 if (PyErr_Occurred()) SWIG_fail;
14102 }
14103 resultobj = SWIG_Py_Void();
14104 return resultobj;
14105 fail:
14106 return NULL;
14107 }
14108
14109
14110 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14111 PyObject *resultobj = 0;
14112 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14113 size_t result;
14114 void *argp1 = 0 ;
14115 int res1 = 0 ;
14116 PyObject *swig_obj[1] ;
14117
14118 if (!args) SWIG_fail;
14119 swig_obj[0] = args;
14120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14121 if (!SWIG_IsOK(res1)) {
14122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14123 }
14124 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14125 {
14126 PyThreadState* __tstate = wxPyBeginAllowThreads();
14127 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14128 wxPyEndAllowThreads(__tstate);
14129 if (PyErr_Occurred()) SWIG_fail;
14130 }
14131 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14132 return resultobj;
14133 fail:
14134 return NULL;
14135 }
14136
14137
14138 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14139 PyObject *resultobj = 0;
14140 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14141 size_t result;
14142 void *argp1 = 0 ;
14143 int res1 = 0 ;
14144 PyObject *swig_obj[1] ;
14145
14146 if (!args) SWIG_fail;
14147 swig_obj[0] = args;
14148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14149 if (!SWIG_IsOK(res1)) {
14150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14151 }
14152 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14153 {
14154 PyThreadState* __tstate = wxPyBeginAllowThreads();
14155 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14156 wxPyEndAllowThreads(__tstate);
14157 if (PyErr_Occurred()) SWIG_fail;
14158 }
14159 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14160 return resultobj;
14161 fail:
14162 return NULL;
14163 }
14164
14165
14166 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14167 PyObject *resultobj = 0;
14168 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14169 size_t result;
14170 void *argp1 = 0 ;
14171 int res1 = 0 ;
14172 PyObject *swig_obj[1] ;
14173
14174 if (!args) SWIG_fail;
14175 swig_obj[0] = args;
14176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14177 if (!SWIG_IsOK(res1)) {
14178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14179 }
14180 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14181 {
14182 PyThreadState* __tstate = wxPyBeginAllowThreads();
14183 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14184 wxPyEndAllowThreads(__tstate);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
14187 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14188 return resultobj;
14189 fail:
14190 return NULL;
14191 }
14192
14193
14194 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14195 PyObject *resultobj = 0;
14196 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14197 size_t arg2 ;
14198 bool result;
14199 void *argp1 = 0 ;
14200 int res1 = 0 ;
14201 size_t val2 ;
14202 int ecode2 = 0 ;
14203 PyObject * obj0 = 0 ;
14204 PyObject * obj1 = 0 ;
14205 char * kwnames[] = {
14206 (char *) "self",(char *) "line", NULL
14207 };
14208
14209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14211 if (!SWIG_IsOK(res1)) {
14212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14213 }
14214 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14215 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14216 if (!SWIG_IsOK(ecode2)) {
14217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14218 }
14219 arg2 = static_cast< size_t >(val2);
14220 {
14221 PyThreadState* __tstate = wxPyBeginAllowThreads();
14222 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14223 wxPyEndAllowThreads(__tstate);
14224 if (PyErr_Occurred()) SWIG_fail;
14225 }
14226 {
14227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14228 }
14229 return resultobj;
14230 fail:
14231 return NULL;
14232 }
14233
14234
14235 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14236 PyObject *resultobj = 0;
14237 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14238 size_t result;
14239 void *argp1 = 0 ;
14240 int res1 = 0 ;
14241 PyObject *swig_obj[1] ;
14242
14243 if (!args) SWIG_fail;
14244 swig_obj[0] = args;
14245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14246 if (!SWIG_IsOK(res1)) {
14247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14248 }
14249 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14250 {
14251 PyThreadState* __tstate = wxPyBeginAllowThreads();
14252 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14253 wxPyEndAllowThreads(__tstate);
14254 if (PyErr_Occurred()) SWIG_fail;
14255 }
14256 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14257 return resultobj;
14258 fail:
14259 return NULL;
14260 }
14261
14262
14263 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14264 PyObject *resultobj = 0;
14265 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14266 size_t result;
14267 void *argp1 = 0 ;
14268 int res1 = 0 ;
14269 PyObject *swig_obj[1] ;
14270
14271 if (!args) SWIG_fail;
14272 swig_obj[0] = args;
14273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14274 if (!SWIG_IsOK(res1)) {
14275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14276 }
14277 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14278 {
14279 PyThreadState* __tstate = wxPyBeginAllowThreads();
14280 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14281 wxPyEndAllowThreads(__tstate);
14282 if (PyErr_Occurred()) SWIG_fail;
14283 }
14284 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14285 return resultobj;
14286 fail:
14287 return NULL;
14288 }
14289
14290
14291 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14292 PyObject *resultobj = 0;
14293 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14294 size_t arg2 ;
14295 bool arg3 = (bool) false ;
14296 size_t result;
14297 void *argp1 = 0 ;
14298 int res1 = 0 ;
14299 size_t val2 ;
14300 int ecode2 = 0 ;
14301 bool val3 ;
14302 int ecode3 = 0 ;
14303 PyObject * obj0 = 0 ;
14304 PyObject * obj1 = 0 ;
14305 PyObject * obj2 = 0 ;
14306 char * kwnames[] = {
14307 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14308 };
14309
14310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14312 if (!SWIG_IsOK(res1)) {
14313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14314 }
14315 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14316 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14317 if (!SWIG_IsOK(ecode2)) {
14318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14319 }
14320 arg2 = static_cast< size_t >(val2);
14321 if (obj2) {
14322 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14323 if (!SWIG_IsOK(ecode3)) {
14324 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14325 }
14326 arg3 = static_cast< bool >(val3);
14327 }
14328 {
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14331 wxPyEndAllowThreads(__tstate);
14332 if (PyErr_Occurred()) SWIG_fail;
14333 }
14334 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14335 return resultobj;
14336 fail:
14337 return NULL;
14338 }
14339
14340
14341 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14342 PyObject *resultobj = 0;
14343 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14344 size_t arg2 ;
14345 size_t arg3 ;
14346 int result;
14347 void *argp1 = 0 ;
14348 int res1 = 0 ;
14349 size_t val2 ;
14350 int ecode2 = 0 ;
14351 size_t val3 ;
14352 int ecode3 = 0 ;
14353 PyObject * obj0 = 0 ;
14354 PyObject * obj1 = 0 ;
14355 PyObject * obj2 = 0 ;
14356 char * kwnames[] = {
14357 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14358 };
14359
14360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14362 if (!SWIG_IsOK(res1)) {
14363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14364 }
14365 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14366 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14367 if (!SWIG_IsOK(ecode2)) {
14368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14369 }
14370 arg2 = static_cast< size_t >(val2);
14371 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14372 if (!SWIG_IsOK(ecode3)) {
14373 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14374 }
14375 arg3 = static_cast< size_t >(val3);
14376 {
14377 PyThreadState* __tstate = wxPyBeginAllowThreads();
14378 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14379 wxPyEndAllowThreads(__tstate);
14380 if (PyErr_Occurred()) SWIG_fail;
14381 }
14382 resultobj = SWIG_From_int(static_cast< int >(result));
14383 return resultobj;
14384 fail:
14385 return NULL;
14386 }
14387
14388
14389 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14390 PyObject *obj;
14391 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14392 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14393 return SWIG_Py_Void();
14394 }
14395
14396 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14397 return SWIG_Python_InitShadowInstance(args);
14398 }
14399
14400 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14401 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14402 return 1;
14403 }
14404
14405
14406 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14407 PyObject *pyobj = 0;
14408
14409 {
14410 #if wxUSE_UNICODE
14411 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14412 #else
14413 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14414 #endif
14415 }
14416 return pyobj;
14417 }
14418
14419
14420 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14421 PyObject *resultobj = 0;
14422 wxWindow *arg1 = (wxWindow *) 0 ;
14423 int arg2 = (int) wxID_ANY ;
14424 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14425 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14426 wxSize const &arg4_defvalue = wxDefaultSize ;
14427 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14428 long arg5 = (long) 0 ;
14429 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14430 wxString *arg6 = (wxString *) &arg6_defvalue ;
14431 wxPyVListBox *result = 0 ;
14432 void *argp1 = 0 ;
14433 int res1 = 0 ;
14434 int val2 ;
14435 int ecode2 = 0 ;
14436 wxPoint temp3 ;
14437 wxSize temp4 ;
14438 long val5 ;
14439 int ecode5 = 0 ;
14440 bool temp6 = false ;
14441 PyObject * obj0 = 0 ;
14442 PyObject * obj1 = 0 ;
14443 PyObject * obj2 = 0 ;
14444 PyObject * obj3 = 0 ;
14445 PyObject * obj4 = 0 ;
14446 PyObject * obj5 = 0 ;
14447 char * kwnames[] = {
14448 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14449 };
14450
14451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14453 if (!SWIG_IsOK(res1)) {
14454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14455 }
14456 arg1 = reinterpret_cast< wxWindow * >(argp1);
14457 if (obj1) {
14458 ecode2 = SWIG_AsVal_int(obj1, &val2);
14459 if (!SWIG_IsOK(ecode2)) {
14460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14461 }
14462 arg2 = static_cast< int >(val2);
14463 }
14464 if (obj2) {
14465 {
14466 arg3 = &temp3;
14467 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14468 }
14469 }
14470 if (obj3) {
14471 {
14472 arg4 = &temp4;
14473 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14474 }
14475 }
14476 if (obj4) {
14477 ecode5 = SWIG_AsVal_long(obj4, &val5);
14478 if (!SWIG_IsOK(ecode5)) {
14479 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14480 }
14481 arg5 = static_cast< long >(val5);
14482 }
14483 if (obj5) {
14484 {
14485 arg6 = wxString_in_helper(obj5);
14486 if (arg6 == NULL) SWIG_fail;
14487 temp6 = true;
14488 }
14489 }
14490 {
14491 if (!wxPyCheckForApp()) SWIG_fail;
14492 PyThreadState* __tstate = wxPyBeginAllowThreads();
14493 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14498 {
14499 if (temp6)
14500 delete arg6;
14501 }
14502 return resultobj;
14503 fail:
14504 {
14505 if (temp6)
14506 delete arg6;
14507 }
14508 return NULL;
14509 }
14510
14511
14512 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14513 PyObject *resultobj = 0;
14514 wxPyVListBox *result = 0 ;
14515
14516 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14517 {
14518 if (!wxPyCheckForApp()) SWIG_fail;
14519 PyThreadState* __tstate = wxPyBeginAllowThreads();
14520 result = (wxPyVListBox *)new wxPyVListBox();
14521 wxPyEndAllowThreads(__tstate);
14522 if (PyErr_Occurred()) SWIG_fail;
14523 }
14524 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14525 return resultobj;
14526 fail:
14527 return NULL;
14528 }
14529
14530
14531 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14532 PyObject *resultobj = 0;
14533 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14534 PyObject *arg2 = (PyObject *) 0 ;
14535 PyObject *arg3 = (PyObject *) 0 ;
14536 void *argp1 = 0 ;
14537 int res1 = 0 ;
14538 PyObject * obj0 = 0 ;
14539 PyObject * obj1 = 0 ;
14540 PyObject * obj2 = 0 ;
14541 char * kwnames[] = {
14542 (char *) "self",(char *) "self",(char *) "_class", NULL
14543 };
14544
14545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14547 if (!SWIG_IsOK(res1)) {
14548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14549 }
14550 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14551 arg2 = obj1;
14552 arg3 = obj2;
14553 {
14554 PyThreadState* __tstate = wxPyBeginAllowThreads();
14555 (arg1)->_setCallbackInfo(arg2,arg3);
14556 wxPyEndAllowThreads(__tstate);
14557 if (PyErr_Occurred()) SWIG_fail;
14558 }
14559 resultobj = SWIG_Py_Void();
14560 return resultobj;
14561 fail:
14562 return NULL;
14563 }
14564
14565
14566 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14567 PyObject *resultobj = 0;
14568 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14569 wxWindow *arg2 = (wxWindow *) 0 ;
14570 int arg3 = (int) wxID_ANY ;
14571 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14572 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14573 wxSize const &arg5_defvalue = wxDefaultSize ;
14574 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14575 long arg6 = (long) 0 ;
14576 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14577 wxString *arg7 = (wxString *) &arg7_defvalue ;
14578 bool result;
14579 void *argp1 = 0 ;
14580 int res1 = 0 ;
14581 void *argp2 = 0 ;
14582 int res2 = 0 ;
14583 int val3 ;
14584 int ecode3 = 0 ;
14585 wxPoint temp4 ;
14586 wxSize temp5 ;
14587 long val6 ;
14588 int ecode6 = 0 ;
14589 bool temp7 = false ;
14590 PyObject * obj0 = 0 ;
14591 PyObject * obj1 = 0 ;
14592 PyObject * obj2 = 0 ;
14593 PyObject * obj3 = 0 ;
14594 PyObject * obj4 = 0 ;
14595 PyObject * obj5 = 0 ;
14596 PyObject * obj6 = 0 ;
14597 char * kwnames[] = {
14598 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14599 };
14600
14601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14603 if (!SWIG_IsOK(res1)) {
14604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14605 }
14606 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14607 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14608 if (!SWIG_IsOK(res2)) {
14609 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14610 }
14611 arg2 = reinterpret_cast< wxWindow * >(argp2);
14612 if (obj2) {
14613 ecode3 = SWIG_AsVal_int(obj2, &val3);
14614 if (!SWIG_IsOK(ecode3)) {
14615 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14616 }
14617 arg3 = static_cast< int >(val3);
14618 }
14619 if (obj3) {
14620 {
14621 arg4 = &temp4;
14622 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14623 }
14624 }
14625 if (obj4) {
14626 {
14627 arg5 = &temp5;
14628 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14629 }
14630 }
14631 if (obj5) {
14632 ecode6 = SWIG_AsVal_long(obj5, &val6);
14633 if (!SWIG_IsOK(ecode6)) {
14634 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14635 }
14636 arg6 = static_cast< long >(val6);
14637 }
14638 if (obj6) {
14639 {
14640 arg7 = wxString_in_helper(obj6);
14641 if (arg7 == NULL) SWIG_fail;
14642 temp7 = true;
14643 }
14644 }
14645 {
14646 PyThreadState* __tstate = wxPyBeginAllowThreads();
14647 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14648 wxPyEndAllowThreads(__tstate);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
14651 {
14652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14653 }
14654 {
14655 if (temp7)
14656 delete arg7;
14657 }
14658 return resultobj;
14659 fail:
14660 {
14661 if (temp7)
14662 delete arg7;
14663 }
14664 return NULL;
14665 }
14666
14667
14668 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14669 PyObject *resultobj = 0;
14670 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14671 size_t result;
14672 void *argp1 = 0 ;
14673 int res1 = 0 ;
14674 PyObject *swig_obj[1] ;
14675
14676 if (!args) SWIG_fail;
14677 swig_obj[0] = args;
14678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14679 if (!SWIG_IsOK(res1)) {
14680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14681 }
14682 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14683 {
14684 PyThreadState* __tstate = wxPyBeginAllowThreads();
14685 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
14689 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14690 return resultobj;
14691 fail:
14692 return NULL;
14693 }
14694
14695
14696 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14697 PyObject *resultobj = 0;
14698 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14699 bool result;
14700 void *argp1 = 0 ;
14701 int res1 = 0 ;
14702 PyObject *swig_obj[1] ;
14703
14704 if (!args) SWIG_fail;
14705 swig_obj[0] = args;
14706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14707 if (!SWIG_IsOK(res1)) {
14708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14709 }
14710 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14711 {
14712 PyThreadState* __tstate = wxPyBeginAllowThreads();
14713 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14714 wxPyEndAllowThreads(__tstate);
14715 if (PyErr_Occurred()) SWIG_fail;
14716 }
14717 {
14718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14719 }
14720 return resultobj;
14721 fail:
14722 return NULL;
14723 }
14724
14725
14726 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14727 PyObject *resultobj = 0;
14728 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14729 int result;
14730 void *argp1 = 0 ;
14731 int res1 = 0 ;
14732 PyObject *swig_obj[1] ;
14733
14734 if (!args) SWIG_fail;
14735 swig_obj[0] = args;
14736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14737 if (!SWIG_IsOK(res1)) {
14738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14739 }
14740 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14741 {
14742 PyThreadState* __tstate = wxPyBeginAllowThreads();
14743 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14744 wxPyEndAllowThreads(__tstate);
14745 if (PyErr_Occurred()) SWIG_fail;
14746 }
14747 resultobj = SWIG_From_int(static_cast< int >(result));
14748 return resultobj;
14749 fail:
14750 return NULL;
14751 }
14752
14753
14754 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14755 PyObject *resultobj = 0;
14756 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14757 size_t arg2 ;
14758 bool result;
14759 void *argp1 = 0 ;
14760 int res1 = 0 ;
14761 size_t val2 ;
14762 int ecode2 = 0 ;
14763 PyObject * obj0 = 0 ;
14764 PyObject * obj1 = 0 ;
14765 char * kwnames[] = {
14766 (char *) "self",(char *) "item", NULL
14767 };
14768
14769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14771 if (!SWIG_IsOK(res1)) {
14772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14773 }
14774 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14775 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14776 if (!SWIG_IsOK(ecode2)) {
14777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14778 }
14779 arg2 = static_cast< size_t >(val2);
14780 {
14781 PyThreadState* __tstate = wxPyBeginAllowThreads();
14782 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14783 wxPyEndAllowThreads(__tstate);
14784 if (PyErr_Occurred()) SWIG_fail;
14785 }
14786 {
14787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14788 }
14789 return resultobj;
14790 fail:
14791 return NULL;
14792 }
14793
14794
14795 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14796 PyObject *resultobj = 0;
14797 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14798 size_t arg2 ;
14799 bool result;
14800 void *argp1 = 0 ;
14801 int res1 = 0 ;
14802 size_t val2 ;
14803 int ecode2 = 0 ;
14804 PyObject * obj0 = 0 ;
14805 PyObject * obj1 = 0 ;
14806 char * kwnames[] = {
14807 (char *) "self",(char *) "item", NULL
14808 };
14809
14810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",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_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14814 }
14815 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14816 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14817 if (!SWIG_IsOK(ecode2)) {
14818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14819 }
14820 arg2 = static_cast< size_t >(val2);
14821 {
14822 PyThreadState* __tstate = wxPyBeginAllowThreads();
14823 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 {
14828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14829 }
14830 return resultobj;
14831 fail:
14832 return NULL;
14833 }
14834
14835
14836 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14837 PyObject *resultobj = 0;
14838 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14839 size_t result;
14840 void *argp1 = 0 ;
14841 int res1 = 0 ;
14842 PyObject *swig_obj[1] ;
14843
14844 if (!args) SWIG_fail;
14845 swig_obj[0] = args;
14846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14847 if (!SWIG_IsOK(res1)) {
14848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14849 }
14850 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14851 {
14852 PyThreadState* __tstate = wxPyBeginAllowThreads();
14853 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14854 wxPyEndAllowThreads(__tstate);
14855 if (PyErr_Occurred()) SWIG_fail;
14856 }
14857 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14858 return resultobj;
14859 fail:
14860 return NULL;
14861 }
14862
14863
14864 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14865 PyObject *resultobj = 0;
14866 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14867 PyObject *result = 0 ;
14868 void *argp1 = 0 ;
14869 int res1 = 0 ;
14870 PyObject *swig_obj[1] ;
14871
14872 if (!args) SWIG_fail;
14873 swig_obj[0] = args;
14874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14875 if (!SWIG_IsOK(res1)) {
14876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14877 }
14878 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14879 {
14880 PyThreadState* __tstate = wxPyBeginAllowThreads();
14881 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14882 wxPyEndAllowThreads(__tstate);
14883 if (PyErr_Occurred()) SWIG_fail;
14884 }
14885 resultobj = result;
14886 return resultobj;
14887 fail:
14888 return NULL;
14889 }
14890
14891
14892 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14893 PyObject *resultobj = 0;
14894 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14895 unsigned long arg2 ;
14896 PyObject *result = 0 ;
14897 void *argp1 = 0 ;
14898 int res1 = 0 ;
14899 unsigned long val2 ;
14900 int ecode2 = 0 ;
14901 PyObject * obj0 = 0 ;
14902 PyObject * obj1 = 0 ;
14903 char * kwnames[] = {
14904 (char *) "self",(char *) "cookie", NULL
14905 };
14906
14907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14909 if (!SWIG_IsOK(res1)) {
14910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14911 }
14912 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14913 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14914 if (!SWIG_IsOK(ecode2)) {
14915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14916 }
14917 arg2 = static_cast< unsigned long >(val2);
14918 {
14919 PyThreadState* __tstate = wxPyBeginAllowThreads();
14920 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14921 wxPyEndAllowThreads(__tstate);
14922 if (PyErr_Occurred()) SWIG_fail;
14923 }
14924 resultobj = result;
14925 return resultobj;
14926 fail:
14927 return NULL;
14928 }
14929
14930
14931 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14932 PyObject *resultobj = 0;
14933 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14934 wxPoint result;
14935 void *argp1 = 0 ;
14936 int res1 = 0 ;
14937 PyObject *swig_obj[1] ;
14938
14939 if (!args) SWIG_fail;
14940 swig_obj[0] = args;
14941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14942 if (!SWIG_IsOK(res1)) {
14943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14944 }
14945 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14946 {
14947 PyThreadState* __tstate = wxPyBeginAllowThreads();
14948 result = ((wxPyVListBox const *)arg1)->GetMargins();
14949 wxPyEndAllowThreads(__tstate);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14953 return resultobj;
14954 fail:
14955 return NULL;
14956 }
14957
14958
14959 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14960 PyObject *resultobj = 0;
14961 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14962 wxColour *result = 0 ;
14963 void *argp1 = 0 ;
14964 int res1 = 0 ;
14965 PyObject *swig_obj[1] ;
14966
14967 if (!args) SWIG_fail;
14968 swig_obj[0] = args;
14969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14970 if (!SWIG_IsOK(res1)) {
14971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14972 }
14973 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14974 {
14975 PyThreadState* __tstate = wxPyBeginAllowThreads();
14976 {
14977 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14978 result = (wxColour *) &_result_ref;
14979 }
14980 wxPyEndAllowThreads(__tstate);
14981 if (PyErr_Occurred()) SWIG_fail;
14982 }
14983 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14984 return resultobj;
14985 fail:
14986 return NULL;
14987 }
14988
14989
14990 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14991 PyObject *resultobj = 0;
14992 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14993 size_t arg2 ;
14994 void *argp1 = 0 ;
14995 int res1 = 0 ;
14996 size_t val2 ;
14997 int ecode2 = 0 ;
14998 PyObject * obj0 = 0 ;
14999 PyObject * obj1 = 0 ;
15000 char * kwnames[] = {
15001 (char *) "self",(char *) "count", NULL
15002 };
15003
15004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15006 if (!SWIG_IsOK(res1)) {
15007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15008 }
15009 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15010 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15011 if (!SWIG_IsOK(ecode2)) {
15012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15013 }
15014 arg2 = static_cast< size_t >(val2);
15015 {
15016 PyThreadState* __tstate = wxPyBeginAllowThreads();
15017 (arg1)->SetItemCount(arg2);
15018 wxPyEndAllowThreads(__tstate);
15019 if (PyErr_Occurred()) SWIG_fail;
15020 }
15021 resultobj = SWIG_Py_Void();
15022 return resultobj;
15023 fail:
15024 return NULL;
15025 }
15026
15027
15028 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15029 PyObject *resultobj = 0;
15030 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15031 void *argp1 = 0 ;
15032 int res1 = 0 ;
15033 PyObject *swig_obj[1] ;
15034
15035 if (!args) SWIG_fail;
15036 swig_obj[0] = args;
15037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15038 if (!SWIG_IsOK(res1)) {
15039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15040 }
15041 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15042 {
15043 PyThreadState* __tstate = wxPyBeginAllowThreads();
15044 (arg1)->Clear();
15045 wxPyEndAllowThreads(__tstate);
15046 if (PyErr_Occurred()) SWIG_fail;
15047 }
15048 resultobj = SWIG_Py_Void();
15049 return resultobj;
15050 fail:
15051 return NULL;
15052 }
15053
15054
15055 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15056 PyObject *resultobj = 0;
15057 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15058 int arg2 ;
15059 void *argp1 = 0 ;
15060 int res1 = 0 ;
15061 int val2 ;
15062 int ecode2 = 0 ;
15063 PyObject * obj0 = 0 ;
15064 PyObject * obj1 = 0 ;
15065 char * kwnames[] = {
15066 (char *) "self",(char *) "selection", NULL
15067 };
15068
15069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15071 if (!SWIG_IsOK(res1)) {
15072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15073 }
15074 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15075 ecode2 = SWIG_AsVal_int(obj1, &val2);
15076 if (!SWIG_IsOK(ecode2)) {
15077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15078 }
15079 arg2 = static_cast< int >(val2);
15080 {
15081 PyThreadState* __tstate = wxPyBeginAllowThreads();
15082 (arg1)->SetSelection(arg2);
15083 wxPyEndAllowThreads(__tstate);
15084 if (PyErr_Occurred()) SWIG_fail;
15085 }
15086 resultobj = SWIG_Py_Void();
15087 return resultobj;
15088 fail:
15089 return NULL;
15090 }
15091
15092
15093 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15094 PyObject *resultobj = 0;
15095 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15096 size_t arg2 ;
15097 bool arg3 = (bool) true ;
15098 bool result;
15099 void *argp1 = 0 ;
15100 int res1 = 0 ;
15101 size_t val2 ;
15102 int ecode2 = 0 ;
15103 bool val3 ;
15104 int ecode3 = 0 ;
15105 PyObject * obj0 = 0 ;
15106 PyObject * obj1 = 0 ;
15107 PyObject * obj2 = 0 ;
15108 char * kwnames[] = {
15109 (char *) "self",(char *) "item",(char *) "select", NULL
15110 };
15111
15112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15114 if (!SWIG_IsOK(res1)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15116 }
15117 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15118 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15119 if (!SWIG_IsOK(ecode2)) {
15120 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15121 }
15122 arg2 = static_cast< size_t >(val2);
15123 if (obj2) {
15124 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15125 if (!SWIG_IsOK(ecode3)) {
15126 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15127 }
15128 arg3 = static_cast< bool >(val3);
15129 }
15130 {
15131 PyThreadState* __tstate = wxPyBeginAllowThreads();
15132 result = (bool)(arg1)->Select(arg2,arg3);
15133 wxPyEndAllowThreads(__tstate);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 {
15137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15138 }
15139 return resultobj;
15140 fail:
15141 return NULL;
15142 }
15143
15144
15145 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15146 PyObject *resultobj = 0;
15147 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15148 size_t arg2 ;
15149 size_t arg3 ;
15150 bool result;
15151 void *argp1 = 0 ;
15152 int res1 = 0 ;
15153 size_t val2 ;
15154 int ecode2 = 0 ;
15155 size_t val3 ;
15156 int ecode3 = 0 ;
15157 PyObject * obj0 = 0 ;
15158 PyObject * obj1 = 0 ;
15159 PyObject * obj2 = 0 ;
15160 char * kwnames[] = {
15161 (char *) "self",(char *) "from",(char *) "to", NULL
15162 };
15163
15164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15166 if (!SWIG_IsOK(res1)) {
15167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15168 }
15169 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15170 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15171 if (!SWIG_IsOK(ecode2)) {
15172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15173 }
15174 arg2 = static_cast< size_t >(val2);
15175 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15176 if (!SWIG_IsOK(ecode3)) {
15177 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15178 }
15179 arg3 = static_cast< size_t >(val3);
15180 {
15181 PyThreadState* __tstate = wxPyBeginAllowThreads();
15182 result = (bool)(arg1)->SelectRange(arg2,arg3);
15183 wxPyEndAllowThreads(__tstate);
15184 if (PyErr_Occurred()) SWIG_fail;
15185 }
15186 {
15187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15188 }
15189 return resultobj;
15190 fail:
15191 return NULL;
15192 }
15193
15194
15195 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15196 PyObject *resultobj = 0;
15197 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15198 size_t arg2 ;
15199 void *argp1 = 0 ;
15200 int res1 = 0 ;
15201 size_t val2 ;
15202 int ecode2 = 0 ;
15203 PyObject * obj0 = 0 ;
15204 PyObject * obj1 = 0 ;
15205 char * kwnames[] = {
15206 (char *) "self",(char *) "item", NULL
15207 };
15208
15209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15211 if (!SWIG_IsOK(res1)) {
15212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15213 }
15214 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15215 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15216 if (!SWIG_IsOK(ecode2)) {
15217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15218 }
15219 arg2 = static_cast< size_t >(val2);
15220 {
15221 PyThreadState* __tstate = wxPyBeginAllowThreads();
15222 (arg1)->Toggle(arg2);
15223 wxPyEndAllowThreads(__tstate);
15224 if (PyErr_Occurred()) SWIG_fail;
15225 }
15226 resultobj = SWIG_Py_Void();
15227 return resultobj;
15228 fail:
15229 return NULL;
15230 }
15231
15232
15233 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15234 PyObject *resultobj = 0;
15235 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15236 bool result;
15237 void *argp1 = 0 ;
15238 int res1 = 0 ;
15239 PyObject *swig_obj[1] ;
15240
15241 if (!args) SWIG_fail;
15242 swig_obj[0] = args;
15243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15244 if (!SWIG_IsOK(res1)) {
15245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15246 }
15247 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15248 {
15249 PyThreadState* __tstate = wxPyBeginAllowThreads();
15250 result = (bool)(arg1)->SelectAll();
15251 wxPyEndAllowThreads(__tstate);
15252 if (PyErr_Occurred()) SWIG_fail;
15253 }
15254 {
15255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15256 }
15257 return resultobj;
15258 fail:
15259 return NULL;
15260 }
15261
15262
15263 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15264 PyObject *resultobj = 0;
15265 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15266 bool result;
15267 void *argp1 = 0 ;
15268 int res1 = 0 ;
15269 PyObject *swig_obj[1] ;
15270
15271 if (!args) SWIG_fail;
15272 swig_obj[0] = args;
15273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15274 if (!SWIG_IsOK(res1)) {
15275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15276 }
15277 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15278 {
15279 PyThreadState* __tstate = wxPyBeginAllowThreads();
15280 result = (bool)(arg1)->DeselectAll();
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15284 {
15285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15286 }
15287 return resultobj;
15288 fail:
15289 return NULL;
15290 }
15291
15292
15293 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15294 PyObject *resultobj = 0;
15295 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15296 wxPoint *arg2 = 0 ;
15297 void *argp1 = 0 ;
15298 int res1 = 0 ;
15299 wxPoint temp2 ;
15300 PyObject * obj0 = 0 ;
15301 PyObject * obj1 = 0 ;
15302 char * kwnames[] = {
15303 (char *) "self",(char *) "pt", NULL
15304 };
15305
15306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15308 if (!SWIG_IsOK(res1)) {
15309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15310 }
15311 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15312 {
15313 arg2 = &temp2;
15314 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15315 }
15316 {
15317 PyThreadState* __tstate = wxPyBeginAllowThreads();
15318 (arg1)->SetMargins((wxPoint const &)*arg2);
15319 wxPyEndAllowThreads(__tstate);
15320 if (PyErr_Occurred()) SWIG_fail;
15321 }
15322 resultobj = SWIG_Py_Void();
15323 return resultobj;
15324 fail:
15325 return NULL;
15326 }
15327
15328
15329 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15330 PyObject *resultobj = 0;
15331 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15332 int arg2 ;
15333 int arg3 ;
15334 void *argp1 = 0 ;
15335 int res1 = 0 ;
15336 int val2 ;
15337 int ecode2 = 0 ;
15338 int val3 ;
15339 int ecode3 = 0 ;
15340 PyObject * obj0 = 0 ;
15341 PyObject * obj1 = 0 ;
15342 PyObject * obj2 = 0 ;
15343 char * kwnames[] = {
15344 (char *) "self",(char *) "x",(char *) "y", NULL
15345 };
15346
15347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15349 if (!SWIG_IsOK(res1)) {
15350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15351 }
15352 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15353 ecode2 = SWIG_AsVal_int(obj1, &val2);
15354 if (!SWIG_IsOK(ecode2)) {
15355 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15356 }
15357 arg2 = static_cast< int >(val2);
15358 ecode3 = SWIG_AsVal_int(obj2, &val3);
15359 if (!SWIG_IsOK(ecode3)) {
15360 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15361 }
15362 arg3 = static_cast< int >(val3);
15363 {
15364 PyThreadState* __tstate = wxPyBeginAllowThreads();
15365 (arg1)->SetMargins(arg2,arg3);
15366 wxPyEndAllowThreads(__tstate);
15367 if (PyErr_Occurred()) SWIG_fail;
15368 }
15369 resultobj = SWIG_Py_Void();
15370 return resultobj;
15371 fail:
15372 return NULL;
15373 }
15374
15375
15376 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15377 PyObject *resultobj = 0;
15378 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15379 wxColour *arg2 = 0 ;
15380 void *argp1 = 0 ;
15381 int res1 = 0 ;
15382 wxColour temp2 ;
15383 PyObject * obj0 = 0 ;
15384 PyObject * obj1 = 0 ;
15385 char * kwnames[] = {
15386 (char *) "self",(char *) "col", NULL
15387 };
15388
15389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15391 if (!SWIG_IsOK(res1)) {
15392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15393 }
15394 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15395 {
15396 arg2 = &temp2;
15397 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15398 }
15399 {
15400 PyThreadState* __tstate = wxPyBeginAllowThreads();
15401 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15402 wxPyEndAllowThreads(__tstate);
15403 if (PyErr_Occurred()) SWIG_fail;
15404 }
15405 resultobj = SWIG_Py_Void();
15406 return resultobj;
15407 fail:
15408 return NULL;
15409 }
15410
15411
15412 SWIGINTERN PyObject *_wrap_VListBox_RefreshSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15413 PyObject *resultobj = 0;
15414 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15415 void *argp1 = 0 ;
15416 int res1 = 0 ;
15417 PyObject *swig_obj[1] ;
15418
15419 if (!args) SWIG_fail;
15420 swig_obj[0] = args;
15421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15422 if (!SWIG_IsOK(res1)) {
15423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15424 }
15425 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15426 {
15427 PyThreadState* __tstate = wxPyBeginAllowThreads();
15428 (arg1)->RefreshSelected();
15429 wxPyEndAllowThreads(__tstate);
15430 if (PyErr_Occurred()) SWIG_fail;
15431 }
15432 resultobj = SWIG_Py_Void();
15433 return resultobj;
15434 fail:
15435 return NULL;
15436 }
15437
15438
15439 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15440 PyObject *resultobj = 0;
15441 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15442 wxDC *arg2 = 0 ;
15443 wxRect *arg3 = 0 ;
15444 size_t arg4 ;
15445 void *argp1 = 0 ;
15446 int res1 = 0 ;
15447 void *argp2 = 0 ;
15448 int res2 = 0 ;
15449 wxRect temp3 ;
15450 size_t val4 ;
15451 int ecode4 = 0 ;
15452 PyObject * obj0 = 0 ;
15453 PyObject * obj1 = 0 ;
15454 PyObject * obj2 = 0 ;
15455 PyObject * obj3 = 0 ;
15456 char * kwnames[] = {
15457 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15458 };
15459
15460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15462 if (!SWIG_IsOK(res1)) {
15463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15464 }
15465 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15466 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15467 if (!SWIG_IsOK(res2)) {
15468 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15469 }
15470 if (!argp2) {
15471 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15472 }
15473 arg2 = reinterpret_cast< wxDC * >(argp2);
15474 {
15475 arg3 = &temp3;
15476 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15477 }
15478 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15479 if (!SWIG_IsOK(ecode4)) {
15480 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15481 }
15482 arg4 = static_cast< size_t >(val4);
15483 {
15484 PyThreadState* __tstate = wxPyBeginAllowThreads();
15485 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15486 wxPyEndAllowThreads(__tstate);
15487 if (PyErr_Occurred()) SWIG_fail;
15488 }
15489 resultobj = SWIG_Py_Void();
15490 return resultobj;
15491 fail:
15492 return NULL;
15493 }
15494
15495
15496 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15497 PyObject *resultobj = 0;
15498 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15499 wxDC *arg2 = 0 ;
15500 wxRect *arg3 = 0 ;
15501 size_t arg4 ;
15502 void *argp1 = 0 ;
15503 int res1 = 0 ;
15504 void *argp2 = 0 ;
15505 int res2 = 0 ;
15506 wxRect temp3 ;
15507 size_t val4 ;
15508 int ecode4 = 0 ;
15509 PyObject * obj0 = 0 ;
15510 PyObject * obj1 = 0 ;
15511 PyObject * obj2 = 0 ;
15512 PyObject * obj3 = 0 ;
15513 char * kwnames[] = {
15514 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15515 };
15516
15517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15519 if (!SWIG_IsOK(res1)) {
15520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15521 }
15522 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15523 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15524 if (!SWIG_IsOK(res2)) {
15525 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15526 }
15527 if (!argp2) {
15528 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15529 }
15530 arg2 = reinterpret_cast< wxDC * >(argp2);
15531 {
15532 arg3 = &temp3;
15533 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15534 }
15535 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15536 if (!SWIG_IsOK(ecode4)) {
15537 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15538 }
15539 arg4 = static_cast< size_t >(val4);
15540 {
15541 PyThreadState* __tstate = wxPyBeginAllowThreads();
15542 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15543 wxPyEndAllowThreads(__tstate);
15544 if (PyErr_Occurred()) SWIG_fail;
15545 }
15546 resultobj = SWIG_Py_Void();
15547 return resultobj;
15548 fail:
15549 return NULL;
15550 }
15551
15552
15553 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15554 PyObject *obj;
15555 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15556 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15557 return SWIG_Py_Void();
15558 }
15559
15560 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15561 return SWIG_Python_InitShadowInstance(args);
15562 }
15563
15564 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15565 PyObject *resultobj = 0;
15566 wxWindow *arg1 = (wxWindow *) 0 ;
15567 int arg2 = (int) wxID_ANY ;
15568 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15569 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15570 wxSize const &arg4_defvalue = wxDefaultSize ;
15571 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15572 long arg5 = (long) 0 ;
15573 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15574 wxString *arg6 = (wxString *) &arg6_defvalue ;
15575 wxPyHtmlListBox *result = 0 ;
15576 void *argp1 = 0 ;
15577 int res1 = 0 ;
15578 int val2 ;
15579 int ecode2 = 0 ;
15580 wxPoint temp3 ;
15581 wxSize temp4 ;
15582 long val5 ;
15583 int ecode5 = 0 ;
15584 bool temp6 = false ;
15585 PyObject * obj0 = 0 ;
15586 PyObject * obj1 = 0 ;
15587 PyObject * obj2 = 0 ;
15588 PyObject * obj3 = 0 ;
15589 PyObject * obj4 = 0 ;
15590 PyObject * obj5 = 0 ;
15591 char * kwnames[] = {
15592 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15593 };
15594
15595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15597 if (!SWIG_IsOK(res1)) {
15598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15599 }
15600 arg1 = reinterpret_cast< wxWindow * >(argp1);
15601 if (obj1) {
15602 ecode2 = SWIG_AsVal_int(obj1, &val2);
15603 if (!SWIG_IsOK(ecode2)) {
15604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15605 }
15606 arg2 = static_cast< int >(val2);
15607 }
15608 if (obj2) {
15609 {
15610 arg3 = &temp3;
15611 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15612 }
15613 }
15614 if (obj3) {
15615 {
15616 arg4 = &temp4;
15617 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15618 }
15619 }
15620 if (obj4) {
15621 ecode5 = SWIG_AsVal_long(obj4, &val5);
15622 if (!SWIG_IsOK(ecode5)) {
15623 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15624 }
15625 arg5 = static_cast< long >(val5);
15626 }
15627 if (obj5) {
15628 {
15629 arg6 = wxString_in_helper(obj5);
15630 if (arg6 == NULL) SWIG_fail;
15631 temp6 = true;
15632 }
15633 }
15634 {
15635 if (!wxPyCheckForApp()) SWIG_fail;
15636 PyThreadState* __tstate = wxPyBeginAllowThreads();
15637 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15638 wxPyEndAllowThreads(__tstate);
15639 if (PyErr_Occurred()) SWIG_fail;
15640 }
15641 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15642 {
15643 if (temp6)
15644 delete arg6;
15645 }
15646 return resultobj;
15647 fail:
15648 {
15649 if (temp6)
15650 delete arg6;
15651 }
15652 return NULL;
15653 }
15654
15655
15656 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15657 PyObject *resultobj = 0;
15658 wxPyHtmlListBox *result = 0 ;
15659
15660 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15661 {
15662 if (!wxPyCheckForApp()) SWIG_fail;
15663 PyThreadState* __tstate = wxPyBeginAllowThreads();
15664 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15665 wxPyEndAllowThreads(__tstate);
15666 if (PyErr_Occurred()) SWIG_fail;
15667 }
15668 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15669 return resultobj;
15670 fail:
15671 return NULL;
15672 }
15673
15674
15675 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15676 PyObject *resultobj = 0;
15677 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15678 PyObject *arg2 = (PyObject *) 0 ;
15679 PyObject *arg3 = (PyObject *) 0 ;
15680 void *argp1 = 0 ;
15681 int res1 = 0 ;
15682 PyObject * obj0 = 0 ;
15683 PyObject * obj1 = 0 ;
15684 PyObject * obj2 = 0 ;
15685 char * kwnames[] = {
15686 (char *) "self",(char *) "self",(char *) "_class", NULL
15687 };
15688
15689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15691 if (!SWIG_IsOK(res1)) {
15692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15693 }
15694 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15695 arg2 = obj1;
15696 arg3 = obj2;
15697 {
15698 PyThreadState* __tstate = wxPyBeginAllowThreads();
15699 (arg1)->_setCallbackInfo(arg2,arg3);
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 resultobj = SWIG_Py_Void();
15704 return resultobj;
15705 fail:
15706 return NULL;
15707 }
15708
15709
15710 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15711 PyObject *resultobj = 0;
15712 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15713 wxWindow *arg2 = (wxWindow *) 0 ;
15714 int arg3 = (int) wxID_ANY ;
15715 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15716 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15717 wxSize const &arg5_defvalue = wxDefaultSize ;
15718 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15719 long arg6 = (long) 0 ;
15720 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15721 wxString *arg7 = (wxString *) &arg7_defvalue ;
15722 bool result;
15723 void *argp1 = 0 ;
15724 int res1 = 0 ;
15725 void *argp2 = 0 ;
15726 int res2 = 0 ;
15727 int val3 ;
15728 int ecode3 = 0 ;
15729 wxPoint temp4 ;
15730 wxSize temp5 ;
15731 long val6 ;
15732 int ecode6 = 0 ;
15733 bool temp7 = false ;
15734 PyObject * obj0 = 0 ;
15735 PyObject * obj1 = 0 ;
15736 PyObject * obj2 = 0 ;
15737 PyObject * obj3 = 0 ;
15738 PyObject * obj4 = 0 ;
15739 PyObject * obj5 = 0 ;
15740 PyObject * obj6 = 0 ;
15741 char * kwnames[] = {
15742 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15743 };
15744
15745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15747 if (!SWIG_IsOK(res1)) {
15748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15749 }
15750 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15751 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15752 if (!SWIG_IsOK(res2)) {
15753 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15754 }
15755 arg2 = reinterpret_cast< wxWindow * >(argp2);
15756 if (obj2) {
15757 ecode3 = SWIG_AsVal_int(obj2, &val3);
15758 if (!SWIG_IsOK(ecode3)) {
15759 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15760 }
15761 arg3 = static_cast< int >(val3);
15762 }
15763 if (obj3) {
15764 {
15765 arg4 = &temp4;
15766 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15767 }
15768 }
15769 if (obj4) {
15770 {
15771 arg5 = &temp5;
15772 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15773 }
15774 }
15775 if (obj5) {
15776 ecode6 = SWIG_AsVal_long(obj5, &val6);
15777 if (!SWIG_IsOK(ecode6)) {
15778 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15779 }
15780 arg6 = static_cast< long >(val6);
15781 }
15782 if (obj6) {
15783 {
15784 arg7 = wxString_in_helper(obj6);
15785 if (arg7 == NULL) SWIG_fail;
15786 temp7 = true;
15787 }
15788 }
15789 {
15790 PyThreadState* __tstate = wxPyBeginAllowThreads();
15791 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15792 wxPyEndAllowThreads(__tstate);
15793 if (PyErr_Occurred()) SWIG_fail;
15794 }
15795 {
15796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15797 }
15798 {
15799 if (temp7)
15800 delete arg7;
15801 }
15802 return resultobj;
15803 fail:
15804 {
15805 if (temp7)
15806 delete arg7;
15807 }
15808 return NULL;
15809 }
15810
15811
15812 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15813 PyObject *resultobj = 0;
15814 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15815 size_t arg2 ;
15816 void *argp1 = 0 ;
15817 int res1 = 0 ;
15818 size_t val2 ;
15819 int ecode2 = 0 ;
15820 PyObject * obj0 = 0 ;
15821 PyObject * obj1 = 0 ;
15822 char * kwnames[] = {
15823 (char *) "self",(char *) "count", NULL
15824 };
15825
15826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15828 if (!SWIG_IsOK(res1)) {
15829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15830 }
15831 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15832 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15833 if (!SWIG_IsOK(ecode2)) {
15834 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15835 }
15836 arg2 = static_cast< size_t >(val2);
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 (arg1)->SetItemCount(arg2);
15840 wxPyEndAllowThreads(__tstate);
15841 if (PyErr_Occurred()) SWIG_fail;
15842 }
15843 resultobj = SWIG_Py_Void();
15844 return resultobj;
15845 fail:
15846 return NULL;
15847 }
15848
15849
15850 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15851 PyObject *resultobj = 0;
15852 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15853 wxFileSystem *result = 0 ;
15854 void *argp1 = 0 ;
15855 int res1 = 0 ;
15856 PyObject *swig_obj[1] ;
15857
15858 if (!args) SWIG_fail;
15859 swig_obj[0] = args;
15860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15861 if (!SWIG_IsOK(res1)) {
15862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15863 }
15864 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15865 {
15866 PyThreadState* __tstate = wxPyBeginAllowThreads();
15867 {
15868 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15869 result = (wxFileSystem *) &_result_ref;
15870 }
15871 wxPyEndAllowThreads(__tstate);
15872 if (PyErr_Occurred()) SWIG_fail;
15873 }
15874 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15875 return resultobj;
15876 fail:
15877 return NULL;
15878 }
15879
15880
15881 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15882 PyObject *resultobj = 0;
15883 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15884 size_t arg2 ;
15885 wxHtmlLinkInfo *arg3 = 0 ;
15886 void *argp1 = 0 ;
15887 int res1 = 0 ;
15888 size_t val2 ;
15889 int ecode2 = 0 ;
15890 void *argp3 = 0 ;
15891 int res3 = 0 ;
15892 PyObject * obj0 = 0 ;
15893 PyObject * obj1 = 0 ;
15894 PyObject * obj2 = 0 ;
15895 char * kwnames[] = {
15896 (char *) "self",(char *) "n",(char *) "link", NULL
15897 };
15898
15899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15901 if (!SWIG_IsOK(res1)) {
15902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15903 }
15904 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15905 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15906 if (!SWIG_IsOK(ecode2)) {
15907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15908 }
15909 arg2 = static_cast< size_t >(val2);
15910 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15911 if (!SWIG_IsOK(res3)) {
15912 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15913 }
15914 if (!argp3) {
15915 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15916 }
15917 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15918 {
15919 PyThreadState* __tstate = wxPyBeginAllowThreads();
15920 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15921 wxPyEndAllowThreads(__tstate);
15922 if (PyErr_Occurred()) SWIG_fail;
15923 }
15924 resultobj = SWIG_Py_Void();
15925 return resultobj;
15926 fail:
15927 return NULL;
15928 }
15929
15930
15931 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15932 PyObject *obj;
15933 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15934 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15935 return SWIG_Py_Void();
15936 }
15937
15938 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15939 return SWIG_Python_InitShadowInstance(args);
15940 }
15941
15942 SWIGINTERN int SimpleHtmlListBoxNameStr_set(PyObject *) {
15943 SWIG_Error(SWIG_AttributeError,"Variable SimpleHtmlListBoxNameStr is read-only.");
15944 return 1;
15945 }
15946
15947
15948 SWIGINTERN PyObject *SimpleHtmlListBoxNameStr_get(void) {
15949 PyObject *pyobj = 0;
15950
15951 {
15952 #if wxUSE_UNICODE
15953 pyobj = PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
15954 #else
15955 pyobj = PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
15956 #endif
15957 }
15958 return pyobj;
15959 }
15960
15961
15962 SWIGINTERN PyObject *_wrap_new_SimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15963 PyObject *resultobj = 0;
15964 wxWindow *arg1 = (wxWindow *) 0 ;
15965 int arg2 = (int) -1 ;
15966 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15967 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15968 wxSize const &arg4_defvalue = wxDefaultSize ;
15969 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15970 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
15971 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
15972 long arg6 = (long) wxHLB_DEFAULT_STYLE ;
15973 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15974 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15975 wxString const &arg8_defvalue = wxPySimpleHtmlListBoxNameStr ;
15976 wxString *arg8 = (wxString *) &arg8_defvalue ;
15977 wxSimpleHtmlListBox *result = 0 ;
15978 void *argp1 = 0 ;
15979 int res1 = 0 ;
15980 int val2 ;
15981 int ecode2 = 0 ;
15982 wxPoint temp3 ;
15983 wxSize temp4 ;
15984 bool temp5 = false ;
15985 long val6 ;
15986 int ecode6 = 0 ;
15987 void *argp7 = 0 ;
15988 int res7 = 0 ;
15989 bool temp8 = false ;
15990 PyObject * obj0 = 0 ;
15991 PyObject * obj1 = 0 ;
15992 PyObject * obj2 = 0 ;
15993 PyObject * obj3 = 0 ;
15994 PyObject * obj4 = 0 ;
15995 PyObject * obj5 = 0 ;
15996 PyObject * obj6 = 0 ;
15997 PyObject * obj7 = 0 ;
15998 char * kwnames[] = {
15999 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16000 };
16001
16002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
16003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16004 if (!SWIG_IsOK(res1)) {
16005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16006 }
16007 arg1 = reinterpret_cast< wxWindow * >(argp1);
16008 if (obj1) {
16009 ecode2 = SWIG_AsVal_int(obj1, &val2);
16010 if (!SWIG_IsOK(ecode2)) {
16011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
16012 }
16013 arg2 = static_cast< int >(val2);
16014 }
16015 if (obj2) {
16016 {
16017 arg3 = &temp3;
16018 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16019 }
16020 }
16021 if (obj3) {
16022 {
16023 arg4 = &temp4;
16024 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16025 }
16026 }
16027 if (obj4) {
16028 {
16029 if (! PySequence_Check(obj4)) {
16030 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16031 SWIG_fail;
16032 }
16033 arg5 = new wxArrayString;
16034 temp5 = true;
16035 int i, len=PySequence_Length(obj4);
16036 for (i=0; i<len; i++) {
16037 PyObject* item = PySequence_GetItem(obj4, i);
16038 wxString* s = wxString_in_helper(item);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 arg5->Add(*s);
16041 delete s;
16042 Py_DECREF(item);
16043 }
16044 }
16045 }
16046 if (obj5) {
16047 ecode6 = SWIG_AsVal_long(obj5, &val6);
16048 if (!SWIG_IsOK(ecode6)) {
16049 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
16050 }
16051 arg6 = static_cast< long >(val6);
16052 }
16053 if (obj6) {
16054 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
16055 if (!SWIG_IsOK(res7)) {
16056 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16057 }
16058 if (!argp7) {
16059 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16060 }
16061 arg7 = reinterpret_cast< wxValidator * >(argp7);
16062 }
16063 if (obj7) {
16064 {
16065 arg8 = wxString_in_helper(obj7);
16066 if (arg8 == NULL) SWIG_fail;
16067 temp8 = true;
16068 }
16069 }
16070 {
16071 if (!wxPyCheckForApp()) SWIG_fail;
16072 PyThreadState* __tstate = wxPyBeginAllowThreads();
16073 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
16074 wxPyEndAllowThreads(__tstate);
16075 if (PyErr_Occurred()) SWIG_fail;
16076 }
16077 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_NEW | 0 );
16078 {
16079 if (temp5) delete arg5;
16080 }
16081 {
16082 if (temp8)
16083 delete arg8;
16084 }
16085 return resultobj;
16086 fail:
16087 {
16088 if (temp5) delete arg5;
16089 }
16090 {
16091 if (temp8)
16092 delete arg8;
16093 }
16094 return NULL;
16095 }
16096
16097
16098 SWIGINTERN PyObject *_wrap_new_PreSimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16099 PyObject *resultobj = 0;
16100 wxSimpleHtmlListBox *result = 0 ;
16101
16102 if (!SWIG_Python_UnpackTuple(args,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail;
16103 {
16104 if (!wxPyCheckForApp()) SWIG_fail;
16105 PyThreadState* __tstate = wxPyBeginAllowThreads();
16106 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox();
16107 wxPyEndAllowThreads(__tstate);
16108 if (PyErr_Occurred()) SWIG_fail;
16109 }
16110 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_OWN | 0 );
16111 return resultobj;
16112 fail:
16113 return NULL;
16114 }
16115
16116
16117 SWIGINTERN PyObject *_wrap_SimpleHtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16118 PyObject *resultobj = 0;
16119 wxSimpleHtmlListBox *arg1 = (wxSimpleHtmlListBox *) 0 ;
16120 wxWindow *arg2 = (wxWindow *) 0 ;
16121 int arg3 = (int) -1 ;
16122 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16123 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16124 wxSize const &arg5_defvalue = wxDefaultSize ;
16125 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16126 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16127 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16128 long arg7 = (long) wxHLB_DEFAULT_STYLE ;
16129 wxValidator const &arg8_defvalue = wxDefaultValidator ;
16130 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
16131 wxString const &arg9_defvalue = wxPySimpleHtmlListBoxNameStr ;
16132 wxString *arg9 = (wxString *) &arg9_defvalue ;
16133 bool result;
16134 void *argp1 = 0 ;
16135 int res1 = 0 ;
16136 void *argp2 = 0 ;
16137 int res2 = 0 ;
16138 int val3 ;
16139 int ecode3 = 0 ;
16140 wxPoint temp4 ;
16141 wxSize temp5 ;
16142 bool temp6 = false ;
16143 long val7 ;
16144 int ecode7 = 0 ;
16145 void *argp8 = 0 ;
16146 int res8 = 0 ;
16147 bool temp9 = false ;
16148 PyObject * obj0 = 0 ;
16149 PyObject * obj1 = 0 ;
16150 PyObject * obj2 = 0 ;
16151 PyObject * obj3 = 0 ;
16152 PyObject * obj4 = 0 ;
16153 PyObject * obj5 = 0 ;
16154 PyObject * obj6 = 0 ;
16155 PyObject * obj7 = 0 ;
16156 PyObject * obj8 = 0 ;
16157 char * kwnames[] = {
16158 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16159 };
16160
16161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
16162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSimpleHtmlListBox, 0 | 0 );
16163 if (!SWIG_IsOK(res1)) {
16164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16165 }
16166 arg1 = reinterpret_cast< wxSimpleHtmlListBox * >(argp1);
16167 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16168 if (!SWIG_IsOK(res2)) {
16169 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16170 }
16171 arg2 = reinterpret_cast< wxWindow * >(argp2);
16172 if (obj2) {
16173 ecode3 = SWIG_AsVal_int(obj2, &val3);
16174 if (!SWIG_IsOK(ecode3)) {
16175 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16176 }
16177 arg3 = static_cast< int >(val3);
16178 }
16179 if (obj3) {
16180 {
16181 arg4 = &temp4;
16182 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16183 }
16184 }
16185 if (obj4) {
16186 {
16187 arg5 = &temp5;
16188 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16189 }
16190 }
16191 if (obj5) {
16192 {
16193 if (! PySequence_Check(obj5)) {
16194 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16195 SWIG_fail;
16196 }
16197 arg6 = new wxArrayString;
16198 temp6 = true;
16199 int i, len=PySequence_Length(obj5);
16200 for (i=0; i<len; i++) {
16201 PyObject* item = PySequence_GetItem(obj5, i);
16202 wxString* s = wxString_in_helper(item);
16203 if (PyErr_Occurred()) SWIG_fail;
16204 arg6->Add(*s);
16205 delete s;
16206 Py_DECREF(item);
16207 }
16208 }
16209 }
16210 if (obj6) {
16211 ecode7 = SWIG_AsVal_long(obj6, &val7);
16212 if (!SWIG_IsOK(ecode7)) {
16213 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16214 }
16215 arg7 = static_cast< long >(val7);
16216 }
16217 if (obj7) {
16218 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
16219 if (!SWIG_IsOK(res8)) {
16220 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16221 }
16222 if (!argp8) {
16223 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16224 }
16225 arg8 = reinterpret_cast< wxValidator * >(argp8);
16226 }
16227 if (obj8) {
16228 {
16229 arg9 = wxString_in_helper(obj8);
16230 if (arg9 == NULL) SWIG_fail;
16231 temp9 = true;
16232 }
16233 }
16234 {
16235 PyThreadState* __tstate = wxPyBeginAllowThreads();
16236 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16237 wxPyEndAllowThreads(__tstate);
16238 if (PyErr_Occurred()) SWIG_fail;
16239 }
16240 {
16241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16242 }
16243 {
16244 if (temp6) delete arg6;
16245 }
16246 {
16247 if (temp9)
16248 delete arg9;
16249 }
16250 return resultobj;
16251 fail:
16252 {
16253 if (temp6) delete arg6;
16254 }
16255 {
16256 if (temp9)
16257 delete arg9;
16258 }
16259 return NULL;
16260 }
16261
16262
16263 SWIGINTERN PyObject *SimpleHtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16264 PyObject *obj;
16265 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16266 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_NewClientData(obj));
16267 return SWIG_Py_Void();
16268 }
16269
16270 SWIGINTERN PyObject *SimpleHtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16271 return SWIG_Python_InitShadowInstance(args);
16272 }
16273
16274 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16275 PyObject *resultobj = 0;
16276 wxPyTaskBarIcon *result = 0 ;
16277
16278 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16279 {
16280 if (!wxPyCheckForApp()) SWIG_fail;
16281 PyThreadState* __tstate = wxPyBeginAllowThreads();
16282 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16283 wxPyEndAllowThreads(__tstate);
16284 if (PyErr_Occurred()) SWIG_fail;
16285 }
16286 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16287 return resultobj;
16288 fail:
16289 return NULL;
16290 }
16291
16292
16293 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16294 PyObject *resultobj = 0;
16295 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16296 void *argp1 = 0 ;
16297 int res1 = 0 ;
16298 PyObject *swig_obj[1] ;
16299
16300 if (!args) SWIG_fail;
16301 swig_obj[0] = args;
16302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16303 if (!SWIG_IsOK(res1)) {
16304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16305 }
16306 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16307 {
16308 PyThreadState* __tstate = wxPyBeginAllowThreads();
16309 delete arg1;
16310
16311 wxPyEndAllowThreads(__tstate);
16312 if (PyErr_Occurred()) SWIG_fail;
16313 }
16314 resultobj = SWIG_Py_Void();
16315 return resultobj;
16316 fail:
16317 return NULL;
16318 }
16319
16320
16321 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16322 PyObject *resultobj = 0;
16323 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16324 PyObject *arg2 = (PyObject *) 0 ;
16325 PyObject *arg3 = (PyObject *) 0 ;
16326 int arg4 = (int) 0 ;
16327 void *argp1 = 0 ;
16328 int res1 = 0 ;
16329 int val4 ;
16330 int ecode4 = 0 ;
16331 PyObject * obj0 = 0 ;
16332 PyObject * obj1 = 0 ;
16333 PyObject * obj2 = 0 ;
16334 PyObject * obj3 = 0 ;
16335 char * kwnames[] = {
16336 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16337 };
16338
16339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16341 if (!SWIG_IsOK(res1)) {
16342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16343 }
16344 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16345 arg2 = obj1;
16346 arg3 = obj2;
16347 if (obj3) {
16348 ecode4 = SWIG_AsVal_int(obj3, &val4);
16349 if (!SWIG_IsOK(ecode4)) {
16350 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16351 }
16352 arg4 = static_cast< int >(val4);
16353 }
16354 {
16355 PyThreadState* __tstate = wxPyBeginAllowThreads();
16356 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16357 wxPyEndAllowThreads(__tstate);
16358 if (PyErr_Occurred()) SWIG_fail;
16359 }
16360 resultobj = SWIG_Py_Void();
16361 return resultobj;
16362 fail:
16363 return NULL;
16364 }
16365
16366
16367 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16368 PyObject *resultobj = 0;
16369 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16370 void *argp1 = 0 ;
16371 int res1 = 0 ;
16372 PyObject *swig_obj[1] ;
16373
16374 if (!args) SWIG_fail;
16375 swig_obj[0] = args;
16376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16377 if (!SWIG_IsOK(res1)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16379 }
16380 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16381 {
16382 PyThreadState* __tstate = wxPyBeginAllowThreads();
16383 wxPyTaskBarIcon_Destroy(arg1);
16384 wxPyEndAllowThreads(__tstate);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 }
16387 resultobj = SWIG_Py_Void();
16388 return resultobj;
16389 fail:
16390 return NULL;
16391 }
16392
16393
16394 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16395 PyObject *resultobj = 0;
16396 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16397 bool result;
16398 void *argp1 = 0 ;
16399 int res1 = 0 ;
16400 PyObject *swig_obj[1] ;
16401
16402 if (!args) SWIG_fail;
16403 swig_obj[0] = args;
16404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16405 if (!SWIG_IsOK(res1)) {
16406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16407 }
16408 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16409 {
16410 PyThreadState* __tstate = wxPyBeginAllowThreads();
16411 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16412 wxPyEndAllowThreads(__tstate);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 }
16415 {
16416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16417 }
16418 return resultobj;
16419 fail:
16420 return NULL;
16421 }
16422
16423
16424 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16425 PyObject *resultobj = 0;
16426 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16427 bool result;
16428 void *argp1 = 0 ;
16429 int res1 = 0 ;
16430 PyObject *swig_obj[1] ;
16431
16432 if (!args) SWIG_fail;
16433 swig_obj[0] = args;
16434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16435 if (!SWIG_IsOK(res1)) {
16436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16437 }
16438 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16439 {
16440 PyThreadState* __tstate = wxPyBeginAllowThreads();
16441 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16442 wxPyEndAllowThreads(__tstate);
16443 if (PyErr_Occurred()) SWIG_fail;
16444 }
16445 {
16446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16447 }
16448 return resultobj;
16449 fail:
16450 return NULL;
16451 }
16452
16453
16454 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16455 PyObject *resultobj = 0;
16456 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16457 wxIcon *arg2 = 0 ;
16458 wxString const &arg3_defvalue = wxPyEmptyString ;
16459 wxString *arg3 = (wxString *) &arg3_defvalue ;
16460 bool result;
16461 void *argp1 = 0 ;
16462 int res1 = 0 ;
16463 void *argp2 = 0 ;
16464 int res2 = 0 ;
16465 bool temp3 = false ;
16466 PyObject * obj0 = 0 ;
16467 PyObject * obj1 = 0 ;
16468 PyObject * obj2 = 0 ;
16469 char * kwnames[] = {
16470 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16471 };
16472
16473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16475 if (!SWIG_IsOK(res1)) {
16476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16477 }
16478 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16479 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16480 if (!SWIG_IsOK(res2)) {
16481 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16482 }
16483 if (!argp2) {
16484 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16485 }
16486 arg2 = reinterpret_cast< wxIcon * >(argp2);
16487 if (obj2) {
16488 {
16489 arg3 = wxString_in_helper(obj2);
16490 if (arg3 == NULL) SWIG_fail;
16491 temp3 = true;
16492 }
16493 }
16494 {
16495 PyThreadState* __tstate = wxPyBeginAllowThreads();
16496 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16497 wxPyEndAllowThreads(__tstate);
16498 if (PyErr_Occurred()) SWIG_fail;
16499 }
16500 {
16501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16502 }
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_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16518 PyObject *resultobj = 0;
16519 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16520 bool result;
16521 void *argp1 = 0 ;
16522 int res1 = 0 ;
16523 PyObject *swig_obj[1] ;
16524
16525 if (!args) SWIG_fail;
16526 swig_obj[0] = args;
16527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16528 if (!SWIG_IsOK(res1)) {
16529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16530 }
16531 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16532 {
16533 PyThreadState* __tstate = wxPyBeginAllowThreads();
16534 result = (bool)(arg1)->RemoveIcon();
16535 wxPyEndAllowThreads(__tstate);
16536 if (PyErr_Occurred()) SWIG_fail;
16537 }
16538 {
16539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16540 }
16541 return resultobj;
16542 fail:
16543 return NULL;
16544 }
16545
16546
16547 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16548 PyObject *resultobj = 0;
16549 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16550 wxMenu *arg2 = (wxMenu *) 0 ;
16551 bool result;
16552 void *argp1 = 0 ;
16553 int res1 = 0 ;
16554 void *argp2 = 0 ;
16555 int res2 = 0 ;
16556 PyObject * obj0 = 0 ;
16557 PyObject * obj1 = 0 ;
16558 char * kwnames[] = {
16559 (char *) "self",(char *) "menu", NULL
16560 };
16561
16562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16564 if (!SWIG_IsOK(res1)) {
16565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16566 }
16567 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16568 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16569 if (!SWIG_IsOK(res2)) {
16570 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16571 }
16572 arg2 = reinterpret_cast< wxMenu * >(argp2);
16573 {
16574 PyThreadState* __tstate = wxPyBeginAllowThreads();
16575 result = (bool)(arg1)->PopupMenu(arg2);
16576 wxPyEndAllowThreads(__tstate);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 {
16580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16581 }
16582 return resultobj;
16583 fail:
16584 return NULL;
16585 }
16586
16587
16588 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16589 PyObject *obj;
16590 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16591 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16592 return SWIG_Py_Void();
16593 }
16594
16595 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16596 return SWIG_Python_InitShadowInstance(args);
16597 }
16598
16599 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16600 PyObject *resultobj = 0;
16601 wxEventType arg1 ;
16602 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16603 wxTaskBarIconEvent *result = 0 ;
16604 int val1 ;
16605 int ecode1 = 0 ;
16606 void *argp2 = 0 ;
16607 int res2 = 0 ;
16608 PyObject * obj0 = 0 ;
16609 PyObject * obj1 = 0 ;
16610 char * kwnames[] = {
16611 (char *) "evtType",(char *) "tbIcon", NULL
16612 };
16613
16614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16615 ecode1 = SWIG_AsVal_int(obj0, &val1);
16616 if (!SWIG_IsOK(ecode1)) {
16617 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16618 }
16619 arg1 = static_cast< wxEventType >(val1);
16620 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16621 if (!SWIG_IsOK(res2)) {
16622 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16623 }
16624 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16625 {
16626 PyThreadState* __tstate = wxPyBeginAllowThreads();
16627 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16628 wxPyEndAllowThreads(__tstate);
16629 if (PyErr_Occurred()) SWIG_fail;
16630 }
16631 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16632 return resultobj;
16633 fail:
16634 return NULL;
16635 }
16636
16637
16638 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16639 PyObject *obj;
16640 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16641 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16642 return SWIG_Py_Void();
16643 }
16644
16645 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16646 return SWIG_Python_InitShadowInstance(args);
16647 }
16648
16649 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16650 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16651 return 1;
16652 }
16653
16654
16655 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16656 PyObject *pyobj = 0;
16657
16658 {
16659 #if wxUSE_UNICODE
16660 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16661 #else
16662 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16663 #endif
16664 }
16665 return pyobj;
16666 }
16667
16668
16669 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16670 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16671 return 1;
16672 }
16673
16674
16675 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16676 PyObject *pyobj = 0;
16677
16678 {
16679 #if wxUSE_UNICODE
16680 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16681 #else
16682 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16683 #endif
16684 }
16685 return pyobj;
16686 }
16687
16688
16689 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16690 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16691 return 1;
16692 }
16693
16694
16695 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16696 PyObject *pyobj = 0;
16697
16698 {
16699 #if wxUSE_UNICODE
16700 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16701 #else
16702 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16703 #endif
16704 }
16705 return pyobj;
16706 }
16707
16708
16709 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16710 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16711 return 1;
16712 }
16713
16714
16715 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16716 PyObject *pyobj = 0;
16717
16718 {
16719 #if wxUSE_UNICODE
16720 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16721 #else
16722 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16723 #endif
16724 }
16725 return pyobj;
16726 }
16727
16728
16729 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16730 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16731 return 1;
16732 }
16733
16734
16735 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16736 PyObject *pyobj = 0;
16737
16738 {
16739 #if wxUSE_UNICODE
16740 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16741 #else
16742 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16743 #endif
16744 }
16745 return pyobj;
16746 }
16747
16748
16749 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16750 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16751 return 1;
16752 }
16753
16754
16755 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16756 PyObject *pyobj = 0;
16757
16758 {
16759 #if wxUSE_UNICODE
16760 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16761 #else
16762 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16763 #endif
16764 }
16765 return pyobj;
16766 }
16767
16768
16769 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16770 PyObject *resultobj = 0;
16771 wxColourData *result = 0 ;
16772
16773 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16774 {
16775 PyThreadState* __tstate = wxPyBeginAllowThreads();
16776 result = (wxColourData *)new wxColourData();
16777 wxPyEndAllowThreads(__tstate);
16778 if (PyErr_Occurred()) SWIG_fail;
16779 }
16780 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16781 return resultobj;
16782 fail:
16783 return NULL;
16784 }
16785
16786
16787 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16788 PyObject *resultobj = 0;
16789 wxColourData *arg1 = (wxColourData *) 0 ;
16790 void *argp1 = 0 ;
16791 int res1 = 0 ;
16792 PyObject *swig_obj[1] ;
16793
16794 if (!args) SWIG_fail;
16795 swig_obj[0] = args;
16796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16797 if (!SWIG_IsOK(res1)) {
16798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16799 }
16800 arg1 = reinterpret_cast< wxColourData * >(argp1);
16801 {
16802 PyThreadState* __tstate = wxPyBeginAllowThreads();
16803 delete arg1;
16804
16805 wxPyEndAllowThreads(__tstate);
16806 if (PyErr_Occurred()) SWIG_fail;
16807 }
16808 resultobj = SWIG_Py_Void();
16809 return resultobj;
16810 fail:
16811 return NULL;
16812 }
16813
16814
16815 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16816 PyObject *resultobj = 0;
16817 wxColourData *arg1 = (wxColourData *) 0 ;
16818 bool result;
16819 void *argp1 = 0 ;
16820 int res1 = 0 ;
16821 PyObject *swig_obj[1] ;
16822
16823 if (!args) SWIG_fail;
16824 swig_obj[0] = args;
16825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16826 if (!SWIG_IsOK(res1)) {
16827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16828 }
16829 arg1 = reinterpret_cast< wxColourData * >(argp1);
16830 {
16831 PyThreadState* __tstate = wxPyBeginAllowThreads();
16832 result = (bool)(arg1)->GetChooseFull();
16833 wxPyEndAllowThreads(__tstate);
16834 if (PyErr_Occurred()) SWIG_fail;
16835 }
16836 {
16837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16838 }
16839 return resultobj;
16840 fail:
16841 return NULL;
16842 }
16843
16844
16845 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16846 PyObject *resultobj = 0;
16847 wxColourData *arg1 = (wxColourData *) 0 ;
16848 wxColour result;
16849 void *argp1 = 0 ;
16850 int res1 = 0 ;
16851 PyObject *swig_obj[1] ;
16852
16853 if (!args) SWIG_fail;
16854 swig_obj[0] = args;
16855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16856 if (!SWIG_IsOK(res1)) {
16857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16858 }
16859 arg1 = reinterpret_cast< wxColourData * >(argp1);
16860 {
16861 PyThreadState* __tstate = wxPyBeginAllowThreads();
16862 result = (arg1)->GetColour();
16863 wxPyEndAllowThreads(__tstate);
16864 if (PyErr_Occurred()) SWIG_fail;
16865 }
16866 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16867 return resultobj;
16868 fail:
16869 return NULL;
16870 }
16871
16872
16873 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16874 PyObject *resultobj = 0;
16875 wxColourData *arg1 = (wxColourData *) 0 ;
16876 int arg2 ;
16877 wxColour result;
16878 void *argp1 = 0 ;
16879 int res1 = 0 ;
16880 int val2 ;
16881 int ecode2 = 0 ;
16882 PyObject * obj0 = 0 ;
16883 PyObject * obj1 = 0 ;
16884 char * kwnames[] = {
16885 (char *) "self",(char *) "i", NULL
16886 };
16887
16888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16890 if (!SWIG_IsOK(res1)) {
16891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16892 }
16893 arg1 = reinterpret_cast< wxColourData * >(argp1);
16894 ecode2 = SWIG_AsVal_int(obj1, &val2);
16895 if (!SWIG_IsOK(ecode2)) {
16896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16897 }
16898 arg2 = static_cast< int >(val2);
16899 {
16900 PyThreadState* __tstate = wxPyBeginAllowThreads();
16901 result = (arg1)->GetCustomColour(arg2);
16902 wxPyEndAllowThreads(__tstate);
16903 if (PyErr_Occurred()) SWIG_fail;
16904 }
16905 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16906 return resultobj;
16907 fail:
16908 return NULL;
16909 }
16910
16911
16912 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16913 PyObject *resultobj = 0;
16914 wxColourData *arg1 = (wxColourData *) 0 ;
16915 int arg2 ;
16916 void *argp1 = 0 ;
16917 int res1 = 0 ;
16918 int val2 ;
16919 int ecode2 = 0 ;
16920 PyObject * obj0 = 0 ;
16921 PyObject * obj1 = 0 ;
16922 char * kwnames[] = {
16923 (char *) "self",(char *) "flag", NULL
16924 };
16925
16926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16928 if (!SWIG_IsOK(res1)) {
16929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16930 }
16931 arg1 = reinterpret_cast< wxColourData * >(argp1);
16932 ecode2 = SWIG_AsVal_int(obj1, &val2);
16933 if (!SWIG_IsOK(ecode2)) {
16934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16935 }
16936 arg2 = static_cast< int >(val2);
16937 {
16938 PyThreadState* __tstate = wxPyBeginAllowThreads();
16939 (arg1)->SetChooseFull(arg2);
16940 wxPyEndAllowThreads(__tstate);
16941 if (PyErr_Occurred()) SWIG_fail;
16942 }
16943 resultobj = SWIG_Py_Void();
16944 return resultobj;
16945 fail:
16946 return NULL;
16947 }
16948
16949
16950 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16951 PyObject *resultobj = 0;
16952 wxColourData *arg1 = (wxColourData *) 0 ;
16953 wxColour *arg2 = 0 ;
16954 void *argp1 = 0 ;
16955 int res1 = 0 ;
16956 wxColour temp2 ;
16957 PyObject * obj0 = 0 ;
16958 PyObject * obj1 = 0 ;
16959 char * kwnames[] = {
16960 (char *) "self",(char *) "colour", NULL
16961 };
16962
16963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16965 if (!SWIG_IsOK(res1)) {
16966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16967 }
16968 arg1 = reinterpret_cast< wxColourData * >(argp1);
16969 {
16970 arg2 = &temp2;
16971 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16972 }
16973 {
16974 PyThreadState* __tstate = wxPyBeginAllowThreads();
16975 (arg1)->SetColour((wxColour const &)*arg2);
16976 wxPyEndAllowThreads(__tstate);
16977 if (PyErr_Occurred()) SWIG_fail;
16978 }
16979 resultobj = SWIG_Py_Void();
16980 return resultobj;
16981 fail:
16982 return NULL;
16983 }
16984
16985
16986 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16987 PyObject *resultobj = 0;
16988 wxColourData *arg1 = (wxColourData *) 0 ;
16989 int arg2 ;
16990 wxColour *arg3 = 0 ;
16991 void *argp1 = 0 ;
16992 int res1 = 0 ;
16993 int val2 ;
16994 int ecode2 = 0 ;
16995 wxColour temp3 ;
16996 PyObject * obj0 = 0 ;
16997 PyObject * obj1 = 0 ;
16998 PyObject * obj2 = 0 ;
16999 char * kwnames[] = {
17000 (char *) "self",(char *) "i",(char *) "colour", NULL
17001 };
17002
17003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
17005 if (!SWIG_IsOK(res1)) {
17006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17007 }
17008 arg1 = reinterpret_cast< wxColourData * >(argp1);
17009 ecode2 = SWIG_AsVal_int(obj1, &val2);
17010 if (!SWIG_IsOK(ecode2)) {
17011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
17012 }
17013 arg2 = static_cast< int >(val2);
17014 {
17015 arg3 = &temp3;
17016 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
17017 }
17018 {
17019 PyThreadState* __tstate = wxPyBeginAllowThreads();
17020 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
17021 wxPyEndAllowThreads(__tstate);
17022 if (PyErr_Occurred()) SWIG_fail;
17023 }
17024 resultobj = SWIG_Py_Void();
17025 return resultobj;
17026 fail:
17027 return NULL;
17028 }
17029
17030
17031 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17032 PyObject *obj;
17033 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17034 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
17035 return SWIG_Py_Void();
17036 }
17037
17038 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17039 return SWIG_Python_InitShadowInstance(args);
17040 }
17041
17042 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17043 PyObject *resultobj = 0;
17044 wxWindow *arg1 = (wxWindow *) 0 ;
17045 wxColourData *arg2 = (wxColourData *) NULL ;
17046 wxColourDialog *result = 0 ;
17047 void *argp1 = 0 ;
17048 int res1 = 0 ;
17049 void *argp2 = 0 ;
17050 int res2 = 0 ;
17051 PyObject * obj0 = 0 ;
17052 PyObject * obj1 = 0 ;
17053 char * kwnames[] = {
17054 (char *) "parent",(char *) "data", NULL
17055 };
17056
17057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
17058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17059 if (!SWIG_IsOK(res1)) {
17060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17061 }
17062 arg1 = reinterpret_cast< wxWindow * >(argp1);
17063 if (obj1) {
17064 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
17065 if (!SWIG_IsOK(res2)) {
17066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
17067 }
17068 arg2 = reinterpret_cast< wxColourData * >(argp2);
17069 }
17070 {
17071 if (!wxPyCheckForApp()) SWIG_fail;
17072 PyThreadState* __tstate = wxPyBeginAllowThreads();
17073 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
17074 wxPyEndAllowThreads(__tstate);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
17078 return resultobj;
17079 fail:
17080 return NULL;
17081 }
17082
17083
17084 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17085 PyObject *resultobj = 0;
17086 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
17087 wxColourData *result = 0 ;
17088 void *argp1 = 0 ;
17089 int res1 = 0 ;
17090 PyObject *swig_obj[1] ;
17091
17092 if (!args) SWIG_fail;
17093 swig_obj[0] = args;
17094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
17095 if (!SWIG_IsOK(res1)) {
17096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
17097 }
17098 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
17099 {
17100 PyThreadState* __tstate = wxPyBeginAllowThreads();
17101 {
17102 wxColourData &_result_ref = (arg1)->GetColourData();
17103 result = (wxColourData *) &_result_ref;
17104 }
17105 wxPyEndAllowThreads(__tstate);
17106 if (PyErr_Occurred()) SWIG_fail;
17107 }
17108 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
17109 return resultobj;
17110 fail:
17111 return NULL;
17112 }
17113
17114
17115 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17116 PyObject *obj;
17117 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17118 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
17119 return SWIG_Py_Void();
17120 }
17121
17122 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17123 return SWIG_Python_InitShadowInstance(args);
17124 }
17125
17126 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17127 PyObject *resultobj = 0;
17128 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
17129 wxColour const &arg2_defvalue = wxNullColour ;
17130 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17131 wxString const &arg3_defvalue = wxPyEmptyString ;
17132 wxString *arg3 = (wxString *) &arg3_defvalue ;
17133 wxColour result;
17134 void *argp1 = 0 ;
17135 int res1 = 0 ;
17136 wxColour temp2 ;
17137 bool temp3 = false ;
17138 PyObject * obj0 = 0 ;
17139 PyObject * obj1 = 0 ;
17140 PyObject * obj2 = 0 ;
17141 char * kwnames[] = {
17142 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17143 };
17144
17145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17146 if (obj0) {
17147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17148 if (!SWIG_IsOK(res1)) {
17149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
17150 }
17151 arg1 = reinterpret_cast< wxWindow * >(argp1);
17152 }
17153 if (obj1) {
17154 {
17155 arg2 = &temp2;
17156 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17157 }
17158 }
17159 if (obj2) {
17160 {
17161 arg3 = wxString_in_helper(obj2);
17162 if (arg3 == NULL) SWIG_fail;
17163 temp3 = true;
17164 }
17165 }
17166 {
17167 PyThreadState* __tstate = wxPyBeginAllowThreads();
17168 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
17173 {
17174 if (temp3)
17175 delete arg3;
17176 }
17177 return resultobj;
17178 fail:
17179 {
17180 if (temp3)
17181 delete arg3;
17182 }
17183 return NULL;
17184 }
17185
17186
17187 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17188 PyObject *resultobj = 0;
17189 wxWindow *arg1 = (wxWindow *) 0 ;
17190 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
17191 wxString *arg2 = (wxString *) &arg2_defvalue ;
17192 wxString const &arg3_defvalue = wxPyEmptyString ;
17193 wxString *arg3 = (wxString *) &arg3_defvalue ;
17194 long arg4 = (long) wxDD_DEFAULT_STYLE ;
17195 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17196 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17197 wxSize const &arg6_defvalue = wxDefaultSize ;
17198 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17199 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
17200 wxString *arg7 = (wxString *) &arg7_defvalue ;
17201 wxDirDialog *result = 0 ;
17202 void *argp1 = 0 ;
17203 int res1 = 0 ;
17204 bool temp2 = false ;
17205 bool temp3 = false ;
17206 long val4 ;
17207 int ecode4 = 0 ;
17208 wxPoint temp5 ;
17209 wxSize temp6 ;
17210 bool temp7 = false ;
17211 PyObject * obj0 = 0 ;
17212 PyObject * obj1 = 0 ;
17213 PyObject * obj2 = 0 ;
17214 PyObject * obj3 = 0 ;
17215 PyObject * obj4 = 0 ;
17216 PyObject * obj5 = 0 ;
17217 PyObject * obj6 = 0 ;
17218 char * kwnames[] = {
17219 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17220 };
17221
17222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17224 if (!SWIG_IsOK(res1)) {
17225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17226 }
17227 arg1 = reinterpret_cast< wxWindow * >(argp1);
17228 if (obj1) {
17229 {
17230 arg2 = wxString_in_helper(obj1);
17231 if (arg2 == NULL) SWIG_fail;
17232 temp2 = true;
17233 }
17234 }
17235 if (obj2) {
17236 {
17237 arg3 = wxString_in_helper(obj2);
17238 if (arg3 == NULL) SWIG_fail;
17239 temp3 = true;
17240 }
17241 }
17242 if (obj3) {
17243 ecode4 = SWIG_AsVal_long(obj3, &val4);
17244 if (!SWIG_IsOK(ecode4)) {
17245 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17246 }
17247 arg4 = static_cast< long >(val4);
17248 }
17249 if (obj4) {
17250 {
17251 arg5 = &temp5;
17252 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17253 }
17254 }
17255 if (obj5) {
17256 {
17257 arg6 = &temp6;
17258 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17259 }
17260 }
17261 if (obj6) {
17262 {
17263 arg7 = wxString_in_helper(obj6);
17264 if (arg7 == NULL) SWIG_fail;
17265 temp7 = true;
17266 }
17267 }
17268 {
17269 if (!wxPyCheckForApp()) SWIG_fail;
17270 PyThreadState* __tstate = wxPyBeginAllowThreads();
17271 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
17272 wxPyEndAllowThreads(__tstate);
17273 if (PyErr_Occurred()) SWIG_fail;
17274 }
17275 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
17276 {
17277 if (temp2)
17278 delete arg2;
17279 }
17280 {
17281 if (temp3)
17282 delete arg3;
17283 }
17284 {
17285 if (temp7)
17286 delete arg7;
17287 }
17288 return resultobj;
17289 fail:
17290 {
17291 if (temp2)
17292 delete arg2;
17293 }
17294 {
17295 if (temp3)
17296 delete arg3;
17297 }
17298 {
17299 if (temp7)
17300 delete arg7;
17301 }
17302 return NULL;
17303 }
17304
17305
17306 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17307 PyObject *resultobj = 0;
17308 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17309 wxString result;
17310 void *argp1 = 0 ;
17311 int res1 = 0 ;
17312 PyObject *swig_obj[1] ;
17313
17314 if (!args) SWIG_fail;
17315 swig_obj[0] = args;
17316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17317 if (!SWIG_IsOK(res1)) {
17318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17319 }
17320 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17321 {
17322 PyThreadState* __tstate = wxPyBeginAllowThreads();
17323 result = (arg1)->GetPath();
17324 wxPyEndAllowThreads(__tstate);
17325 if (PyErr_Occurred()) SWIG_fail;
17326 }
17327 {
17328 #if wxUSE_UNICODE
17329 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17330 #else
17331 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17332 #endif
17333 }
17334 return resultobj;
17335 fail:
17336 return NULL;
17337 }
17338
17339
17340 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17341 PyObject *resultobj = 0;
17342 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17343 wxString result;
17344 void *argp1 = 0 ;
17345 int res1 = 0 ;
17346 PyObject *swig_obj[1] ;
17347
17348 if (!args) SWIG_fail;
17349 swig_obj[0] = args;
17350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17351 if (!SWIG_IsOK(res1)) {
17352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17353 }
17354 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17355 {
17356 PyThreadState* __tstate = wxPyBeginAllowThreads();
17357 result = (arg1)->GetMessage();
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 {
17362 #if wxUSE_UNICODE
17363 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17364 #else
17365 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17366 #endif
17367 }
17368 return resultobj;
17369 fail:
17370 return NULL;
17371 }
17372
17373
17374 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17375 PyObject *resultobj = 0;
17376 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17377 wxString *arg2 = 0 ;
17378 void *argp1 = 0 ;
17379 int res1 = 0 ;
17380 bool temp2 = false ;
17381 PyObject * obj0 = 0 ;
17382 PyObject * obj1 = 0 ;
17383 char * kwnames[] = {
17384 (char *) "self",(char *) "message", NULL
17385 };
17386
17387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17389 if (!SWIG_IsOK(res1)) {
17390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17391 }
17392 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17393 {
17394 arg2 = wxString_in_helper(obj1);
17395 if (arg2 == NULL) SWIG_fail;
17396 temp2 = true;
17397 }
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 (arg1)->SetMessage((wxString const &)*arg2);
17401 wxPyEndAllowThreads(__tstate);
17402 if (PyErr_Occurred()) SWIG_fail;
17403 }
17404 resultobj = SWIG_Py_Void();
17405 {
17406 if (temp2)
17407 delete arg2;
17408 }
17409 return resultobj;
17410 fail:
17411 {
17412 if (temp2)
17413 delete arg2;
17414 }
17415 return NULL;
17416 }
17417
17418
17419 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17420 PyObject *resultobj = 0;
17421 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17422 wxString *arg2 = 0 ;
17423 void *argp1 = 0 ;
17424 int res1 = 0 ;
17425 bool temp2 = false ;
17426 PyObject * obj0 = 0 ;
17427 PyObject * obj1 = 0 ;
17428 char * kwnames[] = {
17429 (char *) "self",(char *) "path", NULL
17430 };
17431
17432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17434 if (!SWIG_IsOK(res1)) {
17435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17436 }
17437 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17438 {
17439 arg2 = wxString_in_helper(obj1);
17440 if (arg2 == NULL) SWIG_fail;
17441 temp2 = true;
17442 }
17443 {
17444 PyThreadState* __tstate = wxPyBeginAllowThreads();
17445 (arg1)->SetPath((wxString const &)*arg2);
17446 wxPyEndAllowThreads(__tstate);
17447 if (PyErr_Occurred()) SWIG_fail;
17448 }
17449 resultobj = SWIG_Py_Void();
17450 {
17451 if (temp2)
17452 delete arg2;
17453 }
17454 return resultobj;
17455 fail:
17456 {
17457 if (temp2)
17458 delete arg2;
17459 }
17460 return NULL;
17461 }
17462
17463
17464 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17465 PyObject *obj;
17466 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17467 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17468 return SWIG_Py_Void();
17469 }
17470
17471 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17472 return SWIG_Python_InitShadowInstance(args);
17473 }
17474
17475 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17476 PyObject *resultobj = 0;
17477 wxWindow *arg1 = (wxWindow *) 0 ;
17478 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17479 wxString *arg2 = (wxString *) &arg2_defvalue ;
17480 wxString const &arg3_defvalue = wxPyEmptyString ;
17481 wxString *arg3 = (wxString *) &arg3_defvalue ;
17482 wxString const &arg4_defvalue = wxPyEmptyString ;
17483 wxString *arg4 = (wxString *) &arg4_defvalue ;
17484 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17485 wxString *arg5 = (wxString *) &arg5_defvalue ;
17486 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17487 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17488 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17489 wxFileDialog *result = 0 ;
17490 void *argp1 = 0 ;
17491 int res1 = 0 ;
17492 bool temp2 = false ;
17493 bool temp3 = false ;
17494 bool temp4 = false ;
17495 bool temp5 = false ;
17496 long val6 ;
17497 int ecode6 = 0 ;
17498 wxPoint temp7 ;
17499 PyObject * obj0 = 0 ;
17500 PyObject * obj1 = 0 ;
17501 PyObject * obj2 = 0 ;
17502 PyObject * obj3 = 0 ;
17503 PyObject * obj4 = 0 ;
17504 PyObject * obj5 = 0 ;
17505 PyObject * obj6 = 0 ;
17506 char * kwnames[] = {
17507 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17508 };
17509
17510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17512 if (!SWIG_IsOK(res1)) {
17513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17514 }
17515 arg1 = reinterpret_cast< wxWindow * >(argp1);
17516 if (obj1) {
17517 {
17518 arg2 = wxString_in_helper(obj1);
17519 if (arg2 == NULL) SWIG_fail;
17520 temp2 = true;
17521 }
17522 }
17523 if (obj2) {
17524 {
17525 arg3 = wxString_in_helper(obj2);
17526 if (arg3 == NULL) SWIG_fail;
17527 temp3 = true;
17528 }
17529 }
17530 if (obj3) {
17531 {
17532 arg4 = wxString_in_helper(obj3);
17533 if (arg4 == NULL) SWIG_fail;
17534 temp4 = true;
17535 }
17536 }
17537 if (obj4) {
17538 {
17539 arg5 = wxString_in_helper(obj4);
17540 if (arg5 == NULL) SWIG_fail;
17541 temp5 = true;
17542 }
17543 }
17544 if (obj5) {
17545 ecode6 = SWIG_AsVal_long(obj5, &val6);
17546 if (!SWIG_IsOK(ecode6)) {
17547 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17548 }
17549 arg6 = static_cast< long >(val6);
17550 }
17551 if (obj6) {
17552 {
17553 arg7 = &temp7;
17554 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17555 }
17556 }
17557 {
17558 if (!wxPyCheckForApp()) SWIG_fail;
17559 PyThreadState* __tstate = wxPyBeginAllowThreads();
17560 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17561 wxPyEndAllowThreads(__tstate);
17562 if (PyErr_Occurred()) SWIG_fail;
17563 }
17564 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17565 {
17566 if (temp2)
17567 delete arg2;
17568 }
17569 {
17570 if (temp3)
17571 delete arg3;
17572 }
17573 {
17574 if (temp4)
17575 delete arg4;
17576 }
17577 {
17578 if (temp5)
17579 delete arg5;
17580 }
17581 return resultobj;
17582 fail:
17583 {
17584 if (temp2)
17585 delete arg2;
17586 }
17587 {
17588 if (temp3)
17589 delete arg3;
17590 }
17591 {
17592 if (temp4)
17593 delete arg4;
17594 }
17595 {
17596 if (temp5)
17597 delete arg5;
17598 }
17599 return NULL;
17600 }
17601
17602
17603 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17604 PyObject *resultobj = 0;
17605 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17606 wxString *arg2 = 0 ;
17607 void *argp1 = 0 ;
17608 int res1 = 0 ;
17609 bool temp2 = false ;
17610 PyObject * obj0 = 0 ;
17611 PyObject * obj1 = 0 ;
17612 char * kwnames[] = {
17613 (char *) "self",(char *) "message", NULL
17614 };
17615
17616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17618 if (!SWIG_IsOK(res1)) {
17619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17620 }
17621 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17622 {
17623 arg2 = wxString_in_helper(obj1);
17624 if (arg2 == NULL) SWIG_fail;
17625 temp2 = true;
17626 }
17627 {
17628 PyThreadState* __tstate = wxPyBeginAllowThreads();
17629 (arg1)->SetMessage((wxString const &)*arg2);
17630 wxPyEndAllowThreads(__tstate);
17631 if (PyErr_Occurred()) SWIG_fail;
17632 }
17633 resultobj = SWIG_Py_Void();
17634 {
17635 if (temp2)
17636 delete arg2;
17637 }
17638 return resultobj;
17639 fail:
17640 {
17641 if (temp2)
17642 delete arg2;
17643 }
17644 return NULL;
17645 }
17646
17647
17648 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17649 PyObject *resultobj = 0;
17650 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17651 wxString *arg2 = 0 ;
17652 void *argp1 = 0 ;
17653 int res1 = 0 ;
17654 bool temp2 = false ;
17655 PyObject * obj0 = 0 ;
17656 PyObject * obj1 = 0 ;
17657 char * kwnames[] = {
17658 (char *) "self",(char *) "path", NULL
17659 };
17660
17661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17663 if (!SWIG_IsOK(res1)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17665 }
17666 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17667 {
17668 arg2 = wxString_in_helper(obj1);
17669 if (arg2 == NULL) SWIG_fail;
17670 temp2 = true;
17671 }
17672 {
17673 PyThreadState* __tstate = wxPyBeginAllowThreads();
17674 (arg1)->SetPath((wxString const &)*arg2);
17675 wxPyEndAllowThreads(__tstate);
17676 if (PyErr_Occurred()) SWIG_fail;
17677 }
17678 resultobj = SWIG_Py_Void();
17679 {
17680 if (temp2)
17681 delete arg2;
17682 }
17683 return resultobj;
17684 fail:
17685 {
17686 if (temp2)
17687 delete arg2;
17688 }
17689 return NULL;
17690 }
17691
17692
17693 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17694 PyObject *resultobj = 0;
17695 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17696 wxString *arg2 = 0 ;
17697 void *argp1 = 0 ;
17698 int res1 = 0 ;
17699 bool temp2 = false ;
17700 PyObject * obj0 = 0 ;
17701 PyObject * obj1 = 0 ;
17702 char * kwnames[] = {
17703 (char *) "self",(char *) "dir", NULL
17704 };
17705
17706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17708 if (!SWIG_IsOK(res1)) {
17709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17710 }
17711 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17712 {
17713 arg2 = wxString_in_helper(obj1);
17714 if (arg2 == NULL) SWIG_fail;
17715 temp2 = true;
17716 }
17717 {
17718 PyThreadState* __tstate = wxPyBeginAllowThreads();
17719 (arg1)->SetDirectory((wxString const &)*arg2);
17720 wxPyEndAllowThreads(__tstate);
17721 if (PyErr_Occurred()) SWIG_fail;
17722 }
17723 resultobj = SWIG_Py_Void();
17724 {
17725 if (temp2)
17726 delete arg2;
17727 }
17728 return resultobj;
17729 fail:
17730 {
17731 if (temp2)
17732 delete arg2;
17733 }
17734 return NULL;
17735 }
17736
17737
17738 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17739 PyObject *resultobj = 0;
17740 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17741 wxString *arg2 = 0 ;
17742 void *argp1 = 0 ;
17743 int res1 = 0 ;
17744 bool temp2 = false ;
17745 PyObject * obj0 = 0 ;
17746 PyObject * obj1 = 0 ;
17747 char * kwnames[] = {
17748 (char *) "self",(char *) "name", NULL
17749 };
17750
17751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17753 if (!SWIG_IsOK(res1)) {
17754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17755 }
17756 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17757 {
17758 arg2 = wxString_in_helper(obj1);
17759 if (arg2 == NULL) SWIG_fail;
17760 temp2 = true;
17761 }
17762 {
17763 PyThreadState* __tstate = wxPyBeginAllowThreads();
17764 (arg1)->SetFilename((wxString const &)*arg2);
17765 wxPyEndAllowThreads(__tstate);
17766 if (PyErr_Occurred()) SWIG_fail;
17767 }
17768 resultobj = SWIG_Py_Void();
17769 {
17770 if (temp2)
17771 delete arg2;
17772 }
17773 return resultobj;
17774 fail:
17775 {
17776 if (temp2)
17777 delete arg2;
17778 }
17779 return NULL;
17780 }
17781
17782
17783 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17784 PyObject *resultobj = 0;
17785 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17786 wxString *arg2 = 0 ;
17787 void *argp1 = 0 ;
17788 int res1 = 0 ;
17789 bool temp2 = false ;
17790 PyObject * obj0 = 0 ;
17791 PyObject * obj1 = 0 ;
17792 char * kwnames[] = {
17793 (char *) "self",(char *) "wildCard", NULL
17794 };
17795
17796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17798 if (!SWIG_IsOK(res1)) {
17799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17800 }
17801 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17802 {
17803 arg2 = wxString_in_helper(obj1);
17804 if (arg2 == NULL) SWIG_fail;
17805 temp2 = true;
17806 }
17807 {
17808 PyThreadState* __tstate = wxPyBeginAllowThreads();
17809 (arg1)->SetWildcard((wxString const &)*arg2);
17810 wxPyEndAllowThreads(__tstate);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 }
17813 resultobj = SWIG_Py_Void();
17814 {
17815 if (temp2)
17816 delete arg2;
17817 }
17818 return resultobj;
17819 fail:
17820 {
17821 if (temp2)
17822 delete arg2;
17823 }
17824 return NULL;
17825 }
17826
17827
17828 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17829 PyObject *resultobj = 0;
17830 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17831 int arg2 ;
17832 void *argp1 = 0 ;
17833 int res1 = 0 ;
17834 int val2 ;
17835 int ecode2 = 0 ;
17836 PyObject * obj0 = 0 ;
17837 PyObject * obj1 = 0 ;
17838 char * kwnames[] = {
17839 (char *) "self",(char *) "filterIndex", NULL
17840 };
17841
17842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17844 if (!SWIG_IsOK(res1)) {
17845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17846 }
17847 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17848 ecode2 = SWIG_AsVal_int(obj1, &val2);
17849 if (!SWIG_IsOK(ecode2)) {
17850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17851 }
17852 arg2 = static_cast< int >(val2);
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 (arg1)->SetFilterIndex(arg2);
17856 wxPyEndAllowThreads(__tstate);
17857 if (PyErr_Occurred()) SWIG_fail;
17858 }
17859 resultobj = SWIG_Py_Void();
17860 return resultobj;
17861 fail:
17862 return NULL;
17863 }
17864
17865
17866 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17867 PyObject *resultobj = 0;
17868 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17869 wxString result;
17870 void *argp1 = 0 ;
17871 int res1 = 0 ;
17872 PyObject *swig_obj[1] ;
17873
17874 if (!args) SWIG_fail;
17875 swig_obj[0] = args;
17876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17877 if (!SWIG_IsOK(res1)) {
17878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17879 }
17880 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17881 {
17882 PyThreadState* __tstate = wxPyBeginAllowThreads();
17883 result = ((wxFileDialog const *)arg1)->GetMessage();
17884 wxPyEndAllowThreads(__tstate);
17885 if (PyErr_Occurred()) SWIG_fail;
17886 }
17887 {
17888 #if wxUSE_UNICODE
17889 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17890 #else
17891 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17892 #endif
17893 }
17894 return resultobj;
17895 fail:
17896 return NULL;
17897 }
17898
17899
17900 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17901 PyObject *resultobj = 0;
17902 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17903 wxString result;
17904 void *argp1 = 0 ;
17905 int res1 = 0 ;
17906 PyObject *swig_obj[1] ;
17907
17908 if (!args) SWIG_fail;
17909 swig_obj[0] = args;
17910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17911 if (!SWIG_IsOK(res1)) {
17912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17913 }
17914 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17915 {
17916 PyThreadState* __tstate = wxPyBeginAllowThreads();
17917 result = ((wxFileDialog const *)arg1)->GetPath();
17918 wxPyEndAllowThreads(__tstate);
17919 if (PyErr_Occurred()) SWIG_fail;
17920 }
17921 {
17922 #if wxUSE_UNICODE
17923 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17924 #else
17925 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17926 #endif
17927 }
17928 return resultobj;
17929 fail:
17930 return NULL;
17931 }
17932
17933
17934 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17935 PyObject *resultobj = 0;
17936 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17937 wxString result;
17938 void *argp1 = 0 ;
17939 int res1 = 0 ;
17940 PyObject *swig_obj[1] ;
17941
17942 if (!args) SWIG_fail;
17943 swig_obj[0] = args;
17944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17945 if (!SWIG_IsOK(res1)) {
17946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17947 }
17948 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17949 {
17950 PyThreadState* __tstate = wxPyBeginAllowThreads();
17951 result = ((wxFileDialog const *)arg1)->GetDirectory();
17952 wxPyEndAllowThreads(__tstate);
17953 if (PyErr_Occurred()) SWIG_fail;
17954 }
17955 {
17956 #if wxUSE_UNICODE
17957 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17958 #else
17959 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17960 #endif
17961 }
17962 return resultobj;
17963 fail:
17964 return NULL;
17965 }
17966
17967
17968 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17969 PyObject *resultobj = 0;
17970 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17971 wxString result;
17972 void *argp1 = 0 ;
17973 int res1 = 0 ;
17974 PyObject *swig_obj[1] ;
17975
17976 if (!args) SWIG_fail;
17977 swig_obj[0] = args;
17978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17979 if (!SWIG_IsOK(res1)) {
17980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17981 }
17982 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17983 {
17984 PyThreadState* __tstate = wxPyBeginAllowThreads();
17985 result = ((wxFileDialog const *)arg1)->GetFilename();
17986 wxPyEndAllowThreads(__tstate);
17987 if (PyErr_Occurred()) SWIG_fail;
17988 }
17989 {
17990 #if wxUSE_UNICODE
17991 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17992 #else
17993 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17994 #endif
17995 }
17996 return resultobj;
17997 fail:
17998 return NULL;
17999 }
18000
18001
18002 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18003 PyObject *resultobj = 0;
18004 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18005 wxString result;
18006 void *argp1 = 0 ;
18007 int res1 = 0 ;
18008 PyObject *swig_obj[1] ;
18009
18010 if (!args) SWIG_fail;
18011 swig_obj[0] = args;
18012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18013 if (!SWIG_IsOK(res1)) {
18014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18015 }
18016 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18017 {
18018 PyThreadState* __tstate = wxPyBeginAllowThreads();
18019 result = ((wxFileDialog const *)arg1)->GetWildcard();
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 {
18024 #if wxUSE_UNICODE
18025 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18026 #else
18027 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18028 #endif
18029 }
18030 return resultobj;
18031 fail:
18032 return NULL;
18033 }
18034
18035
18036 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18037 PyObject *resultobj = 0;
18038 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18039 int result;
18040 void *argp1 = 0 ;
18041 int res1 = 0 ;
18042 PyObject *swig_obj[1] ;
18043
18044 if (!args) SWIG_fail;
18045 swig_obj[0] = args;
18046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18047 if (!SWIG_IsOK(res1)) {
18048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18049 }
18050 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18051 {
18052 PyThreadState* __tstate = wxPyBeginAllowThreads();
18053 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
18054 wxPyEndAllowThreads(__tstate);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 }
18057 resultobj = SWIG_From_int(static_cast< int >(result));
18058 return resultobj;
18059 fail:
18060 return NULL;
18061 }
18062
18063
18064 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18065 PyObject *resultobj = 0;
18066 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18067 PyObject *result = 0 ;
18068 void *argp1 = 0 ;
18069 int res1 = 0 ;
18070 PyObject *swig_obj[1] ;
18071
18072 if (!args) SWIG_fail;
18073 swig_obj[0] = args;
18074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18075 if (!SWIG_IsOK(res1)) {
18076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18077 }
18078 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18079 {
18080 PyThreadState* __tstate = wxPyBeginAllowThreads();
18081 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
18082 wxPyEndAllowThreads(__tstate);
18083 if (PyErr_Occurred()) SWIG_fail;
18084 }
18085 resultobj = result;
18086 return resultobj;
18087 fail:
18088 return NULL;
18089 }
18090
18091
18092 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18093 PyObject *resultobj = 0;
18094 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18095 PyObject *result = 0 ;
18096 void *argp1 = 0 ;
18097 int res1 = 0 ;
18098 PyObject *swig_obj[1] ;
18099
18100 if (!args) SWIG_fail;
18101 swig_obj[0] = args;
18102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18103 if (!SWIG_IsOK(res1)) {
18104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18105 }
18106 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18107 {
18108 PyThreadState* __tstate = wxPyBeginAllowThreads();
18109 result = (PyObject *)wxFileDialog_GetPaths(arg1);
18110 wxPyEndAllowThreads(__tstate);
18111 if (PyErr_Occurred()) SWIG_fail;
18112 }
18113 resultobj = result;
18114 return resultobj;
18115 fail:
18116 return NULL;
18117 }
18118
18119
18120 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18121 PyObject *obj;
18122 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18123 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
18124 return SWIG_Py_Void();
18125 }
18126
18127 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18128 return SWIG_Python_InitShadowInstance(args);
18129 }
18130
18131 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18132 PyObject *resultobj = 0;
18133 wxWindow *arg1 = (wxWindow *) 0 ;
18134 wxString *arg2 = 0 ;
18135 wxString *arg3 = 0 ;
18136 int arg4 = (int) 0 ;
18137 wxString *arg5 = (wxString *) NULL ;
18138 long arg6 = (long) wxCHOICEDLG_STYLE ;
18139 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18140 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18141 wxMultiChoiceDialog *result = 0 ;
18142 void *argp1 = 0 ;
18143 int res1 = 0 ;
18144 bool temp2 = false ;
18145 bool temp3 = false ;
18146 long val6 ;
18147 int ecode6 = 0 ;
18148 wxPoint temp7 ;
18149 PyObject * obj0 = 0 ;
18150 PyObject * obj1 = 0 ;
18151 PyObject * obj2 = 0 ;
18152 PyObject * obj3 = 0 ;
18153 PyObject * obj4 = 0 ;
18154 PyObject * obj5 = 0 ;
18155 char * kwnames[] = {
18156 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18157 };
18158
18159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18161 if (!SWIG_IsOK(res1)) {
18162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18163 }
18164 arg1 = reinterpret_cast< wxWindow * >(argp1);
18165 {
18166 arg2 = wxString_in_helper(obj1);
18167 if (arg2 == NULL) SWIG_fail;
18168 temp2 = true;
18169 }
18170 {
18171 arg3 = wxString_in_helper(obj2);
18172 if (arg3 == NULL) SWIG_fail;
18173 temp3 = true;
18174 }
18175 if (obj3) {
18176 {
18177 arg4 = PyList_Size(obj3);
18178 arg5 = wxString_LIST_helper(obj3);
18179 if (arg5 == NULL) SWIG_fail;
18180 }
18181 }
18182 if (obj4) {
18183 ecode6 = SWIG_AsVal_long(obj4, &val6);
18184 if (!SWIG_IsOK(ecode6)) {
18185 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18186 }
18187 arg6 = static_cast< long >(val6);
18188 }
18189 if (obj5) {
18190 {
18191 arg7 = &temp7;
18192 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18193 }
18194 }
18195 {
18196 if (!wxPyCheckForApp()) SWIG_fail;
18197 PyThreadState* __tstate = wxPyBeginAllowThreads();
18198 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18199 wxPyEndAllowThreads(__tstate);
18200 if (PyErr_Occurred()) SWIG_fail;
18201 }
18202 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
18203 {
18204 if (temp2)
18205 delete arg2;
18206 }
18207 {
18208 if (temp3)
18209 delete arg3;
18210 }
18211 {
18212 if (arg5) delete [] arg5;
18213 }
18214 return resultobj;
18215 fail:
18216 {
18217 if (temp2)
18218 delete arg2;
18219 }
18220 {
18221 if (temp3)
18222 delete arg3;
18223 }
18224 {
18225 if (arg5) delete [] arg5;
18226 }
18227 return NULL;
18228 }
18229
18230
18231 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18232 PyObject *resultobj = 0;
18233 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18234 wxArrayInt *arg2 = 0 ;
18235 void *argp1 = 0 ;
18236 int res1 = 0 ;
18237 bool temp2 = false ;
18238 PyObject * obj0 = 0 ;
18239 PyObject * obj1 = 0 ;
18240 char * kwnames[] = {
18241 (char *) "self",(char *) "selections", NULL
18242 };
18243
18244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
18245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18246 if (!SWIG_IsOK(res1)) {
18247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18248 }
18249 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18250 {
18251 if (! PySequence_Check(obj1)) {
18252 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18253 SWIG_fail;
18254 }
18255 arg2 = new wxArrayInt;
18256 temp2 = true;
18257 int i, len=PySequence_Length(obj1);
18258 for (i=0; i<len; i++) {
18259 PyObject* item = PySequence_GetItem(obj1, i);
18260 PyObject* number = PyNumber_Int(item);
18261 if (!number) {
18262 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18263 SWIG_fail;
18264 }
18265 arg2->Add(PyInt_AS_LONG(number));
18266 Py_DECREF(item);
18267 Py_DECREF(number);
18268 }
18269 }
18270 {
18271 PyThreadState* __tstate = wxPyBeginAllowThreads();
18272 (arg1)->SetSelections((wxArrayInt const &)*arg2);
18273 wxPyEndAllowThreads(__tstate);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 }
18276 resultobj = SWIG_Py_Void();
18277 {
18278 if (temp2) delete arg2;
18279 }
18280 return resultobj;
18281 fail:
18282 {
18283 if (temp2) delete arg2;
18284 }
18285 return NULL;
18286 }
18287
18288
18289 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18290 PyObject *resultobj = 0;
18291 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18292 PyObject *result = 0 ;
18293 void *argp1 = 0 ;
18294 int res1 = 0 ;
18295 PyObject *swig_obj[1] ;
18296
18297 if (!args) SWIG_fail;
18298 swig_obj[0] = args;
18299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18300 if (!SWIG_IsOK(res1)) {
18301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18302 }
18303 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18304 {
18305 PyThreadState* __tstate = wxPyBeginAllowThreads();
18306 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18307 wxPyEndAllowThreads(__tstate);
18308 if (PyErr_Occurred()) SWIG_fail;
18309 }
18310 resultobj = result;
18311 return resultobj;
18312 fail:
18313 return NULL;
18314 }
18315
18316
18317 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18318 PyObject *obj;
18319 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18320 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18321 return SWIG_Py_Void();
18322 }
18323
18324 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18325 return SWIG_Python_InitShadowInstance(args);
18326 }
18327
18328 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18329 PyObject *resultobj = 0;
18330 wxWindow *arg1 = (wxWindow *) 0 ;
18331 wxString *arg2 = 0 ;
18332 wxString *arg3 = 0 ;
18333 int arg4 ;
18334 wxString *arg5 = (wxString *) 0 ;
18335 long arg6 = (long) wxCHOICEDLG_STYLE ;
18336 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18337 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18338 wxSingleChoiceDialog *result = 0 ;
18339 void *argp1 = 0 ;
18340 int res1 = 0 ;
18341 bool temp2 = false ;
18342 bool temp3 = false ;
18343 long val6 ;
18344 int ecode6 = 0 ;
18345 wxPoint temp7 ;
18346 PyObject * obj0 = 0 ;
18347 PyObject * obj1 = 0 ;
18348 PyObject * obj2 = 0 ;
18349 PyObject * obj3 = 0 ;
18350 PyObject * obj4 = 0 ;
18351 PyObject * obj5 = 0 ;
18352 char * kwnames[] = {
18353 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18354 };
18355
18356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18358 if (!SWIG_IsOK(res1)) {
18359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18360 }
18361 arg1 = reinterpret_cast< wxWindow * >(argp1);
18362 {
18363 arg2 = wxString_in_helper(obj1);
18364 if (arg2 == NULL) SWIG_fail;
18365 temp2 = true;
18366 }
18367 {
18368 arg3 = wxString_in_helper(obj2);
18369 if (arg3 == NULL) SWIG_fail;
18370 temp3 = true;
18371 }
18372 {
18373 arg4 = PyList_Size(obj3);
18374 arg5 = wxString_LIST_helper(obj3);
18375 if (arg5 == NULL) SWIG_fail;
18376 }
18377 if (obj4) {
18378 ecode6 = SWIG_AsVal_long(obj4, &val6);
18379 if (!SWIG_IsOK(ecode6)) {
18380 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18381 }
18382 arg6 = static_cast< long >(val6);
18383 }
18384 if (obj5) {
18385 {
18386 arg7 = &temp7;
18387 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18388 }
18389 }
18390 {
18391 if (!wxPyCheckForApp()) SWIG_fail;
18392 PyThreadState* __tstate = wxPyBeginAllowThreads();
18393 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18394 wxPyEndAllowThreads(__tstate);
18395 if (PyErr_Occurred()) SWIG_fail;
18396 }
18397 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18398 {
18399 if (temp2)
18400 delete arg2;
18401 }
18402 {
18403 if (temp3)
18404 delete arg3;
18405 }
18406 {
18407 if (arg5) delete [] arg5;
18408 }
18409 return resultobj;
18410 fail:
18411 {
18412 if (temp2)
18413 delete arg2;
18414 }
18415 {
18416 if (temp3)
18417 delete arg3;
18418 }
18419 {
18420 if (arg5) delete [] arg5;
18421 }
18422 return NULL;
18423 }
18424
18425
18426 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18427 PyObject *resultobj = 0;
18428 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18429 int result;
18430 void *argp1 = 0 ;
18431 int res1 = 0 ;
18432 PyObject *swig_obj[1] ;
18433
18434 if (!args) SWIG_fail;
18435 swig_obj[0] = args;
18436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18437 if (!SWIG_IsOK(res1)) {
18438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18439 }
18440 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18441 {
18442 PyThreadState* __tstate = wxPyBeginAllowThreads();
18443 result = (int)(arg1)->GetSelection();
18444 wxPyEndAllowThreads(__tstate);
18445 if (PyErr_Occurred()) SWIG_fail;
18446 }
18447 resultobj = SWIG_From_int(static_cast< int >(result));
18448 return resultobj;
18449 fail:
18450 return NULL;
18451 }
18452
18453
18454 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18455 PyObject *resultobj = 0;
18456 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18457 wxString result;
18458 void *argp1 = 0 ;
18459 int res1 = 0 ;
18460 PyObject *swig_obj[1] ;
18461
18462 if (!args) SWIG_fail;
18463 swig_obj[0] = args;
18464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18465 if (!SWIG_IsOK(res1)) {
18466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18467 }
18468 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18469 {
18470 PyThreadState* __tstate = wxPyBeginAllowThreads();
18471 result = (arg1)->GetStringSelection();
18472 wxPyEndAllowThreads(__tstate);
18473 if (PyErr_Occurred()) SWIG_fail;
18474 }
18475 {
18476 #if wxUSE_UNICODE
18477 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18478 #else
18479 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18480 #endif
18481 }
18482 return resultobj;
18483 fail:
18484 return NULL;
18485 }
18486
18487
18488 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18489 PyObject *resultobj = 0;
18490 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18491 int arg2 ;
18492 void *argp1 = 0 ;
18493 int res1 = 0 ;
18494 int val2 ;
18495 int ecode2 = 0 ;
18496 PyObject * obj0 = 0 ;
18497 PyObject * obj1 = 0 ;
18498 char * kwnames[] = {
18499 (char *) "self",(char *) "sel", NULL
18500 };
18501
18502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18504 if (!SWIG_IsOK(res1)) {
18505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18506 }
18507 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18508 ecode2 = SWIG_AsVal_int(obj1, &val2);
18509 if (!SWIG_IsOK(ecode2)) {
18510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18511 }
18512 arg2 = static_cast< int >(val2);
18513 {
18514 PyThreadState* __tstate = wxPyBeginAllowThreads();
18515 (arg1)->SetSelection(arg2);
18516 wxPyEndAllowThreads(__tstate);
18517 if (PyErr_Occurred()) SWIG_fail;
18518 }
18519 resultobj = SWIG_Py_Void();
18520 return resultobj;
18521 fail:
18522 return NULL;
18523 }
18524
18525
18526 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18527 PyObject *obj;
18528 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18529 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18530 return SWIG_Py_Void();
18531 }
18532
18533 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18534 return SWIG_Python_InitShadowInstance(args);
18535 }
18536
18537 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18538 PyObject *resultobj = 0;
18539 wxWindow *arg1 = (wxWindow *) 0 ;
18540 wxString *arg2 = 0 ;
18541 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18542 wxString *arg3 = (wxString *) &arg3_defvalue ;
18543 wxString const &arg4_defvalue = wxPyEmptyString ;
18544 wxString *arg4 = (wxString *) &arg4_defvalue ;
18545 long arg5 = (long) wxTextEntryDialogStyle ;
18546 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18547 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18548 wxTextEntryDialog *result = 0 ;
18549 void *argp1 = 0 ;
18550 int res1 = 0 ;
18551 bool temp2 = false ;
18552 bool temp3 = false ;
18553 bool temp4 = false ;
18554 long val5 ;
18555 int ecode5 = 0 ;
18556 wxPoint temp6 ;
18557 PyObject * obj0 = 0 ;
18558 PyObject * obj1 = 0 ;
18559 PyObject * obj2 = 0 ;
18560 PyObject * obj3 = 0 ;
18561 PyObject * obj4 = 0 ;
18562 PyObject * obj5 = 0 ;
18563 char * kwnames[] = {
18564 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18565 };
18566
18567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18569 if (!SWIG_IsOK(res1)) {
18570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18571 }
18572 arg1 = reinterpret_cast< wxWindow * >(argp1);
18573 {
18574 arg2 = wxString_in_helper(obj1);
18575 if (arg2 == NULL) SWIG_fail;
18576 temp2 = true;
18577 }
18578 if (obj2) {
18579 {
18580 arg3 = wxString_in_helper(obj2);
18581 if (arg3 == NULL) SWIG_fail;
18582 temp3 = true;
18583 }
18584 }
18585 if (obj3) {
18586 {
18587 arg4 = wxString_in_helper(obj3);
18588 if (arg4 == NULL) SWIG_fail;
18589 temp4 = true;
18590 }
18591 }
18592 if (obj4) {
18593 ecode5 = SWIG_AsVal_long(obj4, &val5);
18594 if (!SWIG_IsOK(ecode5)) {
18595 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18596 }
18597 arg5 = static_cast< long >(val5);
18598 }
18599 if (obj5) {
18600 {
18601 arg6 = &temp6;
18602 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18603 }
18604 }
18605 {
18606 if (!wxPyCheckForApp()) SWIG_fail;
18607 PyThreadState* __tstate = wxPyBeginAllowThreads();
18608 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18609 wxPyEndAllowThreads(__tstate);
18610 if (PyErr_Occurred()) SWIG_fail;
18611 }
18612 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18613 {
18614 if (temp2)
18615 delete arg2;
18616 }
18617 {
18618 if (temp3)
18619 delete arg3;
18620 }
18621 {
18622 if (temp4)
18623 delete arg4;
18624 }
18625 return resultobj;
18626 fail:
18627 {
18628 if (temp2)
18629 delete arg2;
18630 }
18631 {
18632 if (temp3)
18633 delete arg3;
18634 }
18635 {
18636 if (temp4)
18637 delete arg4;
18638 }
18639 return NULL;
18640 }
18641
18642
18643 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18644 PyObject *resultobj = 0;
18645 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18646 wxString result;
18647 void *argp1 = 0 ;
18648 int res1 = 0 ;
18649 PyObject *swig_obj[1] ;
18650
18651 if (!args) SWIG_fail;
18652 swig_obj[0] = args;
18653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18654 if (!SWIG_IsOK(res1)) {
18655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18656 }
18657 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18658 {
18659 PyThreadState* __tstate = wxPyBeginAllowThreads();
18660 result = (arg1)->GetValue();
18661 wxPyEndAllowThreads(__tstate);
18662 if (PyErr_Occurred()) SWIG_fail;
18663 }
18664 {
18665 #if wxUSE_UNICODE
18666 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18667 #else
18668 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18669 #endif
18670 }
18671 return resultobj;
18672 fail:
18673 return NULL;
18674 }
18675
18676
18677 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18678 PyObject *resultobj = 0;
18679 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18680 wxString *arg2 = 0 ;
18681 void *argp1 = 0 ;
18682 int res1 = 0 ;
18683 bool temp2 = false ;
18684 PyObject * obj0 = 0 ;
18685 PyObject * obj1 = 0 ;
18686 char * kwnames[] = {
18687 (char *) "self",(char *) "value", NULL
18688 };
18689
18690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18692 if (!SWIG_IsOK(res1)) {
18693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18694 }
18695 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18696 {
18697 arg2 = wxString_in_helper(obj1);
18698 if (arg2 == NULL) SWIG_fail;
18699 temp2 = true;
18700 }
18701 {
18702 PyThreadState* __tstate = wxPyBeginAllowThreads();
18703 (arg1)->SetValue((wxString const &)*arg2);
18704 wxPyEndAllowThreads(__tstate);
18705 if (PyErr_Occurred()) SWIG_fail;
18706 }
18707 resultobj = SWIG_Py_Void();
18708 {
18709 if (temp2)
18710 delete arg2;
18711 }
18712 return resultobj;
18713 fail:
18714 {
18715 if (temp2)
18716 delete arg2;
18717 }
18718 return NULL;
18719 }
18720
18721
18722 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18723 PyObject *obj;
18724 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18725 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18726 return SWIG_Py_Void();
18727 }
18728
18729 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18730 return SWIG_Python_InitShadowInstance(args);
18731 }
18732
18733 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18734 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18735 return 1;
18736 }
18737
18738
18739 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18740 PyObject *pyobj = 0;
18741
18742 {
18743 #if wxUSE_UNICODE
18744 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18745 #else
18746 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18747 #endif
18748 }
18749 return pyobj;
18750 }
18751
18752
18753 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18754 PyObject *resultobj = 0;
18755 wxWindow *arg1 = (wxWindow *) 0 ;
18756 wxString *arg2 = 0 ;
18757 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18758 wxString *arg3 = (wxString *) &arg3_defvalue ;
18759 wxString const &arg4_defvalue = wxPyEmptyString ;
18760 wxString *arg4 = (wxString *) &arg4_defvalue ;
18761 long arg5 = (long) wxTextEntryDialogStyle ;
18762 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18763 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18764 wxPasswordEntryDialog *result = 0 ;
18765 void *argp1 = 0 ;
18766 int res1 = 0 ;
18767 bool temp2 = false ;
18768 bool temp3 = false ;
18769 bool temp4 = false ;
18770 long val5 ;
18771 int ecode5 = 0 ;
18772 wxPoint temp6 ;
18773 PyObject * obj0 = 0 ;
18774 PyObject * obj1 = 0 ;
18775 PyObject * obj2 = 0 ;
18776 PyObject * obj3 = 0 ;
18777 PyObject * obj4 = 0 ;
18778 PyObject * obj5 = 0 ;
18779 char * kwnames[] = {
18780 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18781 };
18782
18783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18785 if (!SWIG_IsOK(res1)) {
18786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18787 }
18788 arg1 = reinterpret_cast< wxWindow * >(argp1);
18789 {
18790 arg2 = wxString_in_helper(obj1);
18791 if (arg2 == NULL) SWIG_fail;
18792 temp2 = true;
18793 }
18794 if (obj2) {
18795 {
18796 arg3 = wxString_in_helper(obj2);
18797 if (arg3 == NULL) SWIG_fail;
18798 temp3 = true;
18799 }
18800 }
18801 if (obj3) {
18802 {
18803 arg4 = wxString_in_helper(obj3);
18804 if (arg4 == NULL) SWIG_fail;
18805 temp4 = true;
18806 }
18807 }
18808 if (obj4) {
18809 ecode5 = SWIG_AsVal_long(obj4, &val5);
18810 if (!SWIG_IsOK(ecode5)) {
18811 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18812 }
18813 arg5 = static_cast< long >(val5);
18814 }
18815 if (obj5) {
18816 {
18817 arg6 = &temp6;
18818 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18819 }
18820 }
18821 {
18822 PyThreadState* __tstate = wxPyBeginAllowThreads();
18823 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18824 wxPyEndAllowThreads(__tstate);
18825 if (PyErr_Occurred()) SWIG_fail;
18826 }
18827 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18828 {
18829 if (temp2)
18830 delete arg2;
18831 }
18832 {
18833 if (temp3)
18834 delete arg3;
18835 }
18836 {
18837 if (temp4)
18838 delete arg4;
18839 }
18840 return resultobj;
18841 fail:
18842 {
18843 if (temp2)
18844 delete arg2;
18845 }
18846 {
18847 if (temp3)
18848 delete arg3;
18849 }
18850 {
18851 if (temp4)
18852 delete arg4;
18853 }
18854 return NULL;
18855 }
18856
18857
18858 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18859 PyObject *obj;
18860 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18861 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18862 return SWIG_Py_Void();
18863 }
18864
18865 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18866 return SWIG_Python_InitShadowInstance(args);
18867 }
18868
18869 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18870 PyObject *resultobj = 0;
18871 wxWindow *arg1 = (wxWindow *) 0 ;
18872 wxString *arg2 = 0 ;
18873 wxString *arg3 = 0 ;
18874 wxString *arg4 = 0 ;
18875 long arg5 ;
18876 long arg6 ;
18877 long arg7 ;
18878 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18879 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18880 wxNumberEntryDialog *result = 0 ;
18881 void *argp1 = 0 ;
18882 int res1 = 0 ;
18883 bool temp2 = false ;
18884 bool temp3 = false ;
18885 bool temp4 = false ;
18886 long val5 ;
18887 int ecode5 = 0 ;
18888 long val6 ;
18889 int ecode6 = 0 ;
18890 long val7 ;
18891 int ecode7 = 0 ;
18892 wxPoint temp8 ;
18893 PyObject * obj0 = 0 ;
18894 PyObject * obj1 = 0 ;
18895 PyObject * obj2 = 0 ;
18896 PyObject * obj3 = 0 ;
18897 PyObject * obj4 = 0 ;
18898 PyObject * obj5 = 0 ;
18899 PyObject * obj6 = 0 ;
18900 PyObject * obj7 = 0 ;
18901 char * kwnames[] = {
18902 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18903 };
18904
18905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
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 '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18909 }
18910 arg1 = reinterpret_cast< wxWindow * >(argp1);
18911 {
18912 arg2 = wxString_in_helper(obj1);
18913 if (arg2 == NULL) SWIG_fail;
18914 temp2 = true;
18915 }
18916 {
18917 arg3 = wxString_in_helper(obj2);
18918 if (arg3 == NULL) SWIG_fail;
18919 temp3 = true;
18920 }
18921 {
18922 arg4 = wxString_in_helper(obj3);
18923 if (arg4 == NULL) SWIG_fail;
18924 temp4 = true;
18925 }
18926 ecode5 = SWIG_AsVal_long(obj4, &val5);
18927 if (!SWIG_IsOK(ecode5)) {
18928 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18929 }
18930 arg5 = static_cast< long >(val5);
18931 ecode6 = SWIG_AsVal_long(obj5, &val6);
18932 if (!SWIG_IsOK(ecode6)) {
18933 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18934 }
18935 arg6 = static_cast< long >(val6);
18936 ecode7 = SWIG_AsVal_long(obj6, &val7);
18937 if (!SWIG_IsOK(ecode7)) {
18938 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18939 }
18940 arg7 = static_cast< long >(val7);
18941 if (obj7) {
18942 {
18943 arg8 = &temp8;
18944 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18945 }
18946 }
18947 {
18948 if (!wxPyCheckForApp()) SWIG_fail;
18949 PyThreadState* __tstate = wxPyBeginAllowThreads();
18950 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18951 wxPyEndAllowThreads(__tstate);
18952 if (PyErr_Occurred()) SWIG_fail;
18953 }
18954 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18955 {
18956 if (temp2)
18957 delete arg2;
18958 }
18959 {
18960 if (temp3)
18961 delete arg3;
18962 }
18963 {
18964 if (temp4)
18965 delete arg4;
18966 }
18967 return resultobj;
18968 fail:
18969 {
18970 if (temp2)
18971 delete arg2;
18972 }
18973 {
18974 if (temp3)
18975 delete arg3;
18976 }
18977 {
18978 if (temp4)
18979 delete arg4;
18980 }
18981 return NULL;
18982 }
18983
18984
18985 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18986 PyObject *resultobj = 0;
18987 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18988 long result;
18989 void *argp1 = 0 ;
18990 int res1 = 0 ;
18991 PyObject *swig_obj[1] ;
18992
18993 if (!args) SWIG_fail;
18994 swig_obj[0] = args;
18995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18996 if (!SWIG_IsOK(res1)) {
18997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18998 }
18999 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
19000 {
19001 PyThreadState* __tstate = wxPyBeginAllowThreads();
19002 result = (long)(arg1)->GetValue();
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 resultobj = SWIG_From_long(static_cast< long >(result));
19007 return resultobj;
19008 fail:
19009 return NULL;
19010 }
19011
19012
19013 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19014 PyObject *obj;
19015 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19016 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
19017 return SWIG_Py_Void();
19018 }
19019
19020 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19021 return SWIG_Python_InitShadowInstance(args);
19022 }
19023
19024 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19025 PyObject *resultobj = 0;
19026 wxFontData *result = 0 ;
19027
19028 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 result = (wxFontData *)new wxFontData();
19032 wxPyEndAllowThreads(__tstate);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
19036 return resultobj;
19037 fail:
19038 return NULL;
19039 }
19040
19041
19042 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19043 PyObject *resultobj = 0;
19044 wxFontData *arg1 = (wxFontData *) 0 ;
19045 void *argp1 = 0 ;
19046 int res1 = 0 ;
19047 PyObject *swig_obj[1] ;
19048
19049 if (!args) SWIG_fail;
19050 swig_obj[0] = args;
19051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
19052 if (!SWIG_IsOK(res1)) {
19053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
19054 }
19055 arg1 = reinterpret_cast< wxFontData * >(argp1);
19056 {
19057 PyThreadState* __tstate = wxPyBeginAllowThreads();
19058 delete arg1;
19059
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 resultobj = SWIG_Py_Void();
19064 return resultobj;
19065 fail:
19066 return NULL;
19067 }
19068
19069
19070 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19071 PyObject *resultobj = 0;
19072 wxFontData *arg1 = (wxFontData *) 0 ;
19073 bool arg2 ;
19074 void *argp1 = 0 ;
19075 int res1 = 0 ;
19076 bool val2 ;
19077 int ecode2 = 0 ;
19078 PyObject * obj0 = 0 ;
19079 PyObject * obj1 = 0 ;
19080 char * kwnames[] = {
19081 (char *) "self",(char *) "enable", NULL
19082 };
19083
19084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
19085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19086 if (!SWIG_IsOK(res1)) {
19087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19088 }
19089 arg1 = reinterpret_cast< wxFontData * >(argp1);
19090 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19091 if (!SWIG_IsOK(ecode2)) {
19092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
19093 }
19094 arg2 = static_cast< bool >(val2);
19095 {
19096 PyThreadState* __tstate = wxPyBeginAllowThreads();
19097 (arg1)->EnableEffects(arg2);
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 resultobj = SWIG_Py_Void();
19102 return resultobj;
19103 fail:
19104 return NULL;
19105 }
19106
19107
19108 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19109 PyObject *resultobj = 0;
19110 wxFontData *arg1 = (wxFontData *) 0 ;
19111 bool result;
19112 void *argp1 = 0 ;
19113 int res1 = 0 ;
19114 PyObject *swig_obj[1] ;
19115
19116 if (!args) SWIG_fail;
19117 swig_obj[0] = args;
19118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19119 if (!SWIG_IsOK(res1)) {
19120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19121 }
19122 arg1 = reinterpret_cast< wxFontData * >(argp1);
19123 {
19124 PyThreadState* __tstate = wxPyBeginAllowThreads();
19125 result = (bool)(arg1)->GetAllowSymbols();
19126 wxPyEndAllowThreads(__tstate);
19127 if (PyErr_Occurred()) SWIG_fail;
19128 }
19129 {
19130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19131 }
19132 return resultobj;
19133 fail:
19134 return NULL;
19135 }
19136
19137
19138 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19139 PyObject *resultobj = 0;
19140 wxFontData *arg1 = (wxFontData *) 0 ;
19141 wxColour result;
19142 void *argp1 = 0 ;
19143 int res1 = 0 ;
19144 PyObject *swig_obj[1] ;
19145
19146 if (!args) SWIG_fail;
19147 swig_obj[0] = args;
19148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19149 if (!SWIG_IsOK(res1)) {
19150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19151 }
19152 arg1 = reinterpret_cast< wxFontData * >(argp1);
19153 {
19154 PyThreadState* __tstate = wxPyBeginAllowThreads();
19155 result = (arg1)->GetColour();
19156 wxPyEndAllowThreads(__tstate);
19157 if (PyErr_Occurred()) SWIG_fail;
19158 }
19159 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19160 return resultobj;
19161 fail:
19162 return NULL;
19163 }
19164
19165
19166 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19167 PyObject *resultobj = 0;
19168 wxFontData *arg1 = (wxFontData *) 0 ;
19169 wxFont result;
19170 void *argp1 = 0 ;
19171 int res1 = 0 ;
19172 PyObject *swig_obj[1] ;
19173
19174 if (!args) SWIG_fail;
19175 swig_obj[0] = args;
19176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19177 if (!SWIG_IsOK(res1)) {
19178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19179 }
19180 arg1 = reinterpret_cast< wxFontData * >(argp1);
19181 {
19182 PyThreadState* __tstate = wxPyBeginAllowThreads();
19183 result = (arg1)->GetChosenFont();
19184 wxPyEndAllowThreads(__tstate);
19185 if (PyErr_Occurred()) SWIG_fail;
19186 }
19187 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19188 return resultobj;
19189 fail:
19190 return NULL;
19191 }
19192
19193
19194 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19195 PyObject *resultobj = 0;
19196 wxFontData *arg1 = (wxFontData *) 0 ;
19197 bool result;
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_wxFontData, 0 | 0 );
19205 if (!SWIG_IsOK(res1)) {
19206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19207 }
19208 arg1 = reinterpret_cast< wxFontData * >(argp1);
19209 {
19210 PyThreadState* __tstate = wxPyBeginAllowThreads();
19211 result = (bool)(arg1)->GetEnableEffects();
19212 wxPyEndAllowThreads(__tstate);
19213 if (PyErr_Occurred()) SWIG_fail;
19214 }
19215 {
19216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19217 }
19218 return resultobj;
19219 fail:
19220 return NULL;
19221 }
19222
19223
19224 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19225 PyObject *resultobj = 0;
19226 wxFontData *arg1 = (wxFontData *) 0 ;
19227 wxFont result;
19228 void *argp1 = 0 ;
19229 int res1 = 0 ;
19230 PyObject *swig_obj[1] ;
19231
19232 if (!args) SWIG_fail;
19233 swig_obj[0] = args;
19234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19235 if (!SWIG_IsOK(res1)) {
19236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19237 }
19238 arg1 = reinterpret_cast< wxFontData * >(argp1);
19239 {
19240 PyThreadState* __tstate = wxPyBeginAllowThreads();
19241 result = (arg1)->GetInitialFont();
19242 wxPyEndAllowThreads(__tstate);
19243 if (PyErr_Occurred()) SWIG_fail;
19244 }
19245 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19246 return resultobj;
19247 fail:
19248 return NULL;
19249 }
19250
19251
19252 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19253 PyObject *resultobj = 0;
19254 wxFontData *arg1 = (wxFontData *) 0 ;
19255 bool result;
19256 void *argp1 = 0 ;
19257 int res1 = 0 ;
19258 PyObject *swig_obj[1] ;
19259
19260 if (!args) SWIG_fail;
19261 swig_obj[0] = args;
19262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19263 if (!SWIG_IsOK(res1)) {
19264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19265 }
19266 arg1 = reinterpret_cast< wxFontData * >(argp1);
19267 {
19268 PyThreadState* __tstate = wxPyBeginAllowThreads();
19269 result = (bool)(arg1)->GetShowHelp();
19270 wxPyEndAllowThreads(__tstate);
19271 if (PyErr_Occurred()) SWIG_fail;
19272 }
19273 {
19274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19275 }
19276 return resultobj;
19277 fail:
19278 return NULL;
19279 }
19280
19281
19282 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19283 PyObject *resultobj = 0;
19284 wxFontData *arg1 = (wxFontData *) 0 ;
19285 bool arg2 ;
19286 void *argp1 = 0 ;
19287 int res1 = 0 ;
19288 bool val2 ;
19289 int ecode2 = 0 ;
19290 PyObject * obj0 = 0 ;
19291 PyObject * obj1 = 0 ;
19292 char * kwnames[] = {
19293 (char *) "self",(char *) "allowSymbols", NULL
19294 };
19295
19296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19298 if (!SWIG_IsOK(res1)) {
19299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19300 }
19301 arg1 = reinterpret_cast< wxFontData * >(argp1);
19302 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19303 if (!SWIG_IsOK(ecode2)) {
19304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19305 }
19306 arg2 = static_cast< bool >(val2);
19307 {
19308 PyThreadState* __tstate = wxPyBeginAllowThreads();
19309 (arg1)->SetAllowSymbols(arg2);
19310 wxPyEndAllowThreads(__tstate);
19311 if (PyErr_Occurred()) SWIG_fail;
19312 }
19313 resultobj = SWIG_Py_Void();
19314 return resultobj;
19315 fail:
19316 return NULL;
19317 }
19318
19319
19320 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19321 PyObject *resultobj = 0;
19322 wxFontData *arg1 = (wxFontData *) 0 ;
19323 wxFont *arg2 = 0 ;
19324 void *argp1 = 0 ;
19325 int res1 = 0 ;
19326 void *argp2 = 0 ;
19327 int res2 = 0 ;
19328 PyObject * obj0 = 0 ;
19329 PyObject * obj1 = 0 ;
19330 char * kwnames[] = {
19331 (char *) "self",(char *) "font", NULL
19332 };
19333
19334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19336 if (!SWIG_IsOK(res1)) {
19337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19338 }
19339 arg1 = reinterpret_cast< wxFontData * >(argp1);
19340 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19341 if (!SWIG_IsOK(res2)) {
19342 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19343 }
19344 if (!argp2) {
19345 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19346 }
19347 arg2 = reinterpret_cast< wxFont * >(argp2);
19348 {
19349 PyThreadState* __tstate = wxPyBeginAllowThreads();
19350 (arg1)->SetChosenFont((wxFont const &)*arg2);
19351 wxPyEndAllowThreads(__tstate);
19352 if (PyErr_Occurred()) SWIG_fail;
19353 }
19354 resultobj = SWIG_Py_Void();
19355 return resultobj;
19356 fail:
19357 return NULL;
19358 }
19359
19360
19361 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19362 PyObject *resultobj = 0;
19363 wxFontData *arg1 = (wxFontData *) 0 ;
19364 wxColour *arg2 = 0 ;
19365 void *argp1 = 0 ;
19366 int res1 = 0 ;
19367 wxColour temp2 ;
19368 PyObject * obj0 = 0 ;
19369 PyObject * obj1 = 0 ;
19370 char * kwnames[] = {
19371 (char *) "self",(char *) "colour", NULL
19372 };
19373
19374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19376 if (!SWIG_IsOK(res1)) {
19377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19378 }
19379 arg1 = reinterpret_cast< wxFontData * >(argp1);
19380 {
19381 arg2 = &temp2;
19382 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19383 }
19384 {
19385 PyThreadState* __tstate = wxPyBeginAllowThreads();
19386 (arg1)->SetColour((wxColour const &)*arg2);
19387 wxPyEndAllowThreads(__tstate);
19388 if (PyErr_Occurred()) SWIG_fail;
19389 }
19390 resultobj = SWIG_Py_Void();
19391 return resultobj;
19392 fail:
19393 return NULL;
19394 }
19395
19396
19397 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19398 PyObject *resultobj = 0;
19399 wxFontData *arg1 = (wxFontData *) 0 ;
19400 wxFont *arg2 = 0 ;
19401 void *argp1 = 0 ;
19402 int res1 = 0 ;
19403 void *argp2 = 0 ;
19404 int res2 = 0 ;
19405 PyObject * obj0 = 0 ;
19406 PyObject * obj1 = 0 ;
19407 char * kwnames[] = {
19408 (char *) "self",(char *) "font", NULL
19409 };
19410
19411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19413 if (!SWIG_IsOK(res1)) {
19414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19415 }
19416 arg1 = reinterpret_cast< wxFontData * >(argp1);
19417 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19418 if (!SWIG_IsOK(res2)) {
19419 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19420 }
19421 if (!argp2) {
19422 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19423 }
19424 arg2 = reinterpret_cast< wxFont * >(argp2);
19425 {
19426 PyThreadState* __tstate = wxPyBeginAllowThreads();
19427 (arg1)->SetInitialFont((wxFont const &)*arg2);
19428 wxPyEndAllowThreads(__tstate);
19429 if (PyErr_Occurred()) SWIG_fail;
19430 }
19431 resultobj = SWIG_Py_Void();
19432 return resultobj;
19433 fail:
19434 return NULL;
19435 }
19436
19437
19438 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19439 PyObject *resultobj = 0;
19440 wxFontData *arg1 = (wxFontData *) 0 ;
19441 int arg2 ;
19442 int arg3 ;
19443 void *argp1 = 0 ;
19444 int res1 = 0 ;
19445 int val2 ;
19446 int ecode2 = 0 ;
19447 int val3 ;
19448 int ecode3 = 0 ;
19449 PyObject * obj0 = 0 ;
19450 PyObject * obj1 = 0 ;
19451 PyObject * obj2 = 0 ;
19452 char * kwnames[] = {
19453 (char *) "self",(char *) "min",(char *) "max", NULL
19454 };
19455
19456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19458 if (!SWIG_IsOK(res1)) {
19459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19460 }
19461 arg1 = reinterpret_cast< wxFontData * >(argp1);
19462 ecode2 = SWIG_AsVal_int(obj1, &val2);
19463 if (!SWIG_IsOK(ecode2)) {
19464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19465 }
19466 arg2 = static_cast< int >(val2);
19467 ecode3 = SWIG_AsVal_int(obj2, &val3);
19468 if (!SWIG_IsOK(ecode3)) {
19469 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19470 }
19471 arg3 = static_cast< int >(val3);
19472 {
19473 PyThreadState* __tstate = wxPyBeginAllowThreads();
19474 (arg1)->SetRange(arg2,arg3);
19475 wxPyEndAllowThreads(__tstate);
19476 if (PyErr_Occurred()) SWIG_fail;
19477 }
19478 resultobj = SWIG_Py_Void();
19479 return resultobj;
19480 fail:
19481 return NULL;
19482 }
19483
19484
19485 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19486 PyObject *resultobj = 0;
19487 wxFontData *arg1 = (wxFontData *) 0 ;
19488 bool arg2 ;
19489 void *argp1 = 0 ;
19490 int res1 = 0 ;
19491 bool val2 ;
19492 int ecode2 = 0 ;
19493 PyObject * obj0 = 0 ;
19494 PyObject * obj1 = 0 ;
19495 char * kwnames[] = {
19496 (char *) "self",(char *) "showHelp", NULL
19497 };
19498
19499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19501 if (!SWIG_IsOK(res1)) {
19502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19503 }
19504 arg1 = reinterpret_cast< wxFontData * >(argp1);
19505 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19506 if (!SWIG_IsOK(ecode2)) {
19507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19508 }
19509 arg2 = static_cast< bool >(val2);
19510 {
19511 PyThreadState* __tstate = wxPyBeginAllowThreads();
19512 (arg1)->SetShowHelp(arg2);
19513 wxPyEndAllowThreads(__tstate);
19514 if (PyErr_Occurred()) SWIG_fail;
19515 }
19516 resultobj = SWIG_Py_Void();
19517 return resultobj;
19518 fail:
19519 return NULL;
19520 }
19521
19522
19523 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19524 PyObject *obj;
19525 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19526 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19527 return SWIG_Py_Void();
19528 }
19529
19530 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19531 return SWIG_Python_InitShadowInstance(args);
19532 }
19533
19534 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19535 PyObject *resultobj = 0;
19536 wxWindow *arg1 = (wxWindow *) 0 ;
19537 wxFontData *arg2 = 0 ;
19538 wxFontDialog *result = 0 ;
19539 void *argp1 = 0 ;
19540 int res1 = 0 ;
19541 void *argp2 = 0 ;
19542 int res2 = 0 ;
19543 PyObject * obj0 = 0 ;
19544 PyObject * obj1 = 0 ;
19545 char * kwnames[] = {
19546 (char *) "parent",(char *) "data", NULL
19547 };
19548
19549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19551 if (!SWIG_IsOK(res1)) {
19552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19553 }
19554 arg1 = reinterpret_cast< wxWindow * >(argp1);
19555 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19556 if (!SWIG_IsOK(res2)) {
19557 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19558 }
19559 if (!argp2) {
19560 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19561 }
19562 arg2 = reinterpret_cast< wxFontData * >(argp2);
19563 {
19564 if (!wxPyCheckForApp()) SWIG_fail;
19565 PyThreadState* __tstate = wxPyBeginAllowThreads();
19566 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19567 wxPyEndAllowThreads(__tstate);
19568 if (PyErr_Occurred()) SWIG_fail;
19569 }
19570 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19571 return resultobj;
19572 fail:
19573 return NULL;
19574 }
19575
19576
19577 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19578 PyObject *resultobj = 0;
19579 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19580 wxFontData *result = 0 ;
19581 void *argp1 = 0 ;
19582 int res1 = 0 ;
19583 PyObject *swig_obj[1] ;
19584
19585 if (!args) SWIG_fail;
19586 swig_obj[0] = args;
19587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19588 if (!SWIG_IsOK(res1)) {
19589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19590 }
19591 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19592 {
19593 PyThreadState* __tstate = wxPyBeginAllowThreads();
19594 {
19595 wxFontData &_result_ref = (arg1)->GetFontData();
19596 result = (wxFontData *) &_result_ref;
19597 }
19598 wxPyEndAllowThreads(__tstate);
19599 if (PyErr_Occurred()) SWIG_fail;
19600 }
19601 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19602 return resultobj;
19603 fail:
19604 return NULL;
19605 }
19606
19607
19608 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19609 PyObject *obj;
19610 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19611 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19612 return SWIG_Py_Void();
19613 }
19614
19615 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19616 return SWIG_Python_InitShadowInstance(args);
19617 }
19618
19619 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19620 PyObject *resultobj = 0;
19621 wxWindow *arg1 = (wxWindow *) NULL ;
19622 wxFont const &arg2_defvalue = wxNullFont ;
19623 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19624 wxString const &arg3_defvalue = wxPyEmptyString ;
19625 wxString *arg3 = (wxString *) &arg3_defvalue ;
19626 wxFont result;
19627 void *argp1 = 0 ;
19628 int res1 = 0 ;
19629 void *argp2 = 0 ;
19630 int res2 = 0 ;
19631 bool temp3 = false ;
19632 PyObject * obj0 = 0 ;
19633 PyObject * obj1 = 0 ;
19634 PyObject * obj2 = 0 ;
19635 char * kwnames[] = {
19636 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19637 };
19638
19639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19640 if (obj0) {
19641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19642 if (!SWIG_IsOK(res1)) {
19643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19644 }
19645 arg1 = reinterpret_cast< wxWindow * >(argp1);
19646 }
19647 if (obj1) {
19648 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19649 if (!SWIG_IsOK(res2)) {
19650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19651 }
19652 if (!argp2) {
19653 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19654 }
19655 arg2 = reinterpret_cast< wxFont * >(argp2);
19656 }
19657 if (obj2) {
19658 {
19659 arg3 = wxString_in_helper(obj2);
19660 if (arg3 == NULL) SWIG_fail;
19661 temp3 = true;
19662 }
19663 }
19664 {
19665 PyThreadState* __tstate = wxPyBeginAllowThreads();
19666 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19667 wxPyEndAllowThreads(__tstate);
19668 if (PyErr_Occurred()) SWIG_fail;
19669 }
19670 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19671 {
19672 if (temp3)
19673 delete arg3;
19674 }
19675 return resultobj;
19676 fail:
19677 {
19678 if (temp3)
19679 delete arg3;
19680 }
19681 return NULL;
19682 }
19683
19684
19685 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19686 PyObject *resultobj = 0;
19687 wxWindow *arg1 = (wxWindow *) 0 ;
19688 wxString *arg2 = 0 ;
19689 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19690 wxString *arg3 = (wxString *) &arg3_defvalue ;
19691 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19692 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19693 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19694 wxMessageDialog *result = 0 ;
19695 void *argp1 = 0 ;
19696 int res1 = 0 ;
19697 bool temp2 = false ;
19698 bool temp3 = false ;
19699 long val4 ;
19700 int ecode4 = 0 ;
19701 wxPoint temp5 ;
19702 PyObject * obj0 = 0 ;
19703 PyObject * obj1 = 0 ;
19704 PyObject * obj2 = 0 ;
19705 PyObject * obj3 = 0 ;
19706 PyObject * obj4 = 0 ;
19707 char * kwnames[] = {
19708 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19709 };
19710
19711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19713 if (!SWIG_IsOK(res1)) {
19714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19715 }
19716 arg1 = reinterpret_cast< wxWindow * >(argp1);
19717 {
19718 arg2 = wxString_in_helper(obj1);
19719 if (arg2 == NULL) SWIG_fail;
19720 temp2 = true;
19721 }
19722 if (obj2) {
19723 {
19724 arg3 = wxString_in_helper(obj2);
19725 if (arg3 == NULL) SWIG_fail;
19726 temp3 = true;
19727 }
19728 }
19729 if (obj3) {
19730 ecode4 = SWIG_AsVal_long(obj3, &val4);
19731 if (!SWIG_IsOK(ecode4)) {
19732 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19733 }
19734 arg4 = static_cast< long >(val4);
19735 }
19736 if (obj4) {
19737 {
19738 arg5 = &temp5;
19739 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19740 }
19741 }
19742 {
19743 if (!wxPyCheckForApp()) SWIG_fail;
19744 PyThreadState* __tstate = wxPyBeginAllowThreads();
19745 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19746 wxPyEndAllowThreads(__tstate);
19747 if (PyErr_Occurred()) SWIG_fail;
19748 }
19749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19750 {
19751 if (temp2)
19752 delete arg2;
19753 }
19754 {
19755 if (temp3)
19756 delete arg3;
19757 }
19758 return resultobj;
19759 fail:
19760 {
19761 if (temp2)
19762 delete arg2;
19763 }
19764 {
19765 if (temp3)
19766 delete arg3;
19767 }
19768 return NULL;
19769 }
19770
19771
19772 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19773 PyObject *obj;
19774 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19775 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19776 return SWIG_Py_Void();
19777 }
19778
19779 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19780 return SWIG_Python_InitShadowInstance(args);
19781 }
19782
19783 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19784 PyObject *resultobj = 0;
19785 wxString *arg1 = 0 ;
19786 wxString *arg2 = 0 ;
19787 int arg3 = (int) 100 ;
19788 wxWindow *arg4 = (wxWindow *) NULL ;
19789 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19790 wxProgressDialog *result = 0 ;
19791 bool temp1 = false ;
19792 bool temp2 = false ;
19793 int val3 ;
19794 int ecode3 = 0 ;
19795 void *argp4 = 0 ;
19796 int res4 = 0 ;
19797 int val5 ;
19798 int ecode5 = 0 ;
19799 PyObject * obj0 = 0 ;
19800 PyObject * obj1 = 0 ;
19801 PyObject * obj2 = 0 ;
19802 PyObject * obj3 = 0 ;
19803 PyObject * obj4 = 0 ;
19804 char * kwnames[] = {
19805 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19806 };
19807
19808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19809 {
19810 arg1 = wxString_in_helper(obj0);
19811 if (arg1 == NULL) SWIG_fail;
19812 temp1 = true;
19813 }
19814 {
19815 arg2 = wxString_in_helper(obj1);
19816 if (arg2 == NULL) SWIG_fail;
19817 temp2 = true;
19818 }
19819 if (obj2) {
19820 ecode3 = SWIG_AsVal_int(obj2, &val3);
19821 if (!SWIG_IsOK(ecode3)) {
19822 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19823 }
19824 arg3 = static_cast< int >(val3);
19825 }
19826 if (obj3) {
19827 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19828 if (!SWIG_IsOK(res4)) {
19829 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19830 }
19831 arg4 = reinterpret_cast< wxWindow * >(argp4);
19832 }
19833 if (obj4) {
19834 ecode5 = SWIG_AsVal_int(obj4, &val5);
19835 if (!SWIG_IsOK(ecode5)) {
19836 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19837 }
19838 arg5 = static_cast< int >(val5);
19839 }
19840 {
19841 if (!wxPyCheckForApp()) SWIG_fail;
19842 PyThreadState* __tstate = wxPyBeginAllowThreads();
19843 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19844 wxPyEndAllowThreads(__tstate);
19845 if (PyErr_Occurred()) SWIG_fail;
19846 }
19847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19848 {
19849 if (temp1)
19850 delete arg1;
19851 }
19852 {
19853 if (temp2)
19854 delete arg2;
19855 }
19856 return resultobj;
19857 fail:
19858 {
19859 if (temp1)
19860 delete arg1;
19861 }
19862 {
19863 if (temp2)
19864 delete arg2;
19865 }
19866 return NULL;
19867 }
19868
19869
19870 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19871 PyObject *resultobj = 0;
19872 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19873 int arg2 ;
19874 wxString const &arg3_defvalue = wxPyEmptyString ;
19875 wxString *arg3 = (wxString *) &arg3_defvalue ;
19876 bool *arg4 = (bool *) 0 ;
19877 bool result;
19878 void *argp1 = 0 ;
19879 int res1 = 0 ;
19880 int val2 ;
19881 int ecode2 = 0 ;
19882 bool temp3 = false ;
19883 bool temp4 ;
19884 int res4 = SWIG_TMPOBJ ;
19885 PyObject * obj0 = 0 ;
19886 PyObject * obj1 = 0 ;
19887 PyObject * obj2 = 0 ;
19888 char * kwnames[] = {
19889 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19890 };
19891
19892 arg4 = &temp4;
19893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19895 if (!SWIG_IsOK(res1)) {
19896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19897 }
19898 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19899 ecode2 = SWIG_AsVal_int(obj1, &val2);
19900 if (!SWIG_IsOK(ecode2)) {
19901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19902 }
19903 arg2 = static_cast< int >(val2);
19904 if (obj2) {
19905 {
19906 arg3 = wxString_in_helper(obj2);
19907 if (arg3 == NULL) SWIG_fail;
19908 temp3 = true;
19909 }
19910 }
19911 {
19912 PyThreadState* __tstate = wxPyBeginAllowThreads();
19913 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19914 wxPyEndAllowThreads(__tstate);
19915 if (PyErr_Occurred()) SWIG_fail;
19916 }
19917 {
19918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19919 }
19920 if (SWIG_IsTmpObj(res4)) {
19921 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19922 } else {
19923 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19924 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19925 }
19926 {
19927 if (temp3)
19928 delete arg3;
19929 }
19930 return resultobj;
19931 fail:
19932 {
19933 if (temp3)
19934 delete arg3;
19935 }
19936 return NULL;
19937 }
19938
19939
19940 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19941 PyObject *resultobj = 0;
19942 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19943 wxString const &arg2_defvalue = wxPyEmptyString ;
19944 wxString *arg2 = (wxString *) &arg2_defvalue ;
19945 bool *arg3 = (bool *) 0 ;
19946 bool result;
19947 void *argp1 = 0 ;
19948 int res1 = 0 ;
19949 bool temp2 = false ;
19950 bool temp3 ;
19951 int res3 = SWIG_TMPOBJ ;
19952 PyObject * obj0 = 0 ;
19953 PyObject * obj1 = 0 ;
19954 char * kwnames[] = {
19955 (char *) "self",(char *) "newmsg", NULL
19956 };
19957
19958 arg3 = &temp3;
19959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
19960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19961 if (!SWIG_IsOK(res1)) {
19962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19963 }
19964 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19965 if (obj1) {
19966 {
19967 arg2 = wxString_in_helper(obj1);
19968 if (arg2 == NULL) SWIG_fail;
19969 temp2 = true;
19970 }
19971 }
19972 {
19973 PyThreadState* __tstate = wxPyBeginAllowThreads();
19974 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
19975 wxPyEndAllowThreads(__tstate);
19976 if (PyErr_Occurred()) SWIG_fail;
19977 }
19978 {
19979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19980 }
19981 if (SWIG_IsTmpObj(res3)) {
19982 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19983 } else {
19984 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19985 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19986 }
19987 {
19988 if (temp2)
19989 delete arg2;
19990 }
19991 return resultobj;
19992 fail:
19993 {
19994 if (temp2)
19995 delete arg2;
19996 }
19997 return NULL;
19998 }
19999
20000
20001 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20002 PyObject *resultobj = 0;
20003 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
20004 void *argp1 = 0 ;
20005 int res1 = 0 ;
20006 PyObject *swig_obj[1] ;
20007
20008 if (!args) SWIG_fail;
20009 swig_obj[0] = args;
20010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
20011 if (!SWIG_IsOK(res1)) {
20012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
20013 }
20014 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
20015 {
20016 PyThreadState* __tstate = wxPyBeginAllowThreads();
20017 (arg1)->Resume();
20018 wxPyEndAllowThreads(__tstate);
20019 if (PyErr_Occurred()) SWIG_fail;
20020 }
20021 resultobj = SWIG_Py_Void();
20022 return resultobj;
20023 fail:
20024 return NULL;
20025 }
20026
20027
20028 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20029 PyObject *obj;
20030 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20031 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
20032 return SWIG_Py_Void();
20033 }
20034
20035 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20036 return SWIG_Python_InitShadowInstance(args);
20037 }
20038
20039 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20040 PyObject *resultobj = 0;
20041 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20042 int arg2 = (int) 0 ;
20043 wxFindDialogEvent *result = 0 ;
20044 int val1 ;
20045 int ecode1 = 0 ;
20046 int val2 ;
20047 int ecode2 = 0 ;
20048 PyObject * obj0 = 0 ;
20049 PyObject * obj1 = 0 ;
20050 char * kwnames[] = {
20051 (char *) "commandType",(char *) "id", NULL
20052 };
20053
20054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
20055 if (obj0) {
20056 ecode1 = SWIG_AsVal_int(obj0, &val1);
20057 if (!SWIG_IsOK(ecode1)) {
20058 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20059 }
20060 arg1 = static_cast< wxEventType >(val1);
20061 }
20062 if (obj1) {
20063 ecode2 = SWIG_AsVal_int(obj1, &val2);
20064 if (!SWIG_IsOK(ecode2)) {
20065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
20066 }
20067 arg2 = static_cast< int >(val2);
20068 }
20069 {
20070 PyThreadState* __tstate = wxPyBeginAllowThreads();
20071 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
20072 wxPyEndAllowThreads(__tstate);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
20076 return resultobj;
20077 fail:
20078 return NULL;
20079 }
20080
20081
20082 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20083 PyObject *resultobj = 0;
20084 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20085 int result;
20086 void *argp1 = 0 ;
20087 int res1 = 0 ;
20088 PyObject *swig_obj[1] ;
20089
20090 if (!args) SWIG_fail;
20091 swig_obj[0] = args;
20092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20093 if (!SWIG_IsOK(res1)) {
20094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20095 }
20096 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20097 {
20098 PyThreadState* __tstate = wxPyBeginAllowThreads();
20099 result = (int)(arg1)->GetFlags();
20100 wxPyEndAllowThreads(__tstate);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 }
20103 resultobj = SWIG_From_int(static_cast< int >(result));
20104 return resultobj;
20105 fail:
20106 return NULL;
20107 }
20108
20109
20110 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20111 PyObject *resultobj = 0;
20112 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20113 wxString *result = 0 ;
20114 void *argp1 = 0 ;
20115 int res1 = 0 ;
20116 PyObject *swig_obj[1] ;
20117
20118 if (!args) SWIG_fail;
20119 swig_obj[0] = args;
20120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20121 if (!SWIG_IsOK(res1)) {
20122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20123 }
20124 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20125 {
20126 PyThreadState* __tstate = wxPyBeginAllowThreads();
20127 {
20128 wxString const &_result_ref = (arg1)->GetFindString();
20129 result = (wxString *) &_result_ref;
20130 }
20131 wxPyEndAllowThreads(__tstate);
20132 if (PyErr_Occurred()) SWIG_fail;
20133 }
20134 {
20135 #if wxUSE_UNICODE
20136 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20137 #else
20138 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20139 #endif
20140 }
20141 return resultobj;
20142 fail:
20143 return NULL;
20144 }
20145
20146
20147 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20148 PyObject *resultobj = 0;
20149 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20150 wxString *result = 0 ;
20151 void *argp1 = 0 ;
20152 int res1 = 0 ;
20153 PyObject *swig_obj[1] ;
20154
20155 if (!args) SWIG_fail;
20156 swig_obj[0] = args;
20157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20158 if (!SWIG_IsOK(res1)) {
20159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20160 }
20161 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20162 {
20163 PyThreadState* __tstate = wxPyBeginAllowThreads();
20164 {
20165 wxString const &_result_ref = (arg1)->GetReplaceString();
20166 result = (wxString *) &_result_ref;
20167 }
20168 wxPyEndAllowThreads(__tstate);
20169 if (PyErr_Occurred()) SWIG_fail;
20170 }
20171 {
20172 #if wxUSE_UNICODE
20173 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20174 #else
20175 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20176 #endif
20177 }
20178 return resultobj;
20179 fail:
20180 return NULL;
20181 }
20182
20183
20184 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20185 PyObject *resultobj = 0;
20186 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20187 wxFindReplaceDialog *result = 0 ;
20188 void *argp1 = 0 ;
20189 int res1 = 0 ;
20190 PyObject *swig_obj[1] ;
20191
20192 if (!args) SWIG_fail;
20193 swig_obj[0] = args;
20194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20195 if (!SWIG_IsOK(res1)) {
20196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20197 }
20198 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20199 {
20200 PyThreadState* __tstate = wxPyBeginAllowThreads();
20201 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
20202 wxPyEndAllowThreads(__tstate);
20203 if (PyErr_Occurred()) SWIG_fail;
20204 }
20205 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20206 return resultobj;
20207 fail:
20208 return NULL;
20209 }
20210
20211
20212 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20213 PyObject *resultobj = 0;
20214 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20215 int arg2 ;
20216 void *argp1 = 0 ;
20217 int res1 = 0 ;
20218 int val2 ;
20219 int ecode2 = 0 ;
20220 PyObject * obj0 = 0 ;
20221 PyObject * obj1 = 0 ;
20222 char * kwnames[] = {
20223 (char *) "self",(char *) "flags", NULL
20224 };
20225
20226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20228 if (!SWIG_IsOK(res1)) {
20229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20230 }
20231 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20232 ecode2 = SWIG_AsVal_int(obj1, &val2);
20233 if (!SWIG_IsOK(ecode2)) {
20234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20235 }
20236 arg2 = static_cast< int >(val2);
20237 {
20238 PyThreadState* __tstate = wxPyBeginAllowThreads();
20239 (arg1)->SetFlags(arg2);
20240 wxPyEndAllowThreads(__tstate);
20241 if (PyErr_Occurred()) SWIG_fail;
20242 }
20243 resultobj = SWIG_Py_Void();
20244 return resultobj;
20245 fail:
20246 return NULL;
20247 }
20248
20249
20250 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20251 PyObject *resultobj = 0;
20252 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20253 wxString *arg2 = 0 ;
20254 void *argp1 = 0 ;
20255 int res1 = 0 ;
20256 bool temp2 = false ;
20257 PyObject * obj0 = 0 ;
20258 PyObject * obj1 = 0 ;
20259 char * kwnames[] = {
20260 (char *) "self",(char *) "str", NULL
20261 };
20262
20263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20265 if (!SWIG_IsOK(res1)) {
20266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20267 }
20268 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20269 {
20270 arg2 = wxString_in_helper(obj1);
20271 if (arg2 == NULL) SWIG_fail;
20272 temp2 = true;
20273 }
20274 {
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
20276 (arg1)->SetFindString((wxString const &)*arg2);
20277 wxPyEndAllowThreads(__tstate);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 }
20280 resultobj = SWIG_Py_Void();
20281 {
20282 if (temp2)
20283 delete arg2;
20284 }
20285 return resultobj;
20286 fail:
20287 {
20288 if (temp2)
20289 delete arg2;
20290 }
20291 return NULL;
20292 }
20293
20294
20295 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20296 PyObject *resultobj = 0;
20297 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20298 wxString *arg2 = 0 ;
20299 void *argp1 = 0 ;
20300 int res1 = 0 ;
20301 bool temp2 = false ;
20302 PyObject * obj0 = 0 ;
20303 PyObject * obj1 = 0 ;
20304 char * kwnames[] = {
20305 (char *) "self",(char *) "str", NULL
20306 };
20307
20308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20310 if (!SWIG_IsOK(res1)) {
20311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20312 }
20313 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20314 {
20315 arg2 = wxString_in_helper(obj1);
20316 if (arg2 == NULL) SWIG_fail;
20317 temp2 = true;
20318 }
20319 {
20320 PyThreadState* __tstate = wxPyBeginAllowThreads();
20321 (arg1)->SetReplaceString((wxString const &)*arg2);
20322 wxPyEndAllowThreads(__tstate);
20323 if (PyErr_Occurred()) SWIG_fail;
20324 }
20325 resultobj = SWIG_Py_Void();
20326 {
20327 if (temp2)
20328 delete arg2;
20329 }
20330 return resultobj;
20331 fail:
20332 {
20333 if (temp2)
20334 delete arg2;
20335 }
20336 return NULL;
20337 }
20338
20339
20340 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20341 PyObject *obj;
20342 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20343 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20344 return SWIG_Py_Void();
20345 }
20346
20347 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20348 return SWIG_Python_InitShadowInstance(args);
20349 }
20350
20351 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20352 PyObject *resultobj = 0;
20353 int arg1 = (int) 0 ;
20354 wxFindReplaceData *result = 0 ;
20355 int val1 ;
20356 int ecode1 = 0 ;
20357 PyObject * obj0 = 0 ;
20358 char * kwnames[] = {
20359 (char *) "flags", NULL
20360 };
20361
20362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20363 if (obj0) {
20364 ecode1 = SWIG_AsVal_int(obj0, &val1);
20365 if (!SWIG_IsOK(ecode1)) {
20366 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20367 }
20368 arg1 = static_cast< int >(val1);
20369 }
20370 {
20371 PyThreadState* __tstate = wxPyBeginAllowThreads();
20372 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20373 wxPyEndAllowThreads(__tstate);
20374 if (PyErr_Occurred()) SWIG_fail;
20375 }
20376 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20377 return resultobj;
20378 fail:
20379 return NULL;
20380 }
20381
20382
20383 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20384 PyObject *resultobj = 0;
20385 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20386 void *argp1 = 0 ;
20387 int res1 = 0 ;
20388 PyObject *swig_obj[1] ;
20389
20390 if (!args) SWIG_fail;
20391 swig_obj[0] = args;
20392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20393 if (!SWIG_IsOK(res1)) {
20394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20395 }
20396 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20397 {
20398 PyThreadState* __tstate = wxPyBeginAllowThreads();
20399 delete arg1;
20400
20401 wxPyEndAllowThreads(__tstate);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 }
20404 resultobj = SWIG_Py_Void();
20405 return resultobj;
20406 fail:
20407 return NULL;
20408 }
20409
20410
20411 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20412 PyObject *resultobj = 0;
20413 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20414 wxString *result = 0 ;
20415 void *argp1 = 0 ;
20416 int res1 = 0 ;
20417 PyObject *swig_obj[1] ;
20418
20419 if (!args) SWIG_fail;
20420 swig_obj[0] = args;
20421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20422 if (!SWIG_IsOK(res1)) {
20423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20424 }
20425 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20426 {
20427 PyThreadState* __tstate = wxPyBeginAllowThreads();
20428 {
20429 wxString const &_result_ref = (arg1)->GetFindString();
20430 result = (wxString *) &_result_ref;
20431 }
20432 wxPyEndAllowThreads(__tstate);
20433 if (PyErr_Occurred()) SWIG_fail;
20434 }
20435 {
20436 #if wxUSE_UNICODE
20437 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20438 #else
20439 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20440 #endif
20441 }
20442 return resultobj;
20443 fail:
20444 return NULL;
20445 }
20446
20447
20448 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20449 PyObject *resultobj = 0;
20450 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20451 wxString *result = 0 ;
20452 void *argp1 = 0 ;
20453 int res1 = 0 ;
20454 PyObject *swig_obj[1] ;
20455
20456 if (!args) SWIG_fail;
20457 swig_obj[0] = args;
20458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20459 if (!SWIG_IsOK(res1)) {
20460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20461 }
20462 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20463 {
20464 PyThreadState* __tstate = wxPyBeginAllowThreads();
20465 {
20466 wxString const &_result_ref = (arg1)->GetReplaceString();
20467 result = (wxString *) &_result_ref;
20468 }
20469 wxPyEndAllowThreads(__tstate);
20470 if (PyErr_Occurred()) SWIG_fail;
20471 }
20472 {
20473 #if wxUSE_UNICODE
20474 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20475 #else
20476 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20477 #endif
20478 }
20479 return resultobj;
20480 fail:
20481 return NULL;
20482 }
20483
20484
20485 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20486 PyObject *resultobj = 0;
20487 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20488 int result;
20489 void *argp1 = 0 ;
20490 int res1 = 0 ;
20491 PyObject *swig_obj[1] ;
20492
20493 if (!args) SWIG_fail;
20494 swig_obj[0] = args;
20495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20496 if (!SWIG_IsOK(res1)) {
20497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20498 }
20499 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20500 {
20501 PyThreadState* __tstate = wxPyBeginAllowThreads();
20502 result = (int)(arg1)->GetFlags();
20503 wxPyEndAllowThreads(__tstate);
20504 if (PyErr_Occurred()) SWIG_fail;
20505 }
20506 resultobj = SWIG_From_int(static_cast< int >(result));
20507 return resultobj;
20508 fail:
20509 return NULL;
20510 }
20511
20512
20513 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20514 PyObject *resultobj = 0;
20515 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20516 int arg2 ;
20517 void *argp1 = 0 ;
20518 int res1 = 0 ;
20519 int val2 ;
20520 int ecode2 = 0 ;
20521 PyObject * obj0 = 0 ;
20522 PyObject * obj1 = 0 ;
20523 char * kwnames[] = {
20524 (char *) "self",(char *) "flags", NULL
20525 };
20526
20527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20529 if (!SWIG_IsOK(res1)) {
20530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20531 }
20532 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20533 ecode2 = SWIG_AsVal_int(obj1, &val2);
20534 if (!SWIG_IsOK(ecode2)) {
20535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20536 }
20537 arg2 = static_cast< int >(val2);
20538 {
20539 PyThreadState* __tstate = wxPyBeginAllowThreads();
20540 (arg1)->SetFlags(arg2);
20541 wxPyEndAllowThreads(__tstate);
20542 if (PyErr_Occurred()) SWIG_fail;
20543 }
20544 resultobj = SWIG_Py_Void();
20545 return resultobj;
20546 fail:
20547 return NULL;
20548 }
20549
20550
20551 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20552 PyObject *resultobj = 0;
20553 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20554 wxString *arg2 = 0 ;
20555 void *argp1 = 0 ;
20556 int res1 = 0 ;
20557 bool temp2 = false ;
20558 PyObject * obj0 = 0 ;
20559 PyObject * obj1 = 0 ;
20560 char * kwnames[] = {
20561 (char *) "self",(char *) "str", NULL
20562 };
20563
20564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20566 if (!SWIG_IsOK(res1)) {
20567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20568 }
20569 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20570 {
20571 arg2 = wxString_in_helper(obj1);
20572 if (arg2 == NULL) SWIG_fail;
20573 temp2 = true;
20574 }
20575 {
20576 PyThreadState* __tstate = wxPyBeginAllowThreads();
20577 (arg1)->SetFindString((wxString const &)*arg2);
20578 wxPyEndAllowThreads(__tstate);
20579 if (PyErr_Occurred()) SWIG_fail;
20580 }
20581 resultobj = SWIG_Py_Void();
20582 {
20583 if (temp2)
20584 delete arg2;
20585 }
20586 return resultobj;
20587 fail:
20588 {
20589 if (temp2)
20590 delete arg2;
20591 }
20592 return NULL;
20593 }
20594
20595
20596 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20597 PyObject *resultobj = 0;
20598 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20599 wxString *arg2 = 0 ;
20600 void *argp1 = 0 ;
20601 int res1 = 0 ;
20602 bool temp2 = false ;
20603 PyObject * obj0 = 0 ;
20604 PyObject * obj1 = 0 ;
20605 char * kwnames[] = {
20606 (char *) "self",(char *) "str", NULL
20607 };
20608
20609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20611 if (!SWIG_IsOK(res1)) {
20612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20613 }
20614 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20615 {
20616 arg2 = wxString_in_helper(obj1);
20617 if (arg2 == NULL) SWIG_fail;
20618 temp2 = true;
20619 }
20620 {
20621 PyThreadState* __tstate = wxPyBeginAllowThreads();
20622 (arg1)->SetReplaceString((wxString const &)*arg2);
20623 wxPyEndAllowThreads(__tstate);
20624 if (PyErr_Occurred()) SWIG_fail;
20625 }
20626 resultobj = SWIG_Py_Void();
20627 {
20628 if (temp2)
20629 delete arg2;
20630 }
20631 return resultobj;
20632 fail:
20633 {
20634 if (temp2)
20635 delete arg2;
20636 }
20637 return NULL;
20638 }
20639
20640
20641 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20642 PyObject *obj;
20643 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20644 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20645 return SWIG_Py_Void();
20646 }
20647
20648 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20649 return SWIG_Python_InitShadowInstance(args);
20650 }
20651
20652 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20653 PyObject *resultobj = 0;
20654 wxWindow *arg1 = (wxWindow *) 0 ;
20655 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20656 wxString *arg3 = 0 ;
20657 int arg4 = (int) 0 ;
20658 wxFindReplaceDialog *result = 0 ;
20659 void *argp1 = 0 ;
20660 int res1 = 0 ;
20661 void *argp2 = 0 ;
20662 int res2 = 0 ;
20663 bool temp3 = false ;
20664 int val4 ;
20665 int ecode4 = 0 ;
20666 PyObject * obj0 = 0 ;
20667 PyObject * obj1 = 0 ;
20668 PyObject * obj2 = 0 ;
20669 PyObject * obj3 = 0 ;
20670 char * kwnames[] = {
20671 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20672 };
20673
20674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20676 if (!SWIG_IsOK(res1)) {
20677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20678 }
20679 arg1 = reinterpret_cast< wxWindow * >(argp1);
20680 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20681 if (!SWIG_IsOK(res2)) {
20682 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20683 }
20684 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20685 {
20686 arg3 = wxString_in_helper(obj2);
20687 if (arg3 == NULL) SWIG_fail;
20688 temp3 = true;
20689 }
20690 if (obj3) {
20691 ecode4 = SWIG_AsVal_int(obj3, &val4);
20692 if (!SWIG_IsOK(ecode4)) {
20693 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20694 }
20695 arg4 = static_cast< int >(val4);
20696 }
20697 {
20698 if (!wxPyCheckForApp()) SWIG_fail;
20699 PyThreadState* __tstate = wxPyBeginAllowThreads();
20700 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20701 wxPyEndAllowThreads(__tstate);
20702 if (PyErr_Occurred()) SWIG_fail;
20703 }
20704 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20705 {
20706 if (temp3)
20707 delete arg3;
20708 }
20709 return resultobj;
20710 fail:
20711 {
20712 if (temp3)
20713 delete arg3;
20714 }
20715 return NULL;
20716 }
20717
20718
20719 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20720 PyObject *resultobj = 0;
20721 wxFindReplaceDialog *result = 0 ;
20722
20723 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20724 {
20725 if (!wxPyCheckForApp()) SWIG_fail;
20726 PyThreadState* __tstate = wxPyBeginAllowThreads();
20727 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20728 wxPyEndAllowThreads(__tstate);
20729 if (PyErr_Occurred()) SWIG_fail;
20730 }
20731 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20732 return resultobj;
20733 fail:
20734 return NULL;
20735 }
20736
20737
20738 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20739 PyObject *resultobj = 0;
20740 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20741 wxWindow *arg2 = (wxWindow *) 0 ;
20742 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20743 wxString *arg4 = 0 ;
20744 int arg5 = (int) 0 ;
20745 bool result;
20746 void *argp1 = 0 ;
20747 int res1 = 0 ;
20748 void *argp2 = 0 ;
20749 int res2 = 0 ;
20750 void *argp3 = 0 ;
20751 int res3 = 0 ;
20752 bool temp4 = false ;
20753 int val5 ;
20754 int ecode5 = 0 ;
20755 PyObject * obj0 = 0 ;
20756 PyObject * obj1 = 0 ;
20757 PyObject * obj2 = 0 ;
20758 PyObject * obj3 = 0 ;
20759 PyObject * obj4 = 0 ;
20760 char * kwnames[] = {
20761 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20762 };
20763
20764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20766 if (!SWIG_IsOK(res1)) {
20767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20768 }
20769 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20770 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20771 if (!SWIG_IsOK(res2)) {
20772 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20773 }
20774 arg2 = reinterpret_cast< wxWindow * >(argp2);
20775 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20776 if (!SWIG_IsOK(res3)) {
20777 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20778 }
20779 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20780 {
20781 arg4 = wxString_in_helper(obj3);
20782 if (arg4 == NULL) SWIG_fail;
20783 temp4 = true;
20784 }
20785 if (obj4) {
20786 ecode5 = SWIG_AsVal_int(obj4, &val5);
20787 if (!SWIG_IsOK(ecode5)) {
20788 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20789 }
20790 arg5 = static_cast< int >(val5);
20791 }
20792 {
20793 PyThreadState* __tstate = wxPyBeginAllowThreads();
20794 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20795 wxPyEndAllowThreads(__tstate);
20796 if (PyErr_Occurred()) SWIG_fail;
20797 }
20798 {
20799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20800 }
20801 {
20802 if (temp4)
20803 delete arg4;
20804 }
20805 return resultobj;
20806 fail:
20807 {
20808 if (temp4)
20809 delete arg4;
20810 }
20811 return NULL;
20812 }
20813
20814
20815 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20816 PyObject *resultobj = 0;
20817 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20818 wxFindReplaceData *result = 0 ;
20819 void *argp1 = 0 ;
20820 int res1 = 0 ;
20821 PyObject *swig_obj[1] ;
20822
20823 if (!args) SWIG_fail;
20824 swig_obj[0] = args;
20825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20826 if (!SWIG_IsOK(res1)) {
20827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20828 }
20829 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20830 {
20831 PyThreadState* __tstate = wxPyBeginAllowThreads();
20832 result = (wxFindReplaceData *)(arg1)->GetData();
20833 wxPyEndAllowThreads(__tstate);
20834 if (PyErr_Occurred()) SWIG_fail;
20835 }
20836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20837 return resultobj;
20838 fail:
20839 return NULL;
20840 }
20841
20842
20843 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20844 PyObject *resultobj = 0;
20845 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20846 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20847 void *argp1 = 0 ;
20848 int res1 = 0 ;
20849 void *argp2 = 0 ;
20850 int res2 = 0 ;
20851 PyObject * obj0 = 0 ;
20852 PyObject * obj1 = 0 ;
20853 char * kwnames[] = {
20854 (char *) "self",(char *) "data", NULL
20855 };
20856
20857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20859 if (!SWIG_IsOK(res1)) {
20860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20861 }
20862 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20863 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20864 if (!SWIG_IsOK(res2)) {
20865 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20866 }
20867 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20868 {
20869 PyThreadState* __tstate = wxPyBeginAllowThreads();
20870 (arg1)->SetData(arg2);
20871 wxPyEndAllowThreads(__tstate);
20872 if (PyErr_Occurred()) SWIG_fail;
20873 }
20874 resultobj = SWIG_Py_Void();
20875 return resultobj;
20876 fail:
20877 return NULL;
20878 }
20879
20880
20881 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20882 PyObject *obj;
20883 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20884 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20885 return SWIG_Py_Void();
20886 }
20887
20888 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20889 return SWIG_Python_InitShadowInstance(args);
20890 }
20891
20892 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20893 PyObject *resultobj = 0;
20894 wxWindow *arg1 = (wxWindow *) 0 ;
20895 int arg2 = (int) (int)-1 ;
20896 wxString const &arg3_defvalue = wxPyEmptyString ;
20897 wxString *arg3 = (wxString *) &arg3_defvalue ;
20898 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20899 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20900 wxSize const &arg5_defvalue = wxDefaultSize ;
20901 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20902 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20903 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20904 wxString *arg7 = (wxString *) &arg7_defvalue ;
20905 wxMDIParentFrame *result = 0 ;
20906 void *argp1 = 0 ;
20907 int res1 = 0 ;
20908 int val2 ;
20909 int ecode2 = 0 ;
20910 bool temp3 = false ;
20911 wxPoint temp4 ;
20912 wxSize temp5 ;
20913 long val6 ;
20914 int ecode6 = 0 ;
20915 bool temp7 = false ;
20916 PyObject * obj0 = 0 ;
20917 PyObject * obj1 = 0 ;
20918 PyObject * obj2 = 0 ;
20919 PyObject * obj3 = 0 ;
20920 PyObject * obj4 = 0 ;
20921 PyObject * obj5 = 0 ;
20922 PyObject * obj6 = 0 ;
20923 char * kwnames[] = {
20924 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20925 };
20926
20927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20929 if (!SWIG_IsOK(res1)) {
20930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20931 }
20932 arg1 = reinterpret_cast< wxWindow * >(argp1);
20933 if (obj1) {
20934 ecode2 = SWIG_AsVal_int(obj1, &val2);
20935 if (!SWIG_IsOK(ecode2)) {
20936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20937 }
20938 arg2 = static_cast< int >(val2);
20939 }
20940 if (obj2) {
20941 {
20942 arg3 = wxString_in_helper(obj2);
20943 if (arg3 == NULL) SWIG_fail;
20944 temp3 = true;
20945 }
20946 }
20947 if (obj3) {
20948 {
20949 arg4 = &temp4;
20950 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20951 }
20952 }
20953 if (obj4) {
20954 {
20955 arg5 = &temp5;
20956 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20957 }
20958 }
20959 if (obj5) {
20960 ecode6 = SWIG_AsVal_long(obj5, &val6);
20961 if (!SWIG_IsOK(ecode6)) {
20962 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20963 }
20964 arg6 = static_cast< long >(val6);
20965 }
20966 if (obj6) {
20967 {
20968 arg7 = wxString_in_helper(obj6);
20969 if (arg7 == NULL) SWIG_fail;
20970 temp7 = true;
20971 }
20972 }
20973 {
20974 if (!wxPyCheckForApp()) SWIG_fail;
20975 PyThreadState* __tstate = wxPyBeginAllowThreads();
20976 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20977 wxPyEndAllowThreads(__tstate);
20978 if (PyErr_Occurred()) SWIG_fail;
20979 }
20980 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20981 {
20982 if (temp3)
20983 delete arg3;
20984 }
20985 {
20986 if (temp7)
20987 delete arg7;
20988 }
20989 return resultobj;
20990 fail:
20991 {
20992 if (temp3)
20993 delete arg3;
20994 }
20995 {
20996 if (temp7)
20997 delete arg7;
20998 }
20999 return NULL;
21000 }
21001
21002
21003 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21004 PyObject *resultobj = 0;
21005 wxMDIParentFrame *result = 0 ;
21006
21007 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
21008 {
21009 if (!wxPyCheckForApp()) SWIG_fail;
21010 PyThreadState* __tstate = wxPyBeginAllowThreads();
21011 result = (wxMDIParentFrame *)new wxMDIParentFrame();
21012 wxPyEndAllowThreads(__tstate);
21013 if (PyErr_Occurred()) SWIG_fail;
21014 }
21015 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
21016 return resultobj;
21017 fail:
21018 return NULL;
21019 }
21020
21021
21022 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21023 PyObject *resultobj = 0;
21024 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21025 wxWindow *arg2 = (wxWindow *) 0 ;
21026 int arg3 = (int) (int)-1 ;
21027 wxString const &arg4_defvalue = wxPyEmptyString ;
21028 wxString *arg4 = (wxString *) &arg4_defvalue ;
21029 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21030 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21031 wxSize const &arg6_defvalue = wxDefaultSize ;
21032 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21033 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
21034 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21035 wxString *arg8 = (wxString *) &arg8_defvalue ;
21036 bool result;
21037 void *argp1 = 0 ;
21038 int res1 = 0 ;
21039 void *argp2 = 0 ;
21040 int res2 = 0 ;
21041 int val3 ;
21042 int ecode3 = 0 ;
21043 bool temp4 = false ;
21044 wxPoint temp5 ;
21045 wxSize temp6 ;
21046 long val7 ;
21047 int ecode7 = 0 ;
21048 bool temp8 = false ;
21049 PyObject * obj0 = 0 ;
21050 PyObject * obj1 = 0 ;
21051 PyObject * obj2 = 0 ;
21052 PyObject * obj3 = 0 ;
21053 PyObject * obj4 = 0 ;
21054 PyObject * obj5 = 0 ;
21055 PyObject * obj6 = 0 ;
21056 PyObject * obj7 = 0 ;
21057 char * kwnames[] = {
21058 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21059 };
21060
21061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21063 if (!SWIG_IsOK(res1)) {
21064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21065 }
21066 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21067 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21068 if (!SWIG_IsOK(res2)) {
21069 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21070 }
21071 arg2 = reinterpret_cast< wxWindow * >(argp2);
21072 if (obj2) {
21073 ecode3 = SWIG_AsVal_int(obj2, &val3);
21074 if (!SWIG_IsOK(ecode3)) {
21075 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
21076 }
21077 arg3 = static_cast< int >(val3);
21078 }
21079 if (obj3) {
21080 {
21081 arg4 = wxString_in_helper(obj3);
21082 if (arg4 == NULL) SWIG_fail;
21083 temp4 = true;
21084 }
21085 }
21086 if (obj4) {
21087 {
21088 arg5 = &temp5;
21089 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21090 }
21091 }
21092 if (obj5) {
21093 {
21094 arg6 = &temp6;
21095 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21096 }
21097 }
21098 if (obj6) {
21099 ecode7 = SWIG_AsVal_long(obj6, &val7);
21100 if (!SWIG_IsOK(ecode7)) {
21101 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
21102 }
21103 arg7 = static_cast< long >(val7);
21104 }
21105 if (obj7) {
21106 {
21107 arg8 = wxString_in_helper(obj7);
21108 if (arg8 == NULL) SWIG_fail;
21109 temp8 = true;
21110 }
21111 }
21112 {
21113 PyThreadState* __tstate = wxPyBeginAllowThreads();
21114 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21115 wxPyEndAllowThreads(__tstate);
21116 if (PyErr_Occurred()) SWIG_fail;
21117 }
21118 {
21119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21120 }
21121 {
21122 if (temp4)
21123 delete arg4;
21124 }
21125 {
21126 if (temp8)
21127 delete arg8;
21128 }
21129 return resultobj;
21130 fail:
21131 {
21132 if (temp4)
21133 delete arg4;
21134 }
21135 {
21136 if (temp8)
21137 delete arg8;
21138 }
21139 return NULL;
21140 }
21141
21142
21143 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21144 PyObject *resultobj = 0;
21145 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21146 void *argp1 = 0 ;
21147 int res1 = 0 ;
21148 PyObject *swig_obj[1] ;
21149
21150 if (!args) SWIG_fail;
21151 swig_obj[0] = args;
21152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21153 if (!SWIG_IsOK(res1)) {
21154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21155 }
21156 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21157 {
21158 PyThreadState* __tstate = wxPyBeginAllowThreads();
21159 (arg1)->ActivateNext();
21160 wxPyEndAllowThreads(__tstate);
21161 if (PyErr_Occurred()) SWIG_fail;
21162 }
21163 resultobj = SWIG_Py_Void();
21164 return resultobj;
21165 fail:
21166 return NULL;
21167 }
21168
21169
21170 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21171 PyObject *resultobj = 0;
21172 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21173 void *argp1 = 0 ;
21174 int res1 = 0 ;
21175 PyObject *swig_obj[1] ;
21176
21177 if (!args) SWIG_fail;
21178 swig_obj[0] = args;
21179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21180 if (!SWIG_IsOK(res1)) {
21181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21182 }
21183 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21184 {
21185 PyThreadState* __tstate = wxPyBeginAllowThreads();
21186 (arg1)->ActivatePrevious();
21187 wxPyEndAllowThreads(__tstate);
21188 if (PyErr_Occurred()) SWIG_fail;
21189 }
21190 resultobj = SWIG_Py_Void();
21191 return resultobj;
21192 fail:
21193 return NULL;
21194 }
21195
21196
21197 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21198 PyObject *resultobj = 0;
21199 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21200 void *argp1 = 0 ;
21201 int res1 = 0 ;
21202 PyObject *swig_obj[1] ;
21203
21204 if (!args) SWIG_fail;
21205 swig_obj[0] = args;
21206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21207 if (!SWIG_IsOK(res1)) {
21208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21209 }
21210 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21211 {
21212 PyThreadState* __tstate = wxPyBeginAllowThreads();
21213 (arg1)->ArrangeIcons();
21214 wxPyEndAllowThreads(__tstate);
21215 if (PyErr_Occurred()) SWIG_fail;
21216 }
21217 resultobj = SWIG_Py_Void();
21218 return resultobj;
21219 fail:
21220 return NULL;
21221 }
21222
21223
21224 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21225 PyObject *resultobj = 0;
21226 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21227 void *argp1 = 0 ;
21228 int res1 = 0 ;
21229 PyObject *swig_obj[1] ;
21230
21231 if (!args) SWIG_fail;
21232 swig_obj[0] = args;
21233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21234 if (!SWIG_IsOK(res1)) {
21235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21236 }
21237 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21238 {
21239 PyThreadState* __tstate = wxPyBeginAllowThreads();
21240 (arg1)->Cascade();
21241 wxPyEndAllowThreads(__tstate);
21242 if (PyErr_Occurred()) SWIG_fail;
21243 }
21244 resultobj = SWIG_Py_Void();
21245 return resultobj;
21246 fail:
21247 return NULL;
21248 }
21249
21250
21251 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21252 PyObject *resultobj = 0;
21253 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21254 wxMDIChildFrame *result = 0 ;
21255 void *argp1 = 0 ;
21256 int res1 = 0 ;
21257 PyObject *swig_obj[1] ;
21258
21259 if (!args) SWIG_fail;
21260 swig_obj[0] = args;
21261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21262 if (!SWIG_IsOK(res1)) {
21263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21264 }
21265 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21266 {
21267 PyThreadState* __tstate = wxPyBeginAllowThreads();
21268 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
21269 wxPyEndAllowThreads(__tstate);
21270 if (PyErr_Occurred()) SWIG_fail;
21271 }
21272 {
21273 resultobj = wxPyMake_wxObject(result, (bool)0);
21274 }
21275 return resultobj;
21276 fail:
21277 return NULL;
21278 }
21279
21280
21281 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21282 PyObject *resultobj = 0;
21283 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21284 wxMDIClientWindow *result = 0 ;
21285 void *argp1 = 0 ;
21286 int res1 = 0 ;
21287 PyObject *swig_obj[1] ;
21288
21289 if (!args) SWIG_fail;
21290 swig_obj[0] = args;
21291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21292 if (!SWIG_IsOK(res1)) {
21293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21294 }
21295 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21296 {
21297 PyThreadState* __tstate = wxPyBeginAllowThreads();
21298 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21299 wxPyEndAllowThreads(__tstate);
21300 if (PyErr_Occurred()) SWIG_fail;
21301 }
21302 {
21303 resultobj = wxPyMake_wxObject(result, (bool)0);
21304 }
21305 return resultobj;
21306 fail:
21307 return NULL;
21308 }
21309
21310
21311 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21312 PyObject *resultobj = 0;
21313 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21314 wxMenu *result = 0 ;
21315 void *argp1 = 0 ;
21316 int res1 = 0 ;
21317 PyObject *swig_obj[1] ;
21318
21319 if (!args) SWIG_fail;
21320 swig_obj[0] = args;
21321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21322 if (!SWIG_IsOK(res1)) {
21323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21324 }
21325 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21326 {
21327 PyThreadState* __tstate = wxPyBeginAllowThreads();
21328 result = (wxMenu *)(arg1)->GetWindowMenu();
21329 wxPyEndAllowThreads(__tstate);
21330 if (PyErr_Occurred()) SWIG_fail;
21331 }
21332 {
21333 resultobj = wxPyMake_wxObject(result, 0);
21334 }
21335 return resultobj;
21336 fail:
21337 return NULL;
21338 }
21339
21340
21341 SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21342 PyObject *resultobj = 0;
21343 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21344 wxMenu *arg2 = (wxMenu *) 0 ;
21345 void *argp1 = 0 ;
21346 int res1 = 0 ;
21347 void *argp2 = 0 ;
21348 int res2 = 0 ;
21349 PyObject * obj0 = 0 ;
21350 PyObject * obj1 = 0 ;
21351 char * kwnames[] = {
21352 (char *) "self",(char *) "menu", NULL
21353 };
21354
21355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
21356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21357 if (!SWIG_IsOK(res1)) {
21358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21359 }
21360 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21361 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
21362 if (!SWIG_IsOK(res2)) {
21363 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21364 }
21365 arg2 = reinterpret_cast< wxMenu * >(argp2);
21366 {
21367 PyThreadState* __tstate = wxPyBeginAllowThreads();
21368 (arg1)->SetWindowMenu(arg2);
21369 wxPyEndAllowThreads(__tstate);
21370 if (PyErr_Occurred()) SWIG_fail;
21371 }
21372 resultobj = SWIG_Py_Void();
21373 return resultobj;
21374 fail:
21375 return NULL;
21376 }
21377
21378
21379 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21380 PyObject *resultobj = 0;
21381 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21382 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21383 void *argp1 = 0 ;
21384 int res1 = 0 ;
21385 int val2 ;
21386 int ecode2 = 0 ;
21387 PyObject * obj0 = 0 ;
21388 PyObject * obj1 = 0 ;
21389 char * kwnames[] = {
21390 (char *) "self",(char *) "orient", NULL
21391 };
21392
21393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21395 if (!SWIG_IsOK(res1)) {
21396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21397 }
21398 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21399 if (obj1) {
21400 ecode2 = SWIG_AsVal_int(obj1, &val2);
21401 if (!SWIG_IsOK(ecode2)) {
21402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21403 }
21404 arg2 = static_cast< wxOrientation >(val2);
21405 }
21406 {
21407 PyThreadState* __tstate = wxPyBeginAllowThreads();
21408 (arg1)->Tile(arg2);
21409 wxPyEndAllowThreads(__tstate);
21410 if (PyErr_Occurred()) SWIG_fail;
21411 }
21412 resultobj = SWIG_Py_Void();
21413 return resultobj;
21414 fail:
21415 return NULL;
21416 }
21417
21418
21419 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21420 PyObject *obj;
21421 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21422 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21423 return SWIG_Py_Void();
21424 }
21425
21426 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21427 return SWIG_Python_InitShadowInstance(args);
21428 }
21429
21430 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21431 PyObject *resultobj = 0;
21432 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21433 int arg2 = (int) (int)-1 ;
21434 wxString const &arg3_defvalue = wxPyEmptyString ;
21435 wxString *arg3 = (wxString *) &arg3_defvalue ;
21436 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21437 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21438 wxSize const &arg5_defvalue = wxDefaultSize ;
21439 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21440 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21441 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21442 wxString *arg7 = (wxString *) &arg7_defvalue ;
21443 wxMDIChildFrame *result = 0 ;
21444 void *argp1 = 0 ;
21445 int res1 = 0 ;
21446 int val2 ;
21447 int ecode2 = 0 ;
21448 bool temp3 = false ;
21449 wxPoint temp4 ;
21450 wxSize temp5 ;
21451 long val6 ;
21452 int ecode6 = 0 ;
21453 bool temp7 = false ;
21454 PyObject * obj0 = 0 ;
21455 PyObject * obj1 = 0 ;
21456 PyObject * obj2 = 0 ;
21457 PyObject * obj3 = 0 ;
21458 PyObject * obj4 = 0 ;
21459 PyObject * obj5 = 0 ;
21460 PyObject * obj6 = 0 ;
21461 char * kwnames[] = {
21462 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21463 };
21464
21465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21467 if (!SWIG_IsOK(res1)) {
21468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21469 }
21470 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21471 if (obj1) {
21472 ecode2 = SWIG_AsVal_int(obj1, &val2);
21473 if (!SWIG_IsOK(ecode2)) {
21474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21475 }
21476 arg2 = static_cast< int >(val2);
21477 }
21478 if (obj2) {
21479 {
21480 arg3 = wxString_in_helper(obj2);
21481 if (arg3 == NULL) SWIG_fail;
21482 temp3 = true;
21483 }
21484 }
21485 if (obj3) {
21486 {
21487 arg4 = &temp4;
21488 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21489 }
21490 }
21491 if (obj4) {
21492 {
21493 arg5 = &temp5;
21494 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21495 }
21496 }
21497 if (obj5) {
21498 ecode6 = SWIG_AsVal_long(obj5, &val6);
21499 if (!SWIG_IsOK(ecode6)) {
21500 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21501 }
21502 arg6 = static_cast< long >(val6);
21503 }
21504 if (obj6) {
21505 {
21506 arg7 = wxString_in_helper(obj6);
21507 if (arg7 == NULL) SWIG_fail;
21508 temp7 = true;
21509 }
21510 }
21511 {
21512 if (!wxPyCheckForApp()) SWIG_fail;
21513 PyThreadState* __tstate = wxPyBeginAllowThreads();
21514 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21515 wxPyEndAllowThreads(__tstate);
21516 if (PyErr_Occurred()) SWIG_fail;
21517 }
21518 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21519 {
21520 if (temp3)
21521 delete arg3;
21522 }
21523 {
21524 if (temp7)
21525 delete arg7;
21526 }
21527 return resultobj;
21528 fail:
21529 {
21530 if (temp3)
21531 delete arg3;
21532 }
21533 {
21534 if (temp7)
21535 delete arg7;
21536 }
21537 return NULL;
21538 }
21539
21540
21541 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21542 PyObject *resultobj = 0;
21543 wxMDIChildFrame *result = 0 ;
21544
21545 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21546 {
21547 if (!wxPyCheckForApp()) SWIG_fail;
21548 PyThreadState* __tstate = wxPyBeginAllowThreads();
21549 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21550 wxPyEndAllowThreads(__tstate);
21551 if (PyErr_Occurred()) SWIG_fail;
21552 }
21553 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21554 return resultobj;
21555 fail:
21556 return NULL;
21557 }
21558
21559
21560 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21561 PyObject *resultobj = 0;
21562 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21563 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21564 int arg3 = (int) (int)-1 ;
21565 wxString const &arg4_defvalue = wxPyEmptyString ;
21566 wxString *arg4 = (wxString *) &arg4_defvalue ;
21567 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21568 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21569 wxSize const &arg6_defvalue = wxDefaultSize ;
21570 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21571 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21572 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21573 wxString *arg8 = (wxString *) &arg8_defvalue ;
21574 bool result;
21575 void *argp1 = 0 ;
21576 int res1 = 0 ;
21577 void *argp2 = 0 ;
21578 int res2 = 0 ;
21579 int val3 ;
21580 int ecode3 = 0 ;
21581 bool temp4 = false ;
21582 wxPoint temp5 ;
21583 wxSize temp6 ;
21584 long val7 ;
21585 int ecode7 = 0 ;
21586 bool temp8 = false ;
21587 PyObject * obj0 = 0 ;
21588 PyObject * obj1 = 0 ;
21589 PyObject * obj2 = 0 ;
21590 PyObject * obj3 = 0 ;
21591 PyObject * obj4 = 0 ;
21592 PyObject * obj5 = 0 ;
21593 PyObject * obj6 = 0 ;
21594 PyObject * obj7 = 0 ;
21595 char * kwnames[] = {
21596 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21597 };
21598
21599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21601 if (!SWIG_IsOK(res1)) {
21602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21603 }
21604 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21605 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21606 if (!SWIG_IsOK(res2)) {
21607 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21608 }
21609 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21610 if (obj2) {
21611 ecode3 = SWIG_AsVal_int(obj2, &val3);
21612 if (!SWIG_IsOK(ecode3)) {
21613 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21614 }
21615 arg3 = static_cast< int >(val3);
21616 }
21617 if (obj3) {
21618 {
21619 arg4 = wxString_in_helper(obj3);
21620 if (arg4 == NULL) SWIG_fail;
21621 temp4 = true;
21622 }
21623 }
21624 if (obj4) {
21625 {
21626 arg5 = &temp5;
21627 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21628 }
21629 }
21630 if (obj5) {
21631 {
21632 arg6 = &temp6;
21633 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21634 }
21635 }
21636 if (obj6) {
21637 ecode7 = SWIG_AsVal_long(obj6, &val7);
21638 if (!SWIG_IsOK(ecode7)) {
21639 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21640 }
21641 arg7 = static_cast< long >(val7);
21642 }
21643 if (obj7) {
21644 {
21645 arg8 = wxString_in_helper(obj7);
21646 if (arg8 == NULL) SWIG_fail;
21647 temp8 = true;
21648 }
21649 }
21650 {
21651 PyThreadState* __tstate = wxPyBeginAllowThreads();
21652 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21653 wxPyEndAllowThreads(__tstate);
21654 if (PyErr_Occurred()) SWIG_fail;
21655 }
21656 {
21657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21658 }
21659 {
21660 if (temp4)
21661 delete arg4;
21662 }
21663 {
21664 if (temp8)
21665 delete arg8;
21666 }
21667 return resultobj;
21668 fail:
21669 {
21670 if (temp4)
21671 delete arg4;
21672 }
21673 {
21674 if (temp8)
21675 delete arg8;
21676 }
21677 return NULL;
21678 }
21679
21680
21681 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21682 PyObject *resultobj = 0;
21683 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21684 void *argp1 = 0 ;
21685 int res1 = 0 ;
21686 PyObject *swig_obj[1] ;
21687
21688 if (!args) SWIG_fail;
21689 swig_obj[0] = args;
21690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21691 if (!SWIG_IsOK(res1)) {
21692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21693 }
21694 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21695 {
21696 PyThreadState* __tstate = wxPyBeginAllowThreads();
21697 (arg1)->Activate();
21698 wxPyEndAllowThreads(__tstate);
21699 if (PyErr_Occurred()) SWIG_fail;
21700 }
21701 resultobj = SWIG_Py_Void();
21702 return resultobj;
21703 fail:
21704 return NULL;
21705 }
21706
21707
21708 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21709 PyObject *obj;
21710 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21711 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21712 return SWIG_Py_Void();
21713 }
21714
21715 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21716 return SWIG_Python_InitShadowInstance(args);
21717 }
21718
21719 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21720 PyObject *resultobj = 0;
21721 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21722 long arg2 = (long) 0 ;
21723 wxMDIClientWindow *result = 0 ;
21724 void *argp1 = 0 ;
21725 int res1 = 0 ;
21726 long val2 ;
21727 int ecode2 = 0 ;
21728 PyObject * obj0 = 0 ;
21729 PyObject * obj1 = 0 ;
21730 char * kwnames[] = {
21731 (char *) "parent",(char *) "style", NULL
21732 };
21733
21734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21736 if (!SWIG_IsOK(res1)) {
21737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21738 }
21739 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21740 if (obj1) {
21741 ecode2 = SWIG_AsVal_long(obj1, &val2);
21742 if (!SWIG_IsOK(ecode2)) {
21743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21744 }
21745 arg2 = static_cast< long >(val2);
21746 }
21747 {
21748 if (!wxPyCheckForApp()) SWIG_fail;
21749 PyThreadState* __tstate = wxPyBeginAllowThreads();
21750 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21751 wxPyEndAllowThreads(__tstate);
21752 if (PyErr_Occurred()) SWIG_fail;
21753 }
21754 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21755 return resultobj;
21756 fail:
21757 return NULL;
21758 }
21759
21760
21761 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21762 PyObject *resultobj = 0;
21763 wxMDIClientWindow *result = 0 ;
21764
21765 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21766 {
21767 if (!wxPyCheckForApp()) SWIG_fail;
21768 PyThreadState* __tstate = wxPyBeginAllowThreads();
21769 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21770 wxPyEndAllowThreads(__tstate);
21771 if (PyErr_Occurred()) SWIG_fail;
21772 }
21773 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21774 return resultobj;
21775 fail:
21776 return NULL;
21777 }
21778
21779
21780 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21781 PyObject *resultobj = 0;
21782 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21783 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21784 long arg3 = (long) 0 ;
21785 bool result;
21786 void *argp1 = 0 ;
21787 int res1 = 0 ;
21788 void *argp2 = 0 ;
21789 int res2 = 0 ;
21790 long val3 ;
21791 int ecode3 = 0 ;
21792 PyObject * obj0 = 0 ;
21793 PyObject * obj1 = 0 ;
21794 PyObject * obj2 = 0 ;
21795 char * kwnames[] = {
21796 (char *) "self",(char *) "parent",(char *) "style", NULL
21797 };
21798
21799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21801 if (!SWIG_IsOK(res1)) {
21802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21803 }
21804 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21805 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21806 if (!SWIG_IsOK(res2)) {
21807 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21808 }
21809 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21810 if (obj2) {
21811 ecode3 = SWIG_AsVal_long(obj2, &val3);
21812 if (!SWIG_IsOK(ecode3)) {
21813 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21814 }
21815 arg3 = static_cast< long >(val3);
21816 }
21817 {
21818 PyThreadState* __tstate = wxPyBeginAllowThreads();
21819 result = (bool)(arg1)->Create(arg2,arg3);
21820 wxPyEndAllowThreads(__tstate);
21821 if (PyErr_Occurred()) SWIG_fail;
21822 }
21823 {
21824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21825 }
21826 return resultobj;
21827 fail:
21828 return NULL;
21829 }
21830
21831
21832 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21833 PyObject *obj;
21834 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21835 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21836 return SWIG_Py_Void();
21837 }
21838
21839 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21840 return SWIG_Python_InitShadowInstance(args);
21841 }
21842
21843 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21844 PyObject *resultobj = 0;
21845 wxWindow *arg1 = (wxWindow *) 0 ;
21846 int arg2 = (int) (int)-1 ;
21847 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21848 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21849 wxSize const &arg4_defvalue = wxDefaultSize ;
21850 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21851 long arg5 = (long) 0 ;
21852 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21853 wxString *arg6 = (wxString *) &arg6_defvalue ;
21854 wxPyWindow *result = 0 ;
21855 void *argp1 = 0 ;
21856 int res1 = 0 ;
21857 int val2 ;
21858 int ecode2 = 0 ;
21859 wxPoint temp3 ;
21860 wxSize temp4 ;
21861 long val5 ;
21862 int ecode5 = 0 ;
21863 bool temp6 = false ;
21864 PyObject * obj0 = 0 ;
21865 PyObject * obj1 = 0 ;
21866 PyObject * obj2 = 0 ;
21867 PyObject * obj3 = 0 ;
21868 PyObject * obj4 = 0 ;
21869 PyObject * obj5 = 0 ;
21870 char * kwnames[] = {
21871 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21872 };
21873
21874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21876 if (!SWIG_IsOK(res1)) {
21877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21878 }
21879 arg1 = reinterpret_cast< wxWindow * >(argp1);
21880 if (obj1) {
21881 ecode2 = SWIG_AsVal_int(obj1, &val2);
21882 if (!SWIG_IsOK(ecode2)) {
21883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21884 }
21885 arg2 = static_cast< int >(val2);
21886 }
21887 if (obj2) {
21888 {
21889 arg3 = &temp3;
21890 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21891 }
21892 }
21893 if (obj3) {
21894 {
21895 arg4 = &temp4;
21896 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21897 }
21898 }
21899 if (obj4) {
21900 ecode5 = SWIG_AsVal_long(obj4, &val5);
21901 if (!SWIG_IsOK(ecode5)) {
21902 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21903 }
21904 arg5 = static_cast< long >(val5);
21905 }
21906 if (obj5) {
21907 {
21908 arg6 = wxString_in_helper(obj5);
21909 if (arg6 == NULL) SWIG_fail;
21910 temp6 = true;
21911 }
21912 }
21913 {
21914 if (!wxPyCheckForApp()) SWIG_fail;
21915 PyThreadState* __tstate = wxPyBeginAllowThreads();
21916 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21917 wxPyEndAllowThreads(__tstate);
21918 if (PyErr_Occurred()) SWIG_fail;
21919 }
21920 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21921 {
21922 if (temp6)
21923 delete arg6;
21924 }
21925 return resultobj;
21926 fail:
21927 {
21928 if (temp6)
21929 delete arg6;
21930 }
21931 return NULL;
21932 }
21933
21934
21935 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21936 PyObject *resultobj = 0;
21937 wxPyWindow *result = 0 ;
21938
21939 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21940 {
21941 if (!wxPyCheckForApp()) SWIG_fail;
21942 PyThreadState* __tstate = wxPyBeginAllowThreads();
21943 result = (wxPyWindow *)new wxPyWindow();
21944 wxPyEndAllowThreads(__tstate);
21945 if (PyErr_Occurred()) SWIG_fail;
21946 }
21947 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21948 return resultobj;
21949 fail:
21950 return NULL;
21951 }
21952
21953
21954 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21955 PyObject *resultobj = 0;
21956 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21957 PyObject *arg2 = (PyObject *) 0 ;
21958 PyObject *arg3 = (PyObject *) 0 ;
21959 void *argp1 = 0 ;
21960 int res1 = 0 ;
21961 PyObject * obj0 = 0 ;
21962 PyObject * obj1 = 0 ;
21963 PyObject * obj2 = 0 ;
21964 char * kwnames[] = {
21965 (char *) "self",(char *) "self",(char *) "_class", NULL
21966 };
21967
21968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21970 if (!SWIG_IsOK(res1)) {
21971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21972 }
21973 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21974 arg2 = obj1;
21975 arg3 = obj2;
21976 {
21977 PyThreadState* __tstate = wxPyBeginAllowThreads();
21978 (arg1)->_setCallbackInfo(arg2,arg3);
21979 wxPyEndAllowThreads(__tstate);
21980 if (PyErr_Occurred()) SWIG_fail;
21981 }
21982 resultobj = SWIG_Py_Void();
21983 return resultobj;
21984 fail:
21985 return NULL;
21986 }
21987
21988
21989 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21990 PyObject *resultobj = 0;
21991 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21992 wxDC *arg2 = (wxDC *) 0 ;
21993 bool result;
21994 void *argp1 = 0 ;
21995 int res1 = 0 ;
21996 void *argp2 = 0 ;
21997 int res2 = 0 ;
21998 PyObject * obj0 = 0 ;
21999 PyObject * obj1 = 0 ;
22000 char * kwnames[] = {
22001 (char *) "self",(char *) "dc", NULL
22002 };
22003
22004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22006 if (!SWIG_IsOK(res1)) {
22007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22008 }
22009 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22010 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22011 if (!SWIG_IsOK(res2)) {
22012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22013 }
22014 arg2 = reinterpret_cast< wxDC * >(argp2);
22015 {
22016 PyThreadState* __tstate = wxPyBeginAllowThreads();
22017 result = (bool)(arg1)->DoEraseBackground(arg2);
22018 wxPyEndAllowThreads(__tstate);
22019 if (PyErr_Occurred()) SWIG_fail;
22020 }
22021 {
22022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22023 }
22024 return resultobj;
22025 fail:
22026 return NULL;
22027 }
22028
22029
22030 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22031 PyObject *resultobj = 0;
22032 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22033 int arg2 ;
22034 int arg3 ;
22035 int arg4 ;
22036 int arg5 ;
22037 void *argp1 = 0 ;
22038 int res1 = 0 ;
22039 int val2 ;
22040 int ecode2 = 0 ;
22041 int val3 ;
22042 int ecode3 = 0 ;
22043 int val4 ;
22044 int ecode4 = 0 ;
22045 int val5 ;
22046 int ecode5 = 0 ;
22047 PyObject * obj0 = 0 ;
22048 PyObject * obj1 = 0 ;
22049 PyObject * obj2 = 0 ;
22050 PyObject * obj3 = 0 ;
22051 PyObject * obj4 = 0 ;
22052 char * kwnames[] = {
22053 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22054 };
22055
22056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22058 if (!SWIG_IsOK(res1)) {
22059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22060 }
22061 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22062 ecode2 = SWIG_AsVal_int(obj1, &val2);
22063 if (!SWIG_IsOK(ecode2)) {
22064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22065 }
22066 arg2 = static_cast< int >(val2);
22067 ecode3 = SWIG_AsVal_int(obj2, &val3);
22068 if (!SWIG_IsOK(ecode3)) {
22069 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22070 }
22071 arg3 = static_cast< int >(val3);
22072 ecode4 = SWIG_AsVal_int(obj3, &val4);
22073 if (!SWIG_IsOK(ecode4)) {
22074 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22075 }
22076 arg4 = static_cast< int >(val4);
22077 ecode5 = SWIG_AsVal_int(obj4, &val5);
22078 if (!SWIG_IsOK(ecode5)) {
22079 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22080 }
22081 arg5 = static_cast< int >(val5);
22082 {
22083 PyThreadState* __tstate = wxPyBeginAllowThreads();
22084 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22085 wxPyEndAllowThreads(__tstate);
22086 if (PyErr_Occurred()) SWIG_fail;
22087 }
22088 resultobj = SWIG_Py_Void();
22089 return resultobj;
22090 fail:
22091 return NULL;
22092 }
22093
22094
22095 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22096 PyObject *resultobj = 0;
22097 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22098 int arg2 ;
22099 int arg3 ;
22100 int arg4 ;
22101 int arg5 ;
22102 int arg6 = (int) wxSIZE_AUTO ;
22103 void *argp1 = 0 ;
22104 int res1 = 0 ;
22105 int val2 ;
22106 int ecode2 = 0 ;
22107 int val3 ;
22108 int ecode3 = 0 ;
22109 int val4 ;
22110 int ecode4 = 0 ;
22111 int val5 ;
22112 int ecode5 = 0 ;
22113 int val6 ;
22114 int ecode6 = 0 ;
22115 PyObject * obj0 = 0 ;
22116 PyObject * obj1 = 0 ;
22117 PyObject * obj2 = 0 ;
22118 PyObject * obj3 = 0 ;
22119 PyObject * obj4 = 0 ;
22120 PyObject * obj5 = 0 ;
22121 char * kwnames[] = {
22122 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22123 };
22124
22125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22127 if (!SWIG_IsOK(res1)) {
22128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22129 }
22130 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22131 ecode2 = SWIG_AsVal_int(obj1, &val2);
22132 if (!SWIG_IsOK(ecode2)) {
22133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22134 }
22135 arg2 = static_cast< int >(val2);
22136 ecode3 = SWIG_AsVal_int(obj2, &val3);
22137 if (!SWIG_IsOK(ecode3)) {
22138 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22139 }
22140 arg3 = static_cast< int >(val3);
22141 ecode4 = SWIG_AsVal_int(obj3, &val4);
22142 if (!SWIG_IsOK(ecode4)) {
22143 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22144 }
22145 arg4 = static_cast< int >(val4);
22146 ecode5 = SWIG_AsVal_int(obj4, &val5);
22147 if (!SWIG_IsOK(ecode5)) {
22148 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22149 }
22150 arg5 = static_cast< int >(val5);
22151 if (obj5) {
22152 ecode6 = SWIG_AsVal_int(obj5, &val6);
22153 if (!SWIG_IsOK(ecode6)) {
22154 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22155 }
22156 arg6 = static_cast< int >(val6);
22157 }
22158 {
22159 PyThreadState* __tstate = wxPyBeginAllowThreads();
22160 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22161 wxPyEndAllowThreads(__tstate);
22162 if (PyErr_Occurred()) SWIG_fail;
22163 }
22164 resultobj = SWIG_Py_Void();
22165 return resultobj;
22166 fail:
22167 return NULL;
22168 }
22169
22170
22171 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22172 PyObject *resultobj = 0;
22173 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22174 int arg2 ;
22175 int arg3 ;
22176 void *argp1 = 0 ;
22177 int res1 = 0 ;
22178 int val2 ;
22179 int ecode2 = 0 ;
22180 int val3 ;
22181 int ecode3 = 0 ;
22182 PyObject * obj0 = 0 ;
22183 PyObject * obj1 = 0 ;
22184 PyObject * obj2 = 0 ;
22185 char * kwnames[] = {
22186 (char *) "self",(char *) "width",(char *) "height", NULL
22187 };
22188
22189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22191 if (!SWIG_IsOK(res1)) {
22192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22193 }
22194 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22195 ecode2 = SWIG_AsVal_int(obj1, &val2);
22196 if (!SWIG_IsOK(ecode2)) {
22197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22198 }
22199 arg2 = static_cast< int >(val2);
22200 ecode3 = SWIG_AsVal_int(obj2, &val3);
22201 if (!SWIG_IsOK(ecode3)) {
22202 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22203 }
22204 arg3 = static_cast< int >(val3);
22205 {
22206 PyThreadState* __tstate = wxPyBeginAllowThreads();
22207 (arg1)->DoSetClientSize(arg2,arg3);
22208 wxPyEndAllowThreads(__tstate);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 }
22211 resultobj = SWIG_Py_Void();
22212 return resultobj;
22213 fail:
22214 return NULL;
22215 }
22216
22217
22218 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22219 PyObject *resultobj = 0;
22220 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22221 int arg2 ;
22222 int arg3 ;
22223 void *argp1 = 0 ;
22224 int res1 = 0 ;
22225 int val2 ;
22226 int ecode2 = 0 ;
22227 int val3 ;
22228 int ecode3 = 0 ;
22229 PyObject * obj0 = 0 ;
22230 PyObject * obj1 = 0 ;
22231 PyObject * obj2 = 0 ;
22232 char * kwnames[] = {
22233 (char *) "self",(char *) "x",(char *) "y", NULL
22234 };
22235
22236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22238 if (!SWIG_IsOK(res1)) {
22239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22240 }
22241 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22242 ecode2 = SWIG_AsVal_int(obj1, &val2);
22243 if (!SWIG_IsOK(ecode2)) {
22244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22245 }
22246 arg2 = static_cast< int >(val2);
22247 ecode3 = SWIG_AsVal_int(obj2, &val3);
22248 if (!SWIG_IsOK(ecode3)) {
22249 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22250 }
22251 arg3 = static_cast< int >(val3);
22252 {
22253 PyThreadState* __tstate = wxPyBeginAllowThreads();
22254 (arg1)->DoSetVirtualSize(arg2,arg3);
22255 wxPyEndAllowThreads(__tstate);
22256 if (PyErr_Occurred()) SWIG_fail;
22257 }
22258 resultobj = SWIG_Py_Void();
22259 return resultobj;
22260 fail:
22261 return NULL;
22262 }
22263
22264
22265 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22266 PyObject *resultobj = 0;
22267 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22268 int *arg2 = (int *) 0 ;
22269 int *arg3 = (int *) 0 ;
22270 void *argp1 = 0 ;
22271 int res1 = 0 ;
22272 int temp2 ;
22273 int res2 = SWIG_TMPOBJ ;
22274 int temp3 ;
22275 int res3 = SWIG_TMPOBJ ;
22276 PyObject *swig_obj[1] ;
22277
22278 arg2 = &temp2;
22279 arg3 = &temp3;
22280 if (!args) SWIG_fail;
22281 swig_obj[0] = args;
22282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22283 if (!SWIG_IsOK(res1)) {
22284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22285 }
22286 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22287 {
22288 PyThreadState* __tstate = wxPyBeginAllowThreads();
22289 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22290 wxPyEndAllowThreads(__tstate);
22291 if (PyErr_Occurred()) SWIG_fail;
22292 }
22293 resultobj = SWIG_Py_Void();
22294 if (SWIG_IsTmpObj(res2)) {
22295 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22296 } else {
22297 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22298 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22299 }
22300 if (SWIG_IsTmpObj(res3)) {
22301 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22302 } else {
22303 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22304 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22305 }
22306 return resultobj;
22307 fail:
22308 return NULL;
22309 }
22310
22311
22312 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22313 PyObject *resultobj = 0;
22314 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22315 int *arg2 = (int *) 0 ;
22316 int *arg3 = (int *) 0 ;
22317 void *argp1 = 0 ;
22318 int res1 = 0 ;
22319 int temp2 ;
22320 int res2 = SWIG_TMPOBJ ;
22321 int temp3 ;
22322 int res3 = SWIG_TMPOBJ ;
22323 PyObject *swig_obj[1] ;
22324
22325 arg2 = &temp2;
22326 arg3 = &temp3;
22327 if (!args) SWIG_fail;
22328 swig_obj[0] = args;
22329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22330 if (!SWIG_IsOK(res1)) {
22331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22332 }
22333 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22334 {
22335 PyThreadState* __tstate = wxPyBeginAllowThreads();
22336 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22337 wxPyEndAllowThreads(__tstate);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 }
22340 resultobj = SWIG_Py_Void();
22341 if (SWIG_IsTmpObj(res2)) {
22342 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22343 } else {
22344 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22345 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22346 }
22347 if (SWIG_IsTmpObj(res3)) {
22348 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22349 } else {
22350 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22351 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22352 }
22353 return resultobj;
22354 fail:
22355 return NULL;
22356 }
22357
22358
22359 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22360 PyObject *resultobj = 0;
22361 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22362 int *arg2 = (int *) 0 ;
22363 int *arg3 = (int *) 0 ;
22364 void *argp1 = 0 ;
22365 int res1 = 0 ;
22366 int temp2 ;
22367 int res2 = SWIG_TMPOBJ ;
22368 int temp3 ;
22369 int res3 = SWIG_TMPOBJ ;
22370 PyObject *swig_obj[1] ;
22371
22372 arg2 = &temp2;
22373 arg3 = &temp3;
22374 if (!args) SWIG_fail;
22375 swig_obj[0] = args;
22376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22377 if (!SWIG_IsOK(res1)) {
22378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22379 }
22380 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22381 {
22382 PyThreadState* __tstate = wxPyBeginAllowThreads();
22383 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22384 wxPyEndAllowThreads(__tstate);
22385 if (PyErr_Occurred()) SWIG_fail;
22386 }
22387 resultobj = SWIG_Py_Void();
22388 if (SWIG_IsTmpObj(res2)) {
22389 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22390 } else {
22391 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22392 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22393 }
22394 if (SWIG_IsTmpObj(res3)) {
22395 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22396 } else {
22397 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22398 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22399 }
22400 return resultobj;
22401 fail:
22402 return NULL;
22403 }
22404
22405
22406 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22407 PyObject *resultobj = 0;
22408 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22409 wxSize result;
22410 void *argp1 = 0 ;
22411 int res1 = 0 ;
22412 PyObject *swig_obj[1] ;
22413
22414 if (!args) SWIG_fail;
22415 swig_obj[0] = args;
22416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22417 if (!SWIG_IsOK(res1)) {
22418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22419 }
22420 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22421 {
22422 PyThreadState* __tstate = wxPyBeginAllowThreads();
22423 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22424 wxPyEndAllowThreads(__tstate);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 }
22427 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22428 return resultobj;
22429 fail:
22430 return NULL;
22431 }
22432
22433
22434 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22435 PyObject *resultobj = 0;
22436 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22437 wxSize result;
22438 void *argp1 = 0 ;
22439 int res1 = 0 ;
22440 PyObject *swig_obj[1] ;
22441
22442 if (!args) SWIG_fail;
22443 swig_obj[0] = args;
22444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22445 if (!SWIG_IsOK(res1)) {
22446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22447 }
22448 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22449 {
22450 PyThreadState* __tstate = wxPyBeginAllowThreads();
22451 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
22455 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22456 return resultobj;
22457 fail:
22458 return NULL;
22459 }
22460
22461
22462 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22463 PyObject *resultobj = 0;
22464 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22465 SwigValueWrapper<wxVisualAttributes > result;
22466 void *argp1 = 0 ;
22467 int res1 = 0 ;
22468 PyObject *swig_obj[1] ;
22469
22470 if (!args) SWIG_fail;
22471 swig_obj[0] = args;
22472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22473 if (!SWIG_IsOK(res1)) {
22474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22475 }
22476 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22477 {
22478 PyThreadState* __tstate = wxPyBeginAllowThreads();
22479 result = (arg1)->GetDefaultAttributes();
22480 wxPyEndAllowThreads(__tstate);
22481 if (PyErr_Occurred()) SWIG_fail;
22482 }
22483 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22484 return resultobj;
22485 fail:
22486 return NULL;
22487 }
22488
22489
22490 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22491 PyObject *resultobj = 0;
22492 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22493 void *argp1 = 0 ;
22494 int res1 = 0 ;
22495 PyObject *swig_obj[1] ;
22496
22497 if (!args) SWIG_fail;
22498 swig_obj[0] = args;
22499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22500 if (!SWIG_IsOK(res1)) {
22501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22502 }
22503 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22504 {
22505 PyThreadState* __tstate = wxPyBeginAllowThreads();
22506 (arg1)->OnInternalIdle();
22507 wxPyEndAllowThreads(__tstate);
22508 if (PyErr_Occurred()) SWIG_fail;
22509 }
22510 resultobj = SWIG_Py_Void();
22511 return resultobj;
22512 fail:
22513 return NULL;
22514 }
22515
22516
22517 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22518 PyObject *obj;
22519 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22520 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22521 return SWIG_Py_Void();
22522 }
22523
22524 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22525 return SWIG_Python_InitShadowInstance(args);
22526 }
22527
22528 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22529 PyObject *resultobj = 0;
22530 wxWindow *arg1 = (wxWindow *) 0 ;
22531 int arg2 = (int) (int)-1 ;
22532 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22533 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22534 wxSize const &arg4_defvalue = wxDefaultSize ;
22535 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22536 long arg5 = (long) 0 ;
22537 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22538 wxString *arg6 = (wxString *) &arg6_defvalue ;
22539 wxPyPanel *result = 0 ;
22540 void *argp1 = 0 ;
22541 int res1 = 0 ;
22542 int val2 ;
22543 int ecode2 = 0 ;
22544 wxPoint temp3 ;
22545 wxSize temp4 ;
22546 long val5 ;
22547 int ecode5 = 0 ;
22548 bool temp6 = false ;
22549 PyObject * obj0 = 0 ;
22550 PyObject * obj1 = 0 ;
22551 PyObject * obj2 = 0 ;
22552 PyObject * obj3 = 0 ;
22553 PyObject * obj4 = 0 ;
22554 PyObject * obj5 = 0 ;
22555 char * kwnames[] = {
22556 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22557 };
22558
22559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22561 if (!SWIG_IsOK(res1)) {
22562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22563 }
22564 arg1 = reinterpret_cast< wxWindow * >(argp1);
22565 if (obj1) {
22566 ecode2 = SWIG_AsVal_int(obj1, &val2);
22567 if (!SWIG_IsOK(ecode2)) {
22568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22569 }
22570 arg2 = static_cast< int >(val2);
22571 }
22572 if (obj2) {
22573 {
22574 arg3 = &temp3;
22575 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22576 }
22577 }
22578 if (obj3) {
22579 {
22580 arg4 = &temp4;
22581 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22582 }
22583 }
22584 if (obj4) {
22585 ecode5 = SWIG_AsVal_long(obj4, &val5);
22586 if (!SWIG_IsOK(ecode5)) {
22587 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22588 }
22589 arg5 = static_cast< long >(val5);
22590 }
22591 if (obj5) {
22592 {
22593 arg6 = wxString_in_helper(obj5);
22594 if (arg6 == NULL) SWIG_fail;
22595 temp6 = true;
22596 }
22597 }
22598 {
22599 if (!wxPyCheckForApp()) SWIG_fail;
22600 PyThreadState* __tstate = wxPyBeginAllowThreads();
22601 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22602 wxPyEndAllowThreads(__tstate);
22603 if (PyErr_Occurred()) SWIG_fail;
22604 }
22605 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22606 {
22607 if (temp6)
22608 delete arg6;
22609 }
22610 return resultobj;
22611 fail:
22612 {
22613 if (temp6)
22614 delete arg6;
22615 }
22616 return NULL;
22617 }
22618
22619
22620 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22621 PyObject *resultobj = 0;
22622 wxPyPanel *result = 0 ;
22623
22624 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22625 {
22626 if (!wxPyCheckForApp()) SWIG_fail;
22627 PyThreadState* __tstate = wxPyBeginAllowThreads();
22628 result = (wxPyPanel *)new wxPyPanel();
22629 wxPyEndAllowThreads(__tstate);
22630 if (PyErr_Occurred()) SWIG_fail;
22631 }
22632 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22633 return resultobj;
22634 fail:
22635 return NULL;
22636 }
22637
22638
22639 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22640 PyObject *resultobj = 0;
22641 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22642 PyObject *arg2 = (PyObject *) 0 ;
22643 PyObject *arg3 = (PyObject *) 0 ;
22644 void *argp1 = 0 ;
22645 int res1 = 0 ;
22646 PyObject * obj0 = 0 ;
22647 PyObject * obj1 = 0 ;
22648 PyObject * obj2 = 0 ;
22649 char * kwnames[] = {
22650 (char *) "self",(char *) "self",(char *) "_class", NULL
22651 };
22652
22653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22655 if (!SWIG_IsOK(res1)) {
22656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22657 }
22658 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22659 arg2 = obj1;
22660 arg3 = obj2;
22661 {
22662 PyThreadState* __tstate = wxPyBeginAllowThreads();
22663 (arg1)->_setCallbackInfo(arg2,arg3);
22664 wxPyEndAllowThreads(__tstate);
22665 if (PyErr_Occurred()) SWIG_fail;
22666 }
22667 resultobj = SWIG_Py_Void();
22668 return resultobj;
22669 fail:
22670 return NULL;
22671 }
22672
22673
22674 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22675 PyObject *resultobj = 0;
22676 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22677 wxDC *arg2 = (wxDC *) 0 ;
22678 bool result;
22679 void *argp1 = 0 ;
22680 int res1 = 0 ;
22681 void *argp2 = 0 ;
22682 int res2 = 0 ;
22683 PyObject * obj0 = 0 ;
22684 PyObject * obj1 = 0 ;
22685 char * kwnames[] = {
22686 (char *) "self",(char *) "dc", NULL
22687 };
22688
22689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22691 if (!SWIG_IsOK(res1)) {
22692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22693 }
22694 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22695 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22696 if (!SWIG_IsOK(res2)) {
22697 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22698 }
22699 arg2 = reinterpret_cast< wxDC * >(argp2);
22700 {
22701 PyThreadState* __tstate = wxPyBeginAllowThreads();
22702 result = (bool)(arg1)->DoEraseBackground(arg2);
22703 wxPyEndAllowThreads(__tstate);
22704 if (PyErr_Occurred()) SWIG_fail;
22705 }
22706 {
22707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22708 }
22709 return resultobj;
22710 fail:
22711 return NULL;
22712 }
22713
22714
22715 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22716 PyObject *resultobj = 0;
22717 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22718 int arg2 ;
22719 int arg3 ;
22720 int arg4 ;
22721 int arg5 ;
22722 void *argp1 = 0 ;
22723 int res1 = 0 ;
22724 int val2 ;
22725 int ecode2 = 0 ;
22726 int val3 ;
22727 int ecode3 = 0 ;
22728 int val4 ;
22729 int ecode4 = 0 ;
22730 int val5 ;
22731 int ecode5 = 0 ;
22732 PyObject * obj0 = 0 ;
22733 PyObject * obj1 = 0 ;
22734 PyObject * obj2 = 0 ;
22735 PyObject * obj3 = 0 ;
22736 PyObject * obj4 = 0 ;
22737 char * kwnames[] = {
22738 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22739 };
22740
22741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22743 if (!SWIG_IsOK(res1)) {
22744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22745 }
22746 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22747 ecode2 = SWIG_AsVal_int(obj1, &val2);
22748 if (!SWIG_IsOK(ecode2)) {
22749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22750 }
22751 arg2 = static_cast< int >(val2);
22752 ecode3 = SWIG_AsVal_int(obj2, &val3);
22753 if (!SWIG_IsOK(ecode3)) {
22754 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22755 }
22756 arg3 = static_cast< int >(val3);
22757 ecode4 = SWIG_AsVal_int(obj3, &val4);
22758 if (!SWIG_IsOK(ecode4)) {
22759 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22760 }
22761 arg4 = static_cast< int >(val4);
22762 ecode5 = SWIG_AsVal_int(obj4, &val5);
22763 if (!SWIG_IsOK(ecode5)) {
22764 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22765 }
22766 arg5 = static_cast< int >(val5);
22767 {
22768 PyThreadState* __tstate = wxPyBeginAllowThreads();
22769 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22770 wxPyEndAllowThreads(__tstate);
22771 if (PyErr_Occurred()) SWIG_fail;
22772 }
22773 resultobj = SWIG_Py_Void();
22774 return resultobj;
22775 fail:
22776 return NULL;
22777 }
22778
22779
22780 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22781 PyObject *resultobj = 0;
22782 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22783 int arg2 ;
22784 int arg3 ;
22785 int arg4 ;
22786 int arg5 ;
22787 int arg6 = (int) wxSIZE_AUTO ;
22788 void *argp1 = 0 ;
22789 int res1 = 0 ;
22790 int val2 ;
22791 int ecode2 = 0 ;
22792 int val3 ;
22793 int ecode3 = 0 ;
22794 int val4 ;
22795 int ecode4 = 0 ;
22796 int val5 ;
22797 int ecode5 = 0 ;
22798 int val6 ;
22799 int ecode6 = 0 ;
22800 PyObject * obj0 = 0 ;
22801 PyObject * obj1 = 0 ;
22802 PyObject * obj2 = 0 ;
22803 PyObject * obj3 = 0 ;
22804 PyObject * obj4 = 0 ;
22805 PyObject * obj5 = 0 ;
22806 char * kwnames[] = {
22807 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22808 };
22809
22810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22812 if (!SWIG_IsOK(res1)) {
22813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22814 }
22815 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22816 ecode2 = SWIG_AsVal_int(obj1, &val2);
22817 if (!SWIG_IsOK(ecode2)) {
22818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22819 }
22820 arg2 = static_cast< int >(val2);
22821 ecode3 = SWIG_AsVal_int(obj2, &val3);
22822 if (!SWIG_IsOK(ecode3)) {
22823 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22824 }
22825 arg3 = static_cast< int >(val3);
22826 ecode4 = SWIG_AsVal_int(obj3, &val4);
22827 if (!SWIG_IsOK(ecode4)) {
22828 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22829 }
22830 arg4 = static_cast< int >(val4);
22831 ecode5 = SWIG_AsVal_int(obj4, &val5);
22832 if (!SWIG_IsOK(ecode5)) {
22833 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22834 }
22835 arg5 = static_cast< int >(val5);
22836 if (obj5) {
22837 ecode6 = SWIG_AsVal_int(obj5, &val6);
22838 if (!SWIG_IsOK(ecode6)) {
22839 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22840 }
22841 arg6 = static_cast< int >(val6);
22842 }
22843 {
22844 PyThreadState* __tstate = wxPyBeginAllowThreads();
22845 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22846 wxPyEndAllowThreads(__tstate);
22847 if (PyErr_Occurred()) SWIG_fail;
22848 }
22849 resultobj = SWIG_Py_Void();
22850 return resultobj;
22851 fail:
22852 return NULL;
22853 }
22854
22855
22856 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22857 PyObject *resultobj = 0;
22858 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22859 int arg2 ;
22860 int arg3 ;
22861 void *argp1 = 0 ;
22862 int res1 = 0 ;
22863 int val2 ;
22864 int ecode2 = 0 ;
22865 int val3 ;
22866 int ecode3 = 0 ;
22867 PyObject * obj0 = 0 ;
22868 PyObject * obj1 = 0 ;
22869 PyObject * obj2 = 0 ;
22870 char * kwnames[] = {
22871 (char *) "self",(char *) "width",(char *) "height", NULL
22872 };
22873
22874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22876 if (!SWIG_IsOK(res1)) {
22877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22878 }
22879 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22880 ecode2 = SWIG_AsVal_int(obj1, &val2);
22881 if (!SWIG_IsOK(ecode2)) {
22882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22883 }
22884 arg2 = static_cast< int >(val2);
22885 ecode3 = SWIG_AsVal_int(obj2, &val3);
22886 if (!SWIG_IsOK(ecode3)) {
22887 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22888 }
22889 arg3 = static_cast< int >(val3);
22890 {
22891 PyThreadState* __tstate = wxPyBeginAllowThreads();
22892 (arg1)->DoSetClientSize(arg2,arg3);
22893 wxPyEndAllowThreads(__tstate);
22894 if (PyErr_Occurred()) SWIG_fail;
22895 }
22896 resultobj = SWIG_Py_Void();
22897 return resultobj;
22898 fail:
22899 return NULL;
22900 }
22901
22902
22903 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22904 PyObject *resultobj = 0;
22905 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22906 int arg2 ;
22907 int arg3 ;
22908 void *argp1 = 0 ;
22909 int res1 = 0 ;
22910 int val2 ;
22911 int ecode2 = 0 ;
22912 int val3 ;
22913 int ecode3 = 0 ;
22914 PyObject * obj0 = 0 ;
22915 PyObject * obj1 = 0 ;
22916 PyObject * obj2 = 0 ;
22917 char * kwnames[] = {
22918 (char *) "self",(char *) "x",(char *) "y", NULL
22919 };
22920
22921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22923 if (!SWIG_IsOK(res1)) {
22924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22925 }
22926 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22927 ecode2 = SWIG_AsVal_int(obj1, &val2);
22928 if (!SWIG_IsOK(ecode2)) {
22929 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22930 }
22931 arg2 = static_cast< int >(val2);
22932 ecode3 = SWIG_AsVal_int(obj2, &val3);
22933 if (!SWIG_IsOK(ecode3)) {
22934 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22935 }
22936 arg3 = static_cast< int >(val3);
22937 {
22938 PyThreadState* __tstate = wxPyBeginAllowThreads();
22939 (arg1)->DoSetVirtualSize(arg2,arg3);
22940 wxPyEndAllowThreads(__tstate);
22941 if (PyErr_Occurred()) SWIG_fail;
22942 }
22943 resultobj = SWIG_Py_Void();
22944 return resultobj;
22945 fail:
22946 return NULL;
22947 }
22948
22949
22950 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22951 PyObject *resultobj = 0;
22952 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22953 int *arg2 = (int *) 0 ;
22954 int *arg3 = (int *) 0 ;
22955 void *argp1 = 0 ;
22956 int res1 = 0 ;
22957 int temp2 ;
22958 int res2 = SWIG_TMPOBJ ;
22959 int temp3 ;
22960 int res3 = SWIG_TMPOBJ ;
22961 PyObject *swig_obj[1] ;
22962
22963 arg2 = &temp2;
22964 arg3 = &temp3;
22965 if (!args) SWIG_fail;
22966 swig_obj[0] = args;
22967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22968 if (!SWIG_IsOK(res1)) {
22969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22970 }
22971 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22972 {
22973 PyThreadState* __tstate = wxPyBeginAllowThreads();
22974 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22975 wxPyEndAllowThreads(__tstate);
22976 if (PyErr_Occurred()) SWIG_fail;
22977 }
22978 resultobj = SWIG_Py_Void();
22979 if (SWIG_IsTmpObj(res2)) {
22980 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22981 } else {
22982 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22983 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22984 }
22985 if (SWIG_IsTmpObj(res3)) {
22986 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22987 } else {
22988 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22989 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22990 }
22991 return resultobj;
22992 fail:
22993 return NULL;
22994 }
22995
22996
22997 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22998 PyObject *resultobj = 0;
22999 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23000 int *arg2 = (int *) 0 ;
23001 int *arg3 = (int *) 0 ;
23002 void *argp1 = 0 ;
23003 int res1 = 0 ;
23004 int temp2 ;
23005 int res2 = SWIG_TMPOBJ ;
23006 int temp3 ;
23007 int res3 = SWIG_TMPOBJ ;
23008 PyObject *swig_obj[1] ;
23009
23010 arg2 = &temp2;
23011 arg3 = &temp3;
23012 if (!args) SWIG_fail;
23013 swig_obj[0] = args;
23014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23015 if (!SWIG_IsOK(res1)) {
23016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23017 }
23018 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23019 {
23020 PyThreadState* __tstate = wxPyBeginAllowThreads();
23021 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
23022 wxPyEndAllowThreads(__tstate);
23023 if (PyErr_Occurred()) SWIG_fail;
23024 }
23025 resultobj = SWIG_Py_Void();
23026 if (SWIG_IsTmpObj(res2)) {
23027 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23028 } else {
23029 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23030 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23031 }
23032 if (SWIG_IsTmpObj(res3)) {
23033 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23034 } else {
23035 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23036 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23037 }
23038 return resultobj;
23039 fail:
23040 return NULL;
23041 }
23042
23043
23044 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23045 PyObject *resultobj = 0;
23046 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23047 int *arg2 = (int *) 0 ;
23048 int *arg3 = (int *) 0 ;
23049 void *argp1 = 0 ;
23050 int res1 = 0 ;
23051 int temp2 ;
23052 int res2 = SWIG_TMPOBJ ;
23053 int temp3 ;
23054 int res3 = SWIG_TMPOBJ ;
23055 PyObject *swig_obj[1] ;
23056
23057 arg2 = &temp2;
23058 arg3 = &temp3;
23059 if (!args) SWIG_fail;
23060 swig_obj[0] = args;
23061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23062 if (!SWIG_IsOK(res1)) {
23063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23064 }
23065 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23066 {
23067 PyThreadState* __tstate = wxPyBeginAllowThreads();
23068 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
23069 wxPyEndAllowThreads(__tstate);
23070 if (PyErr_Occurred()) SWIG_fail;
23071 }
23072 resultobj = SWIG_Py_Void();
23073 if (SWIG_IsTmpObj(res2)) {
23074 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23075 } else {
23076 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23077 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23078 }
23079 if (SWIG_IsTmpObj(res3)) {
23080 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23081 } else {
23082 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23083 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23084 }
23085 return resultobj;
23086 fail:
23087 return NULL;
23088 }
23089
23090
23091 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23092 PyObject *resultobj = 0;
23093 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23094 wxSize result;
23095 void *argp1 = 0 ;
23096 int res1 = 0 ;
23097 PyObject *swig_obj[1] ;
23098
23099 if (!args) SWIG_fail;
23100 swig_obj[0] = args;
23101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23102 if (!SWIG_IsOK(res1)) {
23103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23104 }
23105 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23106 {
23107 PyThreadState* __tstate = wxPyBeginAllowThreads();
23108 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
23109 wxPyEndAllowThreads(__tstate);
23110 if (PyErr_Occurred()) SWIG_fail;
23111 }
23112 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23113 return resultobj;
23114 fail:
23115 return NULL;
23116 }
23117
23118
23119 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23120 PyObject *resultobj = 0;
23121 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23122 wxSize result;
23123 void *argp1 = 0 ;
23124 int res1 = 0 ;
23125 PyObject *swig_obj[1] ;
23126
23127 if (!args) SWIG_fail;
23128 swig_obj[0] = args;
23129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23130 if (!SWIG_IsOK(res1)) {
23131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23132 }
23133 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23134 {
23135 PyThreadState* __tstate = wxPyBeginAllowThreads();
23136 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
23137 wxPyEndAllowThreads(__tstate);
23138 if (PyErr_Occurred()) SWIG_fail;
23139 }
23140 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23141 return resultobj;
23142 fail:
23143 return NULL;
23144 }
23145
23146
23147 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23148 PyObject *resultobj = 0;
23149 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23150 SwigValueWrapper<wxVisualAttributes > result;
23151 void *argp1 = 0 ;
23152 int res1 = 0 ;
23153 PyObject *swig_obj[1] ;
23154
23155 if (!args) SWIG_fail;
23156 swig_obj[0] = args;
23157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23158 if (!SWIG_IsOK(res1)) {
23159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23160 }
23161 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23162 {
23163 PyThreadState* __tstate = wxPyBeginAllowThreads();
23164 result = (arg1)->GetDefaultAttributes();
23165 wxPyEndAllowThreads(__tstate);
23166 if (PyErr_Occurred()) SWIG_fail;
23167 }
23168 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23169 return resultobj;
23170 fail:
23171 return NULL;
23172 }
23173
23174
23175 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23176 PyObject *resultobj = 0;
23177 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23178 void *argp1 = 0 ;
23179 int res1 = 0 ;
23180 PyObject *swig_obj[1] ;
23181
23182 if (!args) SWIG_fail;
23183 swig_obj[0] = args;
23184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23185 if (!SWIG_IsOK(res1)) {
23186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23187 }
23188 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23189 {
23190 PyThreadState* __tstate = wxPyBeginAllowThreads();
23191 (arg1)->OnInternalIdle();
23192 wxPyEndAllowThreads(__tstate);
23193 if (PyErr_Occurred()) SWIG_fail;
23194 }
23195 resultobj = SWIG_Py_Void();
23196 return resultobj;
23197 fail:
23198 return NULL;
23199 }
23200
23201
23202 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23203 PyObject *obj;
23204 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23205 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
23206 return SWIG_Py_Void();
23207 }
23208
23209 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23210 return SWIG_Python_InitShadowInstance(args);
23211 }
23212
23213 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23214 PyObject *resultobj = 0;
23215 wxWindow *arg1 = (wxWindow *) 0 ;
23216 int arg2 = (int) (int)-1 ;
23217 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23218 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23219 wxSize const &arg4_defvalue = wxDefaultSize ;
23220 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23221 long arg5 = (long) 0 ;
23222 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23223 wxString *arg6 = (wxString *) &arg6_defvalue ;
23224 wxPyScrolledWindow *result = 0 ;
23225 void *argp1 = 0 ;
23226 int res1 = 0 ;
23227 int val2 ;
23228 int ecode2 = 0 ;
23229 wxPoint temp3 ;
23230 wxSize temp4 ;
23231 long val5 ;
23232 int ecode5 = 0 ;
23233 bool temp6 = false ;
23234 PyObject * obj0 = 0 ;
23235 PyObject * obj1 = 0 ;
23236 PyObject * obj2 = 0 ;
23237 PyObject * obj3 = 0 ;
23238 PyObject * obj4 = 0 ;
23239 PyObject * obj5 = 0 ;
23240 char * kwnames[] = {
23241 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23242 };
23243
23244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23246 if (!SWIG_IsOK(res1)) {
23247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23248 }
23249 arg1 = reinterpret_cast< wxWindow * >(argp1);
23250 if (obj1) {
23251 ecode2 = SWIG_AsVal_int(obj1, &val2);
23252 if (!SWIG_IsOK(ecode2)) {
23253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23254 }
23255 arg2 = static_cast< int >(val2);
23256 }
23257 if (obj2) {
23258 {
23259 arg3 = &temp3;
23260 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23261 }
23262 }
23263 if (obj3) {
23264 {
23265 arg4 = &temp4;
23266 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23267 }
23268 }
23269 if (obj4) {
23270 ecode5 = SWIG_AsVal_long(obj4, &val5);
23271 if (!SWIG_IsOK(ecode5)) {
23272 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23273 }
23274 arg5 = static_cast< long >(val5);
23275 }
23276 if (obj5) {
23277 {
23278 arg6 = wxString_in_helper(obj5);
23279 if (arg6 == NULL) SWIG_fail;
23280 temp6 = true;
23281 }
23282 }
23283 {
23284 if (!wxPyCheckForApp()) SWIG_fail;
23285 PyThreadState* __tstate = wxPyBeginAllowThreads();
23286 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23287 wxPyEndAllowThreads(__tstate);
23288 if (PyErr_Occurred()) SWIG_fail;
23289 }
23290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23291 {
23292 if (temp6)
23293 delete arg6;
23294 }
23295 return resultobj;
23296 fail:
23297 {
23298 if (temp6)
23299 delete arg6;
23300 }
23301 return NULL;
23302 }
23303
23304
23305 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23306 PyObject *resultobj = 0;
23307 wxPyScrolledWindow *result = 0 ;
23308
23309 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23310 {
23311 if (!wxPyCheckForApp()) SWIG_fail;
23312 PyThreadState* __tstate = wxPyBeginAllowThreads();
23313 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23314 wxPyEndAllowThreads(__tstate);
23315 if (PyErr_Occurred()) SWIG_fail;
23316 }
23317 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23318 return resultobj;
23319 fail:
23320 return NULL;
23321 }
23322
23323
23324 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23325 PyObject *resultobj = 0;
23326 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23327 PyObject *arg2 = (PyObject *) 0 ;
23328 PyObject *arg3 = (PyObject *) 0 ;
23329 void *argp1 = 0 ;
23330 int res1 = 0 ;
23331 PyObject * obj0 = 0 ;
23332 PyObject * obj1 = 0 ;
23333 PyObject * obj2 = 0 ;
23334 char * kwnames[] = {
23335 (char *) "self",(char *) "self",(char *) "_class", NULL
23336 };
23337
23338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23340 if (!SWIG_IsOK(res1)) {
23341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23342 }
23343 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23344 arg2 = obj1;
23345 arg3 = obj2;
23346 {
23347 PyThreadState* __tstate = wxPyBeginAllowThreads();
23348 (arg1)->_setCallbackInfo(arg2,arg3);
23349 wxPyEndAllowThreads(__tstate);
23350 if (PyErr_Occurred()) SWIG_fail;
23351 }
23352 resultobj = SWIG_Py_Void();
23353 return resultobj;
23354 fail:
23355 return NULL;
23356 }
23357
23358
23359 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23360 PyObject *resultobj = 0;
23361 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23362 wxDC *arg2 = (wxDC *) 0 ;
23363 bool result;
23364 void *argp1 = 0 ;
23365 int res1 = 0 ;
23366 void *argp2 = 0 ;
23367 int res2 = 0 ;
23368 PyObject * obj0 = 0 ;
23369 PyObject * obj1 = 0 ;
23370 char * kwnames[] = {
23371 (char *) "self",(char *) "dc", NULL
23372 };
23373
23374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23376 if (!SWIG_IsOK(res1)) {
23377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23378 }
23379 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23380 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23381 if (!SWIG_IsOK(res2)) {
23382 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23383 }
23384 arg2 = reinterpret_cast< wxDC * >(argp2);
23385 {
23386 PyThreadState* __tstate = wxPyBeginAllowThreads();
23387 result = (bool)(arg1)->DoEraseBackground(arg2);
23388 wxPyEndAllowThreads(__tstate);
23389 if (PyErr_Occurred()) SWIG_fail;
23390 }
23391 {
23392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23393 }
23394 return resultobj;
23395 fail:
23396 return NULL;
23397 }
23398
23399
23400 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23401 PyObject *resultobj = 0;
23402 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23403 int arg2 ;
23404 int arg3 ;
23405 int arg4 ;
23406 int arg5 ;
23407 void *argp1 = 0 ;
23408 int res1 = 0 ;
23409 int val2 ;
23410 int ecode2 = 0 ;
23411 int val3 ;
23412 int ecode3 = 0 ;
23413 int val4 ;
23414 int ecode4 = 0 ;
23415 int val5 ;
23416 int ecode5 = 0 ;
23417 PyObject * obj0 = 0 ;
23418 PyObject * obj1 = 0 ;
23419 PyObject * obj2 = 0 ;
23420 PyObject * obj3 = 0 ;
23421 PyObject * obj4 = 0 ;
23422 char * kwnames[] = {
23423 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23424 };
23425
23426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23428 if (!SWIG_IsOK(res1)) {
23429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23430 }
23431 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23432 ecode2 = SWIG_AsVal_int(obj1, &val2);
23433 if (!SWIG_IsOK(ecode2)) {
23434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23435 }
23436 arg2 = static_cast< int >(val2);
23437 ecode3 = SWIG_AsVal_int(obj2, &val3);
23438 if (!SWIG_IsOK(ecode3)) {
23439 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23440 }
23441 arg3 = static_cast< int >(val3);
23442 ecode4 = SWIG_AsVal_int(obj3, &val4);
23443 if (!SWIG_IsOK(ecode4)) {
23444 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23445 }
23446 arg4 = static_cast< int >(val4);
23447 ecode5 = SWIG_AsVal_int(obj4, &val5);
23448 if (!SWIG_IsOK(ecode5)) {
23449 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23450 }
23451 arg5 = static_cast< int >(val5);
23452 {
23453 PyThreadState* __tstate = wxPyBeginAllowThreads();
23454 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23455 wxPyEndAllowThreads(__tstate);
23456 if (PyErr_Occurred()) SWIG_fail;
23457 }
23458 resultobj = SWIG_Py_Void();
23459 return resultobj;
23460 fail:
23461 return NULL;
23462 }
23463
23464
23465 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23466 PyObject *resultobj = 0;
23467 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23468 int arg2 ;
23469 int arg3 ;
23470 int arg4 ;
23471 int arg5 ;
23472 int arg6 = (int) wxSIZE_AUTO ;
23473 void *argp1 = 0 ;
23474 int res1 = 0 ;
23475 int val2 ;
23476 int ecode2 = 0 ;
23477 int val3 ;
23478 int ecode3 = 0 ;
23479 int val4 ;
23480 int ecode4 = 0 ;
23481 int val5 ;
23482 int ecode5 = 0 ;
23483 int val6 ;
23484 int ecode6 = 0 ;
23485 PyObject * obj0 = 0 ;
23486 PyObject * obj1 = 0 ;
23487 PyObject * obj2 = 0 ;
23488 PyObject * obj3 = 0 ;
23489 PyObject * obj4 = 0 ;
23490 PyObject * obj5 = 0 ;
23491 char * kwnames[] = {
23492 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23493 };
23494
23495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23497 if (!SWIG_IsOK(res1)) {
23498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23499 }
23500 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23501 ecode2 = SWIG_AsVal_int(obj1, &val2);
23502 if (!SWIG_IsOK(ecode2)) {
23503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23504 }
23505 arg2 = static_cast< int >(val2);
23506 ecode3 = SWIG_AsVal_int(obj2, &val3);
23507 if (!SWIG_IsOK(ecode3)) {
23508 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23509 }
23510 arg3 = static_cast< int >(val3);
23511 ecode4 = SWIG_AsVal_int(obj3, &val4);
23512 if (!SWIG_IsOK(ecode4)) {
23513 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23514 }
23515 arg4 = static_cast< int >(val4);
23516 ecode5 = SWIG_AsVal_int(obj4, &val5);
23517 if (!SWIG_IsOK(ecode5)) {
23518 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23519 }
23520 arg5 = static_cast< int >(val5);
23521 if (obj5) {
23522 ecode6 = SWIG_AsVal_int(obj5, &val6);
23523 if (!SWIG_IsOK(ecode6)) {
23524 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23525 }
23526 arg6 = static_cast< int >(val6);
23527 }
23528 {
23529 PyThreadState* __tstate = wxPyBeginAllowThreads();
23530 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23531 wxPyEndAllowThreads(__tstate);
23532 if (PyErr_Occurred()) SWIG_fail;
23533 }
23534 resultobj = SWIG_Py_Void();
23535 return resultobj;
23536 fail:
23537 return NULL;
23538 }
23539
23540
23541 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23542 PyObject *resultobj = 0;
23543 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23544 int arg2 ;
23545 int arg3 ;
23546 void *argp1 = 0 ;
23547 int res1 = 0 ;
23548 int val2 ;
23549 int ecode2 = 0 ;
23550 int val3 ;
23551 int ecode3 = 0 ;
23552 PyObject * obj0 = 0 ;
23553 PyObject * obj1 = 0 ;
23554 PyObject * obj2 = 0 ;
23555 char * kwnames[] = {
23556 (char *) "self",(char *) "width",(char *) "height", NULL
23557 };
23558
23559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23561 if (!SWIG_IsOK(res1)) {
23562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23563 }
23564 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23565 ecode2 = SWIG_AsVal_int(obj1, &val2);
23566 if (!SWIG_IsOK(ecode2)) {
23567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23568 }
23569 arg2 = static_cast< int >(val2);
23570 ecode3 = SWIG_AsVal_int(obj2, &val3);
23571 if (!SWIG_IsOK(ecode3)) {
23572 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23573 }
23574 arg3 = static_cast< int >(val3);
23575 {
23576 PyThreadState* __tstate = wxPyBeginAllowThreads();
23577 (arg1)->DoSetClientSize(arg2,arg3);
23578 wxPyEndAllowThreads(__tstate);
23579 if (PyErr_Occurred()) SWIG_fail;
23580 }
23581 resultobj = SWIG_Py_Void();
23582 return resultobj;
23583 fail:
23584 return NULL;
23585 }
23586
23587
23588 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23589 PyObject *resultobj = 0;
23590 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23591 int arg2 ;
23592 int arg3 ;
23593 void *argp1 = 0 ;
23594 int res1 = 0 ;
23595 int val2 ;
23596 int ecode2 = 0 ;
23597 int val3 ;
23598 int ecode3 = 0 ;
23599 PyObject * obj0 = 0 ;
23600 PyObject * obj1 = 0 ;
23601 PyObject * obj2 = 0 ;
23602 char * kwnames[] = {
23603 (char *) "self",(char *) "x",(char *) "y", NULL
23604 };
23605
23606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23608 if (!SWIG_IsOK(res1)) {
23609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23610 }
23611 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23612 ecode2 = SWIG_AsVal_int(obj1, &val2);
23613 if (!SWIG_IsOK(ecode2)) {
23614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23615 }
23616 arg2 = static_cast< int >(val2);
23617 ecode3 = SWIG_AsVal_int(obj2, &val3);
23618 if (!SWIG_IsOK(ecode3)) {
23619 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23620 }
23621 arg3 = static_cast< int >(val3);
23622 {
23623 PyThreadState* __tstate = wxPyBeginAllowThreads();
23624 (arg1)->DoSetVirtualSize(arg2,arg3);
23625 wxPyEndAllowThreads(__tstate);
23626 if (PyErr_Occurred()) SWIG_fail;
23627 }
23628 resultobj = SWIG_Py_Void();
23629 return resultobj;
23630 fail:
23631 return NULL;
23632 }
23633
23634
23635 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23636 PyObject *resultobj = 0;
23637 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23638 int *arg2 = (int *) 0 ;
23639 int *arg3 = (int *) 0 ;
23640 void *argp1 = 0 ;
23641 int res1 = 0 ;
23642 int temp2 ;
23643 int res2 = SWIG_TMPOBJ ;
23644 int temp3 ;
23645 int res3 = SWIG_TMPOBJ ;
23646 PyObject *swig_obj[1] ;
23647
23648 arg2 = &temp2;
23649 arg3 = &temp3;
23650 if (!args) SWIG_fail;
23651 swig_obj[0] = args;
23652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23653 if (!SWIG_IsOK(res1)) {
23654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23655 }
23656 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23657 {
23658 PyThreadState* __tstate = wxPyBeginAllowThreads();
23659 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23660 wxPyEndAllowThreads(__tstate);
23661 if (PyErr_Occurred()) SWIG_fail;
23662 }
23663 resultobj = SWIG_Py_Void();
23664 if (SWIG_IsTmpObj(res2)) {
23665 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23666 } else {
23667 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23668 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23669 }
23670 if (SWIG_IsTmpObj(res3)) {
23671 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23672 } else {
23673 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23674 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23675 }
23676 return resultobj;
23677 fail:
23678 return NULL;
23679 }
23680
23681
23682 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23683 PyObject *resultobj = 0;
23684 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23685 int *arg2 = (int *) 0 ;
23686 int *arg3 = (int *) 0 ;
23687 void *argp1 = 0 ;
23688 int res1 = 0 ;
23689 int temp2 ;
23690 int res2 = SWIG_TMPOBJ ;
23691 int temp3 ;
23692 int res3 = SWIG_TMPOBJ ;
23693 PyObject *swig_obj[1] ;
23694
23695 arg2 = &temp2;
23696 arg3 = &temp3;
23697 if (!args) SWIG_fail;
23698 swig_obj[0] = args;
23699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23700 if (!SWIG_IsOK(res1)) {
23701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23702 }
23703 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23704 {
23705 PyThreadState* __tstate = wxPyBeginAllowThreads();
23706 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23707 wxPyEndAllowThreads(__tstate);
23708 if (PyErr_Occurred()) SWIG_fail;
23709 }
23710 resultobj = SWIG_Py_Void();
23711 if (SWIG_IsTmpObj(res2)) {
23712 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23713 } else {
23714 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23715 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23716 }
23717 if (SWIG_IsTmpObj(res3)) {
23718 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23719 } else {
23720 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23721 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23722 }
23723 return resultobj;
23724 fail:
23725 return NULL;
23726 }
23727
23728
23729 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23730 PyObject *resultobj = 0;
23731 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23732 int *arg2 = (int *) 0 ;
23733 int *arg3 = (int *) 0 ;
23734 void *argp1 = 0 ;
23735 int res1 = 0 ;
23736 int temp2 ;
23737 int res2 = SWIG_TMPOBJ ;
23738 int temp3 ;
23739 int res3 = SWIG_TMPOBJ ;
23740 PyObject *swig_obj[1] ;
23741
23742 arg2 = &temp2;
23743 arg3 = &temp3;
23744 if (!args) SWIG_fail;
23745 swig_obj[0] = args;
23746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23747 if (!SWIG_IsOK(res1)) {
23748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23749 }
23750 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23751 {
23752 PyThreadState* __tstate = wxPyBeginAllowThreads();
23753 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23754 wxPyEndAllowThreads(__tstate);
23755 if (PyErr_Occurred()) SWIG_fail;
23756 }
23757 resultobj = SWIG_Py_Void();
23758 if (SWIG_IsTmpObj(res2)) {
23759 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23760 } else {
23761 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23762 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23763 }
23764 if (SWIG_IsTmpObj(res3)) {
23765 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23766 } else {
23767 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23768 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23769 }
23770 return resultobj;
23771 fail:
23772 return NULL;
23773 }
23774
23775
23776 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23777 PyObject *resultobj = 0;
23778 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23779 wxSize result;
23780 void *argp1 = 0 ;
23781 int res1 = 0 ;
23782 PyObject *swig_obj[1] ;
23783
23784 if (!args) SWIG_fail;
23785 swig_obj[0] = args;
23786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23787 if (!SWIG_IsOK(res1)) {
23788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23789 }
23790 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23791 {
23792 PyThreadState* __tstate = wxPyBeginAllowThreads();
23793 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23794 wxPyEndAllowThreads(__tstate);
23795 if (PyErr_Occurred()) SWIG_fail;
23796 }
23797 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23798 return resultobj;
23799 fail:
23800 return NULL;
23801 }
23802
23803
23804 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23805 PyObject *resultobj = 0;
23806 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23807 wxSize result;
23808 void *argp1 = 0 ;
23809 int res1 = 0 ;
23810 PyObject *swig_obj[1] ;
23811
23812 if (!args) SWIG_fail;
23813 swig_obj[0] = args;
23814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23815 if (!SWIG_IsOK(res1)) {
23816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23817 }
23818 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23819 {
23820 PyThreadState* __tstate = wxPyBeginAllowThreads();
23821 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23822 wxPyEndAllowThreads(__tstate);
23823 if (PyErr_Occurred()) SWIG_fail;
23824 }
23825 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23826 return resultobj;
23827 fail:
23828 return NULL;
23829 }
23830
23831
23832 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23833 PyObject *resultobj = 0;
23834 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23835 SwigValueWrapper<wxVisualAttributes > result;
23836 void *argp1 = 0 ;
23837 int res1 = 0 ;
23838 PyObject *swig_obj[1] ;
23839
23840 if (!args) SWIG_fail;
23841 swig_obj[0] = args;
23842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23843 if (!SWIG_IsOK(res1)) {
23844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23845 }
23846 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23847 {
23848 PyThreadState* __tstate = wxPyBeginAllowThreads();
23849 result = (arg1)->GetDefaultAttributes();
23850 wxPyEndAllowThreads(__tstate);
23851 if (PyErr_Occurred()) SWIG_fail;
23852 }
23853 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23854 return resultobj;
23855 fail:
23856 return NULL;
23857 }
23858
23859
23860 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23861 PyObject *resultobj = 0;
23862 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23863 void *argp1 = 0 ;
23864 int res1 = 0 ;
23865 PyObject *swig_obj[1] ;
23866
23867 if (!args) SWIG_fail;
23868 swig_obj[0] = args;
23869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23870 if (!SWIG_IsOK(res1)) {
23871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23872 }
23873 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23874 {
23875 PyThreadState* __tstate = wxPyBeginAllowThreads();
23876 (arg1)->OnInternalIdle();
23877 wxPyEndAllowThreads(__tstate);
23878 if (PyErr_Occurred()) SWIG_fail;
23879 }
23880 resultobj = SWIG_Py_Void();
23881 return resultobj;
23882 fail:
23883 return NULL;
23884 }
23885
23886
23887 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23888 PyObject *obj;
23889 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23890 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23891 return SWIG_Py_Void();
23892 }
23893
23894 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23895 return SWIG_Python_InitShadowInstance(args);
23896 }
23897
23898 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23899 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23900 return 1;
23901 }
23902
23903
23904 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23905 PyObject *pyobj = 0;
23906
23907 {
23908 #if wxUSE_UNICODE
23909 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23910 #else
23911 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23912 #endif
23913 }
23914 return pyobj;
23915 }
23916
23917
23918 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23919 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23920 return 1;
23921 }
23922
23923
23924 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23925 PyObject *pyobj = 0;
23926
23927 {
23928 #if wxUSE_UNICODE
23929 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23930 #else
23931 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23932 #endif
23933 }
23934 return pyobj;
23935 }
23936
23937
23938 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23939 PyObject *resultobj = 0;
23940 wxPrintData *result = 0 ;
23941
23942 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23943 {
23944 PyThreadState* __tstate = wxPyBeginAllowThreads();
23945 result = (wxPrintData *)new wxPrintData();
23946 wxPyEndAllowThreads(__tstate);
23947 if (PyErr_Occurred()) SWIG_fail;
23948 }
23949 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23950 return resultobj;
23951 fail:
23952 return NULL;
23953 }
23954
23955
23956 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23957 PyObject *resultobj = 0;
23958 wxPrintData *arg1 = 0 ;
23959 wxPrintData *result = 0 ;
23960 void *argp1 = 0 ;
23961 int res1 = 0 ;
23962
23963 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23965 if (!SWIG_IsOK(res1)) {
23966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23967 }
23968 if (!argp1) {
23969 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23970 }
23971 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23972 {
23973 PyThreadState* __tstate = wxPyBeginAllowThreads();
23974 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23975 wxPyEndAllowThreads(__tstate);
23976 if (PyErr_Occurred()) SWIG_fail;
23977 }
23978 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23979 return resultobj;
23980 fail:
23981 return NULL;
23982 }
23983
23984
23985 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23986 int argc;
23987 PyObject *argv[2];
23988
23989 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23990 --argc;
23991 if (argc == 0) {
23992 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23993 }
23994 if (argc == 1) {
23995 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23996 }
23997
23998 fail:
23999 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
24000 return NULL;
24001 }
24002
24003
24004 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24005 PyObject *resultobj = 0;
24006 wxPrintData *arg1 = (wxPrintData *) 0 ;
24007 void *argp1 = 0 ;
24008 int res1 = 0 ;
24009 PyObject *swig_obj[1] ;
24010
24011 if (!args) SWIG_fail;
24012 swig_obj[0] = args;
24013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
24014 if (!SWIG_IsOK(res1)) {
24015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24016 }
24017 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24018 {
24019 PyThreadState* __tstate = wxPyBeginAllowThreads();
24020 delete arg1;
24021
24022 wxPyEndAllowThreads(__tstate);
24023 if (PyErr_Occurred()) SWIG_fail;
24024 }
24025 resultobj = SWIG_Py_Void();
24026 return resultobj;
24027 fail:
24028 return NULL;
24029 }
24030
24031
24032 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24033 PyObject *resultobj = 0;
24034 wxPrintData *arg1 = (wxPrintData *) 0 ;
24035 int result;
24036 void *argp1 = 0 ;
24037 int res1 = 0 ;
24038 PyObject *swig_obj[1] ;
24039
24040 if (!args) SWIG_fail;
24041 swig_obj[0] = args;
24042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24043 if (!SWIG_IsOK(res1)) {
24044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24045 }
24046 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24047 {
24048 PyThreadState* __tstate = wxPyBeginAllowThreads();
24049 result = (int)(arg1)->GetNoCopies();
24050 wxPyEndAllowThreads(__tstate);
24051 if (PyErr_Occurred()) SWIG_fail;
24052 }
24053 resultobj = SWIG_From_int(static_cast< int >(result));
24054 return resultobj;
24055 fail:
24056 return NULL;
24057 }
24058
24059
24060 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24061 PyObject *resultobj = 0;
24062 wxPrintData *arg1 = (wxPrintData *) 0 ;
24063 bool result;
24064 void *argp1 = 0 ;
24065 int res1 = 0 ;
24066 PyObject *swig_obj[1] ;
24067
24068 if (!args) SWIG_fail;
24069 swig_obj[0] = args;
24070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24071 if (!SWIG_IsOK(res1)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24073 }
24074 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24075 {
24076 PyThreadState* __tstate = wxPyBeginAllowThreads();
24077 result = (bool)(arg1)->GetCollate();
24078 wxPyEndAllowThreads(__tstate);
24079 if (PyErr_Occurred()) SWIG_fail;
24080 }
24081 {
24082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24083 }
24084 return resultobj;
24085 fail:
24086 return NULL;
24087 }
24088
24089
24090 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24091 PyObject *resultobj = 0;
24092 wxPrintData *arg1 = (wxPrintData *) 0 ;
24093 int result;
24094 void *argp1 = 0 ;
24095 int res1 = 0 ;
24096 PyObject *swig_obj[1] ;
24097
24098 if (!args) SWIG_fail;
24099 swig_obj[0] = args;
24100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24101 if (!SWIG_IsOK(res1)) {
24102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24103 }
24104 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24105 {
24106 PyThreadState* __tstate = wxPyBeginAllowThreads();
24107 result = (int)(arg1)->GetOrientation();
24108 wxPyEndAllowThreads(__tstate);
24109 if (PyErr_Occurred()) SWIG_fail;
24110 }
24111 resultobj = SWIG_From_int(static_cast< int >(result));
24112 return resultobj;
24113 fail:
24114 return NULL;
24115 }
24116
24117
24118 SWIGINTERN PyObject *_wrap_PrintData_IsOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24119 PyObject *resultobj = 0;
24120 wxPrintData *arg1 = (wxPrintData *) 0 ;
24121 bool result;
24122 void *argp1 = 0 ;
24123 int res1 = 0 ;
24124 PyObject *swig_obj[1] ;
24125
24126 if (!args) SWIG_fail;
24127 swig_obj[0] = args;
24128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24129 if (!SWIG_IsOK(res1)) {
24130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24131 }
24132 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24133 {
24134 PyThreadState* __tstate = wxPyBeginAllowThreads();
24135 result = (bool)((wxPrintData const *)arg1)->IsOrientationReversed();
24136 wxPyEndAllowThreads(__tstate);
24137 if (PyErr_Occurred()) SWIG_fail;
24138 }
24139 {
24140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24141 }
24142 return resultobj;
24143 fail:
24144 return NULL;
24145 }
24146
24147
24148 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24149 PyObject *resultobj = 0;
24150 wxPrintData *arg1 = (wxPrintData *) 0 ;
24151 bool result;
24152 void *argp1 = 0 ;
24153 int res1 = 0 ;
24154 PyObject *swig_obj[1] ;
24155
24156 if (!args) SWIG_fail;
24157 swig_obj[0] = args;
24158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24159 if (!SWIG_IsOK(res1)) {
24160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
24161 }
24162 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24163 {
24164 PyThreadState* __tstate = wxPyBeginAllowThreads();
24165 result = (bool)(arg1)->IsOk();
24166 wxPyEndAllowThreads(__tstate);
24167 if (PyErr_Occurred()) SWIG_fail;
24168 }
24169 {
24170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24171 }
24172 return resultobj;
24173 fail:
24174 return NULL;
24175 }
24176
24177
24178 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24179 PyObject *resultobj = 0;
24180 wxPrintData *arg1 = (wxPrintData *) 0 ;
24181 wxString *result = 0 ;
24182 void *argp1 = 0 ;
24183 int res1 = 0 ;
24184 PyObject *swig_obj[1] ;
24185
24186 if (!args) SWIG_fail;
24187 swig_obj[0] = args;
24188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24189 if (!SWIG_IsOK(res1)) {
24190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24191 }
24192 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24193 {
24194 PyThreadState* __tstate = wxPyBeginAllowThreads();
24195 {
24196 wxString const &_result_ref = (arg1)->GetPrinterName();
24197 result = (wxString *) &_result_ref;
24198 }
24199 wxPyEndAllowThreads(__tstate);
24200 if (PyErr_Occurred()) SWIG_fail;
24201 }
24202 {
24203 #if wxUSE_UNICODE
24204 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24205 #else
24206 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24207 #endif
24208 }
24209 return resultobj;
24210 fail:
24211 return NULL;
24212 }
24213
24214
24215 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24216 PyObject *resultobj = 0;
24217 wxPrintData *arg1 = (wxPrintData *) 0 ;
24218 bool result;
24219 void *argp1 = 0 ;
24220 int res1 = 0 ;
24221 PyObject *swig_obj[1] ;
24222
24223 if (!args) SWIG_fail;
24224 swig_obj[0] = args;
24225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24226 if (!SWIG_IsOK(res1)) {
24227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24228 }
24229 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24230 {
24231 PyThreadState* __tstate = wxPyBeginAllowThreads();
24232 result = (bool)(arg1)->GetColour();
24233 wxPyEndAllowThreads(__tstate);
24234 if (PyErr_Occurred()) SWIG_fail;
24235 }
24236 {
24237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24238 }
24239 return resultobj;
24240 fail:
24241 return NULL;
24242 }
24243
24244
24245 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24246 PyObject *resultobj = 0;
24247 wxPrintData *arg1 = (wxPrintData *) 0 ;
24248 wxDuplexMode result;
24249 void *argp1 = 0 ;
24250 int res1 = 0 ;
24251 PyObject *swig_obj[1] ;
24252
24253 if (!args) SWIG_fail;
24254 swig_obj[0] = args;
24255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24256 if (!SWIG_IsOK(res1)) {
24257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24258 }
24259 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24260 {
24261 PyThreadState* __tstate = wxPyBeginAllowThreads();
24262 result = (wxDuplexMode)(arg1)->GetDuplex();
24263 wxPyEndAllowThreads(__tstate);
24264 if (PyErr_Occurred()) SWIG_fail;
24265 }
24266 resultobj = SWIG_From_int(static_cast< int >(result));
24267 return resultobj;
24268 fail:
24269 return NULL;
24270 }
24271
24272
24273 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24274 PyObject *resultobj = 0;
24275 wxPrintData *arg1 = (wxPrintData *) 0 ;
24276 wxPaperSize result;
24277 void *argp1 = 0 ;
24278 int res1 = 0 ;
24279 PyObject *swig_obj[1] ;
24280
24281 if (!args) SWIG_fail;
24282 swig_obj[0] = args;
24283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24284 if (!SWIG_IsOK(res1)) {
24285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24286 }
24287 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24288 {
24289 PyThreadState* __tstate = wxPyBeginAllowThreads();
24290 result = (wxPaperSize)(arg1)->GetPaperId();
24291 wxPyEndAllowThreads(__tstate);
24292 if (PyErr_Occurred()) SWIG_fail;
24293 }
24294 resultobj = SWIG_From_int(static_cast< int >(result));
24295 return resultobj;
24296 fail:
24297 return NULL;
24298 }
24299
24300
24301 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24302 PyObject *resultobj = 0;
24303 wxPrintData *arg1 = (wxPrintData *) 0 ;
24304 wxSize *result = 0 ;
24305 void *argp1 = 0 ;
24306 int res1 = 0 ;
24307 PyObject *swig_obj[1] ;
24308
24309 if (!args) SWIG_fail;
24310 swig_obj[0] = args;
24311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24312 if (!SWIG_IsOK(res1)) {
24313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24314 }
24315 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24316 {
24317 PyThreadState* __tstate = wxPyBeginAllowThreads();
24318 {
24319 wxSize const &_result_ref = (arg1)->GetPaperSize();
24320 result = (wxSize *) &_result_ref;
24321 }
24322 wxPyEndAllowThreads(__tstate);
24323 if (PyErr_Occurred()) SWIG_fail;
24324 }
24325 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24326 return resultobj;
24327 fail:
24328 return NULL;
24329 }
24330
24331
24332 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24333 PyObject *resultobj = 0;
24334 wxPrintData *arg1 = (wxPrintData *) 0 ;
24335 int result;
24336 void *argp1 = 0 ;
24337 int res1 = 0 ;
24338 PyObject *swig_obj[1] ;
24339
24340 if (!args) SWIG_fail;
24341 swig_obj[0] = args;
24342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24343 if (!SWIG_IsOK(res1)) {
24344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24345 }
24346 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24347 {
24348 PyThreadState* __tstate = wxPyBeginAllowThreads();
24349 result = (int)(arg1)->GetQuality();
24350 wxPyEndAllowThreads(__tstate);
24351 if (PyErr_Occurred()) SWIG_fail;
24352 }
24353 resultobj = SWIG_From_int(static_cast< int >(result));
24354 return resultobj;
24355 fail:
24356 return NULL;
24357 }
24358
24359
24360 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24361 PyObject *resultobj = 0;
24362 wxPrintData *arg1 = (wxPrintData *) 0 ;
24363 wxPrintBin result;
24364 void *argp1 = 0 ;
24365 int res1 = 0 ;
24366 PyObject *swig_obj[1] ;
24367
24368 if (!args) SWIG_fail;
24369 swig_obj[0] = args;
24370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24371 if (!SWIG_IsOK(res1)) {
24372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24373 }
24374 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24375 {
24376 PyThreadState* __tstate = wxPyBeginAllowThreads();
24377 result = (wxPrintBin)(arg1)->GetBin();
24378 wxPyEndAllowThreads(__tstate);
24379 if (PyErr_Occurred()) SWIG_fail;
24380 }
24381 resultobj = SWIG_From_int(static_cast< int >(result));
24382 return resultobj;
24383 fail:
24384 return NULL;
24385 }
24386
24387
24388 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24389 PyObject *resultobj = 0;
24390 wxPrintData *arg1 = (wxPrintData *) 0 ;
24391 wxPrintMode result;
24392 void *argp1 = 0 ;
24393 int res1 = 0 ;
24394 PyObject *swig_obj[1] ;
24395
24396 if (!args) SWIG_fail;
24397 swig_obj[0] = args;
24398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24399 if (!SWIG_IsOK(res1)) {
24400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24401 }
24402 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24403 {
24404 PyThreadState* __tstate = wxPyBeginAllowThreads();
24405 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24406 wxPyEndAllowThreads(__tstate);
24407 if (PyErr_Occurred()) SWIG_fail;
24408 }
24409 resultobj = SWIG_From_int(static_cast< int >(result));
24410 return resultobj;
24411 fail:
24412 return NULL;
24413 }
24414
24415
24416 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24417 PyObject *resultobj = 0;
24418 wxPrintData *arg1 = (wxPrintData *) 0 ;
24419 int result;
24420 void *argp1 = 0 ;
24421 int res1 = 0 ;
24422 PyObject *swig_obj[1] ;
24423
24424 if (!args) SWIG_fail;
24425 swig_obj[0] = args;
24426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24427 if (!SWIG_IsOK(res1)) {
24428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24429 }
24430 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24431 {
24432 PyThreadState* __tstate = wxPyBeginAllowThreads();
24433 result = (int)((wxPrintData const *)arg1)->GetMedia();
24434 wxPyEndAllowThreads(__tstate);
24435 if (PyErr_Occurred()) SWIG_fail;
24436 }
24437 resultobj = SWIG_From_int(static_cast< int >(result));
24438 return resultobj;
24439 fail:
24440 return NULL;
24441 }
24442
24443
24444 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24445 PyObject *resultobj = 0;
24446 wxPrintData *arg1 = (wxPrintData *) 0 ;
24447 int arg2 ;
24448 void *argp1 = 0 ;
24449 int res1 = 0 ;
24450 int val2 ;
24451 int ecode2 = 0 ;
24452 PyObject * obj0 = 0 ;
24453 PyObject * obj1 = 0 ;
24454 char * kwnames[] = {
24455 (char *) "self",(char *) "v", NULL
24456 };
24457
24458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24460 if (!SWIG_IsOK(res1)) {
24461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24462 }
24463 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24464 ecode2 = SWIG_AsVal_int(obj1, &val2);
24465 if (!SWIG_IsOK(ecode2)) {
24466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24467 }
24468 arg2 = static_cast< int >(val2);
24469 {
24470 PyThreadState* __tstate = wxPyBeginAllowThreads();
24471 (arg1)->SetNoCopies(arg2);
24472 wxPyEndAllowThreads(__tstate);
24473 if (PyErr_Occurred()) SWIG_fail;
24474 }
24475 resultobj = SWIG_Py_Void();
24476 return resultobj;
24477 fail:
24478 return NULL;
24479 }
24480
24481
24482 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24483 PyObject *resultobj = 0;
24484 wxPrintData *arg1 = (wxPrintData *) 0 ;
24485 bool arg2 ;
24486 void *argp1 = 0 ;
24487 int res1 = 0 ;
24488 bool val2 ;
24489 int ecode2 = 0 ;
24490 PyObject * obj0 = 0 ;
24491 PyObject * obj1 = 0 ;
24492 char * kwnames[] = {
24493 (char *) "self",(char *) "flag", NULL
24494 };
24495
24496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24498 if (!SWIG_IsOK(res1)) {
24499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24500 }
24501 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24502 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24503 if (!SWIG_IsOK(ecode2)) {
24504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24505 }
24506 arg2 = static_cast< bool >(val2);
24507 {
24508 PyThreadState* __tstate = wxPyBeginAllowThreads();
24509 (arg1)->SetCollate(arg2);
24510 wxPyEndAllowThreads(__tstate);
24511 if (PyErr_Occurred()) SWIG_fail;
24512 }
24513 resultobj = SWIG_Py_Void();
24514 return resultobj;
24515 fail:
24516 return NULL;
24517 }
24518
24519
24520 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24521 PyObject *resultobj = 0;
24522 wxPrintData *arg1 = (wxPrintData *) 0 ;
24523 int arg2 ;
24524 void *argp1 = 0 ;
24525 int res1 = 0 ;
24526 int val2 ;
24527 int ecode2 = 0 ;
24528 PyObject * obj0 = 0 ;
24529 PyObject * obj1 = 0 ;
24530 char * kwnames[] = {
24531 (char *) "self",(char *) "orient", NULL
24532 };
24533
24534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24536 if (!SWIG_IsOK(res1)) {
24537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24538 }
24539 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24540 ecode2 = SWIG_AsVal_int(obj1, &val2);
24541 if (!SWIG_IsOK(ecode2)) {
24542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24543 }
24544 arg2 = static_cast< int >(val2);
24545 {
24546 PyThreadState* __tstate = wxPyBeginAllowThreads();
24547 (arg1)->SetOrientation(arg2);
24548 wxPyEndAllowThreads(__tstate);
24549 if (PyErr_Occurred()) SWIG_fail;
24550 }
24551 resultobj = SWIG_Py_Void();
24552 return resultobj;
24553 fail:
24554 return NULL;
24555 }
24556
24557
24558 SWIGINTERN PyObject *_wrap_PrintData_SetOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24559 PyObject *resultobj = 0;
24560 wxPrintData *arg1 = (wxPrintData *) 0 ;
24561 bool arg2 ;
24562 void *argp1 = 0 ;
24563 int res1 = 0 ;
24564 bool val2 ;
24565 int ecode2 = 0 ;
24566 PyObject * obj0 = 0 ;
24567 PyObject * obj1 = 0 ;
24568 char * kwnames[] = {
24569 (char *) "self",(char *) "reversed", NULL
24570 };
24571
24572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientationReversed",kwnames,&obj0,&obj1)) SWIG_fail;
24573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24574 if (!SWIG_IsOK(res1)) {
24575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24576 }
24577 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24578 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24579 if (!SWIG_IsOK(ecode2)) {
24580 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24581 }
24582 arg2 = static_cast< bool >(val2);
24583 {
24584 PyThreadState* __tstate = wxPyBeginAllowThreads();
24585 (arg1)->SetOrientationReversed(arg2);
24586 wxPyEndAllowThreads(__tstate);
24587 if (PyErr_Occurred()) SWIG_fail;
24588 }
24589 resultobj = SWIG_Py_Void();
24590 return resultobj;
24591 fail:
24592 return NULL;
24593 }
24594
24595
24596 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24597 PyObject *resultobj = 0;
24598 wxPrintData *arg1 = (wxPrintData *) 0 ;
24599 wxString *arg2 = 0 ;
24600 void *argp1 = 0 ;
24601 int res1 = 0 ;
24602 bool temp2 = false ;
24603 PyObject * obj0 = 0 ;
24604 PyObject * obj1 = 0 ;
24605 char * kwnames[] = {
24606 (char *) "self",(char *) "name", NULL
24607 };
24608
24609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24611 if (!SWIG_IsOK(res1)) {
24612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24613 }
24614 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24615 {
24616 arg2 = wxString_in_helper(obj1);
24617 if (arg2 == NULL) SWIG_fail;
24618 temp2 = true;
24619 }
24620 {
24621 PyThreadState* __tstate = wxPyBeginAllowThreads();
24622 (arg1)->SetPrinterName((wxString const &)*arg2);
24623 wxPyEndAllowThreads(__tstate);
24624 if (PyErr_Occurred()) SWIG_fail;
24625 }
24626 resultobj = SWIG_Py_Void();
24627 {
24628 if (temp2)
24629 delete arg2;
24630 }
24631 return resultobj;
24632 fail:
24633 {
24634 if (temp2)
24635 delete arg2;
24636 }
24637 return NULL;
24638 }
24639
24640
24641 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24642 PyObject *resultobj = 0;
24643 wxPrintData *arg1 = (wxPrintData *) 0 ;
24644 bool arg2 ;
24645 void *argp1 = 0 ;
24646 int res1 = 0 ;
24647 bool val2 ;
24648 int ecode2 = 0 ;
24649 PyObject * obj0 = 0 ;
24650 PyObject * obj1 = 0 ;
24651 char * kwnames[] = {
24652 (char *) "self",(char *) "colour", NULL
24653 };
24654
24655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24657 if (!SWIG_IsOK(res1)) {
24658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24659 }
24660 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24661 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24662 if (!SWIG_IsOK(ecode2)) {
24663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24664 }
24665 arg2 = static_cast< bool >(val2);
24666 {
24667 PyThreadState* __tstate = wxPyBeginAllowThreads();
24668 (arg1)->SetColour(arg2);
24669 wxPyEndAllowThreads(__tstate);
24670 if (PyErr_Occurred()) SWIG_fail;
24671 }
24672 resultobj = SWIG_Py_Void();
24673 return resultobj;
24674 fail:
24675 return NULL;
24676 }
24677
24678
24679 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24680 PyObject *resultobj = 0;
24681 wxPrintData *arg1 = (wxPrintData *) 0 ;
24682 wxDuplexMode arg2 ;
24683 void *argp1 = 0 ;
24684 int res1 = 0 ;
24685 int val2 ;
24686 int ecode2 = 0 ;
24687 PyObject * obj0 = 0 ;
24688 PyObject * obj1 = 0 ;
24689 char * kwnames[] = {
24690 (char *) "self",(char *) "duplex", NULL
24691 };
24692
24693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24695 if (!SWIG_IsOK(res1)) {
24696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24697 }
24698 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24699 ecode2 = SWIG_AsVal_int(obj1, &val2);
24700 if (!SWIG_IsOK(ecode2)) {
24701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24702 }
24703 arg2 = static_cast< wxDuplexMode >(val2);
24704 {
24705 PyThreadState* __tstate = wxPyBeginAllowThreads();
24706 (arg1)->SetDuplex(arg2);
24707 wxPyEndAllowThreads(__tstate);
24708 if (PyErr_Occurred()) SWIG_fail;
24709 }
24710 resultobj = SWIG_Py_Void();
24711 return resultobj;
24712 fail:
24713 return NULL;
24714 }
24715
24716
24717 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24718 PyObject *resultobj = 0;
24719 wxPrintData *arg1 = (wxPrintData *) 0 ;
24720 wxPaperSize arg2 ;
24721 void *argp1 = 0 ;
24722 int res1 = 0 ;
24723 int val2 ;
24724 int ecode2 = 0 ;
24725 PyObject * obj0 = 0 ;
24726 PyObject * obj1 = 0 ;
24727 char * kwnames[] = {
24728 (char *) "self",(char *) "sizeId", NULL
24729 };
24730
24731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24733 if (!SWIG_IsOK(res1)) {
24734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24735 }
24736 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24737 ecode2 = SWIG_AsVal_int(obj1, &val2);
24738 if (!SWIG_IsOK(ecode2)) {
24739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24740 }
24741 arg2 = static_cast< wxPaperSize >(val2);
24742 {
24743 PyThreadState* __tstate = wxPyBeginAllowThreads();
24744 (arg1)->SetPaperId(arg2);
24745 wxPyEndAllowThreads(__tstate);
24746 if (PyErr_Occurred()) SWIG_fail;
24747 }
24748 resultobj = SWIG_Py_Void();
24749 return resultobj;
24750 fail:
24751 return NULL;
24752 }
24753
24754
24755 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24756 PyObject *resultobj = 0;
24757 wxPrintData *arg1 = (wxPrintData *) 0 ;
24758 wxSize *arg2 = 0 ;
24759 void *argp1 = 0 ;
24760 int res1 = 0 ;
24761 wxSize temp2 ;
24762 PyObject * obj0 = 0 ;
24763 PyObject * obj1 = 0 ;
24764 char * kwnames[] = {
24765 (char *) "self",(char *) "sz", NULL
24766 };
24767
24768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24770 if (!SWIG_IsOK(res1)) {
24771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24772 }
24773 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24774 {
24775 arg2 = &temp2;
24776 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24777 }
24778 {
24779 PyThreadState* __tstate = wxPyBeginAllowThreads();
24780 (arg1)->SetPaperSize((wxSize const &)*arg2);
24781 wxPyEndAllowThreads(__tstate);
24782 if (PyErr_Occurred()) SWIG_fail;
24783 }
24784 resultobj = SWIG_Py_Void();
24785 return resultobj;
24786 fail:
24787 return NULL;
24788 }
24789
24790
24791 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24792 PyObject *resultobj = 0;
24793 wxPrintData *arg1 = (wxPrintData *) 0 ;
24794 int arg2 ;
24795 void *argp1 = 0 ;
24796 int res1 = 0 ;
24797 int val2 ;
24798 int ecode2 = 0 ;
24799 PyObject * obj0 = 0 ;
24800 PyObject * obj1 = 0 ;
24801 char * kwnames[] = {
24802 (char *) "self",(char *) "quality", NULL
24803 };
24804
24805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24807 if (!SWIG_IsOK(res1)) {
24808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24809 }
24810 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24811 ecode2 = SWIG_AsVal_int(obj1, &val2);
24812 if (!SWIG_IsOK(ecode2)) {
24813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24814 }
24815 arg2 = static_cast< int >(val2);
24816 {
24817 PyThreadState* __tstate = wxPyBeginAllowThreads();
24818 (arg1)->SetQuality(arg2);
24819 wxPyEndAllowThreads(__tstate);
24820 if (PyErr_Occurred()) SWIG_fail;
24821 }
24822 resultobj = SWIG_Py_Void();
24823 return resultobj;
24824 fail:
24825 return NULL;
24826 }
24827
24828
24829 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24830 PyObject *resultobj = 0;
24831 wxPrintData *arg1 = (wxPrintData *) 0 ;
24832 wxPrintBin arg2 ;
24833 void *argp1 = 0 ;
24834 int res1 = 0 ;
24835 int val2 ;
24836 int ecode2 = 0 ;
24837 PyObject * obj0 = 0 ;
24838 PyObject * obj1 = 0 ;
24839 char * kwnames[] = {
24840 (char *) "self",(char *) "bin", NULL
24841 };
24842
24843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24845 if (!SWIG_IsOK(res1)) {
24846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24847 }
24848 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24849 ecode2 = SWIG_AsVal_int(obj1, &val2);
24850 if (!SWIG_IsOK(ecode2)) {
24851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24852 }
24853 arg2 = static_cast< wxPrintBin >(val2);
24854 {
24855 PyThreadState* __tstate = wxPyBeginAllowThreads();
24856 (arg1)->SetBin(arg2);
24857 wxPyEndAllowThreads(__tstate);
24858 if (PyErr_Occurred()) SWIG_fail;
24859 }
24860 resultobj = SWIG_Py_Void();
24861 return resultobj;
24862 fail:
24863 return NULL;
24864 }
24865
24866
24867 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24868 PyObject *resultobj = 0;
24869 wxPrintData *arg1 = (wxPrintData *) 0 ;
24870 wxPrintMode arg2 ;
24871 void *argp1 = 0 ;
24872 int res1 = 0 ;
24873 int val2 ;
24874 int ecode2 = 0 ;
24875 PyObject * obj0 = 0 ;
24876 PyObject * obj1 = 0 ;
24877 char * kwnames[] = {
24878 (char *) "self",(char *) "printMode", NULL
24879 };
24880
24881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24883 if (!SWIG_IsOK(res1)) {
24884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24885 }
24886 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24887 ecode2 = SWIG_AsVal_int(obj1, &val2);
24888 if (!SWIG_IsOK(ecode2)) {
24889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24890 }
24891 arg2 = static_cast< wxPrintMode >(val2);
24892 {
24893 PyThreadState* __tstate = wxPyBeginAllowThreads();
24894 (arg1)->SetPrintMode(arg2);
24895 wxPyEndAllowThreads(__tstate);
24896 if (PyErr_Occurred()) SWIG_fail;
24897 }
24898 resultobj = SWIG_Py_Void();
24899 return resultobj;
24900 fail:
24901 return NULL;
24902 }
24903
24904
24905 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24906 PyObject *resultobj = 0;
24907 wxPrintData *arg1 = (wxPrintData *) 0 ;
24908 int arg2 ;
24909 void *argp1 = 0 ;
24910 int res1 = 0 ;
24911 int val2 ;
24912 int ecode2 = 0 ;
24913 PyObject * obj0 = 0 ;
24914 PyObject * obj1 = 0 ;
24915 char * kwnames[] = {
24916 (char *) "self",(char *) "media", NULL
24917 };
24918
24919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24921 if (!SWIG_IsOK(res1)) {
24922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24923 }
24924 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24925 ecode2 = SWIG_AsVal_int(obj1, &val2);
24926 if (!SWIG_IsOK(ecode2)) {
24927 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24928 }
24929 arg2 = static_cast< int >(val2);
24930 {
24931 PyThreadState* __tstate = wxPyBeginAllowThreads();
24932 (arg1)->SetMedia(arg2);
24933 wxPyEndAllowThreads(__tstate);
24934 if (PyErr_Occurred()) SWIG_fail;
24935 }
24936 resultobj = SWIG_Py_Void();
24937 return resultobj;
24938 fail:
24939 return NULL;
24940 }
24941
24942
24943 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24944 PyObject *resultobj = 0;
24945 wxPrintData *arg1 = (wxPrintData *) 0 ;
24946 wxString result;
24947 void *argp1 = 0 ;
24948 int res1 = 0 ;
24949 PyObject *swig_obj[1] ;
24950
24951 if (!args) SWIG_fail;
24952 swig_obj[0] = args;
24953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24954 if (!SWIG_IsOK(res1)) {
24955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24956 }
24957 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24958 {
24959 PyThreadState* __tstate = wxPyBeginAllowThreads();
24960 result = ((wxPrintData const *)arg1)->GetFilename();
24961 wxPyEndAllowThreads(__tstate);
24962 if (PyErr_Occurred()) SWIG_fail;
24963 }
24964 {
24965 #if wxUSE_UNICODE
24966 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24967 #else
24968 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24969 #endif
24970 }
24971 return resultobj;
24972 fail:
24973 return NULL;
24974 }
24975
24976
24977 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24978 PyObject *resultobj = 0;
24979 wxPrintData *arg1 = (wxPrintData *) 0 ;
24980 wxString *arg2 = 0 ;
24981 void *argp1 = 0 ;
24982 int res1 = 0 ;
24983 bool temp2 = false ;
24984 PyObject * obj0 = 0 ;
24985 PyObject * obj1 = 0 ;
24986 char * kwnames[] = {
24987 (char *) "self",(char *) "filename", NULL
24988 };
24989
24990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24992 if (!SWIG_IsOK(res1)) {
24993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24994 }
24995 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24996 {
24997 arg2 = wxString_in_helper(obj1);
24998 if (arg2 == NULL) SWIG_fail;
24999 temp2 = true;
25000 }
25001 {
25002 PyThreadState* __tstate = wxPyBeginAllowThreads();
25003 (arg1)->SetFilename((wxString const &)*arg2);
25004 wxPyEndAllowThreads(__tstate);
25005 if (PyErr_Occurred()) SWIG_fail;
25006 }
25007 resultobj = SWIG_Py_Void();
25008 {
25009 if (temp2)
25010 delete arg2;
25011 }
25012 return resultobj;
25013 fail:
25014 {
25015 if (temp2)
25016 delete arg2;
25017 }
25018 return NULL;
25019 }
25020
25021
25022 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25023 PyObject *resultobj = 0;
25024 wxPrintData *arg1 = (wxPrintData *) 0 ;
25025 PyObject *result = 0 ;
25026 void *argp1 = 0 ;
25027 int res1 = 0 ;
25028 PyObject *swig_obj[1] ;
25029
25030 if (!args) SWIG_fail;
25031 swig_obj[0] = args;
25032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25033 if (!SWIG_IsOK(res1)) {
25034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25035 }
25036 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25037 {
25038 PyThreadState* __tstate = wxPyBeginAllowThreads();
25039 result = (PyObject *)wxPrintData_GetPrivData(arg1);
25040 wxPyEndAllowThreads(__tstate);
25041 if (PyErr_Occurred()) SWIG_fail;
25042 }
25043 resultobj = result;
25044 return resultobj;
25045 fail:
25046 return NULL;
25047 }
25048
25049
25050 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25051 PyObject *resultobj = 0;
25052 wxPrintData *arg1 = (wxPrintData *) 0 ;
25053 PyObject *arg2 = (PyObject *) 0 ;
25054 void *argp1 = 0 ;
25055 int res1 = 0 ;
25056 PyObject * obj0 = 0 ;
25057 PyObject * obj1 = 0 ;
25058 char * kwnames[] = {
25059 (char *) "self",(char *) "data", NULL
25060 };
25061
25062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
25063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25064 if (!SWIG_IsOK(res1)) {
25065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25066 }
25067 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25068 arg2 = obj1;
25069 {
25070 PyThreadState* __tstate = wxPyBeginAllowThreads();
25071 wxPrintData_SetPrivData(arg1,arg2);
25072 wxPyEndAllowThreads(__tstate);
25073 if (PyErr_Occurred()) SWIG_fail;
25074 }
25075 resultobj = SWIG_Py_Void();
25076 return resultobj;
25077 fail:
25078 return NULL;
25079 }
25080
25081
25082 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25083 PyObject *obj;
25084 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25085 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
25086 return SWIG_Py_Void();
25087 }
25088
25089 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25090 return SWIG_Python_InitShadowInstance(args);
25091 }
25092
25093 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25094 PyObject *resultobj = 0;
25095 wxPageSetupDialogData *result = 0 ;
25096
25097 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25098 {
25099 PyThreadState* __tstate = wxPyBeginAllowThreads();
25100 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
25101 wxPyEndAllowThreads(__tstate);
25102 if (PyErr_Occurred()) SWIG_fail;
25103 }
25104 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25105 return resultobj;
25106 fail:
25107 return NULL;
25108 }
25109
25110
25111 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25112 PyObject *resultobj = 0;
25113 wxPageSetupDialogData *arg1 = 0 ;
25114 wxPageSetupDialogData *result = 0 ;
25115 void *argp1 = 0 ;
25116 int res1 = 0 ;
25117
25118 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
25120 if (!SWIG_IsOK(res1)) {
25121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25122 }
25123 if (!argp1) {
25124 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25125 }
25126 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25127 {
25128 PyThreadState* __tstate = wxPyBeginAllowThreads();
25129 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
25130 wxPyEndAllowThreads(__tstate);
25131 if (PyErr_Occurred()) SWIG_fail;
25132 }
25133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25134 return resultobj;
25135 fail:
25136 return NULL;
25137 }
25138
25139
25140 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25141 PyObject *resultobj = 0;
25142 wxPrintData *arg1 = 0 ;
25143 wxPageSetupDialogData *result = 0 ;
25144 void *argp1 = 0 ;
25145 int res1 = 0 ;
25146
25147 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25149 if (!SWIG_IsOK(res1)) {
25150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25151 }
25152 if (!argp1) {
25153 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25154 }
25155 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25156 {
25157 PyThreadState* __tstate = wxPyBeginAllowThreads();
25158 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
25159 wxPyEndAllowThreads(__tstate);
25160 if (PyErr_Occurred()) SWIG_fail;
25161 }
25162 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25163 return resultobj;
25164 fail:
25165 return NULL;
25166 }
25167
25168
25169 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
25170 int argc;
25171 PyObject *argv[2];
25172
25173 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
25174 --argc;
25175 if (argc == 0) {
25176 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
25177 }
25178 if (argc == 1) {
25179 int _v = 0;
25180 {
25181 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
25182 _v = SWIG_CheckState(res);
25183 }
25184 if (!_v) goto check_2;
25185 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
25186 }
25187 check_2:
25188
25189 if (argc == 1) {
25190 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
25191 }
25192
25193 fail:
25194 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
25195 return NULL;
25196 }
25197
25198
25199 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25200 PyObject *resultobj = 0;
25201 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25202 void *argp1 = 0 ;
25203 int res1 = 0 ;
25204 PyObject *swig_obj[1] ;
25205
25206 if (!args) SWIG_fail;
25207 swig_obj[0] = args;
25208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
25209 if (!SWIG_IsOK(res1)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25211 }
25212 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25213 {
25214 PyThreadState* __tstate = wxPyBeginAllowThreads();
25215 delete arg1;
25216
25217 wxPyEndAllowThreads(__tstate);
25218 if (PyErr_Occurred()) SWIG_fail;
25219 }
25220 resultobj = SWIG_Py_Void();
25221 return resultobj;
25222 fail:
25223 return NULL;
25224 }
25225
25226
25227 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25228 PyObject *resultobj = 0;
25229 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25230 bool arg2 ;
25231 void *argp1 = 0 ;
25232 int res1 = 0 ;
25233 bool val2 ;
25234 int ecode2 = 0 ;
25235 PyObject * obj0 = 0 ;
25236 PyObject * obj1 = 0 ;
25237 char * kwnames[] = {
25238 (char *) "self",(char *) "flag", NULL
25239 };
25240
25241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25243 if (!SWIG_IsOK(res1)) {
25244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25245 }
25246 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25247 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25248 if (!SWIG_IsOK(ecode2)) {
25249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25250 }
25251 arg2 = static_cast< bool >(val2);
25252 {
25253 PyThreadState* __tstate = wxPyBeginAllowThreads();
25254 (arg1)->EnableHelp(arg2);
25255 wxPyEndAllowThreads(__tstate);
25256 if (PyErr_Occurred()) SWIG_fail;
25257 }
25258 resultobj = SWIG_Py_Void();
25259 return resultobj;
25260 fail:
25261 return NULL;
25262 }
25263
25264
25265 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25266 PyObject *resultobj = 0;
25267 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25268 bool arg2 ;
25269 void *argp1 = 0 ;
25270 int res1 = 0 ;
25271 bool val2 ;
25272 int ecode2 = 0 ;
25273 PyObject * obj0 = 0 ;
25274 PyObject * obj1 = 0 ;
25275 char * kwnames[] = {
25276 (char *) "self",(char *) "flag", NULL
25277 };
25278
25279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25281 if (!SWIG_IsOK(res1)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25283 }
25284 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25285 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25286 if (!SWIG_IsOK(ecode2)) {
25287 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25288 }
25289 arg2 = static_cast< bool >(val2);
25290 {
25291 PyThreadState* __tstate = wxPyBeginAllowThreads();
25292 (arg1)->EnableMargins(arg2);
25293 wxPyEndAllowThreads(__tstate);
25294 if (PyErr_Occurred()) SWIG_fail;
25295 }
25296 resultobj = SWIG_Py_Void();
25297 return resultobj;
25298 fail:
25299 return NULL;
25300 }
25301
25302
25303 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25304 PyObject *resultobj = 0;
25305 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25306 bool arg2 ;
25307 void *argp1 = 0 ;
25308 int res1 = 0 ;
25309 bool val2 ;
25310 int ecode2 = 0 ;
25311 PyObject * obj0 = 0 ;
25312 PyObject * obj1 = 0 ;
25313 char * kwnames[] = {
25314 (char *) "self",(char *) "flag", NULL
25315 };
25316
25317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
25318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25319 if (!SWIG_IsOK(res1)) {
25320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25321 }
25322 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25323 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25324 if (!SWIG_IsOK(ecode2)) {
25325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25326 }
25327 arg2 = static_cast< bool >(val2);
25328 {
25329 PyThreadState* __tstate = wxPyBeginAllowThreads();
25330 (arg1)->EnableOrientation(arg2);
25331 wxPyEndAllowThreads(__tstate);
25332 if (PyErr_Occurred()) SWIG_fail;
25333 }
25334 resultobj = SWIG_Py_Void();
25335 return resultobj;
25336 fail:
25337 return NULL;
25338 }
25339
25340
25341 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25342 PyObject *resultobj = 0;
25343 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25344 bool arg2 ;
25345 void *argp1 = 0 ;
25346 int res1 = 0 ;
25347 bool val2 ;
25348 int ecode2 = 0 ;
25349 PyObject * obj0 = 0 ;
25350 PyObject * obj1 = 0 ;
25351 char * kwnames[] = {
25352 (char *) "self",(char *) "flag", NULL
25353 };
25354
25355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25357 if (!SWIG_IsOK(res1)) {
25358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25359 }
25360 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25361 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25362 if (!SWIG_IsOK(ecode2)) {
25363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25364 }
25365 arg2 = static_cast< bool >(val2);
25366 {
25367 PyThreadState* __tstate = wxPyBeginAllowThreads();
25368 (arg1)->EnablePaper(arg2);
25369 wxPyEndAllowThreads(__tstate);
25370 if (PyErr_Occurred()) SWIG_fail;
25371 }
25372 resultobj = SWIG_Py_Void();
25373 return resultobj;
25374 fail:
25375 return NULL;
25376 }
25377
25378
25379 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25380 PyObject *resultobj = 0;
25381 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25382 bool arg2 ;
25383 void *argp1 = 0 ;
25384 int res1 = 0 ;
25385 bool val2 ;
25386 int ecode2 = 0 ;
25387 PyObject * obj0 = 0 ;
25388 PyObject * obj1 = 0 ;
25389 char * kwnames[] = {
25390 (char *) "self",(char *) "flag", NULL
25391 };
25392
25393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25395 if (!SWIG_IsOK(res1)) {
25396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25397 }
25398 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25399 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25400 if (!SWIG_IsOK(ecode2)) {
25401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25402 }
25403 arg2 = static_cast< bool >(val2);
25404 {
25405 PyThreadState* __tstate = wxPyBeginAllowThreads();
25406 (arg1)->EnablePrinter(arg2);
25407 wxPyEndAllowThreads(__tstate);
25408 if (PyErr_Occurred()) SWIG_fail;
25409 }
25410 resultobj = SWIG_Py_Void();
25411 return resultobj;
25412 fail:
25413 return NULL;
25414 }
25415
25416
25417 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25418 PyObject *resultobj = 0;
25419 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25420 bool result;
25421 void *argp1 = 0 ;
25422 int res1 = 0 ;
25423 PyObject *swig_obj[1] ;
25424
25425 if (!args) SWIG_fail;
25426 swig_obj[0] = args;
25427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25428 if (!SWIG_IsOK(res1)) {
25429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25430 }
25431 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25432 {
25433 PyThreadState* __tstate = wxPyBeginAllowThreads();
25434 result = (bool)(arg1)->GetDefaultMinMargins();
25435 wxPyEndAllowThreads(__tstate);
25436 if (PyErr_Occurred()) SWIG_fail;
25437 }
25438 {
25439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25440 }
25441 return resultobj;
25442 fail:
25443 return NULL;
25444 }
25445
25446
25447 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25448 PyObject *resultobj = 0;
25449 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25450 bool result;
25451 void *argp1 = 0 ;
25452 int res1 = 0 ;
25453 PyObject *swig_obj[1] ;
25454
25455 if (!args) SWIG_fail;
25456 swig_obj[0] = args;
25457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25458 if (!SWIG_IsOK(res1)) {
25459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25460 }
25461 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25462 {
25463 PyThreadState* __tstate = wxPyBeginAllowThreads();
25464 result = (bool)(arg1)->GetEnableMargins();
25465 wxPyEndAllowThreads(__tstate);
25466 if (PyErr_Occurred()) SWIG_fail;
25467 }
25468 {
25469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25470 }
25471 return resultobj;
25472 fail:
25473 return NULL;
25474 }
25475
25476
25477 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25478 PyObject *resultobj = 0;
25479 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25480 bool result;
25481 void *argp1 = 0 ;
25482 int res1 = 0 ;
25483 PyObject *swig_obj[1] ;
25484
25485 if (!args) SWIG_fail;
25486 swig_obj[0] = args;
25487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25488 if (!SWIG_IsOK(res1)) {
25489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25490 }
25491 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25492 {
25493 PyThreadState* __tstate = wxPyBeginAllowThreads();
25494 result = (bool)(arg1)->GetEnableOrientation();
25495 wxPyEndAllowThreads(__tstate);
25496 if (PyErr_Occurred()) SWIG_fail;
25497 }
25498 {
25499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25500 }
25501 return resultobj;
25502 fail:
25503 return NULL;
25504 }
25505
25506
25507 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25508 PyObject *resultobj = 0;
25509 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25510 bool result;
25511 void *argp1 = 0 ;
25512 int res1 = 0 ;
25513 PyObject *swig_obj[1] ;
25514
25515 if (!args) SWIG_fail;
25516 swig_obj[0] = args;
25517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25518 if (!SWIG_IsOK(res1)) {
25519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25520 }
25521 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25522 {
25523 PyThreadState* __tstate = wxPyBeginAllowThreads();
25524 result = (bool)(arg1)->GetEnablePaper();
25525 wxPyEndAllowThreads(__tstate);
25526 if (PyErr_Occurred()) SWIG_fail;
25527 }
25528 {
25529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25530 }
25531 return resultobj;
25532 fail:
25533 return NULL;
25534 }
25535
25536
25537 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25538 PyObject *resultobj = 0;
25539 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25540 bool result;
25541 void *argp1 = 0 ;
25542 int res1 = 0 ;
25543 PyObject *swig_obj[1] ;
25544
25545 if (!args) SWIG_fail;
25546 swig_obj[0] = args;
25547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25548 if (!SWIG_IsOK(res1)) {
25549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25550 }
25551 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25552 {
25553 PyThreadState* __tstate = wxPyBeginAllowThreads();
25554 result = (bool)(arg1)->GetEnablePrinter();
25555 wxPyEndAllowThreads(__tstate);
25556 if (PyErr_Occurred()) SWIG_fail;
25557 }
25558 {
25559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25560 }
25561 return resultobj;
25562 fail:
25563 return NULL;
25564 }
25565
25566
25567 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25568 PyObject *resultobj = 0;
25569 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25570 bool result;
25571 void *argp1 = 0 ;
25572 int res1 = 0 ;
25573 PyObject *swig_obj[1] ;
25574
25575 if (!args) SWIG_fail;
25576 swig_obj[0] = args;
25577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25578 if (!SWIG_IsOK(res1)) {
25579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25580 }
25581 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25582 {
25583 PyThreadState* __tstate = wxPyBeginAllowThreads();
25584 result = (bool)(arg1)->GetEnableHelp();
25585 wxPyEndAllowThreads(__tstate);
25586 if (PyErr_Occurred()) SWIG_fail;
25587 }
25588 {
25589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25590 }
25591 return resultobj;
25592 fail:
25593 return NULL;
25594 }
25595
25596
25597 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25598 PyObject *resultobj = 0;
25599 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25600 bool result;
25601 void *argp1 = 0 ;
25602 int res1 = 0 ;
25603 PyObject *swig_obj[1] ;
25604
25605 if (!args) SWIG_fail;
25606 swig_obj[0] = args;
25607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25608 if (!SWIG_IsOK(res1)) {
25609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25610 }
25611 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25612 {
25613 PyThreadState* __tstate = wxPyBeginAllowThreads();
25614 result = (bool)(arg1)->GetDefaultInfo();
25615 wxPyEndAllowThreads(__tstate);
25616 if (PyErr_Occurred()) SWIG_fail;
25617 }
25618 {
25619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25620 }
25621 return resultobj;
25622 fail:
25623 return NULL;
25624 }
25625
25626
25627 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25628 PyObject *resultobj = 0;
25629 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25630 wxPoint result;
25631 void *argp1 = 0 ;
25632 int res1 = 0 ;
25633 PyObject *swig_obj[1] ;
25634
25635 if (!args) SWIG_fail;
25636 swig_obj[0] = args;
25637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25638 if (!SWIG_IsOK(res1)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25640 }
25641 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25642 {
25643 PyThreadState* __tstate = wxPyBeginAllowThreads();
25644 result = (arg1)->GetMarginTopLeft();
25645 wxPyEndAllowThreads(__tstate);
25646 if (PyErr_Occurred()) SWIG_fail;
25647 }
25648 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25649 return resultobj;
25650 fail:
25651 return NULL;
25652 }
25653
25654
25655 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25656 PyObject *resultobj = 0;
25657 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25658 wxPoint result;
25659 void *argp1 = 0 ;
25660 int res1 = 0 ;
25661 PyObject *swig_obj[1] ;
25662
25663 if (!args) SWIG_fail;
25664 swig_obj[0] = args;
25665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25666 if (!SWIG_IsOK(res1)) {
25667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25668 }
25669 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25670 {
25671 PyThreadState* __tstate = wxPyBeginAllowThreads();
25672 result = (arg1)->GetMarginBottomRight();
25673 wxPyEndAllowThreads(__tstate);
25674 if (PyErr_Occurred()) SWIG_fail;
25675 }
25676 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25677 return resultobj;
25678 fail:
25679 return NULL;
25680 }
25681
25682
25683 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25684 PyObject *resultobj = 0;
25685 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25686 wxPoint result;
25687 void *argp1 = 0 ;
25688 int res1 = 0 ;
25689 PyObject *swig_obj[1] ;
25690
25691 if (!args) SWIG_fail;
25692 swig_obj[0] = args;
25693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25694 if (!SWIG_IsOK(res1)) {
25695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25696 }
25697 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25698 {
25699 PyThreadState* __tstate = wxPyBeginAllowThreads();
25700 result = (arg1)->GetMinMarginTopLeft();
25701 wxPyEndAllowThreads(__tstate);
25702 if (PyErr_Occurred()) SWIG_fail;
25703 }
25704 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25705 return resultobj;
25706 fail:
25707 return NULL;
25708 }
25709
25710
25711 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25712 PyObject *resultobj = 0;
25713 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25714 wxPoint result;
25715 void *argp1 = 0 ;
25716 int res1 = 0 ;
25717 PyObject *swig_obj[1] ;
25718
25719 if (!args) SWIG_fail;
25720 swig_obj[0] = args;
25721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25722 if (!SWIG_IsOK(res1)) {
25723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25724 }
25725 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25726 {
25727 PyThreadState* __tstate = wxPyBeginAllowThreads();
25728 result = (arg1)->GetMinMarginBottomRight();
25729 wxPyEndAllowThreads(__tstate);
25730 if (PyErr_Occurred()) SWIG_fail;
25731 }
25732 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25733 return resultobj;
25734 fail:
25735 return NULL;
25736 }
25737
25738
25739 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25740 PyObject *resultobj = 0;
25741 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25742 wxPaperSize result;
25743 void *argp1 = 0 ;
25744 int res1 = 0 ;
25745 PyObject *swig_obj[1] ;
25746
25747 if (!args) SWIG_fail;
25748 swig_obj[0] = args;
25749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25750 if (!SWIG_IsOK(res1)) {
25751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25752 }
25753 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25754 {
25755 PyThreadState* __tstate = wxPyBeginAllowThreads();
25756 result = (wxPaperSize)(arg1)->GetPaperId();
25757 wxPyEndAllowThreads(__tstate);
25758 if (PyErr_Occurred()) SWIG_fail;
25759 }
25760 resultobj = SWIG_From_int(static_cast< int >(result));
25761 return resultobj;
25762 fail:
25763 return NULL;
25764 }
25765
25766
25767 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25768 PyObject *resultobj = 0;
25769 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25770 wxSize result;
25771 void *argp1 = 0 ;
25772 int res1 = 0 ;
25773 PyObject *swig_obj[1] ;
25774
25775 if (!args) SWIG_fail;
25776 swig_obj[0] = args;
25777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25778 if (!SWIG_IsOK(res1)) {
25779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25780 }
25781 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25782 {
25783 PyThreadState* __tstate = wxPyBeginAllowThreads();
25784 result = (arg1)->GetPaperSize();
25785 wxPyEndAllowThreads(__tstate);
25786 if (PyErr_Occurred()) SWIG_fail;
25787 }
25788 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25789 return resultobj;
25790 fail:
25791 return NULL;
25792 }
25793
25794
25795 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25796 PyObject *resultobj = 0;
25797 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25798 wxPrintData *result = 0 ;
25799 void *argp1 = 0 ;
25800 int res1 = 0 ;
25801 PyObject *swig_obj[1] ;
25802
25803 if (!args) SWIG_fail;
25804 swig_obj[0] = args;
25805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25806 if (!SWIG_IsOK(res1)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25808 }
25809 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25810 {
25811 PyThreadState* __tstate = wxPyBeginAllowThreads();
25812 {
25813 wxPrintData &_result_ref = (arg1)->GetPrintData();
25814 result = (wxPrintData *) &_result_ref;
25815 }
25816 wxPyEndAllowThreads(__tstate);
25817 if (PyErr_Occurred()) SWIG_fail;
25818 }
25819 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25820 return resultobj;
25821 fail:
25822 return NULL;
25823 }
25824
25825
25826 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25827 PyObject *resultobj = 0;
25828 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25829 bool result;
25830 void *argp1 = 0 ;
25831 int res1 = 0 ;
25832 PyObject *swig_obj[1] ;
25833
25834 if (!args) SWIG_fail;
25835 swig_obj[0] = args;
25836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25837 if (!SWIG_IsOK(res1)) {
25838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25839 }
25840 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25841 {
25842 PyThreadState* __tstate = wxPyBeginAllowThreads();
25843 result = (bool)(arg1)->IsOk();
25844 wxPyEndAllowThreads(__tstate);
25845 if (PyErr_Occurred()) SWIG_fail;
25846 }
25847 {
25848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25849 }
25850 return resultobj;
25851 fail:
25852 return NULL;
25853 }
25854
25855
25856 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25857 PyObject *resultobj = 0;
25858 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25859 bool arg2 ;
25860 void *argp1 = 0 ;
25861 int res1 = 0 ;
25862 bool val2 ;
25863 int ecode2 = 0 ;
25864 PyObject * obj0 = 0 ;
25865 PyObject * obj1 = 0 ;
25866 char * kwnames[] = {
25867 (char *) "self",(char *) "flag", NULL
25868 };
25869
25870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25872 if (!SWIG_IsOK(res1)) {
25873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25874 }
25875 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25876 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25877 if (!SWIG_IsOK(ecode2)) {
25878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25879 }
25880 arg2 = static_cast< bool >(val2);
25881 {
25882 PyThreadState* __tstate = wxPyBeginAllowThreads();
25883 (arg1)->SetDefaultInfo(arg2);
25884 wxPyEndAllowThreads(__tstate);
25885 if (PyErr_Occurred()) SWIG_fail;
25886 }
25887 resultobj = SWIG_Py_Void();
25888 return resultobj;
25889 fail:
25890 return NULL;
25891 }
25892
25893
25894 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25895 PyObject *resultobj = 0;
25896 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25897 bool arg2 ;
25898 void *argp1 = 0 ;
25899 int res1 = 0 ;
25900 bool val2 ;
25901 int ecode2 = 0 ;
25902 PyObject * obj0 = 0 ;
25903 PyObject * obj1 = 0 ;
25904 char * kwnames[] = {
25905 (char *) "self",(char *) "flag", NULL
25906 };
25907
25908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25910 if (!SWIG_IsOK(res1)) {
25911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25912 }
25913 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25914 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25915 if (!SWIG_IsOK(ecode2)) {
25916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25917 }
25918 arg2 = static_cast< bool >(val2);
25919 {
25920 PyThreadState* __tstate = wxPyBeginAllowThreads();
25921 (arg1)->SetDefaultMinMargins(arg2);
25922 wxPyEndAllowThreads(__tstate);
25923 if (PyErr_Occurred()) SWIG_fail;
25924 }
25925 resultobj = SWIG_Py_Void();
25926 return resultobj;
25927 fail:
25928 return NULL;
25929 }
25930
25931
25932 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25933 PyObject *resultobj = 0;
25934 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25935 wxPoint *arg2 = 0 ;
25936 void *argp1 = 0 ;
25937 int res1 = 0 ;
25938 wxPoint temp2 ;
25939 PyObject * obj0 = 0 ;
25940 PyObject * obj1 = 0 ;
25941 char * kwnames[] = {
25942 (char *) "self",(char *) "pt", NULL
25943 };
25944
25945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25947 if (!SWIG_IsOK(res1)) {
25948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25949 }
25950 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25951 {
25952 arg2 = &temp2;
25953 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25954 }
25955 {
25956 PyThreadState* __tstate = wxPyBeginAllowThreads();
25957 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25958 wxPyEndAllowThreads(__tstate);
25959 if (PyErr_Occurred()) SWIG_fail;
25960 }
25961 resultobj = SWIG_Py_Void();
25962 return resultobj;
25963 fail:
25964 return NULL;
25965 }
25966
25967
25968 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25969 PyObject *resultobj = 0;
25970 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25971 wxPoint *arg2 = 0 ;
25972 void *argp1 = 0 ;
25973 int res1 = 0 ;
25974 wxPoint temp2 ;
25975 PyObject * obj0 = 0 ;
25976 PyObject * obj1 = 0 ;
25977 char * kwnames[] = {
25978 (char *) "self",(char *) "pt", NULL
25979 };
25980
25981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25983 if (!SWIG_IsOK(res1)) {
25984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25985 }
25986 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25987 {
25988 arg2 = &temp2;
25989 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25990 }
25991 {
25992 PyThreadState* __tstate = wxPyBeginAllowThreads();
25993 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25994 wxPyEndAllowThreads(__tstate);
25995 if (PyErr_Occurred()) SWIG_fail;
25996 }
25997 resultobj = SWIG_Py_Void();
25998 return resultobj;
25999 fail:
26000 return NULL;
26001 }
26002
26003
26004 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26005 PyObject *resultobj = 0;
26006 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26007 wxPoint *arg2 = 0 ;
26008 void *argp1 = 0 ;
26009 int res1 = 0 ;
26010 wxPoint temp2 ;
26011 PyObject * obj0 = 0 ;
26012 PyObject * obj1 = 0 ;
26013 char * kwnames[] = {
26014 (char *) "self",(char *) "pt", NULL
26015 };
26016
26017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
26018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26019 if (!SWIG_IsOK(res1)) {
26020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26021 }
26022 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26023 {
26024 arg2 = &temp2;
26025 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26026 }
26027 {
26028 PyThreadState* __tstate = wxPyBeginAllowThreads();
26029 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
26030 wxPyEndAllowThreads(__tstate);
26031 if (PyErr_Occurred()) SWIG_fail;
26032 }
26033 resultobj = SWIG_Py_Void();
26034 return resultobj;
26035 fail:
26036 return NULL;
26037 }
26038
26039
26040 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26041 PyObject *resultobj = 0;
26042 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26043 wxPoint *arg2 = 0 ;
26044 void *argp1 = 0 ;
26045 int res1 = 0 ;
26046 wxPoint temp2 ;
26047 PyObject * obj0 = 0 ;
26048 PyObject * obj1 = 0 ;
26049 char * kwnames[] = {
26050 (char *) "self",(char *) "pt", NULL
26051 };
26052
26053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
26054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26055 if (!SWIG_IsOK(res1)) {
26056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26057 }
26058 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26059 {
26060 arg2 = &temp2;
26061 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26062 }
26063 {
26064 PyThreadState* __tstate = wxPyBeginAllowThreads();
26065 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
26066 wxPyEndAllowThreads(__tstate);
26067 if (PyErr_Occurred()) SWIG_fail;
26068 }
26069 resultobj = SWIG_Py_Void();
26070 return resultobj;
26071 fail:
26072 return NULL;
26073 }
26074
26075
26076 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26077 PyObject *resultobj = 0;
26078 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26079 wxPaperSize arg2 ;
26080 void *argp1 = 0 ;
26081 int res1 = 0 ;
26082 int val2 ;
26083 int ecode2 = 0 ;
26084 PyObject * obj0 = 0 ;
26085 PyObject * obj1 = 0 ;
26086 char * kwnames[] = {
26087 (char *) "self",(char *) "id", NULL
26088 };
26089
26090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
26091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26092 if (!SWIG_IsOK(res1)) {
26093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26094 }
26095 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26096 ecode2 = SWIG_AsVal_int(obj1, &val2);
26097 if (!SWIG_IsOK(ecode2)) {
26098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26099 }
26100 arg2 = static_cast< wxPaperSize >(val2);
26101 {
26102 PyThreadState* __tstate = wxPyBeginAllowThreads();
26103 (arg1)->SetPaperId(arg2);
26104 wxPyEndAllowThreads(__tstate);
26105 if (PyErr_Occurred()) SWIG_fail;
26106 }
26107 resultobj = SWIG_Py_Void();
26108 return resultobj;
26109 fail:
26110 return NULL;
26111 }
26112
26113
26114 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26115 PyObject *resultobj = 0;
26116 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26117 wxSize *arg2 = 0 ;
26118 void *argp1 = 0 ;
26119 int res1 = 0 ;
26120 wxSize temp2 ;
26121 PyObject * obj0 = 0 ;
26122 PyObject * obj1 = 0 ;
26123 char * kwnames[] = {
26124 (char *) "self",(char *) "size", NULL
26125 };
26126
26127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
26128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26129 if (!SWIG_IsOK(res1)) {
26130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26131 }
26132 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26133 {
26134 arg2 = &temp2;
26135 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26136 }
26137 {
26138 PyThreadState* __tstate = wxPyBeginAllowThreads();
26139 (arg1)->SetPaperSize((wxSize const &)*arg2);
26140 wxPyEndAllowThreads(__tstate);
26141 if (PyErr_Occurred()) SWIG_fail;
26142 }
26143 resultobj = SWIG_Py_Void();
26144 return resultobj;
26145 fail:
26146 return NULL;
26147 }
26148
26149
26150 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26151 PyObject *resultobj = 0;
26152 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26153 wxPrintData *arg2 = 0 ;
26154 void *argp1 = 0 ;
26155 int res1 = 0 ;
26156 void *argp2 = 0 ;
26157 int res2 = 0 ;
26158 PyObject * obj0 = 0 ;
26159 PyObject * obj1 = 0 ;
26160 char * kwnames[] = {
26161 (char *) "self",(char *) "printData", NULL
26162 };
26163
26164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26166 if (!SWIG_IsOK(res1)) {
26167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26168 }
26169 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26170 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26171 if (!SWIG_IsOK(res2)) {
26172 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26173 }
26174 if (!argp2) {
26175 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26176 }
26177 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26178 {
26179 PyThreadState* __tstate = wxPyBeginAllowThreads();
26180 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26181 wxPyEndAllowThreads(__tstate);
26182 if (PyErr_Occurred()) SWIG_fail;
26183 }
26184 resultobj = SWIG_Py_Void();
26185 return resultobj;
26186 fail:
26187 return NULL;
26188 }
26189
26190
26191 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26192 PyObject *resultobj = 0;
26193 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26194 void *argp1 = 0 ;
26195 int res1 = 0 ;
26196 PyObject *swig_obj[1] ;
26197
26198 if (!args) SWIG_fail;
26199 swig_obj[0] = args;
26200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26201 if (!SWIG_IsOK(res1)) {
26202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26203 }
26204 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26205 {
26206 PyThreadState* __tstate = wxPyBeginAllowThreads();
26207 (arg1)->CalculateIdFromPaperSize();
26208 wxPyEndAllowThreads(__tstate);
26209 if (PyErr_Occurred()) SWIG_fail;
26210 }
26211 resultobj = SWIG_Py_Void();
26212 return resultobj;
26213 fail:
26214 return NULL;
26215 }
26216
26217
26218 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26219 PyObject *resultobj = 0;
26220 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26221 void *argp1 = 0 ;
26222 int res1 = 0 ;
26223 PyObject *swig_obj[1] ;
26224
26225 if (!args) SWIG_fail;
26226 swig_obj[0] = args;
26227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26228 if (!SWIG_IsOK(res1)) {
26229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26230 }
26231 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26232 {
26233 PyThreadState* __tstate = wxPyBeginAllowThreads();
26234 (arg1)->CalculatePaperSizeFromId();
26235 wxPyEndAllowThreads(__tstate);
26236 if (PyErr_Occurred()) SWIG_fail;
26237 }
26238 resultobj = SWIG_Py_Void();
26239 return resultobj;
26240 fail:
26241 return NULL;
26242 }
26243
26244
26245 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26246 PyObject *obj;
26247 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26248 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
26249 return SWIG_Py_Void();
26250 }
26251
26252 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26253 return SWIG_Python_InitShadowInstance(args);
26254 }
26255
26256 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26257 PyObject *resultobj = 0;
26258 wxWindow *arg1 = (wxWindow *) 0 ;
26259 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
26260 wxPageSetupDialog *result = 0 ;
26261 void *argp1 = 0 ;
26262 int res1 = 0 ;
26263 void *argp2 = 0 ;
26264 int res2 = 0 ;
26265 PyObject * obj0 = 0 ;
26266 PyObject * obj1 = 0 ;
26267 char * kwnames[] = {
26268 (char *) "parent",(char *) "data", NULL
26269 };
26270
26271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26273 if (!SWIG_IsOK(res1)) {
26274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26275 }
26276 arg1 = reinterpret_cast< wxWindow * >(argp1);
26277 if (obj1) {
26278 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26279 if (!SWIG_IsOK(res2)) {
26280 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26281 }
26282 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
26283 }
26284 {
26285 if (!wxPyCheckForApp()) SWIG_fail;
26286 PyThreadState* __tstate = wxPyBeginAllowThreads();
26287 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
26288 wxPyEndAllowThreads(__tstate);
26289 if (PyErr_Occurred()) SWIG_fail;
26290 }
26291 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
26292 return resultobj;
26293 fail:
26294 return NULL;
26295 }
26296
26297
26298 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26299 PyObject *resultobj = 0;
26300 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26301 void *argp1 = 0 ;
26302 int res1 = 0 ;
26303 PyObject *swig_obj[1] ;
26304
26305 if (!args) SWIG_fail;
26306 swig_obj[0] = args;
26307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
26308 if (!SWIG_IsOK(res1)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26310 }
26311 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26312 {
26313 PyThreadState* __tstate = wxPyBeginAllowThreads();
26314 delete arg1;
26315
26316 wxPyEndAllowThreads(__tstate);
26317 if (PyErr_Occurred()) SWIG_fail;
26318 }
26319 resultobj = SWIG_Py_Void();
26320 return resultobj;
26321 fail:
26322 return NULL;
26323 }
26324
26325
26326 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26327 PyObject *resultobj = 0;
26328 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26329 wxPageSetupDialogData *result = 0 ;
26330 void *argp1 = 0 ;
26331 int res1 = 0 ;
26332 PyObject *swig_obj[1] ;
26333
26334 if (!args) SWIG_fail;
26335 swig_obj[0] = args;
26336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26337 if (!SWIG_IsOK(res1)) {
26338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26339 }
26340 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26341 {
26342 PyThreadState* __tstate = wxPyBeginAllowThreads();
26343 {
26344 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
26345 result = (wxPageSetupDialogData *) &_result_ref;
26346 }
26347 wxPyEndAllowThreads(__tstate);
26348 if (PyErr_Occurred()) SWIG_fail;
26349 }
26350 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26351 return resultobj;
26352 fail:
26353 return NULL;
26354 }
26355
26356
26357 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26358 PyObject *resultobj = 0;
26359 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26360 wxPageSetupDialogData *result = 0 ;
26361 void *argp1 = 0 ;
26362 int res1 = 0 ;
26363 PyObject *swig_obj[1] ;
26364
26365 if (!args) SWIG_fail;
26366 swig_obj[0] = args;
26367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26368 if (!SWIG_IsOK(res1)) {
26369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26370 }
26371 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26372 {
26373 PyThreadState* __tstate = wxPyBeginAllowThreads();
26374 {
26375 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26376 result = (wxPageSetupDialogData *) &_result_ref;
26377 }
26378 wxPyEndAllowThreads(__tstate);
26379 if (PyErr_Occurred()) SWIG_fail;
26380 }
26381 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26382 return resultobj;
26383 fail:
26384 return NULL;
26385 }
26386
26387
26388 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26389 PyObject *resultobj = 0;
26390 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26391 int result;
26392 void *argp1 = 0 ;
26393 int res1 = 0 ;
26394 PyObject *swig_obj[1] ;
26395
26396 if (!args) SWIG_fail;
26397 swig_obj[0] = args;
26398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26399 if (!SWIG_IsOK(res1)) {
26400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26401 }
26402 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26403 {
26404 PyThreadState* __tstate = wxPyBeginAllowThreads();
26405 result = (int)(arg1)->ShowModal();
26406 wxPyEndAllowThreads(__tstate);
26407 if (PyErr_Occurred()) SWIG_fail;
26408 }
26409 resultobj = SWIG_From_int(static_cast< int >(result));
26410 return resultobj;
26411 fail:
26412 return NULL;
26413 }
26414
26415
26416 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26417 PyObject *obj;
26418 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26419 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26420 return SWIG_Py_Void();
26421 }
26422
26423 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26424 return SWIG_Python_InitShadowInstance(args);
26425 }
26426
26427 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26428 PyObject *resultobj = 0;
26429 wxPrintDialogData *result = 0 ;
26430
26431 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26432 {
26433 PyThreadState* __tstate = wxPyBeginAllowThreads();
26434 result = (wxPrintDialogData *)new wxPrintDialogData();
26435 wxPyEndAllowThreads(__tstate);
26436 if (PyErr_Occurred()) SWIG_fail;
26437 }
26438 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26439 return resultobj;
26440 fail:
26441 return NULL;
26442 }
26443
26444
26445 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26446 PyObject *resultobj = 0;
26447 wxPrintData *arg1 = 0 ;
26448 wxPrintDialogData *result = 0 ;
26449 void *argp1 = 0 ;
26450 int res1 = 0 ;
26451
26452 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26454 if (!SWIG_IsOK(res1)) {
26455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26456 }
26457 if (!argp1) {
26458 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26459 }
26460 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26461 {
26462 PyThreadState* __tstate = wxPyBeginAllowThreads();
26463 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26464 wxPyEndAllowThreads(__tstate);
26465 if (PyErr_Occurred()) SWIG_fail;
26466 }
26467 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26468 return resultobj;
26469 fail:
26470 return NULL;
26471 }
26472
26473
26474 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26475 PyObject *resultobj = 0;
26476 wxPrintDialogData *arg1 = 0 ;
26477 wxPrintDialogData *result = 0 ;
26478 void *argp1 = 0 ;
26479 int res1 = 0 ;
26480
26481 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26483 if (!SWIG_IsOK(res1)) {
26484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26485 }
26486 if (!argp1) {
26487 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26488 }
26489 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26490 {
26491 PyThreadState* __tstate = wxPyBeginAllowThreads();
26492 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26493 wxPyEndAllowThreads(__tstate);
26494 if (PyErr_Occurred()) SWIG_fail;
26495 }
26496 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26497 return resultobj;
26498 fail:
26499 return NULL;
26500 }
26501
26502
26503 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26504 int argc;
26505 PyObject *argv[2];
26506
26507 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26508 --argc;
26509 if (argc == 0) {
26510 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26511 }
26512 if (argc == 1) {
26513 int _v = 0;
26514 {
26515 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26516 _v = SWIG_CheckState(res);
26517 }
26518 if (!_v) goto check_2;
26519 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26520 }
26521 check_2:
26522
26523 if (argc == 1) {
26524 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26525 }
26526
26527 fail:
26528 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26529 return NULL;
26530 }
26531
26532
26533 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26534 PyObject *resultobj = 0;
26535 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26536 void *argp1 = 0 ;
26537 int res1 = 0 ;
26538 PyObject *swig_obj[1] ;
26539
26540 if (!args) SWIG_fail;
26541 swig_obj[0] = args;
26542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26543 if (!SWIG_IsOK(res1)) {
26544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26545 }
26546 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26547 {
26548 PyThreadState* __tstate = wxPyBeginAllowThreads();
26549 delete arg1;
26550
26551 wxPyEndAllowThreads(__tstate);
26552 if (PyErr_Occurred()) SWIG_fail;
26553 }
26554 resultobj = SWIG_Py_Void();
26555 return resultobj;
26556 fail:
26557 return NULL;
26558 }
26559
26560
26561 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26562 PyObject *resultobj = 0;
26563 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26564 int result;
26565 void *argp1 = 0 ;
26566 int res1 = 0 ;
26567 PyObject *swig_obj[1] ;
26568
26569 if (!args) SWIG_fail;
26570 swig_obj[0] = args;
26571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26572 if (!SWIG_IsOK(res1)) {
26573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26574 }
26575 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26576 {
26577 PyThreadState* __tstate = wxPyBeginAllowThreads();
26578 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26579 wxPyEndAllowThreads(__tstate);
26580 if (PyErr_Occurred()) SWIG_fail;
26581 }
26582 resultobj = SWIG_From_int(static_cast< int >(result));
26583 return resultobj;
26584 fail:
26585 return NULL;
26586 }
26587
26588
26589 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26590 PyObject *resultobj = 0;
26591 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26592 int result;
26593 void *argp1 = 0 ;
26594 int res1 = 0 ;
26595 PyObject *swig_obj[1] ;
26596
26597 if (!args) SWIG_fail;
26598 swig_obj[0] = args;
26599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26600 if (!SWIG_IsOK(res1)) {
26601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26602 }
26603 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26604 {
26605 PyThreadState* __tstate = wxPyBeginAllowThreads();
26606 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26607 wxPyEndAllowThreads(__tstate);
26608 if (PyErr_Occurred()) SWIG_fail;
26609 }
26610 resultobj = SWIG_From_int(static_cast< int >(result));
26611 return resultobj;
26612 fail:
26613 return NULL;
26614 }
26615
26616
26617 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26618 PyObject *resultobj = 0;
26619 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26620 int result;
26621 void *argp1 = 0 ;
26622 int res1 = 0 ;
26623 PyObject *swig_obj[1] ;
26624
26625 if (!args) SWIG_fail;
26626 swig_obj[0] = args;
26627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26628 if (!SWIG_IsOK(res1)) {
26629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26630 }
26631 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26632 {
26633 PyThreadState* __tstate = wxPyBeginAllowThreads();
26634 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26635 wxPyEndAllowThreads(__tstate);
26636 if (PyErr_Occurred()) SWIG_fail;
26637 }
26638 resultobj = SWIG_From_int(static_cast< int >(result));
26639 return resultobj;
26640 fail:
26641 return NULL;
26642 }
26643
26644
26645 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26646 PyObject *resultobj = 0;
26647 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26648 int result;
26649 void *argp1 = 0 ;
26650 int res1 = 0 ;
26651 PyObject *swig_obj[1] ;
26652
26653 if (!args) SWIG_fail;
26654 swig_obj[0] = args;
26655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26656 if (!SWIG_IsOK(res1)) {
26657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26658 }
26659 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26660 {
26661 PyThreadState* __tstate = wxPyBeginAllowThreads();
26662 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26663 wxPyEndAllowThreads(__tstate);
26664 if (PyErr_Occurred()) SWIG_fail;
26665 }
26666 resultobj = SWIG_From_int(static_cast< int >(result));
26667 return resultobj;
26668 fail:
26669 return NULL;
26670 }
26671
26672
26673 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26674 PyObject *resultobj = 0;
26675 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26676 int result;
26677 void *argp1 = 0 ;
26678 int res1 = 0 ;
26679 PyObject *swig_obj[1] ;
26680
26681 if (!args) SWIG_fail;
26682 swig_obj[0] = args;
26683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26684 if (!SWIG_IsOK(res1)) {
26685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26686 }
26687 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26688 {
26689 PyThreadState* __tstate = wxPyBeginAllowThreads();
26690 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26691 wxPyEndAllowThreads(__tstate);
26692 if (PyErr_Occurred()) SWIG_fail;
26693 }
26694 resultobj = SWIG_From_int(static_cast< int >(result));
26695 return resultobj;
26696 fail:
26697 return NULL;
26698 }
26699
26700
26701 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26702 PyObject *resultobj = 0;
26703 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26704 bool result;
26705 void *argp1 = 0 ;
26706 int res1 = 0 ;
26707 PyObject *swig_obj[1] ;
26708
26709 if (!args) SWIG_fail;
26710 swig_obj[0] = args;
26711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26712 if (!SWIG_IsOK(res1)) {
26713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26714 }
26715 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26716 {
26717 PyThreadState* __tstate = wxPyBeginAllowThreads();
26718 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26719 wxPyEndAllowThreads(__tstate);
26720 if (PyErr_Occurred()) SWIG_fail;
26721 }
26722 {
26723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26724 }
26725 return resultobj;
26726 fail:
26727 return NULL;
26728 }
26729
26730
26731 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26732 PyObject *resultobj = 0;
26733 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26734 bool result;
26735 void *argp1 = 0 ;
26736 int res1 = 0 ;
26737 PyObject *swig_obj[1] ;
26738
26739 if (!args) SWIG_fail;
26740 swig_obj[0] = args;
26741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26742 if (!SWIG_IsOK(res1)) {
26743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26744 }
26745 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26746 {
26747 PyThreadState* __tstate = wxPyBeginAllowThreads();
26748 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26749 wxPyEndAllowThreads(__tstate);
26750 if (PyErr_Occurred()) SWIG_fail;
26751 }
26752 {
26753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26754 }
26755 return resultobj;
26756 fail:
26757 return NULL;
26758 }
26759
26760
26761 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26762 PyObject *resultobj = 0;
26763 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26764 bool result;
26765 void *argp1 = 0 ;
26766 int res1 = 0 ;
26767 PyObject *swig_obj[1] ;
26768
26769 if (!args) SWIG_fail;
26770 swig_obj[0] = args;
26771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26772 if (!SWIG_IsOK(res1)) {
26773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26774 }
26775 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26776 {
26777 PyThreadState* __tstate = wxPyBeginAllowThreads();
26778 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26779 wxPyEndAllowThreads(__tstate);
26780 if (PyErr_Occurred()) SWIG_fail;
26781 }
26782 {
26783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26784 }
26785 return resultobj;
26786 fail:
26787 return NULL;
26788 }
26789
26790
26791 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26792 PyObject *resultobj = 0;
26793 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26794 bool result;
26795 void *argp1 = 0 ;
26796 int res1 = 0 ;
26797 PyObject *swig_obj[1] ;
26798
26799 if (!args) SWIG_fail;
26800 swig_obj[0] = args;
26801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26802 if (!SWIG_IsOK(res1)) {
26803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26804 }
26805 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26806 {
26807 PyThreadState* __tstate = wxPyBeginAllowThreads();
26808 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26809 wxPyEndAllowThreads(__tstate);
26810 if (PyErr_Occurred()) SWIG_fail;
26811 }
26812 {
26813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26814 }
26815 return resultobj;
26816 fail:
26817 return NULL;
26818 }
26819
26820
26821 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26822 PyObject *resultobj = 0;
26823 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26824 int arg2 ;
26825 void *argp1 = 0 ;
26826 int res1 = 0 ;
26827 int val2 ;
26828 int ecode2 = 0 ;
26829 PyObject * obj0 = 0 ;
26830 PyObject * obj1 = 0 ;
26831 char * kwnames[] = {
26832 (char *) "self",(char *) "v", NULL
26833 };
26834
26835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
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 '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26839 }
26840 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26841 ecode2 = SWIG_AsVal_int(obj1, &val2);
26842 if (!SWIG_IsOK(ecode2)) {
26843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26844 }
26845 arg2 = static_cast< int >(val2);
26846 {
26847 PyThreadState* __tstate = wxPyBeginAllowThreads();
26848 (arg1)->SetFromPage(arg2);
26849 wxPyEndAllowThreads(__tstate);
26850 if (PyErr_Occurred()) SWIG_fail;
26851 }
26852 resultobj = SWIG_Py_Void();
26853 return resultobj;
26854 fail:
26855 return NULL;
26856 }
26857
26858
26859 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26860 PyObject *resultobj = 0;
26861 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26862 int arg2 ;
26863 void *argp1 = 0 ;
26864 int res1 = 0 ;
26865 int val2 ;
26866 int ecode2 = 0 ;
26867 PyObject * obj0 = 0 ;
26868 PyObject * obj1 = 0 ;
26869 char * kwnames[] = {
26870 (char *) "self",(char *) "v", NULL
26871 };
26872
26873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26875 if (!SWIG_IsOK(res1)) {
26876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26877 }
26878 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26879 ecode2 = SWIG_AsVal_int(obj1, &val2);
26880 if (!SWIG_IsOK(ecode2)) {
26881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26882 }
26883 arg2 = static_cast< int >(val2);
26884 {
26885 PyThreadState* __tstate = wxPyBeginAllowThreads();
26886 (arg1)->SetToPage(arg2);
26887 wxPyEndAllowThreads(__tstate);
26888 if (PyErr_Occurred()) SWIG_fail;
26889 }
26890 resultobj = SWIG_Py_Void();
26891 return resultobj;
26892 fail:
26893 return NULL;
26894 }
26895
26896
26897 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26898 PyObject *resultobj = 0;
26899 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26900 int arg2 ;
26901 void *argp1 = 0 ;
26902 int res1 = 0 ;
26903 int val2 ;
26904 int ecode2 = 0 ;
26905 PyObject * obj0 = 0 ;
26906 PyObject * obj1 = 0 ;
26907 char * kwnames[] = {
26908 (char *) "self",(char *) "v", NULL
26909 };
26910
26911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26913 if (!SWIG_IsOK(res1)) {
26914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26915 }
26916 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26917 ecode2 = SWIG_AsVal_int(obj1, &val2);
26918 if (!SWIG_IsOK(ecode2)) {
26919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26920 }
26921 arg2 = static_cast< int >(val2);
26922 {
26923 PyThreadState* __tstate = wxPyBeginAllowThreads();
26924 (arg1)->SetMinPage(arg2);
26925 wxPyEndAllowThreads(__tstate);
26926 if (PyErr_Occurred()) SWIG_fail;
26927 }
26928 resultobj = SWIG_Py_Void();
26929 return resultobj;
26930 fail:
26931 return NULL;
26932 }
26933
26934
26935 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26936 PyObject *resultobj = 0;
26937 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26938 int arg2 ;
26939 void *argp1 = 0 ;
26940 int res1 = 0 ;
26941 int val2 ;
26942 int ecode2 = 0 ;
26943 PyObject * obj0 = 0 ;
26944 PyObject * obj1 = 0 ;
26945 char * kwnames[] = {
26946 (char *) "self",(char *) "v", NULL
26947 };
26948
26949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26951 if (!SWIG_IsOK(res1)) {
26952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26953 }
26954 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26955 ecode2 = SWIG_AsVal_int(obj1, &val2);
26956 if (!SWIG_IsOK(ecode2)) {
26957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26958 }
26959 arg2 = static_cast< int >(val2);
26960 {
26961 PyThreadState* __tstate = wxPyBeginAllowThreads();
26962 (arg1)->SetMaxPage(arg2);
26963 wxPyEndAllowThreads(__tstate);
26964 if (PyErr_Occurred()) SWIG_fail;
26965 }
26966 resultobj = SWIG_Py_Void();
26967 return resultobj;
26968 fail:
26969 return NULL;
26970 }
26971
26972
26973 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26974 PyObject *resultobj = 0;
26975 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26976 int arg2 ;
26977 void *argp1 = 0 ;
26978 int res1 = 0 ;
26979 int val2 ;
26980 int ecode2 = 0 ;
26981 PyObject * obj0 = 0 ;
26982 PyObject * obj1 = 0 ;
26983 char * kwnames[] = {
26984 (char *) "self",(char *) "v", NULL
26985 };
26986
26987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26989 if (!SWIG_IsOK(res1)) {
26990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26991 }
26992 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26993 ecode2 = SWIG_AsVal_int(obj1, &val2);
26994 if (!SWIG_IsOK(ecode2)) {
26995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26996 }
26997 arg2 = static_cast< int >(val2);
26998 {
26999 PyThreadState* __tstate = wxPyBeginAllowThreads();
27000 (arg1)->SetNoCopies(arg2);
27001 wxPyEndAllowThreads(__tstate);
27002 if (PyErr_Occurred()) SWIG_fail;
27003 }
27004 resultobj = SWIG_Py_Void();
27005 return resultobj;
27006 fail:
27007 return NULL;
27008 }
27009
27010
27011 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27012 PyObject *resultobj = 0;
27013 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27014 bool arg2 ;
27015 void *argp1 = 0 ;
27016 int res1 = 0 ;
27017 bool val2 ;
27018 int ecode2 = 0 ;
27019 PyObject * obj0 = 0 ;
27020 PyObject * obj1 = 0 ;
27021 char * kwnames[] = {
27022 (char *) "self",(char *) "flag", NULL
27023 };
27024
27025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
27026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27027 if (!SWIG_IsOK(res1)) {
27028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27029 }
27030 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27031 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27032 if (!SWIG_IsOK(ecode2)) {
27033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
27034 }
27035 arg2 = static_cast< bool >(val2);
27036 {
27037 PyThreadState* __tstate = wxPyBeginAllowThreads();
27038 (arg1)->SetAllPages(arg2);
27039 wxPyEndAllowThreads(__tstate);
27040 if (PyErr_Occurred()) SWIG_fail;
27041 }
27042 resultobj = SWIG_Py_Void();
27043 return resultobj;
27044 fail:
27045 return NULL;
27046 }
27047
27048
27049 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27050 PyObject *resultobj = 0;
27051 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27052 bool arg2 ;
27053 void *argp1 = 0 ;
27054 int res1 = 0 ;
27055 bool val2 ;
27056 int ecode2 = 0 ;
27057 PyObject * obj0 = 0 ;
27058 PyObject * obj1 = 0 ;
27059 char * kwnames[] = {
27060 (char *) "self",(char *) "flag", NULL
27061 };
27062
27063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
27064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27065 if (!SWIG_IsOK(res1)) {
27066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27067 }
27068 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27069 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27070 if (!SWIG_IsOK(ecode2)) {
27071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
27072 }
27073 arg2 = static_cast< bool >(val2);
27074 {
27075 PyThreadState* __tstate = wxPyBeginAllowThreads();
27076 (arg1)->SetSelection(arg2);
27077 wxPyEndAllowThreads(__tstate);
27078 if (PyErr_Occurred()) SWIG_fail;
27079 }
27080 resultobj = SWIG_Py_Void();
27081 return resultobj;
27082 fail:
27083 return NULL;
27084 }
27085
27086
27087 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27088 PyObject *resultobj = 0;
27089 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27090 bool arg2 ;
27091 void *argp1 = 0 ;
27092 int res1 = 0 ;
27093 bool val2 ;
27094 int ecode2 = 0 ;
27095 PyObject * obj0 = 0 ;
27096 PyObject * obj1 = 0 ;
27097 char * kwnames[] = {
27098 (char *) "self",(char *) "flag", NULL
27099 };
27100
27101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
27102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27103 if (!SWIG_IsOK(res1)) {
27104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27105 }
27106 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27107 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27108 if (!SWIG_IsOK(ecode2)) {
27109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
27110 }
27111 arg2 = static_cast< bool >(val2);
27112 {
27113 PyThreadState* __tstate = wxPyBeginAllowThreads();
27114 (arg1)->SetCollate(arg2);
27115 wxPyEndAllowThreads(__tstate);
27116 if (PyErr_Occurred()) SWIG_fail;
27117 }
27118 resultobj = SWIG_Py_Void();
27119 return resultobj;
27120 fail:
27121 return NULL;
27122 }
27123
27124
27125 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27126 PyObject *resultobj = 0;
27127 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27128 bool arg2 ;
27129 void *argp1 = 0 ;
27130 int res1 = 0 ;
27131 bool val2 ;
27132 int ecode2 = 0 ;
27133 PyObject * obj0 = 0 ;
27134 PyObject * obj1 = 0 ;
27135 char * kwnames[] = {
27136 (char *) "self",(char *) "flag", NULL
27137 };
27138
27139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
27140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27141 if (!SWIG_IsOK(res1)) {
27142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27143 }
27144 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27145 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27146 if (!SWIG_IsOK(ecode2)) {
27147 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
27148 }
27149 arg2 = static_cast< bool >(val2);
27150 {
27151 PyThreadState* __tstate = wxPyBeginAllowThreads();
27152 (arg1)->SetPrintToFile(arg2);
27153 wxPyEndAllowThreads(__tstate);
27154 if (PyErr_Occurred()) SWIG_fail;
27155 }
27156 resultobj = SWIG_Py_Void();
27157 return resultobj;
27158 fail:
27159 return NULL;
27160 }
27161
27162
27163 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27164 PyObject *resultobj = 0;
27165 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27166 bool arg2 ;
27167 void *argp1 = 0 ;
27168 int res1 = 0 ;
27169 bool val2 ;
27170 int ecode2 = 0 ;
27171 PyObject * obj0 = 0 ;
27172 PyObject * obj1 = 0 ;
27173 char * kwnames[] = {
27174 (char *) "self",(char *) "flag", NULL
27175 };
27176
27177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
27178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27179 if (!SWIG_IsOK(res1)) {
27180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27181 }
27182 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27183 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27184 if (!SWIG_IsOK(ecode2)) {
27185 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
27186 }
27187 arg2 = static_cast< bool >(val2);
27188 {
27189 PyThreadState* __tstate = wxPyBeginAllowThreads();
27190 (arg1)->EnablePrintToFile(arg2);
27191 wxPyEndAllowThreads(__tstate);
27192 if (PyErr_Occurred()) SWIG_fail;
27193 }
27194 resultobj = SWIG_Py_Void();
27195 return resultobj;
27196 fail:
27197 return NULL;
27198 }
27199
27200
27201 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27202 PyObject *resultobj = 0;
27203 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27204 bool arg2 ;
27205 void *argp1 = 0 ;
27206 int res1 = 0 ;
27207 bool val2 ;
27208 int ecode2 = 0 ;
27209 PyObject * obj0 = 0 ;
27210 PyObject * obj1 = 0 ;
27211 char * kwnames[] = {
27212 (char *) "self",(char *) "flag", NULL
27213 };
27214
27215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
27216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27217 if (!SWIG_IsOK(res1)) {
27218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27219 }
27220 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27221 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27222 if (!SWIG_IsOK(ecode2)) {
27223 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27224 }
27225 arg2 = static_cast< bool >(val2);
27226 {
27227 PyThreadState* __tstate = wxPyBeginAllowThreads();
27228 (arg1)->EnableSelection(arg2);
27229 wxPyEndAllowThreads(__tstate);
27230 if (PyErr_Occurred()) SWIG_fail;
27231 }
27232 resultobj = SWIG_Py_Void();
27233 return resultobj;
27234 fail:
27235 return NULL;
27236 }
27237
27238
27239 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27240 PyObject *resultobj = 0;
27241 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27242 bool arg2 ;
27243 void *argp1 = 0 ;
27244 int res1 = 0 ;
27245 bool val2 ;
27246 int ecode2 = 0 ;
27247 PyObject * obj0 = 0 ;
27248 PyObject * obj1 = 0 ;
27249 char * kwnames[] = {
27250 (char *) "self",(char *) "flag", NULL
27251 };
27252
27253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
27254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27255 if (!SWIG_IsOK(res1)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27257 }
27258 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27259 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27260 if (!SWIG_IsOK(ecode2)) {
27261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27262 }
27263 arg2 = static_cast< bool >(val2);
27264 {
27265 PyThreadState* __tstate = wxPyBeginAllowThreads();
27266 (arg1)->EnablePageNumbers(arg2);
27267 wxPyEndAllowThreads(__tstate);
27268 if (PyErr_Occurred()) SWIG_fail;
27269 }
27270 resultobj = SWIG_Py_Void();
27271 return resultobj;
27272 fail:
27273 return NULL;
27274 }
27275
27276
27277 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27278 PyObject *resultobj = 0;
27279 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27280 bool arg2 ;
27281 void *argp1 = 0 ;
27282 int res1 = 0 ;
27283 bool val2 ;
27284 int ecode2 = 0 ;
27285 PyObject * obj0 = 0 ;
27286 PyObject * obj1 = 0 ;
27287 char * kwnames[] = {
27288 (char *) "self",(char *) "flag", NULL
27289 };
27290
27291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27293 if (!SWIG_IsOK(res1)) {
27294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27295 }
27296 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27297 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27298 if (!SWIG_IsOK(ecode2)) {
27299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27300 }
27301 arg2 = static_cast< bool >(val2);
27302 {
27303 PyThreadState* __tstate = wxPyBeginAllowThreads();
27304 (arg1)->EnableHelp(arg2);
27305 wxPyEndAllowThreads(__tstate);
27306 if (PyErr_Occurred()) SWIG_fail;
27307 }
27308 resultobj = SWIG_Py_Void();
27309 return resultobj;
27310 fail:
27311 return NULL;
27312 }
27313
27314
27315 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27316 PyObject *resultobj = 0;
27317 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27318 bool result;
27319 void *argp1 = 0 ;
27320 int res1 = 0 ;
27321 PyObject *swig_obj[1] ;
27322
27323 if (!args) SWIG_fail;
27324 swig_obj[0] = args;
27325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27326 if (!SWIG_IsOK(res1)) {
27327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27328 }
27329 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27330 {
27331 PyThreadState* __tstate = wxPyBeginAllowThreads();
27332 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
27333 wxPyEndAllowThreads(__tstate);
27334 if (PyErr_Occurred()) SWIG_fail;
27335 }
27336 {
27337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27338 }
27339 return resultobj;
27340 fail:
27341 return NULL;
27342 }
27343
27344
27345 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27346 PyObject *resultobj = 0;
27347 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27348 bool result;
27349 void *argp1 = 0 ;
27350 int res1 = 0 ;
27351 PyObject *swig_obj[1] ;
27352
27353 if (!args) SWIG_fail;
27354 swig_obj[0] = args;
27355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27356 if (!SWIG_IsOK(res1)) {
27357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27358 }
27359 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27360 {
27361 PyThreadState* __tstate = wxPyBeginAllowThreads();
27362 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27363 wxPyEndAllowThreads(__tstate);
27364 if (PyErr_Occurred()) SWIG_fail;
27365 }
27366 {
27367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27368 }
27369 return resultobj;
27370 fail:
27371 return NULL;
27372 }
27373
27374
27375 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27376 PyObject *resultobj = 0;
27377 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27378 bool result;
27379 void *argp1 = 0 ;
27380 int res1 = 0 ;
27381 PyObject *swig_obj[1] ;
27382
27383 if (!args) SWIG_fail;
27384 swig_obj[0] = args;
27385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27386 if (!SWIG_IsOK(res1)) {
27387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27388 }
27389 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27390 {
27391 PyThreadState* __tstate = wxPyBeginAllowThreads();
27392 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27393 wxPyEndAllowThreads(__tstate);
27394 if (PyErr_Occurred()) SWIG_fail;
27395 }
27396 {
27397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27398 }
27399 return resultobj;
27400 fail:
27401 return NULL;
27402 }
27403
27404
27405 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27406 PyObject *resultobj = 0;
27407 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27408 bool result;
27409 void *argp1 = 0 ;
27410 int res1 = 0 ;
27411 PyObject *swig_obj[1] ;
27412
27413 if (!args) SWIG_fail;
27414 swig_obj[0] = args;
27415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27416 if (!SWIG_IsOK(res1)) {
27417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27418 }
27419 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27420 {
27421 PyThreadState* __tstate = wxPyBeginAllowThreads();
27422 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27423 wxPyEndAllowThreads(__tstate);
27424 if (PyErr_Occurred()) SWIG_fail;
27425 }
27426 {
27427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27428 }
27429 return resultobj;
27430 fail:
27431 return NULL;
27432 }
27433
27434
27435 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27436 PyObject *resultobj = 0;
27437 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27438 bool result;
27439 void *argp1 = 0 ;
27440 int res1 = 0 ;
27441 PyObject *swig_obj[1] ;
27442
27443 if (!args) SWIG_fail;
27444 swig_obj[0] = args;
27445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27446 if (!SWIG_IsOK(res1)) {
27447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27448 }
27449 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27450 {
27451 PyThreadState* __tstate = wxPyBeginAllowThreads();
27452 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
27453 wxPyEndAllowThreads(__tstate);
27454 if (PyErr_Occurred()) SWIG_fail;
27455 }
27456 {
27457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27458 }
27459 return resultobj;
27460 fail:
27461 return NULL;
27462 }
27463
27464
27465 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27466 PyObject *resultobj = 0;
27467 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27468 wxPrintData *result = 0 ;
27469 void *argp1 = 0 ;
27470 int res1 = 0 ;
27471 PyObject *swig_obj[1] ;
27472
27473 if (!args) SWIG_fail;
27474 swig_obj[0] = args;
27475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27476 if (!SWIG_IsOK(res1)) {
27477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27478 }
27479 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27480 {
27481 PyThreadState* __tstate = wxPyBeginAllowThreads();
27482 {
27483 wxPrintData &_result_ref = (arg1)->GetPrintData();
27484 result = (wxPrintData *) &_result_ref;
27485 }
27486 wxPyEndAllowThreads(__tstate);
27487 if (PyErr_Occurred()) SWIG_fail;
27488 }
27489 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27490 return resultobj;
27491 fail:
27492 return NULL;
27493 }
27494
27495
27496 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27497 PyObject *resultobj = 0;
27498 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27499 wxPrintData *arg2 = 0 ;
27500 void *argp1 = 0 ;
27501 int res1 = 0 ;
27502 void *argp2 = 0 ;
27503 int res2 = 0 ;
27504 PyObject * obj0 = 0 ;
27505 PyObject * obj1 = 0 ;
27506 char * kwnames[] = {
27507 (char *) "self",(char *) "printData", NULL
27508 };
27509
27510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27512 if (!SWIG_IsOK(res1)) {
27513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27514 }
27515 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27516 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27517 if (!SWIG_IsOK(res2)) {
27518 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27519 }
27520 if (!argp2) {
27521 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27522 }
27523 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27524 {
27525 PyThreadState* __tstate = wxPyBeginAllowThreads();
27526 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27527 wxPyEndAllowThreads(__tstate);
27528 if (PyErr_Occurred()) SWIG_fail;
27529 }
27530 resultobj = SWIG_Py_Void();
27531 return resultobj;
27532 fail:
27533 return NULL;
27534 }
27535
27536
27537 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27538 PyObject *obj;
27539 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27540 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27541 return SWIG_Py_Void();
27542 }
27543
27544 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27545 return SWIG_Python_InitShadowInstance(args);
27546 }
27547
27548 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27549 PyObject *resultobj = 0;
27550 wxWindow *arg1 = (wxWindow *) 0 ;
27551 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27552 wxPrintDialog *result = 0 ;
27553 void *argp1 = 0 ;
27554 int res1 = 0 ;
27555 void *argp2 = 0 ;
27556 int res2 = 0 ;
27557 PyObject * obj0 = 0 ;
27558 PyObject * obj1 = 0 ;
27559 char * kwnames[] = {
27560 (char *) "parent",(char *) "data", NULL
27561 };
27562
27563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27565 if (!SWIG_IsOK(res1)) {
27566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27567 }
27568 arg1 = reinterpret_cast< wxWindow * >(argp1);
27569 if (obj1) {
27570 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27571 if (!SWIG_IsOK(res2)) {
27572 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27573 }
27574 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27575 }
27576 {
27577 if (!wxPyCheckForApp()) SWIG_fail;
27578 PyThreadState* __tstate = wxPyBeginAllowThreads();
27579 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27580 wxPyEndAllowThreads(__tstate);
27581 if (PyErr_Occurred()) SWIG_fail;
27582 }
27583 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27584 return resultobj;
27585 fail:
27586 return NULL;
27587 }
27588
27589
27590 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27591 PyObject *resultobj = 0;
27592 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27593 void *argp1 = 0 ;
27594 int res1 = 0 ;
27595 PyObject *swig_obj[1] ;
27596
27597 if (!args) SWIG_fail;
27598 swig_obj[0] = args;
27599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27600 if (!SWIG_IsOK(res1)) {
27601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27602 }
27603 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27604 {
27605 PyThreadState* __tstate = wxPyBeginAllowThreads();
27606 delete arg1;
27607
27608 wxPyEndAllowThreads(__tstate);
27609 if (PyErr_Occurred()) SWIG_fail;
27610 }
27611 resultobj = SWIG_Py_Void();
27612 return resultobj;
27613 fail:
27614 return NULL;
27615 }
27616
27617
27618 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27619 PyObject *resultobj = 0;
27620 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27621 int result;
27622 void *argp1 = 0 ;
27623 int res1 = 0 ;
27624 PyObject *swig_obj[1] ;
27625
27626 if (!args) SWIG_fail;
27627 swig_obj[0] = args;
27628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27629 if (!SWIG_IsOK(res1)) {
27630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27631 }
27632 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27633 {
27634 PyThreadState* __tstate = wxPyBeginAllowThreads();
27635 result = (int)(arg1)->ShowModal();
27636 wxPyEndAllowThreads(__tstate);
27637 if (PyErr_Occurred()) SWIG_fail;
27638 }
27639 resultobj = SWIG_From_int(static_cast< int >(result));
27640 return resultobj;
27641 fail:
27642 return NULL;
27643 }
27644
27645
27646 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27647 PyObject *resultobj = 0;
27648 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27649 wxPrintDialogData *result = 0 ;
27650 void *argp1 = 0 ;
27651 int res1 = 0 ;
27652 PyObject *swig_obj[1] ;
27653
27654 if (!args) SWIG_fail;
27655 swig_obj[0] = args;
27656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27657 if (!SWIG_IsOK(res1)) {
27658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27659 }
27660 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27661 {
27662 PyThreadState* __tstate = wxPyBeginAllowThreads();
27663 {
27664 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27665 result = (wxPrintDialogData *) &_result_ref;
27666 }
27667 wxPyEndAllowThreads(__tstate);
27668 if (PyErr_Occurred()) SWIG_fail;
27669 }
27670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27671 return resultobj;
27672 fail:
27673 return NULL;
27674 }
27675
27676
27677 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27678 PyObject *resultobj = 0;
27679 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27680 wxPrintData *result = 0 ;
27681 void *argp1 = 0 ;
27682 int res1 = 0 ;
27683 PyObject *swig_obj[1] ;
27684
27685 if (!args) SWIG_fail;
27686 swig_obj[0] = args;
27687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27688 if (!SWIG_IsOK(res1)) {
27689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27690 }
27691 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27692 {
27693 PyThreadState* __tstate = wxPyBeginAllowThreads();
27694 {
27695 wxPrintData &_result_ref = (arg1)->GetPrintData();
27696 result = (wxPrintData *) &_result_ref;
27697 }
27698 wxPyEndAllowThreads(__tstate);
27699 if (PyErr_Occurred()) SWIG_fail;
27700 }
27701 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27702 return resultobj;
27703 fail:
27704 return NULL;
27705 }
27706
27707
27708 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27709 PyObject *resultobj = 0;
27710 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27711 wxDC *result = 0 ;
27712 void *argp1 = 0 ;
27713 int res1 = 0 ;
27714 PyObject *swig_obj[1] ;
27715
27716 if (!args) SWIG_fail;
27717 swig_obj[0] = args;
27718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27719 if (!SWIG_IsOK(res1)) {
27720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27721 }
27722 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27723 {
27724 PyThreadState* __tstate = wxPyBeginAllowThreads();
27725 result = (wxDC *)(arg1)->GetPrintDC();
27726 wxPyEndAllowThreads(__tstate);
27727 if (PyErr_Occurred()) SWIG_fail;
27728 }
27729 {
27730 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27731 }
27732 return resultobj;
27733 fail:
27734 return NULL;
27735 }
27736
27737
27738 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27739 PyObject *obj;
27740 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27741 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27742 return SWIG_Py_Void();
27743 }
27744
27745 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27746 return SWIG_Python_InitShadowInstance(args);
27747 }
27748
27749 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27750 PyObject *resultobj = 0;
27751 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27752 wxPrinter *result = 0 ;
27753 void *argp1 = 0 ;
27754 int res1 = 0 ;
27755 PyObject * obj0 = 0 ;
27756 char * kwnames[] = {
27757 (char *) "data", NULL
27758 };
27759
27760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27761 if (obj0) {
27762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27763 if (!SWIG_IsOK(res1)) {
27764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27765 }
27766 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27767 }
27768 {
27769 if (!wxPyCheckForApp()) SWIG_fail;
27770 PyThreadState* __tstate = wxPyBeginAllowThreads();
27771 result = (wxPrinter *)new wxPrinter(arg1);
27772 wxPyEndAllowThreads(__tstate);
27773 if (PyErr_Occurred()) SWIG_fail;
27774 }
27775 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27776 return resultobj;
27777 fail:
27778 return NULL;
27779 }
27780
27781
27782 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27783 PyObject *resultobj = 0;
27784 wxPrinter *arg1 = (wxPrinter *) 0 ;
27785 void *argp1 = 0 ;
27786 int res1 = 0 ;
27787 PyObject *swig_obj[1] ;
27788
27789 if (!args) SWIG_fail;
27790 swig_obj[0] = args;
27791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27792 if (!SWIG_IsOK(res1)) {
27793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27794 }
27795 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27796 {
27797 PyThreadState* __tstate = wxPyBeginAllowThreads();
27798 delete arg1;
27799
27800 wxPyEndAllowThreads(__tstate);
27801 if (PyErr_Occurred()) SWIG_fail;
27802 }
27803 resultobj = SWIG_Py_Void();
27804 return resultobj;
27805 fail:
27806 return NULL;
27807 }
27808
27809
27810 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27811 PyObject *resultobj = 0;
27812 wxPrinter *arg1 = (wxPrinter *) 0 ;
27813 wxWindow *arg2 = (wxWindow *) 0 ;
27814 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27815 wxWindow *result = 0 ;
27816 void *argp1 = 0 ;
27817 int res1 = 0 ;
27818 void *argp2 = 0 ;
27819 int res2 = 0 ;
27820 void *argp3 = 0 ;
27821 int res3 = 0 ;
27822 PyObject * obj0 = 0 ;
27823 PyObject * obj1 = 0 ;
27824 PyObject * obj2 = 0 ;
27825 char * kwnames[] = {
27826 (char *) "self",(char *) "parent",(char *) "printout", NULL
27827 };
27828
27829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27831 if (!SWIG_IsOK(res1)) {
27832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27833 }
27834 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27835 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27836 if (!SWIG_IsOK(res2)) {
27837 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27838 }
27839 arg2 = reinterpret_cast< wxWindow * >(argp2);
27840 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27841 if (!SWIG_IsOK(res3)) {
27842 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27843 }
27844 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27845 {
27846 PyThreadState* __tstate = wxPyBeginAllowThreads();
27847 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27848 wxPyEndAllowThreads(__tstate);
27849 if (PyErr_Occurred()) SWIG_fail;
27850 }
27851 {
27852 resultobj = wxPyMake_wxObject(result, 0);
27853 }
27854 return resultobj;
27855 fail:
27856 return NULL;
27857 }
27858
27859
27860 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27861 PyObject *resultobj = 0;
27862 wxPrinter *arg1 = (wxPrinter *) 0 ;
27863 wxWindow *arg2 = (wxWindow *) 0 ;
27864 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27865 wxString *arg4 = 0 ;
27866 void *argp1 = 0 ;
27867 int res1 = 0 ;
27868 void *argp2 = 0 ;
27869 int res2 = 0 ;
27870 void *argp3 = 0 ;
27871 int res3 = 0 ;
27872 bool temp4 = false ;
27873 PyObject * obj0 = 0 ;
27874 PyObject * obj1 = 0 ;
27875 PyObject * obj2 = 0 ;
27876 PyObject * obj3 = 0 ;
27877 char * kwnames[] = {
27878 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27879 };
27880
27881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27883 if (!SWIG_IsOK(res1)) {
27884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27885 }
27886 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27887 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27888 if (!SWIG_IsOK(res2)) {
27889 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27890 }
27891 arg2 = reinterpret_cast< wxWindow * >(argp2);
27892 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27893 if (!SWIG_IsOK(res3)) {
27894 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27895 }
27896 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27897 {
27898 arg4 = wxString_in_helper(obj3);
27899 if (arg4 == NULL) SWIG_fail;
27900 temp4 = true;
27901 }
27902 {
27903 PyThreadState* __tstate = wxPyBeginAllowThreads();
27904 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27905 wxPyEndAllowThreads(__tstate);
27906 if (PyErr_Occurred()) SWIG_fail;
27907 }
27908 resultobj = SWIG_Py_Void();
27909 {
27910 if (temp4)
27911 delete arg4;
27912 }
27913 return resultobj;
27914 fail:
27915 {
27916 if (temp4)
27917 delete arg4;
27918 }
27919 return NULL;
27920 }
27921
27922
27923 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27924 PyObject *resultobj = 0;
27925 wxPrinter *arg1 = (wxPrinter *) 0 ;
27926 wxWindow *arg2 = (wxWindow *) 0 ;
27927 bool result;
27928 void *argp1 = 0 ;
27929 int res1 = 0 ;
27930 void *argp2 = 0 ;
27931 int res2 = 0 ;
27932 PyObject * obj0 = 0 ;
27933 PyObject * obj1 = 0 ;
27934 char * kwnames[] = {
27935 (char *) "self",(char *) "parent", NULL
27936 };
27937
27938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27940 if (!SWIG_IsOK(res1)) {
27941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27942 }
27943 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27944 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27945 if (!SWIG_IsOK(res2)) {
27946 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27947 }
27948 arg2 = reinterpret_cast< wxWindow * >(argp2);
27949 {
27950 PyThreadState* __tstate = wxPyBeginAllowThreads();
27951 result = (bool)(arg1)->Setup(arg2);
27952 wxPyEndAllowThreads(__tstate);
27953 if (PyErr_Occurred()) SWIG_fail;
27954 }
27955 {
27956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27957 }
27958 return resultobj;
27959 fail:
27960 return NULL;
27961 }
27962
27963
27964 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27965 PyObject *resultobj = 0;
27966 wxPrinter *arg1 = (wxPrinter *) 0 ;
27967 wxWindow *arg2 = (wxWindow *) 0 ;
27968 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27969 bool arg4 = (bool) true ;
27970 bool result;
27971 void *argp1 = 0 ;
27972 int res1 = 0 ;
27973 void *argp2 = 0 ;
27974 int res2 = 0 ;
27975 void *argp3 = 0 ;
27976 int res3 = 0 ;
27977 bool val4 ;
27978 int ecode4 = 0 ;
27979 PyObject * obj0 = 0 ;
27980 PyObject * obj1 = 0 ;
27981 PyObject * obj2 = 0 ;
27982 PyObject * obj3 = 0 ;
27983 char * kwnames[] = {
27984 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27985 };
27986
27987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27989 if (!SWIG_IsOK(res1)) {
27990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27991 }
27992 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27993 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27994 if (!SWIG_IsOK(res2)) {
27995 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27996 }
27997 arg2 = reinterpret_cast< wxWindow * >(argp2);
27998 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27999 if (!SWIG_IsOK(res3)) {
28000 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
28001 }
28002 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
28003 if (obj3) {
28004 ecode4 = SWIG_AsVal_bool(obj3, &val4);
28005 if (!SWIG_IsOK(ecode4)) {
28006 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
28007 }
28008 arg4 = static_cast< bool >(val4);
28009 }
28010 {
28011 PyThreadState* __tstate = wxPyBeginAllowThreads();
28012 result = (bool)(arg1)->Print(arg2,arg3,arg4);
28013 wxPyEndAllowThreads(__tstate);
28014 if (PyErr_Occurred()) SWIG_fail;
28015 }
28016 {
28017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28018 }
28019 return resultobj;
28020 fail:
28021 return NULL;
28022 }
28023
28024
28025 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28026 PyObject *resultobj = 0;
28027 wxPrinter *arg1 = (wxPrinter *) 0 ;
28028 wxWindow *arg2 = (wxWindow *) 0 ;
28029 wxDC *result = 0 ;
28030 void *argp1 = 0 ;
28031 int res1 = 0 ;
28032 void *argp2 = 0 ;
28033 int res2 = 0 ;
28034 PyObject * obj0 = 0 ;
28035 PyObject * obj1 = 0 ;
28036 char * kwnames[] = {
28037 (char *) "self",(char *) "parent", NULL
28038 };
28039
28040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
28041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28042 if (!SWIG_IsOK(res1)) {
28043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
28044 }
28045 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28046 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28047 if (!SWIG_IsOK(res2)) {
28048 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
28049 }
28050 arg2 = reinterpret_cast< wxWindow * >(argp2);
28051 {
28052 PyThreadState* __tstate = wxPyBeginAllowThreads();
28053 result = (wxDC *)(arg1)->PrintDialog(arg2);
28054 wxPyEndAllowThreads(__tstate);
28055 if (PyErr_Occurred()) SWIG_fail;
28056 }
28057 {
28058 resultobj = wxPyMake_wxObject(result, (bool)0);
28059 }
28060 return resultobj;
28061 fail:
28062 return NULL;
28063 }
28064
28065
28066 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28067 PyObject *resultobj = 0;
28068 wxPrinter *arg1 = (wxPrinter *) 0 ;
28069 wxPrintDialogData *result = 0 ;
28070 void *argp1 = 0 ;
28071 int res1 = 0 ;
28072 PyObject *swig_obj[1] ;
28073
28074 if (!args) SWIG_fail;
28075 swig_obj[0] = args;
28076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28077 if (!SWIG_IsOK(res1)) {
28078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
28079 }
28080 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28081 {
28082 PyThreadState* __tstate = wxPyBeginAllowThreads();
28083 {
28084 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
28085 result = (wxPrintDialogData *) &_result_ref;
28086 }
28087 wxPyEndAllowThreads(__tstate);
28088 if (PyErr_Occurred()) SWIG_fail;
28089 }
28090 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28091 return resultobj;
28092 fail:
28093 return NULL;
28094 }
28095
28096
28097 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28098 PyObject *resultobj = 0;
28099 wxPrinter *arg1 = (wxPrinter *) 0 ;
28100 bool result;
28101 void *argp1 = 0 ;
28102 int res1 = 0 ;
28103 PyObject *swig_obj[1] ;
28104
28105 if (!args) SWIG_fail;
28106 swig_obj[0] = args;
28107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28108 if (!SWIG_IsOK(res1)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
28110 }
28111 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28112 {
28113 PyThreadState* __tstate = wxPyBeginAllowThreads();
28114 result = (bool)(arg1)->GetAbort();
28115 wxPyEndAllowThreads(__tstate);
28116 if (PyErr_Occurred()) SWIG_fail;
28117 }
28118 {
28119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28120 }
28121 return resultobj;
28122 fail:
28123 return NULL;
28124 }
28125
28126
28127 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28128 PyObject *resultobj = 0;
28129 wxPrinterError result;
28130
28131 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
28132 {
28133 PyThreadState* __tstate = wxPyBeginAllowThreads();
28134 result = (wxPrinterError)wxPrinter::GetLastError();
28135 wxPyEndAllowThreads(__tstate);
28136 if (PyErr_Occurred()) SWIG_fail;
28137 }
28138 resultobj = SWIG_From_int(static_cast< int >(result));
28139 return resultobj;
28140 fail:
28141 return NULL;
28142 }
28143
28144
28145 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28146 PyObject *obj;
28147 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28148 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
28149 return SWIG_Py_Void();
28150 }
28151
28152 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28153 return SWIG_Python_InitShadowInstance(args);
28154 }
28155
28156 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28157 PyObject *resultobj = 0;
28158 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
28159 wxString *arg1 = (wxString *) &arg1_defvalue ;
28160 wxPyPrintout *result = 0 ;
28161 bool temp1 = false ;
28162 PyObject * obj0 = 0 ;
28163 char * kwnames[] = {
28164 (char *) "title", NULL
28165 };
28166
28167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
28168 if (obj0) {
28169 {
28170 arg1 = wxString_in_helper(obj0);
28171 if (arg1 == NULL) SWIG_fail;
28172 temp1 = true;
28173 }
28174 }
28175 {
28176 if (!wxPyCheckForApp()) SWIG_fail;
28177 PyThreadState* __tstate = wxPyBeginAllowThreads();
28178 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
28179 wxPyEndAllowThreads(__tstate);
28180 if (PyErr_Occurred()) SWIG_fail;
28181 }
28182 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
28183 {
28184 if (temp1)
28185 delete arg1;
28186 }
28187 return resultobj;
28188 fail:
28189 {
28190 if (temp1)
28191 delete arg1;
28192 }
28193 return NULL;
28194 }
28195
28196
28197 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28198 PyObject *resultobj = 0;
28199 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28200 void *argp1 = 0 ;
28201 int res1 = 0 ;
28202 PyObject *swig_obj[1] ;
28203
28204 if (!args) SWIG_fail;
28205 swig_obj[0] = args;
28206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28207 if (!SWIG_IsOK(res1)) {
28208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28209 }
28210 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28211 {
28212 PyThreadState* __tstate = wxPyBeginAllowThreads();
28213 delete arg1;
28214
28215 wxPyEndAllowThreads(__tstate);
28216 if (PyErr_Occurred()) SWIG_fail;
28217 }
28218 resultobj = SWIG_Py_Void();
28219 return resultobj;
28220 fail:
28221 return NULL;
28222 }
28223
28224
28225 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28226 PyObject *resultobj = 0;
28227 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28228 PyObject *arg2 = (PyObject *) 0 ;
28229 PyObject *arg3 = (PyObject *) 0 ;
28230 void *argp1 = 0 ;
28231 int res1 = 0 ;
28232 PyObject * obj0 = 0 ;
28233 PyObject * obj1 = 0 ;
28234 PyObject * obj2 = 0 ;
28235 char * kwnames[] = {
28236 (char *) "self",(char *) "self",(char *) "_class", NULL
28237 };
28238
28239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28241 if (!SWIG_IsOK(res1)) {
28242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28243 }
28244 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28245 arg2 = obj1;
28246 arg3 = obj2;
28247 {
28248 PyThreadState* __tstate = wxPyBeginAllowThreads();
28249 (arg1)->_setCallbackInfo(arg2,arg3);
28250 wxPyEndAllowThreads(__tstate);
28251 if (PyErr_Occurred()) SWIG_fail;
28252 }
28253 resultobj = SWIG_Py_Void();
28254 return resultobj;
28255 fail:
28256 return NULL;
28257 }
28258
28259
28260 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28261 PyObject *resultobj = 0;
28262 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28263 wxString result;
28264 void *argp1 = 0 ;
28265 int res1 = 0 ;
28266 PyObject *swig_obj[1] ;
28267
28268 if (!args) SWIG_fail;
28269 swig_obj[0] = args;
28270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28271 if (!SWIG_IsOK(res1)) {
28272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28273 }
28274 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28275 {
28276 PyThreadState* __tstate = wxPyBeginAllowThreads();
28277 result = ((wxPyPrintout const *)arg1)->GetTitle();
28278 wxPyEndAllowThreads(__tstate);
28279 if (PyErr_Occurred()) SWIG_fail;
28280 }
28281 {
28282 #if wxUSE_UNICODE
28283 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28284 #else
28285 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28286 #endif
28287 }
28288 return resultobj;
28289 fail:
28290 return NULL;
28291 }
28292
28293
28294 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28295 PyObject *resultobj = 0;
28296 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28297 wxDC *result = 0 ;
28298 void *argp1 = 0 ;
28299 int res1 = 0 ;
28300 PyObject *swig_obj[1] ;
28301
28302 if (!args) SWIG_fail;
28303 swig_obj[0] = args;
28304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28305 if (!SWIG_IsOK(res1)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28307 }
28308 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28309 {
28310 PyThreadState* __tstate = wxPyBeginAllowThreads();
28311 result = (wxDC *)(arg1)->GetDC();
28312 wxPyEndAllowThreads(__tstate);
28313 if (PyErr_Occurred()) SWIG_fail;
28314 }
28315 {
28316 resultobj = wxPyMake_wxObject(result, (bool)0);
28317 }
28318 return resultobj;
28319 fail:
28320 return NULL;
28321 }
28322
28323
28324 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28325 PyObject *resultobj = 0;
28326 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28327 wxDC *arg2 = (wxDC *) 0 ;
28328 void *argp1 = 0 ;
28329 int res1 = 0 ;
28330 void *argp2 = 0 ;
28331 int res2 = 0 ;
28332 PyObject * obj0 = 0 ;
28333 PyObject * obj1 = 0 ;
28334 char * kwnames[] = {
28335 (char *) "self",(char *) "dc", NULL
28336 };
28337
28338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
28339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28340 if (!SWIG_IsOK(res1)) {
28341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28342 }
28343 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28344 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
28345 if (!SWIG_IsOK(res2)) {
28346 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28347 }
28348 arg2 = reinterpret_cast< wxDC * >(argp2);
28349 {
28350 PyThreadState* __tstate = wxPyBeginAllowThreads();
28351 (arg1)->SetDC(arg2);
28352 wxPyEndAllowThreads(__tstate);
28353 if (PyErr_Occurred()) SWIG_fail;
28354 }
28355 resultobj = SWIG_Py_Void();
28356 return resultobj;
28357 fail:
28358 return NULL;
28359 }
28360
28361
28362 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28363 PyObject *resultobj = 0;
28364 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28365 wxSize *arg2 = 0 ;
28366 void *argp1 = 0 ;
28367 int res1 = 0 ;
28368 wxSize temp2 ;
28369 PyObject * obj0 = 0 ;
28370 PyObject * obj1 = 0 ;
28371 char * kwnames[] = {
28372 (char *) "self",(char *) "imageSize", NULL
28373 };
28374
28375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
28376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28377 if (!SWIG_IsOK(res1)) {
28378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28379 }
28380 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28381 {
28382 arg2 = &temp2;
28383 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28384 }
28385 {
28386 PyThreadState* __tstate = wxPyBeginAllowThreads();
28387 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
28388 wxPyEndAllowThreads(__tstate);
28389 if (PyErr_Occurred()) SWIG_fail;
28390 }
28391 resultobj = SWIG_Py_Void();
28392 return resultobj;
28393 fail:
28394 return NULL;
28395 }
28396
28397
28398 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28399 PyObject *resultobj = 0;
28400 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28401 wxSize *arg2 = 0 ;
28402 void *argp1 = 0 ;
28403 int res1 = 0 ;
28404 wxSize temp2 ;
28405 PyObject * obj0 = 0 ;
28406 PyObject * obj1 = 0 ;
28407 char * kwnames[] = {
28408 (char *) "self",(char *) "imageSize", NULL
28409 };
28410
28411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28413 if (!SWIG_IsOK(res1)) {
28414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28415 }
28416 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28417 {
28418 arg2 = &temp2;
28419 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28420 }
28421 {
28422 PyThreadState* __tstate = wxPyBeginAllowThreads();
28423 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
28424 wxPyEndAllowThreads(__tstate);
28425 if (PyErr_Occurred()) SWIG_fail;
28426 }
28427 resultobj = SWIG_Py_Void();
28428 return resultobj;
28429 fail:
28430 return NULL;
28431 }
28432
28433
28434 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28435 PyObject *resultobj = 0;
28436 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28437 wxSize *arg2 = 0 ;
28438 wxPageSetupDialogData *arg3 = 0 ;
28439 void *argp1 = 0 ;
28440 int res1 = 0 ;
28441 wxSize temp2 ;
28442 void *argp3 = 0 ;
28443 int res3 = 0 ;
28444 PyObject * obj0 = 0 ;
28445 PyObject * obj1 = 0 ;
28446 PyObject * obj2 = 0 ;
28447 char * kwnames[] = {
28448 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28449 };
28450
28451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28453 if (!SWIG_IsOK(res1)) {
28454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28455 }
28456 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28457 {
28458 arg2 = &temp2;
28459 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28460 }
28461 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28462 if (!SWIG_IsOK(res3)) {
28463 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28464 }
28465 if (!argp3) {
28466 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28467 }
28468 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
28469 {
28470 PyThreadState* __tstate = wxPyBeginAllowThreads();
28471 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
28472 wxPyEndAllowThreads(__tstate);
28473 if (PyErr_Occurred()) SWIG_fail;
28474 }
28475 resultobj = SWIG_Py_Void();
28476 return resultobj;
28477 fail:
28478 return NULL;
28479 }
28480
28481
28482 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28483 PyObject *resultobj = 0;
28484 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28485 void *argp1 = 0 ;
28486 int res1 = 0 ;
28487 PyObject *swig_obj[1] ;
28488
28489 if (!args) SWIG_fail;
28490 swig_obj[0] = args;
28491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28492 if (!SWIG_IsOK(res1)) {
28493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28494 }
28495 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28496 {
28497 PyThreadState* __tstate = wxPyBeginAllowThreads();
28498 (arg1)->MapScreenSizeToPaper();
28499 wxPyEndAllowThreads(__tstate);
28500 if (PyErr_Occurred()) SWIG_fail;
28501 }
28502 resultobj = SWIG_Py_Void();
28503 return resultobj;
28504 fail:
28505 return NULL;
28506 }
28507
28508
28509 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28510 PyObject *resultobj = 0;
28511 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28512 void *argp1 = 0 ;
28513 int res1 = 0 ;
28514 PyObject *swig_obj[1] ;
28515
28516 if (!args) SWIG_fail;
28517 swig_obj[0] = args;
28518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28519 if (!SWIG_IsOK(res1)) {
28520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28521 }
28522 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28523 {
28524 PyThreadState* __tstate = wxPyBeginAllowThreads();
28525 (arg1)->MapScreenSizeToPage();
28526 wxPyEndAllowThreads(__tstate);
28527 if (PyErr_Occurred()) SWIG_fail;
28528 }
28529 resultobj = SWIG_Py_Void();
28530 return resultobj;
28531 fail:
28532 return NULL;
28533 }
28534
28535
28536 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28537 PyObject *resultobj = 0;
28538 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28539 wxPageSetupDialogData *arg2 = 0 ;
28540 void *argp1 = 0 ;
28541 int res1 = 0 ;
28542 void *argp2 = 0 ;
28543 int res2 = 0 ;
28544 PyObject * obj0 = 0 ;
28545 PyObject * obj1 = 0 ;
28546 char * kwnames[] = {
28547 (char *) "self",(char *) "pageSetupData", NULL
28548 };
28549
28550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28552 if (!SWIG_IsOK(res1)) {
28553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28554 }
28555 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28556 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28557 if (!SWIG_IsOK(res2)) {
28558 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28559 }
28560 if (!argp2) {
28561 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28562 }
28563 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28564 {
28565 PyThreadState* __tstate = wxPyBeginAllowThreads();
28566 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28567 wxPyEndAllowThreads(__tstate);
28568 if (PyErr_Occurred()) SWIG_fail;
28569 }
28570 resultobj = SWIG_Py_Void();
28571 return resultobj;
28572 fail:
28573 return NULL;
28574 }
28575
28576
28577 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28578 PyObject *resultobj = 0;
28579 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28580 void *argp1 = 0 ;
28581 int res1 = 0 ;
28582 PyObject *swig_obj[1] ;
28583
28584 if (!args) SWIG_fail;
28585 swig_obj[0] = args;
28586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28587 if (!SWIG_IsOK(res1)) {
28588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28589 }
28590 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28591 {
28592 PyThreadState* __tstate = wxPyBeginAllowThreads();
28593 (arg1)->MapScreenSizeToDevice();
28594 wxPyEndAllowThreads(__tstate);
28595 if (PyErr_Occurred()) SWIG_fail;
28596 }
28597 resultobj = SWIG_Py_Void();
28598 return resultobj;
28599 fail:
28600 return NULL;
28601 }
28602
28603
28604 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28605 PyObject *resultobj = 0;
28606 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28607 wxRect result;
28608 void *argp1 = 0 ;
28609 int res1 = 0 ;
28610 PyObject *swig_obj[1] ;
28611
28612 if (!args) SWIG_fail;
28613 swig_obj[0] = args;
28614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28615 if (!SWIG_IsOK(res1)) {
28616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28617 }
28618 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28619 {
28620 PyThreadState* __tstate = wxPyBeginAllowThreads();
28621 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28622 wxPyEndAllowThreads(__tstate);
28623 if (PyErr_Occurred()) SWIG_fail;
28624 }
28625 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28626 return resultobj;
28627 fail:
28628 return NULL;
28629 }
28630
28631
28632 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28633 PyObject *resultobj = 0;
28634 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28635 wxRect result;
28636 void *argp1 = 0 ;
28637 int res1 = 0 ;
28638 PyObject *swig_obj[1] ;
28639
28640 if (!args) SWIG_fail;
28641 swig_obj[0] = args;
28642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28643 if (!SWIG_IsOK(res1)) {
28644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28645 }
28646 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28647 {
28648 PyThreadState* __tstate = wxPyBeginAllowThreads();
28649 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28650 wxPyEndAllowThreads(__tstate);
28651 if (PyErr_Occurred()) SWIG_fail;
28652 }
28653 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28654 return resultobj;
28655 fail:
28656 return NULL;
28657 }
28658
28659
28660 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28661 PyObject *resultobj = 0;
28662 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28663 wxPageSetupDialogData *arg2 = 0 ;
28664 wxRect result;
28665 void *argp1 = 0 ;
28666 int res1 = 0 ;
28667 void *argp2 = 0 ;
28668 int res2 = 0 ;
28669 PyObject * obj0 = 0 ;
28670 PyObject * obj1 = 0 ;
28671 char * kwnames[] = {
28672 (char *) "self",(char *) "pageSetupData", NULL
28673 };
28674
28675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28677 if (!SWIG_IsOK(res1)) {
28678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28679 }
28680 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28681 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28682 if (!SWIG_IsOK(res2)) {
28683 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28684 }
28685 if (!argp2) {
28686 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28687 }
28688 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28689 {
28690 PyThreadState* __tstate = wxPyBeginAllowThreads();
28691 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28692 wxPyEndAllowThreads(__tstate);
28693 if (PyErr_Occurred()) SWIG_fail;
28694 }
28695 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28696 return resultobj;
28697 fail:
28698 return NULL;
28699 }
28700
28701
28702 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28703 PyObject *resultobj = 0;
28704 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28705 int arg2 ;
28706 int arg3 ;
28707 void *argp1 = 0 ;
28708 int res1 = 0 ;
28709 int val2 ;
28710 int ecode2 = 0 ;
28711 int val3 ;
28712 int ecode3 = 0 ;
28713 PyObject * obj0 = 0 ;
28714 PyObject * obj1 = 0 ;
28715 PyObject * obj2 = 0 ;
28716 char * kwnames[] = {
28717 (char *) "self",(char *) "x",(char *) "y", NULL
28718 };
28719
28720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28722 if (!SWIG_IsOK(res1)) {
28723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28724 }
28725 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28726 ecode2 = SWIG_AsVal_int(obj1, &val2);
28727 if (!SWIG_IsOK(ecode2)) {
28728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28729 }
28730 arg2 = static_cast< int >(val2);
28731 ecode3 = SWIG_AsVal_int(obj2, &val3);
28732 if (!SWIG_IsOK(ecode3)) {
28733 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28734 }
28735 arg3 = static_cast< int >(val3);
28736 {
28737 PyThreadState* __tstate = wxPyBeginAllowThreads();
28738 (arg1)->SetLogicalOrigin(arg2,arg3);
28739 wxPyEndAllowThreads(__tstate);
28740 if (PyErr_Occurred()) SWIG_fail;
28741 }
28742 resultobj = SWIG_Py_Void();
28743 return resultobj;
28744 fail:
28745 return NULL;
28746 }
28747
28748
28749 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28750 PyObject *resultobj = 0;
28751 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28752 int arg2 ;
28753 int arg3 ;
28754 void *argp1 = 0 ;
28755 int res1 = 0 ;
28756 int val2 ;
28757 int ecode2 = 0 ;
28758 int val3 ;
28759 int ecode3 = 0 ;
28760 PyObject * obj0 = 0 ;
28761 PyObject * obj1 = 0 ;
28762 PyObject * obj2 = 0 ;
28763 char * kwnames[] = {
28764 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28765 };
28766
28767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28769 if (!SWIG_IsOK(res1)) {
28770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28771 }
28772 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28773 ecode2 = SWIG_AsVal_int(obj1, &val2);
28774 if (!SWIG_IsOK(ecode2)) {
28775 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28776 }
28777 arg2 = static_cast< int >(val2);
28778 ecode3 = SWIG_AsVal_int(obj2, &val3);
28779 if (!SWIG_IsOK(ecode3)) {
28780 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28781 }
28782 arg3 = static_cast< int >(val3);
28783 {
28784 PyThreadState* __tstate = wxPyBeginAllowThreads();
28785 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28786 wxPyEndAllowThreads(__tstate);
28787 if (PyErr_Occurred()) SWIG_fail;
28788 }
28789 resultobj = SWIG_Py_Void();
28790 return resultobj;
28791 fail:
28792 return NULL;
28793 }
28794
28795
28796 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28797 PyObject *resultobj = 0;
28798 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28799 int arg2 ;
28800 int arg3 ;
28801 void *argp1 = 0 ;
28802 int res1 = 0 ;
28803 int val2 ;
28804 int ecode2 = 0 ;
28805 int val3 ;
28806 int ecode3 = 0 ;
28807 PyObject * obj0 = 0 ;
28808 PyObject * obj1 = 0 ;
28809 PyObject * obj2 = 0 ;
28810 char * kwnames[] = {
28811 (char *) "self",(char *) "w",(char *) "h", NULL
28812 };
28813
28814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28816 if (!SWIG_IsOK(res1)) {
28817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28818 }
28819 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28820 ecode2 = SWIG_AsVal_int(obj1, &val2);
28821 if (!SWIG_IsOK(ecode2)) {
28822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28823 }
28824 arg2 = static_cast< int >(val2);
28825 ecode3 = SWIG_AsVal_int(obj2, &val3);
28826 if (!SWIG_IsOK(ecode3)) {
28827 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28828 }
28829 arg3 = static_cast< int >(val3);
28830 {
28831 PyThreadState* __tstate = wxPyBeginAllowThreads();
28832 (arg1)->SetPageSizePixels(arg2,arg3);
28833 wxPyEndAllowThreads(__tstate);
28834 if (PyErr_Occurred()) SWIG_fail;
28835 }
28836 resultobj = SWIG_Py_Void();
28837 return resultobj;
28838 fail:
28839 return NULL;
28840 }
28841
28842
28843 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28844 PyObject *resultobj = 0;
28845 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28846 int *arg2 = (int *) 0 ;
28847 int *arg3 = (int *) 0 ;
28848 void *argp1 = 0 ;
28849 int res1 = 0 ;
28850 int temp2 ;
28851 int res2 = SWIG_TMPOBJ ;
28852 int temp3 ;
28853 int res3 = SWIG_TMPOBJ ;
28854 PyObject *swig_obj[1] ;
28855
28856 arg2 = &temp2;
28857 arg3 = &temp3;
28858 if (!args) SWIG_fail;
28859 swig_obj[0] = args;
28860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28861 if (!SWIG_IsOK(res1)) {
28862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28863 }
28864 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28865 {
28866 PyThreadState* __tstate = wxPyBeginAllowThreads();
28867 (arg1)->GetPageSizePixels(arg2,arg3);
28868 wxPyEndAllowThreads(__tstate);
28869 if (PyErr_Occurred()) SWIG_fail;
28870 }
28871 resultobj = SWIG_Py_Void();
28872 if (SWIG_IsTmpObj(res2)) {
28873 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28874 } else {
28875 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28876 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28877 }
28878 if (SWIG_IsTmpObj(res3)) {
28879 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28880 } else {
28881 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28882 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28883 }
28884 return resultobj;
28885 fail:
28886 return NULL;
28887 }
28888
28889
28890 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28891 PyObject *resultobj = 0;
28892 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28893 int arg2 ;
28894 int arg3 ;
28895 void *argp1 = 0 ;
28896 int res1 = 0 ;
28897 int val2 ;
28898 int ecode2 = 0 ;
28899 int val3 ;
28900 int ecode3 = 0 ;
28901 PyObject * obj0 = 0 ;
28902 PyObject * obj1 = 0 ;
28903 PyObject * obj2 = 0 ;
28904 char * kwnames[] = {
28905 (char *) "self",(char *) "w",(char *) "h", NULL
28906 };
28907
28908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28910 if (!SWIG_IsOK(res1)) {
28911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28912 }
28913 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28914 ecode2 = SWIG_AsVal_int(obj1, &val2);
28915 if (!SWIG_IsOK(ecode2)) {
28916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28917 }
28918 arg2 = static_cast< int >(val2);
28919 ecode3 = SWIG_AsVal_int(obj2, &val3);
28920 if (!SWIG_IsOK(ecode3)) {
28921 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28922 }
28923 arg3 = static_cast< int >(val3);
28924 {
28925 PyThreadState* __tstate = wxPyBeginAllowThreads();
28926 (arg1)->SetPageSizeMM(arg2,arg3);
28927 wxPyEndAllowThreads(__tstate);
28928 if (PyErr_Occurred()) SWIG_fail;
28929 }
28930 resultobj = SWIG_Py_Void();
28931 return resultobj;
28932 fail:
28933 return NULL;
28934 }
28935
28936
28937 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28938 PyObject *resultobj = 0;
28939 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28940 int *arg2 = (int *) 0 ;
28941 int *arg3 = (int *) 0 ;
28942 void *argp1 = 0 ;
28943 int res1 = 0 ;
28944 int temp2 ;
28945 int res2 = SWIG_TMPOBJ ;
28946 int temp3 ;
28947 int res3 = SWIG_TMPOBJ ;
28948 PyObject *swig_obj[1] ;
28949
28950 arg2 = &temp2;
28951 arg3 = &temp3;
28952 if (!args) SWIG_fail;
28953 swig_obj[0] = args;
28954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28955 if (!SWIG_IsOK(res1)) {
28956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28957 }
28958 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28959 {
28960 PyThreadState* __tstate = wxPyBeginAllowThreads();
28961 (arg1)->GetPageSizeMM(arg2,arg3);
28962 wxPyEndAllowThreads(__tstate);
28963 if (PyErr_Occurred()) SWIG_fail;
28964 }
28965 resultobj = SWIG_Py_Void();
28966 if (SWIG_IsTmpObj(res2)) {
28967 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28968 } else {
28969 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28970 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28971 }
28972 if (SWIG_IsTmpObj(res3)) {
28973 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28974 } else {
28975 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28976 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28977 }
28978 return resultobj;
28979 fail:
28980 return NULL;
28981 }
28982
28983
28984 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28985 PyObject *resultobj = 0;
28986 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28987 int arg2 ;
28988 int arg3 ;
28989 void *argp1 = 0 ;
28990 int res1 = 0 ;
28991 int val2 ;
28992 int ecode2 = 0 ;
28993 int val3 ;
28994 int ecode3 = 0 ;
28995 PyObject * obj0 = 0 ;
28996 PyObject * obj1 = 0 ;
28997 PyObject * obj2 = 0 ;
28998 char * kwnames[] = {
28999 (char *) "self",(char *) "x",(char *) "y", NULL
29000 };
29001
29002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29004 if (!SWIG_IsOK(res1)) {
29005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29006 }
29007 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29008 ecode2 = SWIG_AsVal_int(obj1, &val2);
29009 if (!SWIG_IsOK(ecode2)) {
29010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
29011 }
29012 arg2 = static_cast< int >(val2);
29013 ecode3 = SWIG_AsVal_int(obj2, &val3);
29014 if (!SWIG_IsOK(ecode3)) {
29015 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
29016 }
29017 arg3 = static_cast< int >(val3);
29018 {
29019 PyThreadState* __tstate = wxPyBeginAllowThreads();
29020 (arg1)->SetPPIScreen(arg2,arg3);
29021 wxPyEndAllowThreads(__tstate);
29022 if (PyErr_Occurred()) SWIG_fail;
29023 }
29024 resultobj = SWIG_Py_Void();
29025 return resultobj;
29026 fail:
29027 return NULL;
29028 }
29029
29030
29031 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29032 PyObject *resultobj = 0;
29033 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29034 int *arg2 = (int *) 0 ;
29035 int *arg3 = (int *) 0 ;
29036 void *argp1 = 0 ;
29037 int res1 = 0 ;
29038 int temp2 ;
29039 int res2 = SWIG_TMPOBJ ;
29040 int temp3 ;
29041 int res3 = SWIG_TMPOBJ ;
29042 PyObject *swig_obj[1] ;
29043
29044 arg2 = &temp2;
29045 arg3 = &temp3;
29046 if (!args) SWIG_fail;
29047 swig_obj[0] = args;
29048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29049 if (!SWIG_IsOK(res1)) {
29050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29051 }
29052 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29053 {
29054 PyThreadState* __tstate = wxPyBeginAllowThreads();
29055 (arg1)->GetPPIScreen(arg2,arg3);
29056 wxPyEndAllowThreads(__tstate);
29057 if (PyErr_Occurred()) SWIG_fail;
29058 }
29059 resultobj = SWIG_Py_Void();
29060 if (SWIG_IsTmpObj(res2)) {
29061 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29062 } else {
29063 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29064 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29065 }
29066 if (SWIG_IsTmpObj(res3)) {
29067 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29068 } else {
29069 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29070 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29071 }
29072 return resultobj;
29073 fail:
29074 return NULL;
29075 }
29076
29077
29078 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29079 PyObject *resultobj = 0;
29080 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29081 int arg2 ;
29082 int arg3 ;
29083 void *argp1 = 0 ;
29084 int res1 = 0 ;
29085 int val2 ;
29086 int ecode2 = 0 ;
29087 int val3 ;
29088 int ecode3 = 0 ;
29089 PyObject * obj0 = 0 ;
29090 PyObject * obj1 = 0 ;
29091 PyObject * obj2 = 0 ;
29092 char * kwnames[] = {
29093 (char *) "self",(char *) "x",(char *) "y", NULL
29094 };
29095
29096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29098 if (!SWIG_IsOK(res1)) {
29099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29100 }
29101 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29102 ecode2 = SWIG_AsVal_int(obj1, &val2);
29103 if (!SWIG_IsOK(ecode2)) {
29104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
29105 }
29106 arg2 = static_cast< int >(val2);
29107 ecode3 = SWIG_AsVal_int(obj2, &val3);
29108 if (!SWIG_IsOK(ecode3)) {
29109 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
29110 }
29111 arg3 = static_cast< int >(val3);
29112 {
29113 PyThreadState* __tstate = wxPyBeginAllowThreads();
29114 (arg1)->SetPPIPrinter(arg2,arg3);
29115 wxPyEndAllowThreads(__tstate);
29116 if (PyErr_Occurred()) SWIG_fail;
29117 }
29118 resultobj = SWIG_Py_Void();
29119 return resultobj;
29120 fail:
29121 return NULL;
29122 }
29123
29124
29125 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29126 PyObject *resultobj = 0;
29127 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29128 int *arg2 = (int *) 0 ;
29129 int *arg3 = (int *) 0 ;
29130 void *argp1 = 0 ;
29131 int res1 = 0 ;
29132 int temp2 ;
29133 int res2 = SWIG_TMPOBJ ;
29134 int temp3 ;
29135 int res3 = SWIG_TMPOBJ ;
29136 PyObject *swig_obj[1] ;
29137
29138 arg2 = &temp2;
29139 arg3 = &temp3;
29140 if (!args) SWIG_fail;
29141 swig_obj[0] = args;
29142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29143 if (!SWIG_IsOK(res1)) {
29144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29145 }
29146 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29147 {
29148 PyThreadState* __tstate = wxPyBeginAllowThreads();
29149 (arg1)->GetPPIPrinter(arg2,arg3);
29150 wxPyEndAllowThreads(__tstate);
29151 if (PyErr_Occurred()) SWIG_fail;
29152 }
29153 resultobj = SWIG_Py_Void();
29154 if (SWIG_IsTmpObj(res2)) {
29155 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29156 } else {
29157 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29158 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29159 }
29160 if (SWIG_IsTmpObj(res3)) {
29161 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29162 } else {
29163 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29164 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29165 }
29166 return resultobj;
29167 fail:
29168 return NULL;
29169 }
29170
29171
29172 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29173 PyObject *resultobj = 0;
29174 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29175 wxRect *arg2 = 0 ;
29176 void *argp1 = 0 ;
29177 int res1 = 0 ;
29178 wxRect temp2 ;
29179 PyObject * obj0 = 0 ;
29180 PyObject * obj1 = 0 ;
29181 char * kwnames[] = {
29182 (char *) "self",(char *) "paperRectPixels", NULL
29183 };
29184
29185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
29186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29187 if (!SWIG_IsOK(res1)) {
29188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29189 }
29190 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29191 {
29192 arg2 = &temp2;
29193 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
29194 }
29195 {
29196 PyThreadState* __tstate = wxPyBeginAllowThreads();
29197 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
29198 wxPyEndAllowThreads(__tstate);
29199 if (PyErr_Occurred()) SWIG_fail;
29200 }
29201 resultobj = SWIG_Py_Void();
29202 return resultobj;
29203 fail:
29204 return NULL;
29205 }
29206
29207
29208 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29209 PyObject *resultobj = 0;
29210 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29211 wxRect result;
29212 void *argp1 = 0 ;
29213 int res1 = 0 ;
29214 PyObject *swig_obj[1] ;
29215
29216 if (!args) SWIG_fail;
29217 swig_obj[0] = args;
29218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29219 if (!SWIG_IsOK(res1)) {
29220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29221 }
29222 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29223 {
29224 PyThreadState* __tstate = wxPyBeginAllowThreads();
29225 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
29226 wxPyEndAllowThreads(__tstate);
29227 if (PyErr_Occurred()) SWIG_fail;
29228 }
29229 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29230 return resultobj;
29231 fail:
29232 return NULL;
29233 }
29234
29235
29236 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29237 PyObject *resultobj = 0;
29238 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29239 bool result;
29240 void *argp1 = 0 ;
29241 int res1 = 0 ;
29242 PyObject *swig_obj[1] ;
29243
29244 if (!args) SWIG_fail;
29245 swig_obj[0] = args;
29246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29247 if (!SWIG_IsOK(res1)) {
29248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29249 }
29250 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29251 {
29252 PyThreadState* __tstate = wxPyBeginAllowThreads();
29253 result = (bool)(arg1)->IsPreview();
29254 wxPyEndAllowThreads(__tstate);
29255 if (PyErr_Occurred()) SWIG_fail;
29256 }
29257 {
29258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29259 }
29260 return resultobj;
29261 fail:
29262 return NULL;
29263 }
29264
29265
29266 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29267 PyObject *resultobj = 0;
29268 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29269 bool arg2 ;
29270 void *argp1 = 0 ;
29271 int res1 = 0 ;
29272 bool val2 ;
29273 int ecode2 = 0 ;
29274 PyObject * obj0 = 0 ;
29275 PyObject * obj1 = 0 ;
29276 char * kwnames[] = {
29277 (char *) "self",(char *) "p", NULL
29278 };
29279
29280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
29281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29282 if (!SWIG_IsOK(res1)) {
29283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29284 }
29285 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29286 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29287 if (!SWIG_IsOK(ecode2)) {
29288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29289 }
29290 arg2 = static_cast< bool >(val2);
29291 {
29292 PyThreadState* __tstate = wxPyBeginAllowThreads();
29293 (arg1)->SetIsPreview(arg2);
29294 wxPyEndAllowThreads(__tstate);
29295 if (PyErr_Occurred()) SWIG_fail;
29296 }
29297 resultobj = SWIG_Py_Void();
29298 return resultobj;
29299 fail:
29300 return NULL;
29301 }
29302
29303
29304 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29305 PyObject *resultobj = 0;
29306 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29307 int arg2 ;
29308 int arg3 ;
29309 bool result;
29310 void *argp1 = 0 ;
29311 int res1 = 0 ;
29312 int val2 ;
29313 int ecode2 = 0 ;
29314 int val3 ;
29315 int ecode3 = 0 ;
29316 PyObject * obj0 = 0 ;
29317 PyObject * obj1 = 0 ;
29318 PyObject * obj2 = 0 ;
29319 char * kwnames[] = {
29320 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29321 };
29322
29323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29325 if (!SWIG_IsOK(res1)) {
29326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29327 }
29328 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29329 ecode2 = SWIG_AsVal_int(obj1, &val2);
29330 if (!SWIG_IsOK(ecode2)) {
29331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29332 }
29333 arg2 = static_cast< int >(val2);
29334 ecode3 = SWIG_AsVal_int(obj2, &val3);
29335 if (!SWIG_IsOK(ecode3)) {
29336 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29337 }
29338 arg3 = static_cast< int >(val3);
29339 {
29340 PyThreadState* __tstate = wxPyBeginAllowThreads();
29341 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
29342 wxPyEndAllowThreads(__tstate);
29343 if (PyErr_Occurred()) SWIG_fail;
29344 }
29345 {
29346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29347 }
29348 return resultobj;
29349 fail:
29350 return NULL;
29351 }
29352
29353
29354 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29355 PyObject *resultobj = 0;
29356 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29357 void *argp1 = 0 ;
29358 int res1 = 0 ;
29359 PyObject *swig_obj[1] ;
29360
29361 if (!args) SWIG_fail;
29362 swig_obj[0] = args;
29363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29364 if (!SWIG_IsOK(res1)) {
29365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29366 }
29367 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29368 {
29369 PyThreadState* __tstate = wxPyBeginAllowThreads();
29370 (arg1)->OnEndDocument();
29371 wxPyEndAllowThreads(__tstate);
29372 if (PyErr_Occurred()) SWIG_fail;
29373 }
29374 resultobj = SWIG_Py_Void();
29375 return resultobj;
29376 fail:
29377 return NULL;
29378 }
29379
29380
29381 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29382 PyObject *resultobj = 0;
29383 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29384 void *argp1 = 0 ;
29385 int res1 = 0 ;
29386 PyObject *swig_obj[1] ;
29387
29388 if (!args) SWIG_fail;
29389 swig_obj[0] = args;
29390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29391 if (!SWIG_IsOK(res1)) {
29392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29393 }
29394 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29395 {
29396 PyThreadState* __tstate = wxPyBeginAllowThreads();
29397 (arg1)->OnBeginPrinting();
29398 wxPyEndAllowThreads(__tstate);
29399 if (PyErr_Occurred()) SWIG_fail;
29400 }
29401 resultobj = SWIG_Py_Void();
29402 return resultobj;
29403 fail:
29404 return NULL;
29405 }
29406
29407
29408 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29409 PyObject *resultobj = 0;
29410 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29411 void *argp1 = 0 ;
29412 int res1 = 0 ;
29413 PyObject *swig_obj[1] ;
29414
29415 if (!args) SWIG_fail;
29416 swig_obj[0] = args;
29417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29418 if (!SWIG_IsOK(res1)) {
29419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29420 }
29421 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29422 {
29423 PyThreadState* __tstate = wxPyBeginAllowThreads();
29424 (arg1)->OnEndPrinting();
29425 wxPyEndAllowThreads(__tstate);
29426 if (PyErr_Occurred()) SWIG_fail;
29427 }
29428 resultobj = SWIG_Py_Void();
29429 return resultobj;
29430 fail:
29431 return NULL;
29432 }
29433
29434
29435 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29436 PyObject *resultobj = 0;
29437 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29438 void *argp1 = 0 ;
29439 int res1 = 0 ;
29440 PyObject *swig_obj[1] ;
29441
29442 if (!args) SWIG_fail;
29443 swig_obj[0] = args;
29444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29445 if (!SWIG_IsOK(res1)) {
29446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29447 }
29448 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29449 {
29450 PyThreadState* __tstate = wxPyBeginAllowThreads();
29451 (arg1)->OnPreparePrinting();
29452 wxPyEndAllowThreads(__tstate);
29453 if (PyErr_Occurred()) SWIG_fail;
29454 }
29455 resultobj = SWIG_Py_Void();
29456 return resultobj;
29457 fail:
29458 return NULL;
29459 }
29460
29461
29462 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29463 PyObject *resultobj = 0;
29464 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29465 int arg2 ;
29466 bool result;
29467 void *argp1 = 0 ;
29468 int res1 = 0 ;
29469 int val2 ;
29470 int ecode2 = 0 ;
29471 PyObject * obj0 = 0 ;
29472 PyObject * obj1 = 0 ;
29473 char * kwnames[] = {
29474 (char *) "self",(char *) "page", NULL
29475 };
29476
29477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
29478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29479 if (!SWIG_IsOK(res1)) {
29480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29481 }
29482 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29483 ecode2 = SWIG_AsVal_int(obj1, &val2);
29484 if (!SWIG_IsOK(ecode2)) {
29485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29486 }
29487 arg2 = static_cast< int >(val2);
29488 {
29489 PyThreadState* __tstate = wxPyBeginAllowThreads();
29490 result = (bool)(arg1)->HasPage(arg2);
29491 wxPyEndAllowThreads(__tstate);
29492 if (PyErr_Occurred()) SWIG_fail;
29493 }
29494 {
29495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29496 }
29497 return resultobj;
29498 fail:
29499 return NULL;
29500 }
29501
29502
29503 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29504 PyObject *resultobj = 0;
29505 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29506 int *arg2 = (int *) 0 ;
29507 int *arg3 = (int *) 0 ;
29508 int *arg4 = (int *) 0 ;
29509 int *arg5 = (int *) 0 ;
29510 void *argp1 = 0 ;
29511 int res1 = 0 ;
29512 int temp2 ;
29513 int res2 = SWIG_TMPOBJ ;
29514 int temp3 ;
29515 int res3 = SWIG_TMPOBJ ;
29516 int temp4 ;
29517 int res4 = SWIG_TMPOBJ ;
29518 int temp5 ;
29519 int res5 = SWIG_TMPOBJ ;
29520 PyObject *swig_obj[1] ;
29521
29522 arg2 = &temp2;
29523 arg3 = &temp3;
29524 arg4 = &temp4;
29525 arg5 = &temp5;
29526 if (!args) SWIG_fail;
29527 swig_obj[0] = args;
29528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29529 if (!SWIG_IsOK(res1)) {
29530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29531 }
29532 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29533 {
29534 PyThreadState* __tstate = wxPyBeginAllowThreads();
29535 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29536 wxPyEndAllowThreads(__tstate);
29537 if (PyErr_Occurred()) SWIG_fail;
29538 }
29539 resultobj = SWIG_Py_Void();
29540 if (SWIG_IsTmpObj(res2)) {
29541 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29542 } else {
29543 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29544 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29545 }
29546 if (SWIG_IsTmpObj(res3)) {
29547 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29548 } else {
29549 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29550 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29551 }
29552 if (SWIG_IsTmpObj(res4)) {
29553 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29554 } else {
29555 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29556 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29557 }
29558 if (SWIG_IsTmpObj(res5)) {
29559 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29560 } else {
29561 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29562 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29563 }
29564 return resultobj;
29565 fail:
29566 return NULL;
29567 }
29568
29569
29570 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29571 PyObject *obj;
29572 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29573 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29574 return SWIG_Py_Void();
29575 }
29576
29577 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29578 return SWIG_Python_InitShadowInstance(args);
29579 }
29580
29581 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29582 PyObject *resultobj = 0;
29583 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29584 wxWindow *arg2 = (wxWindow *) 0 ;
29585 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29586 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29587 wxSize const &arg4_defvalue = wxDefaultSize ;
29588 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29589 long arg5 = (long) 0 ;
29590 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29591 wxString *arg6 = (wxString *) &arg6_defvalue ;
29592 wxPreviewCanvas *result = 0 ;
29593 void *argp1 = 0 ;
29594 int res1 = 0 ;
29595 void *argp2 = 0 ;
29596 int res2 = 0 ;
29597 wxPoint temp3 ;
29598 wxSize temp4 ;
29599 long val5 ;
29600 int ecode5 = 0 ;
29601 bool temp6 = false ;
29602 PyObject * obj0 = 0 ;
29603 PyObject * obj1 = 0 ;
29604 PyObject * obj2 = 0 ;
29605 PyObject * obj3 = 0 ;
29606 PyObject * obj4 = 0 ;
29607 PyObject * obj5 = 0 ;
29608 char * kwnames[] = {
29609 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29610 };
29611
29612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29614 if (!SWIG_IsOK(res1)) {
29615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29616 }
29617 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29618 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29619 if (!SWIG_IsOK(res2)) {
29620 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29621 }
29622 arg2 = reinterpret_cast< wxWindow * >(argp2);
29623 if (obj2) {
29624 {
29625 arg3 = &temp3;
29626 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29627 }
29628 }
29629 if (obj3) {
29630 {
29631 arg4 = &temp4;
29632 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29633 }
29634 }
29635 if (obj4) {
29636 ecode5 = SWIG_AsVal_long(obj4, &val5);
29637 if (!SWIG_IsOK(ecode5)) {
29638 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29639 }
29640 arg5 = static_cast< long >(val5);
29641 }
29642 if (obj5) {
29643 {
29644 arg6 = wxString_in_helper(obj5);
29645 if (arg6 == NULL) SWIG_fail;
29646 temp6 = true;
29647 }
29648 }
29649 {
29650 if (!wxPyCheckForApp()) SWIG_fail;
29651 PyThreadState* __tstate = wxPyBeginAllowThreads();
29652 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29653 wxPyEndAllowThreads(__tstate);
29654 if (PyErr_Occurred()) SWIG_fail;
29655 }
29656 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29657 {
29658 if (temp6)
29659 delete arg6;
29660 }
29661 return resultobj;
29662 fail:
29663 {
29664 if (temp6)
29665 delete arg6;
29666 }
29667 return NULL;
29668 }
29669
29670
29671 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29672 PyObject *obj;
29673 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29674 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29675 return SWIG_Py_Void();
29676 }
29677
29678 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29679 return SWIG_Python_InitShadowInstance(args);
29680 }
29681
29682 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29683 PyObject *resultobj = 0;
29684 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29685 wxFrame *arg2 = (wxFrame *) 0 ;
29686 wxString *arg3 = 0 ;
29687 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29688 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29689 wxSize const &arg5_defvalue = wxDefaultSize ;
29690 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29691 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29692 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29693 wxString *arg7 = (wxString *) &arg7_defvalue ;
29694 wxPreviewFrame *result = 0 ;
29695 int res1 = 0 ;
29696 void *argp2 = 0 ;
29697 int res2 = 0 ;
29698 bool temp3 = false ;
29699 wxPoint temp4 ;
29700 wxSize temp5 ;
29701 long val6 ;
29702 int ecode6 = 0 ;
29703 bool temp7 = false ;
29704 PyObject * obj0 = 0 ;
29705 PyObject * obj1 = 0 ;
29706 PyObject * obj2 = 0 ;
29707 PyObject * obj3 = 0 ;
29708 PyObject * obj4 = 0 ;
29709 PyObject * obj5 = 0 ;
29710 PyObject * obj6 = 0 ;
29711 char * kwnames[] = {
29712 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29713 };
29714
29715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29716 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29717 if (!SWIG_IsOK(res1)) {
29718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29719 }
29720 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29721 if (!SWIG_IsOK(res2)) {
29722 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29723 }
29724 arg2 = reinterpret_cast< wxFrame * >(argp2);
29725 {
29726 arg3 = wxString_in_helper(obj2);
29727 if (arg3 == NULL) SWIG_fail;
29728 temp3 = true;
29729 }
29730 if (obj3) {
29731 {
29732 arg4 = &temp4;
29733 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29734 }
29735 }
29736 if (obj4) {
29737 {
29738 arg5 = &temp5;
29739 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29740 }
29741 }
29742 if (obj5) {
29743 ecode6 = SWIG_AsVal_long(obj5, &val6);
29744 if (!SWIG_IsOK(ecode6)) {
29745 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29746 }
29747 arg6 = static_cast< long >(val6);
29748 }
29749 if (obj6) {
29750 {
29751 arg7 = wxString_in_helper(obj6);
29752 if (arg7 == NULL) SWIG_fail;
29753 temp7 = true;
29754 }
29755 }
29756 {
29757 if (!wxPyCheckForApp()) SWIG_fail;
29758 PyThreadState* __tstate = wxPyBeginAllowThreads();
29759 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29760 wxPyEndAllowThreads(__tstate);
29761 if (PyErr_Occurred()) SWIG_fail;
29762 }
29763 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29764 {
29765 if (temp3)
29766 delete arg3;
29767 }
29768 {
29769 if (temp7)
29770 delete arg7;
29771 }
29772 return resultobj;
29773 fail:
29774 {
29775 if (temp3)
29776 delete arg3;
29777 }
29778 {
29779 if (temp7)
29780 delete arg7;
29781 }
29782 return NULL;
29783 }
29784
29785
29786 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29787 PyObject *resultobj = 0;
29788 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29789 void *argp1 = 0 ;
29790 int res1 = 0 ;
29791 PyObject *swig_obj[1] ;
29792
29793 if (!args) SWIG_fail;
29794 swig_obj[0] = args;
29795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29796 if (!SWIG_IsOK(res1)) {
29797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29798 }
29799 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29800 {
29801 PyThreadState* __tstate = wxPyBeginAllowThreads();
29802 (arg1)->Initialize();
29803 wxPyEndAllowThreads(__tstate);
29804 if (PyErr_Occurred()) SWIG_fail;
29805 }
29806 resultobj = SWIG_Py_Void();
29807 return resultobj;
29808 fail:
29809 return NULL;
29810 }
29811
29812
29813 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29814 PyObject *resultobj = 0;
29815 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29816 void *argp1 = 0 ;
29817 int res1 = 0 ;
29818 PyObject *swig_obj[1] ;
29819
29820 if (!args) SWIG_fail;
29821 swig_obj[0] = args;
29822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29823 if (!SWIG_IsOK(res1)) {
29824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29825 }
29826 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29827 {
29828 PyThreadState* __tstate = wxPyBeginAllowThreads();
29829 (arg1)->CreateControlBar();
29830 wxPyEndAllowThreads(__tstate);
29831 if (PyErr_Occurred()) SWIG_fail;
29832 }
29833 resultobj = SWIG_Py_Void();
29834 return resultobj;
29835 fail:
29836 return NULL;
29837 }
29838
29839
29840 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29841 PyObject *resultobj = 0;
29842 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29843 void *argp1 = 0 ;
29844 int res1 = 0 ;
29845 PyObject *swig_obj[1] ;
29846
29847 if (!args) SWIG_fail;
29848 swig_obj[0] = args;
29849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29850 if (!SWIG_IsOK(res1)) {
29851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29852 }
29853 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29854 {
29855 PyThreadState* __tstate = wxPyBeginAllowThreads();
29856 (arg1)->CreateCanvas();
29857 wxPyEndAllowThreads(__tstate);
29858 if (PyErr_Occurred()) SWIG_fail;
29859 }
29860 resultobj = SWIG_Py_Void();
29861 return resultobj;
29862 fail:
29863 return NULL;
29864 }
29865
29866
29867 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29868 PyObject *resultobj = 0;
29869 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29870 wxPreviewControlBar *result = 0 ;
29871 void *argp1 = 0 ;
29872 int res1 = 0 ;
29873 PyObject *swig_obj[1] ;
29874
29875 if (!args) SWIG_fail;
29876 swig_obj[0] = args;
29877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29878 if (!SWIG_IsOK(res1)) {
29879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29880 }
29881 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29882 {
29883 PyThreadState* __tstate = wxPyBeginAllowThreads();
29884 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29885 wxPyEndAllowThreads(__tstate);
29886 if (PyErr_Occurred()) SWIG_fail;
29887 }
29888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29889 return resultobj;
29890 fail:
29891 return NULL;
29892 }
29893
29894
29895 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29896 PyObject *obj;
29897 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29898 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29899 return SWIG_Py_Void();
29900 }
29901
29902 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29903 return SWIG_Python_InitShadowInstance(args);
29904 }
29905
29906 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29907 PyObject *resultobj = 0;
29908 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29909 long arg2 ;
29910 wxWindow *arg3 = (wxWindow *) 0 ;
29911 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29912 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29913 wxSize const &arg5_defvalue = wxDefaultSize ;
29914 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29915 long arg6 = (long) wxTAB_TRAVERSAL ;
29916 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29917 wxString *arg7 = (wxString *) &arg7_defvalue ;
29918 wxPreviewControlBar *result = 0 ;
29919 void *argp1 = 0 ;
29920 int res1 = 0 ;
29921 long val2 ;
29922 int ecode2 = 0 ;
29923 void *argp3 = 0 ;
29924 int res3 = 0 ;
29925 wxPoint temp4 ;
29926 wxSize temp5 ;
29927 long val6 ;
29928 int ecode6 = 0 ;
29929 bool temp7 = false ;
29930 PyObject * obj0 = 0 ;
29931 PyObject * obj1 = 0 ;
29932 PyObject * obj2 = 0 ;
29933 PyObject * obj3 = 0 ;
29934 PyObject * obj4 = 0 ;
29935 PyObject * obj5 = 0 ;
29936 PyObject * obj6 = 0 ;
29937 char * kwnames[] = {
29938 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29939 };
29940
29941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29943 if (!SWIG_IsOK(res1)) {
29944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29945 }
29946 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29947 ecode2 = SWIG_AsVal_long(obj1, &val2);
29948 if (!SWIG_IsOK(ecode2)) {
29949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29950 }
29951 arg2 = static_cast< long >(val2);
29952 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29953 if (!SWIG_IsOK(res3)) {
29954 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29955 }
29956 arg3 = reinterpret_cast< wxWindow * >(argp3);
29957 if (obj3) {
29958 {
29959 arg4 = &temp4;
29960 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29961 }
29962 }
29963 if (obj4) {
29964 {
29965 arg5 = &temp5;
29966 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29967 }
29968 }
29969 if (obj5) {
29970 ecode6 = SWIG_AsVal_long(obj5, &val6);
29971 if (!SWIG_IsOK(ecode6)) {
29972 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29973 }
29974 arg6 = static_cast< long >(val6);
29975 }
29976 if (obj6) {
29977 {
29978 arg7 = wxString_in_helper(obj6);
29979 if (arg7 == NULL) SWIG_fail;
29980 temp7 = true;
29981 }
29982 }
29983 {
29984 if (!wxPyCheckForApp()) SWIG_fail;
29985 PyThreadState* __tstate = wxPyBeginAllowThreads();
29986 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29987 wxPyEndAllowThreads(__tstate);
29988 if (PyErr_Occurred()) SWIG_fail;
29989 }
29990 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29991 {
29992 if (temp7)
29993 delete arg7;
29994 }
29995 return resultobj;
29996 fail:
29997 {
29998 if (temp7)
29999 delete arg7;
30000 }
30001 return NULL;
30002 }
30003
30004
30005 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30006 PyObject *resultobj = 0;
30007 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30008 int result;
30009 void *argp1 = 0 ;
30010 int res1 = 0 ;
30011 PyObject *swig_obj[1] ;
30012
30013 if (!args) SWIG_fail;
30014 swig_obj[0] = args;
30015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30016 if (!SWIG_IsOK(res1)) {
30017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30018 }
30019 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30020 {
30021 PyThreadState* __tstate = wxPyBeginAllowThreads();
30022 result = (int)(arg1)->GetZoomControl();
30023 wxPyEndAllowThreads(__tstate);
30024 if (PyErr_Occurred()) SWIG_fail;
30025 }
30026 resultobj = SWIG_From_int(static_cast< int >(result));
30027 return resultobj;
30028 fail:
30029 return NULL;
30030 }
30031
30032
30033 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30034 PyObject *resultobj = 0;
30035 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30036 int arg2 ;
30037 void *argp1 = 0 ;
30038 int res1 = 0 ;
30039 int val2 ;
30040 int ecode2 = 0 ;
30041 PyObject * obj0 = 0 ;
30042 PyObject * obj1 = 0 ;
30043 char * kwnames[] = {
30044 (char *) "self",(char *) "zoom", NULL
30045 };
30046
30047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30049 if (!SWIG_IsOK(res1)) {
30050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30051 }
30052 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30053 ecode2 = SWIG_AsVal_int(obj1, &val2);
30054 if (!SWIG_IsOK(ecode2)) {
30055 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30056 }
30057 arg2 = static_cast< int >(val2);
30058 {
30059 PyThreadState* __tstate = wxPyBeginAllowThreads();
30060 (arg1)->SetZoomControl(arg2);
30061 wxPyEndAllowThreads(__tstate);
30062 if (PyErr_Occurred()) SWIG_fail;
30063 }
30064 resultobj = SWIG_Py_Void();
30065 return resultobj;
30066 fail:
30067 return NULL;
30068 }
30069
30070
30071 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30072 PyObject *resultobj = 0;
30073 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30074 wxPrintPreview *result = 0 ;
30075 void *argp1 = 0 ;
30076 int res1 = 0 ;
30077 PyObject *swig_obj[1] ;
30078
30079 if (!args) SWIG_fail;
30080 swig_obj[0] = args;
30081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30082 if (!SWIG_IsOK(res1)) {
30083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30084 }
30085 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30086 {
30087 PyThreadState* __tstate = wxPyBeginAllowThreads();
30088 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
30089 wxPyEndAllowThreads(__tstate);
30090 if (PyErr_Occurred()) SWIG_fail;
30091 }
30092 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30093 return resultobj;
30094 fail:
30095 return NULL;
30096 }
30097
30098
30099 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30100 PyObject *resultobj = 0;
30101 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30102 void *argp1 = 0 ;
30103 int res1 = 0 ;
30104 PyObject *swig_obj[1] ;
30105
30106 if (!args) SWIG_fail;
30107 swig_obj[0] = args;
30108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30109 if (!SWIG_IsOK(res1)) {
30110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30111 }
30112 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30113 {
30114 PyThreadState* __tstate = wxPyBeginAllowThreads();
30115 (arg1)->OnNext();
30116 wxPyEndAllowThreads(__tstate);
30117 if (PyErr_Occurred()) SWIG_fail;
30118 }
30119 resultobj = SWIG_Py_Void();
30120 return resultobj;
30121 fail:
30122 return NULL;
30123 }
30124
30125
30126 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30127 PyObject *resultobj = 0;
30128 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30129 void *argp1 = 0 ;
30130 int res1 = 0 ;
30131 PyObject *swig_obj[1] ;
30132
30133 if (!args) SWIG_fail;
30134 swig_obj[0] = args;
30135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30136 if (!SWIG_IsOK(res1)) {
30137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30138 }
30139 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30140 {
30141 PyThreadState* __tstate = wxPyBeginAllowThreads();
30142 (arg1)->OnPrevious();
30143 wxPyEndAllowThreads(__tstate);
30144 if (PyErr_Occurred()) SWIG_fail;
30145 }
30146 resultobj = SWIG_Py_Void();
30147 return resultobj;
30148 fail:
30149 return NULL;
30150 }
30151
30152
30153 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30154 PyObject *resultobj = 0;
30155 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30156 void *argp1 = 0 ;
30157 int res1 = 0 ;
30158 PyObject *swig_obj[1] ;
30159
30160 if (!args) SWIG_fail;
30161 swig_obj[0] = args;
30162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30163 if (!SWIG_IsOK(res1)) {
30164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30165 }
30166 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30167 {
30168 PyThreadState* __tstate = wxPyBeginAllowThreads();
30169 (arg1)->OnFirst();
30170 wxPyEndAllowThreads(__tstate);
30171 if (PyErr_Occurred()) SWIG_fail;
30172 }
30173 resultobj = SWIG_Py_Void();
30174 return resultobj;
30175 fail:
30176 return NULL;
30177 }
30178
30179
30180 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30181 PyObject *resultobj = 0;
30182 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30183 void *argp1 = 0 ;
30184 int res1 = 0 ;
30185 PyObject *swig_obj[1] ;
30186
30187 if (!args) SWIG_fail;
30188 swig_obj[0] = args;
30189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30190 if (!SWIG_IsOK(res1)) {
30191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30192 }
30193 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30194 {
30195 PyThreadState* __tstate = wxPyBeginAllowThreads();
30196 (arg1)->OnLast();
30197 wxPyEndAllowThreads(__tstate);
30198 if (PyErr_Occurred()) SWIG_fail;
30199 }
30200 resultobj = SWIG_Py_Void();
30201 return resultobj;
30202 fail:
30203 return NULL;
30204 }
30205
30206
30207 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30208 PyObject *resultobj = 0;
30209 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30210 void *argp1 = 0 ;
30211 int res1 = 0 ;
30212 PyObject *swig_obj[1] ;
30213
30214 if (!args) SWIG_fail;
30215 swig_obj[0] = args;
30216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30217 if (!SWIG_IsOK(res1)) {
30218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30219 }
30220 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30221 {
30222 PyThreadState* __tstate = wxPyBeginAllowThreads();
30223 (arg1)->OnGoto();
30224 wxPyEndAllowThreads(__tstate);
30225 if (PyErr_Occurred()) SWIG_fail;
30226 }
30227 resultobj = SWIG_Py_Void();
30228 return resultobj;
30229 fail:
30230 return NULL;
30231 }
30232
30233
30234 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30235 PyObject *obj;
30236 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30237 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
30238 return SWIG_Py_Void();
30239 }
30240
30241 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30242 return SWIG_Python_InitShadowInstance(args);
30243 }
30244
30245 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30246 PyObject *resultobj = 0;
30247 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30248 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30249 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30250 wxPrintPreview *result = 0 ;
30251 int res1 = 0 ;
30252 int res2 = 0 ;
30253 void *argp3 = 0 ;
30254 int res3 = 0 ;
30255
30256 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30257 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30258 if (!SWIG_IsOK(res1)) {
30259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30260 }
30261 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30262 if (!SWIG_IsOK(res2)) {
30263 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30264 }
30265 if (swig_obj[2]) {
30266 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30267 if (!SWIG_IsOK(res3)) {
30268 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30269 }
30270 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30271 }
30272 {
30273 if (!wxPyCheckForApp()) SWIG_fail;
30274 PyThreadState* __tstate = wxPyBeginAllowThreads();
30275 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30276 wxPyEndAllowThreads(__tstate);
30277 if (PyErr_Occurred()) SWIG_fail;
30278 }
30279 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30280 return resultobj;
30281 fail:
30282 return NULL;
30283 }
30284
30285
30286 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30287 PyObject *resultobj = 0;
30288 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30289 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30290 wxPrintData *arg3 = (wxPrintData *) 0 ;
30291 wxPrintPreview *result = 0 ;
30292 int res1 = 0 ;
30293 int res2 = 0 ;
30294 void *argp3 = 0 ;
30295 int res3 = 0 ;
30296
30297 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30298 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30299 if (!SWIG_IsOK(res1)) {
30300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30301 }
30302 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30303 if (!SWIG_IsOK(res2)) {
30304 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30305 }
30306 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30307 if (!SWIG_IsOK(res3)) {
30308 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30309 }
30310 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30311 {
30312 if (!wxPyCheckForApp()) SWIG_fail;
30313 PyThreadState* __tstate = wxPyBeginAllowThreads();
30314 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30315 wxPyEndAllowThreads(__tstate);
30316 if (PyErr_Occurred()) SWIG_fail;
30317 }
30318 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30319 return resultobj;
30320 fail:
30321 return NULL;
30322 }
30323
30324
30325 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
30326 int argc;
30327 PyObject *argv[4];
30328
30329 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
30330 --argc;
30331 if ((argc >= 2) && (argc <= 3)) {
30332 int _v = 0;
30333 if (argc > 2) {
30334 {
30335 void *vptr = 0;
30336 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30337 _v = SWIG_CheckState(res);
30338 }
30339 if (!_v) goto check_1;
30340 }
30341 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
30342 }
30343 check_1:
30344
30345 if (argc == 3) {
30346 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
30347 }
30348
30349 fail:
30350 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
30351 return NULL;
30352 }
30353
30354
30355 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30356 PyObject *resultobj = 0;
30357 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30358 void *argp1 = 0 ;
30359 int res1 = 0 ;
30360 PyObject *swig_obj[1] ;
30361
30362 if (!args) SWIG_fail;
30363 swig_obj[0] = args;
30364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
30365 if (!SWIG_IsOK(res1)) {
30366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30367 }
30368 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30369 {
30370 PyThreadState* __tstate = wxPyBeginAllowThreads();
30371 delete arg1;
30372
30373 wxPyEndAllowThreads(__tstate);
30374 if (PyErr_Occurred()) SWIG_fail;
30375 }
30376 resultobj = SWIG_Py_Void();
30377 return resultobj;
30378 fail:
30379 return NULL;
30380 }
30381
30382
30383 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30384 PyObject *resultobj = 0;
30385 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30386 int arg2 ;
30387 bool result;
30388 void *argp1 = 0 ;
30389 int res1 = 0 ;
30390 int val2 ;
30391 int ecode2 = 0 ;
30392 PyObject * obj0 = 0 ;
30393 PyObject * obj1 = 0 ;
30394 char * kwnames[] = {
30395 (char *) "self",(char *) "pageNum", NULL
30396 };
30397
30398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
30399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30400 if (!SWIG_IsOK(res1)) {
30401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30402 }
30403 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30404 ecode2 = SWIG_AsVal_int(obj1, &val2);
30405 if (!SWIG_IsOK(ecode2)) {
30406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30407 }
30408 arg2 = static_cast< int >(val2);
30409 {
30410 PyThreadState* __tstate = wxPyBeginAllowThreads();
30411 result = (bool)(arg1)->SetCurrentPage(arg2);
30412 wxPyEndAllowThreads(__tstate);
30413 if (PyErr_Occurred()) SWIG_fail;
30414 }
30415 {
30416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30417 }
30418 return resultobj;
30419 fail:
30420 return NULL;
30421 }
30422
30423
30424 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30425 PyObject *resultobj = 0;
30426 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30427 int result;
30428 void *argp1 = 0 ;
30429 int res1 = 0 ;
30430 PyObject *swig_obj[1] ;
30431
30432 if (!args) SWIG_fail;
30433 swig_obj[0] = args;
30434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30435 if (!SWIG_IsOK(res1)) {
30436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30437 }
30438 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30439 {
30440 PyThreadState* __tstate = wxPyBeginAllowThreads();
30441 result = (int)(arg1)->GetCurrentPage();
30442 wxPyEndAllowThreads(__tstate);
30443 if (PyErr_Occurred()) SWIG_fail;
30444 }
30445 resultobj = SWIG_From_int(static_cast< int >(result));
30446 return resultobj;
30447 fail:
30448 return NULL;
30449 }
30450
30451
30452 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30453 PyObject *resultobj = 0;
30454 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30455 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30456 void *argp1 = 0 ;
30457 int res1 = 0 ;
30458 int res2 = 0 ;
30459 PyObject * obj0 = 0 ;
30460 PyObject * obj1 = 0 ;
30461 char * kwnames[] = {
30462 (char *) "self",(char *) "printout", NULL
30463 };
30464
30465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
30466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30467 if (!SWIG_IsOK(res1)) {
30468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30469 }
30470 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30471 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30472 if (!SWIG_IsOK(res2)) {
30473 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30474 }
30475 {
30476 PyThreadState* __tstate = wxPyBeginAllowThreads();
30477 (arg1)->SetPrintout(arg2);
30478 wxPyEndAllowThreads(__tstate);
30479 if (PyErr_Occurred()) SWIG_fail;
30480 }
30481 resultobj = SWIG_Py_Void();
30482 return resultobj;
30483 fail:
30484 return NULL;
30485 }
30486
30487
30488 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30489 PyObject *resultobj = 0;
30490 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30491 wxPyPrintout *result = 0 ;
30492 void *argp1 = 0 ;
30493 int res1 = 0 ;
30494 PyObject *swig_obj[1] ;
30495
30496 if (!args) SWIG_fail;
30497 swig_obj[0] = args;
30498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30499 if (!SWIG_IsOK(res1)) {
30500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30501 }
30502 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30503 {
30504 PyThreadState* __tstate = wxPyBeginAllowThreads();
30505 result = (wxPyPrintout *)(arg1)->GetPrintout();
30506 wxPyEndAllowThreads(__tstate);
30507 if (PyErr_Occurred()) SWIG_fail;
30508 }
30509 {
30510 resultobj = wxPyMake_wxObject(result, 0);
30511 }
30512 return resultobj;
30513 fail:
30514 return NULL;
30515 }
30516
30517
30518 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30519 PyObject *resultobj = 0;
30520 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30521 wxPyPrintout *result = 0 ;
30522 void *argp1 = 0 ;
30523 int res1 = 0 ;
30524 PyObject *swig_obj[1] ;
30525
30526 if (!args) SWIG_fail;
30527 swig_obj[0] = args;
30528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30529 if (!SWIG_IsOK(res1)) {
30530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30531 }
30532 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30533 {
30534 PyThreadState* __tstate = wxPyBeginAllowThreads();
30535 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30536 wxPyEndAllowThreads(__tstate);
30537 if (PyErr_Occurred()) SWIG_fail;
30538 }
30539 {
30540 resultobj = wxPyMake_wxObject(result, 0);
30541 }
30542 return resultobj;
30543 fail:
30544 return NULL;
30545 }
30546
30547
30548 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30549 PyObject *resultobj = 0;
30550 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30551 wxFrame *arg2 = (wxFrame *) 0 ;
30552 void *argp1 = 0 ;
30553 int res1 = 0 ;
30554 void *argp2 = 0 ;
30555 int res2 = 0 ;
30556 PyObject * obj0 = 0 ;
30557 PyObject * obj1 = 0 ;
30558 char * kwnames[] = {
30559 (char *) "self",(char *) "frame", NULL
30560 };
30561
30562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30564 if (!SWIG_IsOK(res1)) {
30565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30566 }
30567 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30568 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30569 if (!SWIG_IsOK(res2)) {
30570 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30571 }
30572 arg2 = reinterpret_cast< wxFrame * >(argp2);
30573 {
30574 PyThreadState* __tstate = wxPyBeginAllowThreads();
30575 (arg1)->SetFrame(arg2);
30576 wxPyEndAllowThreads(__tstate);
30577 if (PyErr_Occurred()) SWIG_fail;
30578 }
30579 resultobj = SWIG_Py_Void();
30580 return resultobj;
30581 fail:
30582 return NULL;
30583 }
30584
30585
30586 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30587 PyObject *resultobj = 0;
30588 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30589 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30590 void *argp1 = 0 ;
30591 int res1 = 0 ;
30592 void *argp2 = 0 ;
30593 int res2 = 0 ;
30594 PyObject * obj0 = 0 ;
30595 PyObject * obj1 = 0 ;
30596 char * kwnames[] = {
30597 (char *) "self",(char *) "canvas", NULL
30598 };
30599
30600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30602 if (!SWIG_IsOK(res1)) {
30603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30604 }
30605 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30606 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30607 if (!SWIG_IsOK(res2)) {
30608 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30609 }
30610 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30611 {
30612 PyThreadState* __tstate = wxPyBeginAllowThreads();
30613 (arg1)->SetCanvas(arg2);
30614 wxPyEndAllowThreads(__tstate);
30615 if (PyErr_Occurred()) SWIG_fail;
30616 }
30617 resultobj = SWIG_Py_Void();
30618 return resultobj;
30619 fail:
30620 return NULL;
30621 }
30622
30623
30624 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30625 PyObject *resultobj = 0;
30626 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30627 wxFrame *result = 0 ;
30628 void *argp1 = 0 ;
30629 int res1 = 0 ;
30630 PyObject *swig_obj[1] ;
30631
30632 if (!args) SWIG_fail;
30633 swig_obj[0] = args;
30634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30635 if (!SWIG_IsOK(res1)) {
30636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30637 }
30638 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30639 {
30640 PyThreadState* __tstate = wxPyBeginAllowThreads();
30641 result = (wxFrame *)(arg1)->GetFrame();
30642 wxPyEndAllowThreads(__tstate);
30643 if (PyErr_Occurred()) SWIG_fail;
30644 }
30645 {
30646 resultobj = wxPyMake_wxObject(result, 0);
30647 }
30648 return resultobj;
30649 fail:
30650 return NULL;
30651 }
30652
30653
30654 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30655 PyObject *resultobj = 0;
30656 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30657 wxPreviewCanvas *result = 0 ;
30658 void *argp1 = 0 ;
30659 int res1 = 0 ;
30660 PyObject *swig_obj[1] ;
30661
30662 if (!args) SWIG_fail;
30663 swig_obj[0] = args;
30664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30665 if (!SWIG_IsOK(res1)) {
30666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30667 }
30668 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30669 {
30670 PyThreadState* __tstate = wxPyBeginAllowThreads();
30671 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30672 wxPyEndAllowThreads(__tstate);
30673 if (PyErr_Occurred()) SWIG_fail;
30674 }
30675 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30676 return resultobj;
30677 fail:
30678 return NULL;
30679 }
30680
30681
30682 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30683 PyObject *resultobj = 0;
30684 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30685 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30686 wxDC *arg3 = 0 ;
30687 bool result;
30688 void *argp1 = 0 ;
30689 int res1 = 0 ;
30690 void *argp2 = 0 ;
30691 int res2 = 0 ;
30692 void *argp3 = 0 ;
30693 int res3 = 0 ;
30694 PyObject * obj0 = 0 ;
30695 PyObject * obj1 = 0 ;
30696 PyObject * obj2 = 0 ;
30697 char * kwnames[] = {
30698 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30699 };
30700
30701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30703 if (!SWIG_IsOK(res1)) {
30704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30705 }
30706 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30707 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30708 if (!SWIG_IsOK(res2)) {
30709 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30710 }
30711 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30712 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30713 if (!SWIG_IsOK(res3)) {
30714 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30715 }
30716 if (!argp3) {
30717 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30718 }
30719 arg3 = reinterpret_cast< wxDC * >(argp3);
30720 {
30721 PyThreadState* __tstate = wxPyBeginAllowThreads();
30722 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30723 wxPyEndAllowThreads(__tstate);
30724 if (PyErr_Occurred()) SWIG_fail;
30725 }
30726 {
30727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30728 }
30729 return resultobj;
30730 fail:
30731 return NULL;
30732 }
30733
30734
30735 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30736 PyObject *resultobj = 0;
30737 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30738 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30739 wxDC *arg3 = 0 ;
30740 bool result;
30741 void *argp1 = 0 ;
30742 int res1 = 0 ;
30743 void *argp2 = 0 ;
30744 int res2 = 0 ;
30745 void *argp3 = 0 ;
30746 int res3 = 0 ;
30747 PyObject * obj0 = 0 ;
30748 PyObject * obj1 = 0 ;
30749 PyObject * obj2 = 0 ;
30750 char * kwnames[] = {
30751 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30752 };
30753
30754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30756 if (!SWIG_IsOK(res1)) {
30757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30758 }
30759 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30760 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30761 if (!SWIG_IsOK(res2)) {
30762 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30763 }
30764 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30765 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30766 if (!SWIG_IsOK(res3)) {
30767 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30768 }
30769 if (!argp3) {
30770 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30771 }
30772 arg3 = reinterpret_cast< wxDC * >(argp3);
30773 {
30774 PyThreadState* __tstate = wxPyBeginAllowThreads();
30775 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30776 wxPyEndAllowThreads(__tstate);
30777 if (PyErr_Occurred()) SWIG_fail;
30778 }
30779 {
30780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30781 }
30782 return resultobj;
30783 fail:
30784 return NULL;
30785 }
30786
30787
30788 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30789 PyObject *resultobj = 0;
30790 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30791 int arg2 ;
30792 bool result;
30793 void *argp1 = 0 ;
30794 int res1 = 0 ;
30795 int val2 ;
30796 int ecode2 = 0 ;
30797 PyObject * obj0 = 0 ;
30798 PyObject * obj1 = 0 ;
30799 char * kwnames[] = {
30800 (char *) "self",(char *) "pageNum", NULL
30801 };
30802
30803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30805 if (!SWIG_IsOK(res1)) {
30806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30807 }
30808 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30809 ecode2 = SWIG_AsVal_int(obj1, &val2);
30810 if (!SWIG_IsOK(ecode2)) {
30811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30812 }
30813 arg2 = static_cast< int >(val2);
30814 {
30815 PyThreadState* __tstate = wxPyBeginAllowThreads();
30816 result = (bool)(arg1)->RenderPage(arg2);
30817 wxPyEndAllowThreads(__tstate);
30818 if (PyErr_Occurred()) SWIG_fail;
30819 }
30820 {
30821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30822 }
30823 return resultobj;
30824 fail:
30825 return NULL;
30826 }
30827
30828
30829 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30830 PyObject *resultobj = 0;
30831 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30832 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30833 void *argp1 = 0 ;
30834 int res1 = 0 ;
30835 void *argp2 = 0 ;
30836 int res2 = 0 ;
30837 PyObject * obj0 = 0 ;
30838 PyObject * obj1 = 0 ;
30839 char * kwnames[] = {
30840 (char *) "self",(char *) "canvas", NULL
30841 };
30842
30843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30845 if (!SWIG_IsOK(res1)) {
30846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30847 }
30848 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30849 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30850 if (!SWIG_IsOK(res2)) {
30851 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30852 }
30853 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30854 {
30855 PyThreadState* __tstate = wxPyBeginAllowThreads();
30856 (arg1)->AdjustScrollbars(arg2);
30857 wxPyEndAllowThreads(__tstate);
30858 if (PyErr_Occurred()) SWIG_fail;
30859 }
30860 resultobj = SWIG_Py_Void();
30861 return resultobj;
30862 fail:
30863 return NULL;
30864 }
30865
30866
30867 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30868 PyObject *resultobj = 0;
30869 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30870 wxPrintDialogData *result = 0 ;
30871 void *argp1 = 0 ;
30872 int res1 = 0 ;
30873 PyObject *swig_obj[1] ;
30874
30875 if (!args) SWIG_fail;
30876 swig_obj[0] = args;
30877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30878 if (!SWIG_IsOK(res1)) {
30879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30880 }
30881 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30882 {
30883 PyThreadState* __tstate = wxPyBeginAllowThreads();
30884 {
30885 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30886 result = (wxPrintDialogData *) &_result_ref;
30887 }
30888 wxPyEndAllowThreads(__tstate);
30889 if (PyErr_Occurred()) SWIG_fail;
30890 }
30891 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30892 return resultobj;
30893 fail:
30894 return NULL;
30895 }
30896
30897
30898 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30899 PyObject *resultobj = 0;
30900 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30901 int arg2 ;
30902 void *argp1 = 0 ;
30903 int res1 = 0 ;
30904 int val2 ;
30905 int ecode2 = 0 ;
30906 PyObject * obj0 = 0 ;
30907 PyObject * obj1 = 0 ;
30908 char * kwnames[] = {
30909 (char *) "self",(char *) "percent", NULL
30910 };
30911
30912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30914 if (!SWIG_IsOK(res1)) {
30915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30916 }
30917 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30918 ecode2 = SWIG_AsVal_int(obj1, &val2);
30919 if (!SWIG_IsOK(ecode2)) {
30920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30921 }
30922 arg2 = static_cast< int >(val2);
30923 {
30924 PyThreadState* __tstate = wxPyBeginAllowThreads();
30925 (arg1)->SetZoom(arg2);
30926 wxPyEndAllowThreads(__tstate);
30927 if (PyErr_Occurred()) SWIG_fail;
30928 }
30929 resultobj = SWIG_Py_Void();
30930 return resultobj;
30931 fail:
30932 return NULL;
30933 }
30934
30935
30936 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30937 PyObject *resultobj = 0;
30938 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30939 int result;
30940 void *argp1 = 0 ;
30941 int res1 = 0 ;
30942 PyObject *swig_obj[1] ;
30943
30944 if (!args) SWIG_fail;
30945 swig_obj[0] = args;
30946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30947 if (!SWIG_IsOK(res1)) {
30948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30949 }
30950 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30951 {
30952 PyThreadState* __tstate = wxPyBeginAllowThreads();
30953 result = (int)(arg1)->GetZoom();
30954 wxPyEndAllowThreads(__tstate);
30955 if (PyErr_Occurred()) SWIG_fail;
30956 }
30957 resultobj = SWIG_From_int(static_cast< int >(result));
30958 return resultobj;
30959 fail:
30960 return NULL;
30961 }
30962
30963
30964 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30965 PyObject *resultobj = 0;
30966 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30967 int result;
30968 void *argp1 = 0 ;
30969 int res1 = 0 ;
30970 PyObject *swig_obj[1] ;
30971
30972 if (!args) SWIG_fail;
30973 swig_obj[0] = args;
30974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30975 if (!SWIG_IsOK(res1)) {
30976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30977 }
30978 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30979 {
30980 PyThreadState* __tstate = wxPyBeginAllowThreads();
30981 result = (int)(arg1)->GetMaxPage();
30982 wxPyEndAllowThreads(__tstate);
30983 if (PyErr_Occurred()) SWIG_fail;
30984 }
30985 resultobj = SWIG_From_int(static_cast< int >(result));
30986 return resultobj;
30987 fail:
30988 return NULL;
30989 }
30990
30991
30992 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30993 PyObject *resultobj = 0;
30994 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30995 int result;
30996 void *argp1 = 0 ;
30997 int res1 = 0 ;
30998 PyObject *swig_obj[1] ;
30999
31000 if (!args) SWIG_fail;
31001 swig_obj[0] = args;
31002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31003 if (!SWIG_IsOK(res1)) {
31004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31005 }
31006 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31007 {
31008 PyThreadState* __tstate = wxPyBeginAllowThreads();
31009 result = (int)(arg1)->GetMinPage();
31010 wxPyEndAllowThreads(__tstate);
31011 if (PyErr_Occurred()) SWIG_fail;
31012 }
31013 resultobj = SWIG_From_int(static_cast< int >(result));
31014 return resultobj;
31015 fail:
31016 return NULL;
31017 }
31018
31019
31020 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31021 PyObject *resultobj = 0;
31022 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31023 bool result;
31024 void *argp1 = 0 ;
31025 int res1 = 0 ;
31026 PyObject *swig_obj[1] ;
31027
31028 if (!args) SWIG_fail;
31029 swig_obj[0] = args;
31030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31031 if (!SWIG_IsOK(res1)) {
31032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31033 }
31034 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31035 {
31036 PyThreadState* __tstate = wxPyBeginAllowThreads();
31037 result = (bool)(arg1)->IsOk();
31038 wxPyEndAllowThreads(__tstate);
31039 if (PyErr_Occurred()) SWIG_fail;
31040 }
31041 {
31042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31043 }
31044 return resultobj;
31045 fail:
31046 return NULL;
31047 }
31048
31049
31050 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31051 PyObject *resultobj = 0;
31052 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31053 bool arg2 ;
31054 void *argp1 = 0 ;
31055 int res1 = 0 ;
31056 bool val2 ;
31057 int ecode2 = 0 ;
31058 PyObject * obj0 = 0 ;
31059 PyObject * obj1 = 0 ;
31060 char * kwnames[] = {
31061 (char *) "self",(char *) "ok", NULL
31062 };
31063
31064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
31065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31066 if (!SWIG_IsOK(res1)) {
31067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31068 }
31069 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31070 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31071 if (!SWIG_IsOK(ecode2)) {
31072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
31073 }
31074 arg2 = static_cast< bool >(val2);
31075 {
31076 PyThreadState* __tstate = wxPyBeginAllowThreads();
31077 (arg1)->SetOk(arg2);
31078 wxPyEndAllowThreads(__tstate);
31079 if (PyErr_Occurred()) SWIG_fail;
31080 }
31081 resultobj = SWIG_Py_Void();
31082 return resultobj;
31083 fail:
31084 return NULL;
31085 }
31086
31087
31088 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31089 PyObject *resultobj = 0;
31090 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31091 bool arg2 ;
31092 bool result;
31093 void *argp1 = 0 ;
31094 int res1 = 0 ;
31095 bool val2 ;
31096 int ecode2 = 0 ;
31097 PyObject * obj0 = 0 ;
31098 PyObject * obj1 = 0 ;
31099 char * kwnames[] = {
31100 (char *) "self",(char *) "interactive", NULL
31101 };
31102
31103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
31104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31105 if (!SWIG_IsOK(res1)) {
31106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31107 }
31108 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31109 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31110 if (!SWIG_IsOK(ecode2)) {
31111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
31112 }
31113 arg2 = static_cast< bool >(val2);
31114 {
31115 PyThreadState* __tstate = wxPyBeginAllowThreads();
31116 result = (bool)(arg1)->Print(arg2);
31117 wxPyEndAllowThreads(__tstate);
31118 if (PyErr_Occurred()) SWIG_fail;
31119 }
31120 {
31121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31122 }
31123 return resultobj;
31124 fail:
31125 return NULL;
31126 }
31127
31128
31129 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31130 PyObject *resultobj = 0;
31131 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31132 void *argp1 = 0 ;
31133 int res1 = 0 ;
31134 PyObject *swig_obj[1] ;
31135
31136 if (!args) SWIG_fail;
31137 swig_obj[0] = args;
31138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31139 if (!SWIG_IsOK(res1)) {
31140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31141 }
31142 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31143 {
31144 PyThreadState* __tstate = wxPyBeginAllowThreads();
31145 (arg1)->DetermineScaling();
31146 wxPyEndAllowThreads(__tstate);
31147 if (PyErr_Occurred()) SWIG_fail;
31148 }
31149 resultobj = SWIG_Py_Void();
31150 return resultobj;
31151 fail:
31152 return NULL;
31153 }
31154
31155
31156 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31157 PyObject *obj;
31158 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31159 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
31160 return SWIG_Py_Void();
31161 }
31162
31163 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31164 return SWIG_Python_InitShadowInstance(args);
31165 }
31166
31167 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
31168 PyObject *resultobj = 0;
31169 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31170 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
31171 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
31172 wxPyPrintPreview *result = 0 ;
31173 int res1 = 0 ;
31174 int res2 = 0 ;
31175 void *argp3 = 0 ;
31176 int res3 = 0 ;
31177
31178 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
31179 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31180 if (!SWIG_IsOK(res1)) {
31181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31182 }
31183 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31184 if (!SWIG_IsOK(res2)) {
31185 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31186 }
31187 if (swig_obj[2]) {
31188 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
31189 if (!SWIG_IsOK(res3)) {
31190 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
31191 }
31192 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
31193 }
31194 {
31195 if (!wxPyCheckForApp()) SWIG_fail;
31196 PyThreadState* __tstate = wxPyBeginAllowThreads();
31197 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
31198 wxPyEndAllowThreads(__tstate);
31199 if (PyErr_Occurred()) SWIG_fail;
31200 }
31201 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
31202 return resultobj;
31203 fail:
31204 return NULL;
31205 }
31206
31207
31208 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
31209 PyObject *resultobj = 0;
31210 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31211 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
31212 wxPrintData *arg3 = (wxPrintData *) 0 ;
31213 wxPyPrintPreview *result = 0 ;
31214 int res1 = 0 ;
31215 int res2 = 0 ;
31216 void *argp3 = 0 ;
31217 int res3 = 0 ;
31218
31219 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
31220 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31221 if (!SWIG_IsOK(res1)) {
31222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31223 }
31224 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31225 if (!SWIG_IsOK(res2)) {
31226 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31227 }
31228 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
31229 if (!SWIG_IsOK(res3)) {
31230 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31231 }
31232 arg3 = reinterpret_cast< wxPrintData * >(argp3);
31233 {
31234 if (!wxPyCheckForApp()) SWIG_fail;
31235 PyThreadState* __tstate = wxPyBeginAllowThreads();
31236 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
31237 wxPyEndAllowThreads(__tstate);
31238 if (PyErr_Occurred()) SWIG_fail;
31239 }
31240 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
31241 return resultobj;
31242 fail:
31243 return NULL;
31244 }
31245
31246
31247 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
31248 int argc;
31249 PyObject *argv[4];
31250
31251 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
31252 --argc;
31253 if ((argc >= 2) && (argc <= 3)) {
31254 int _v = 0;
31255 if (argc > 2) {
31256 {
31257 void *vptr = 0;
31258 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
31259 _v = SWIG_CheckState(res);
31260 }
31261 if (!_v) goto check_1;
31262 }
31263 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
31264 }
31265 check_1:
31266
31267 if (argc == 3) {
31268 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
31269 }
31270
31271 fail:
31272 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
31273 return NULL;
31274 }
31275
31276
31277 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31278 PyObject *resultobj = 0;
31279 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
31280 PyObject *arg2 = (PyObject *) 0 ;
31281 PyObject *arg3 = (PyObject *) 0 ;
31282 void *argp1 = 0 ;
31283 int res1 = 0 ;
31284 PyObject * obj0 = 0 ;
31285 PyObject * obj1 = 0 ;
31286 PyObject * obj2 = 0 ;
31287 char * kwnames[] = {
31288 (char *) "self",(char *) "self",(char *) "_class", NULL
31289 };
31290
31291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
31293 if (!SWIG_IsOK(res1)) {
31294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31295 }
31296 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
31297 arg2 = obj1;
31298 arg3 = obj2;
31299 {
31300 PyThreadState* __tstate = wxPyBeginAllowThreads();
31301 (arg1)->_setCallbackInfo(arg2,arg3);
31302 wxPyEndAllowThreads(__tstate);
31303 if (PyErr_Occurred()) SWIG_fail;
31304 }
31305 resultobj = SWIG_Py_Void();
31306 return resultobj;
31307 fail:
31308 return NULL;
31309 }
31310
31311
31312 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31313 PyObject *obj;
31314 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31315 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
31316 return SWIG_Py_Void();
31317 }
31318
31319 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31320 return SWIG_Python_InitShadowInstance(args);
31321 }
31322
31323 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31324 PyObject *resultobj = 0;
31325 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31326 wxFrame *arg2 = (wxFrame *) 0 ;
31327 wxString *arg3 = 0 ;
31328 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31329 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31330 wxSize const &arg5_defvalue = wxDefaultSize ;
31331 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31332 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31333 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31334 wxString *arg7 = (wxString *) &arg7_defvalue ;
31335 wxPyPreviewFrame *result = 0 ;
31336 int res1 = 0 ;
31337 void *argp2 = 0 ;
31338 int res2 = 0 ;
31339 bool temp3 = false ;
31340 wxPoint temp4 ;
31341 wxSize temp5 ;
31342 long val6 ;
31343 int ecode6 = 0 ;
31344 bool temp7 = false ;
31345 PyObject * obj0 = 0 ;
31346 PyObject * obj1 = 0 ;
31347 PyObject * obj2 = 0 ;
31348 PyObject * obj3 = 0 ;
31349 PyObject * obj4 = 0 ;
31350 PyObject * obj5 = 0 ;
31351 PyObject * obj6 = 0 ;
31352 char * kwnames[] = {
31353 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31354 };
31355
31356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31357 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31358 if (!SWIG_IsOK(res1)) {
31359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31360 }
31361 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31362 if (!SWIG_IsOK(res2)) {
31363 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31364 }
31365 arg2 = reinterpret_cast< wxFrame * >(argp2);
31366 {
31367 arg3 = wxString_in_helper(obj2);
31368 if (arg3 == NULL) SWIG_fail;
31369 temp3 = true;
31370 }
31371 if (obj3) {
31372 {
31373 arg4 = &temp4;
31374 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31375 }
31376 }
31377 if (obj4) {
31378 {
31379 arg5 = &temp5;
31380 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31381 }
31382 }
31383 if (obj5) {
31384 ecode6 = SWIG_AsVal_long(obj5, &val6);
31385 if (!SWIG_IsOK(ecode6)) {
31386 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31387 }
31388 arg6 = static_cast< long >(val6);
31389 }
31390 if (obj6) {
31391 {
31392 arg7 = wxString_in_helper(obj6);
31393 if (arg7 == NULL) SWIG_fail;
31394 temp7 = true;
31395 }
31396 }
31397 {
31398 if (!wxPyCheckForApp()) SWIG_fail;
31399 PyThreadState* __tstate = wxPyBeginAllowThreads();
31400 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31401 wxPyEndAllowThreads(__tstate);
31402 if (PyErr_Occurred()) SWIG_fail;
31403 }
31404 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
31405 {
31406 if (temp3)
31407 delete arg3;
31408 }
31409 {
31410 if (temp7)
31411 delete arg7;
31412 }
31413 return resultobj;
31414 fail:
31415 {
31416 if (temp3)
31417 delete arg3;
31418 }
31419 {
31420 if (temp7)
31421 delete arg7;
31422 }
31423 return NULL;
31424 }
31425
31426
31427 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31428 PyObject *resultobj = 0;
31429 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31430 PyObject *arg2 = (PyObject *) 0 ;
31431 PyObject *arg3 = (PyObject *) 0 ;
31432 void *argp1 = 0 ;
31433 int res1 = 0 ;
31434 PyObject * obj0 = 0 ;
31435 PyObject * obj1 = 0 ;
31436 PyObject * obj2 = 0 ;
31437 char * kwnames[] = {
31438 (char *) "self",(char *) "self",(char *) "_class", NULL
31439 };
31440
31441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31443 if (!SWIG_IsOK(res1)) {
31444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31445 }
31446 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31447 arg2 = obj1;
31448 arg3 = obj2;
31449 {
31450 PyThreadState* __tstate = wxPyBeginAllowThreads();
31451 (arg1)->_setCallbackInfo(arg2,arg3);
31452 wxPyEndAllowThreads(__tstate);
31453 if (PyErr_Occurred()) SWIG_fail;
31454 }
31455 resultobj = SWIG_Py_Void();
31456 return resultobj;
31457 fail:
31458 return NULL;
31459 }
31460
31461
31462 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31463 PyObject *resultobj = 0;
31464 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31465 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
31466 void *argp1 = 0 ;
31467 int res1 = 0 ;
31468 void *argp2 = 0 ;
31469 int res2 = 0 ;
31470 PyObject * obj0 = 0 ;
31471 PyObject * obj1 = 0 ;
31472 char * kwnames[] = {
31473 (char *) "self",(char *) "canvas", NULL
31474 };
31475
31476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
31477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31478 if (!SWIG_IsOK(res1)) {
31479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31480 }
31481 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31482 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31483 if (!SWIG_IsOK(res2)) {
31484 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31485 }
31486 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31487 {
31488 PyThreadState* __tstate = wxPyBeginAllowThreads();
31489 (arg1)->SetPreviewCanvas(arg2);
31490 wxPyEndAllowThreads(__tstate);
31491 if (PyErr_Occurred()) SWIG_fail;
31492 }
31493 resultobj = SWIG_Py_Void();
31494 return resultobj;
31495 fail:
31496 return NULL;
31497 }
31498
31499
31500 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31501 PyObject *resultobj = 0;
31502 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31503 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31504 void *argp1 = 0 ;
31505 int res1 = 0 ;
31506 void *argp2 = 0 ;
31507 int res2 = 0 ;
31508 PyObject * obj0 = 0 ;
31509 PyObject * obj1 = 0 ;
31510 char * kwnames[] = {
31511 (char *) "self",(char *) "bar", NULL
31512 };
31513
31514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31516 if (!SWIG_IsOK(res1)) {
31517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31518 }
31519 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31520 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31521 if (!SWIG_IsOK(res2)) {
31522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31523 }
31524 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31525 {
31526 PyThreadState* __tstate = wxPyBeginAllowThreads();
31527 (arg1)->SetControlBar(arg2);
31528 wxPyEndAllowThreads(__tstate);
31529 if (PyErr_Occurred()) SWIG_fail;
31530 }
31531 resultobj = SWIG_Py_Void();
31532 return resultobj;
31533 fail:
31534 return NULL;
31535 }
31536
31537
31538 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31539 PyObject *resultobj = 0;
31540 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31541 void *argp1 = 0 ;
31542 int res1 = 0 ;
31543 PyObject *swig_obj[1] ;
31544
31545 if (!args) SWIG_fail;
31546 swig_obj[0] = args;
31547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31548 if (!SWIG_IsOK(res1)) {
31549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31550 }
31551 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31552 {
31553 PyThreadState* __tstate = wxPyBeginAllowThreads();
31554 (arg1)->Initialize();
31555 wxPyEndAllowThreads(__tstate);
31556 if (PyErr_Occurred()) SWIG_fail;
31557 }
31558 resultobj = SWIG_Py_Void();
31559 return resultobj;
31560 fail:
31561 return NULL;
31562 }
31563
31564
31565 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31566 PyObject *resultobj = 0;
31567 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31568 void *argp1 = 0 ;
31569 int res1 = 0 ;
31570 PyObject *swig_obj[1] ;
31571
31572 if (!args) SWIG_fail;
31573 swig_obj[0] = args;
31574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31575 if (!SWIG_IsOK(res1)) {
31576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31577 }
31578 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31579 {
31580 PyThreadState* __tstate = wxPyBeginAllowThreads();
31581 (arg1)->CreateCanvas();
31582 wxPyEndAllowThreads(__tstate);
31583 if (PyErr_Occurred()) SWIG_fail;
31584 }
31585 resultobj = SWIG_Py_Void();
31586 return resultobj;
31587 fail:
31588 return NULL;
31589 }
31590
31591
31592 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31593 PyObject *resultobj = 0;
31594 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31595 void *argp1 = 0 ;
31596 int res1 = 0 ;
31597 PyObject *swig_obj[1] ;
31598
31599 if (!args) SWIG_fail;
31600 swig_obj[0] = args;
31601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31602 if (!SWIG_IsOK(res1)) {
31603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31604 }
31605 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31606 {
31607 PyThreadState* __tstate = wxPyBeginAllowThreads();
31608 (arg1)->CreateControlBar();
31609 wxPyEndAllowThreads(__tstate);
31610 if (PyErr_Occurred()) SWIG_fail;
31611 }
31612 resultobj = SWIG_Py_Void();
31613 return resultobj;
31614 fail:
31615 return NULL;
31616 }
31617
31618
31619 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31620 PyObject *obj;
31621 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31622 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31623 return SWIG_Py_Void();
31624 }
31625
31626 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31627 return SWIG_Python_InitShadowInstance(args);
31628 }
31629
31630 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31631 PyObject *resultobj = 0;
31632 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31633 long arg2 ;
31634 wxWindow *arg3 = (wxWindow *) 0 ;
31635 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31636 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31637 wxSize const &arg5_defvalue = wxDefaultSize ;
31638 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31639 long arg6 = (long) 0 ;
31640 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31641 wxString *arg7 = (wxString *) &arg7_defvalue ;
31642 wxPyPreviewControlBar *result = 0 ;
31643 int res1 = 0 ;
31644 long val2 ;
31645 int ecode2 = 0 ;
31646 void *argp3 = 0 ;
31647 int res3 = 0 ;
31648 wxPoint temp4 ;
31649 wxSize temp5 ;
31650 long val6 ;
31651 int ecode6 = 0 ;
31652 bool temp7 = false ;
31653 PyObject * obj0 = 0 ;
31654 PyObject * obj1 = 0 ;
31655 PyObject * obj2 = 0 ;
31656 PyObject * obj3 = 0 ;
31657 PyObject * obj4 = 0 ;
31658 PyObject * obj5 = 0 ;
31659 PyObject * obj6 = 0 ;
31660 char * kwnames[] = {
31661 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31662 };
31663
31664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31665 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31666 if (!SWIG_IsOK(res1)) {
31667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31668 }
31669 ecode2 = SWIG_AsVal_long(obj1, &val2);
31670 if (!SWIG_IsOK(ecode2)) {
31671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31672 }
31673 arg2 = static_cast< long >(val2);
31674 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31675 if (!SWIG_IsOK(res3)) {
31676 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31677 }
31678 arg3 = reinterpret_cast< wxWindow * >(argp3);
31679 if (obj3) {
31680 {
31681 arg4 = &temp4;
31682 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31683 }
31684 }
31685 if (obj4) {
31686 {
31687 arg5 = &temp5;
31688 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31689 }
31690 }
31691 if (obj5) {
31692 ecode6 = SWIG_AsVal_long(obj5, &val6);
31693 if (!SWIG_IsOK(ecode6)) {
31694 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31695 }
31696 arg6 = static_cast< long >(val6);
31697 }
31698 if (obj6) {
31699 {
31700 arg7 = wxString_in_helper(obj6);
31701 if (arg7 == NULL) SWIG_fail;
31702 temp7 = true;
31703 }
31704 }
31705 {
31706 if (!wxPyCheckForApp()) SWIG_fail;
31707 PyThreadState* __tstate = wxPyBeginAllowThreads();
31708 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31709 wxPyEndAllowThreads(__tstate);
31710 if (PyErr_Occurred()) SWIG_fail;
31711 }
31712 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31713 {
31714 if (temp7)
31715 delete arg7;
31716 }
31717 return resultobj;
31718 fail:
31719 {
31720 if (temp7)
31721 delete arg7;
31722 }
31723 return NULL;
31724 }
31725
31726
31727 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31728 PyObject *resultobj = 0;
31729 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31730 PyObject *arg2 = (PyObject *) 0 ;
31731 PyObject *arg3 = (PyObject *) 0 ;
31732 void *argp1 = 0 ;
31733 int res1 = 0 ;
31734 PyObject * obj0 = 0 ;
31735 PyObject * obj1 = 0 ;
31736 PyObject * obj2 = 0 ;
31737 char * kwnames[] = {
31738 (char *) "self",(char *) "self",(char *) "_class", NULL
31739 };
31740
31741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31743 if (!SWIG_IsOK(res1)) {
31744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31745 }
31746 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31747 arg2 = obj1;
31748 arg3 = obj2;
31749 {
31750 PyThreadState* __tstate = wxPyBeginAllowThreads();
31751 (arg1)->_setCallbackInfo(arg2,arg3);
31752 wxPyEndAllowThreads(__tstate);
31753 if (PyErr_Occurred()) SWIG_fail;
31754 }
31755 resultobj = SWIG_Py_Void();
31756 return resultobj;
31757 fail:
31758 return NULL;
31759 }
31760
31761
31762 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31763 PyObject *resultobj = 0;
31764 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31765 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31766 void *argp1 = 0 ;
31767 int res1 = 0 ;
31768 int res2 = 0 ;
31769 PyObject * obj0 = 0 ;
31770 PyObject * obj1 = 0 ;
31771 char * kwnames[] = {
31772 (char *) "self",(char *) "preview", NULL
31773 };
31774
31775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31777 if (!SWIG_IsOK(res1)) {
31778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31779 }
31780 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31781 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31782 if (!SWIG_IsOK(res2)) {
31783 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31784 }
31785 {
31786 PyThreadState* __tstate = wxPyBeginAllowThreads();
31787 (arg1)->SetPrintPreview(arg2);
31788 wxPyEndAllowThreads(__tstate);
31789 if (PyErr_Occurred()) SWIG_fail;
31790 }
31791 resultobj = SWIG_Py_Void();
31792 return resultobj;
31793 fail:
31794 return NULL;
31795 }
31796
31797
31798 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31799 PyObject *resultobj = 0;
31800 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31801 void *argp1 = 0 ;
31802 int res1 = 0 ;
31803 PyObject *swig_obj[1] ;
31804
31805 if (!args) SWIG_fail;
31806 swig_obj[0] = args;
31807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31808 if (!SWIG_IsOK(res1)) {
31809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31810 }
31811 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31812 {
31813 PyThreadState* __tstate = wxPyBeginAllowThreads();
31814 (arg1)->CreateButtons();
31815 wxPyEndAllowThreads(__tstate);
31816 if (PyErr_Occurred()) SWIG_fail;
31817 }
31818 resultobj = SWIG_Py_Void();
31819 return resultobj;
31820 fail:
31821 return NULL;
31822 }
31823
31824
31825 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31826 PyObject *resultobj = 0;
31827 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31828 int arg2 ;
31829 void *argp1 = 0 ;
31830 int res1 = 0 ;
31831 int val2 ;
31832 int ecode2 = 0 ;
31833 PyObject * obj0 = 0 ;
31834 PyObject * obj1 = 0 ;
31835 char * kwnames[] = {
31836 (char *) "self",(char *) "zoom", NULL
31837 };
31838
31839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31841 if (!SWIG_IsOK(res1)) {
31842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31843 }
31844 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31845 ecode2 = SWIG_AsVal_int(obj1, &val2);
31846 if (!SWIG_IsOK(ecode2)) {
31847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31848 }
31849 arg2 = static_cast< int >(val2);
31850 {
31851 PyThreadState* __tstate = wxPyBeginAllowThreads();
31852 (arg1)->SetZoomControl(arg2);
31853 wxPyEndAllowThreads(__tstate);
31854 if (PyErr_Occurred()) SWIG_fail;
31855 }
31856 resultobj = SWIG_Py_Void();
31857 return resultobj;
31858 fail:
31859 return NULL;
31860 }
31861
31862
31863 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31864 PyObject *obj;
31865 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31866 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31867 return SWIG_Py_Void();
31868 }
31869
31870 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31871 return SWIG_Python_InitShadowInstance(args);
31872 }
31873
31874 static PyMethodDef SwigMethods[] = {
31875 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31876 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31877 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31878 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31879 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31880 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31881 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31882 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31883 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31884 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31885 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31886 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31887 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31888 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31889 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31890 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31891 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31892 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31893 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31894 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31895 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31896 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31897 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31898 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31899 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31900 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31901 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31902 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31903 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
31904 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31905 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31906 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31907 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31908 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31909 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31910 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31911 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31912 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31913 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31914 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31915 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31916 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31917 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31918 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31919 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31920 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31921 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31922 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31923 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31924 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31925 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31926 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31927 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31928 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31929 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31930 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31931 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31932 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31933 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31934 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31935 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31936 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31937 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31938 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31939 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31941 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31942 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31943 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31944 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31946 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31949 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31950 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31951 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31952 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31953 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31954 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31955 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31956 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31957 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31958 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31959 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31960 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31962 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31964 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31965 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31966 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31967 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31968 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31969 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31970 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31971 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31972 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31973 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31974 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31975 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31976 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31977 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31978 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31979 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31980 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31981 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31982 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31983 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31984 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31985 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31986 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31987 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31988 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31989 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31990 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31991 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31992 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31993 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31994 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31995 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31996 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31997 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31998 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31999 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32000 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
32001 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
32002 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
32003 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
32004 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
32005 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
32006 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
32007 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
32008 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
32009 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
32010 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
32012 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
32014 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
32015 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
32016 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
32017 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
32018 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
32019 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
32020 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
32021 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32022 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
32023 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
32024 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
32025 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
32027 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
32028 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32029 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
32030 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
32031 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
32032 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
32033 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
32034 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
32035 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
32036 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
32037 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
32038 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
32039 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
32040 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
32041 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32042 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32043 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
32044 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
32045 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
32046 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
32047 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
32048 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
32049 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32050 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
32051 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32052 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32053 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32054 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
32055 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
32056 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
32057 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
32058 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
32059 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
32060 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
32061 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
32062 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
32063 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
32064 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
32065 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
32066 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
32067 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
32068 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
32069 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
32070 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
32071 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32072 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
32073 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
32074 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
32075 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
32076 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
32077 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
32078 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
32079 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
32080 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32081 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
32082 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
32083 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32084 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
32085 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32086 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
32087 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32088 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
32089 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
32090 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
32091 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
32092 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
32093 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32094 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32095 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
32096 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
32097 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
32098 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
32099 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
32100 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32101 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
32102 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32103 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
32104 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
32105 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
32106 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
32107 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32108 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
32109 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
32110 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
32111 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
32112 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32113 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32114 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32115 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
32116 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
32117 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32118 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
32119 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
32121 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
32122 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
32123 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32124 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
32125 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32126 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
32127 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
32128 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
32129 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
32130 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32131 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
32132 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
32133 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
32134 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
32135 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32136 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
32137 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32138 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32139 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
32140 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
32141 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
32142 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
32143 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
32144 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
32145 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
32146 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
32147 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
32148 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
32149 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32150 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
32151 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
32152 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
32153 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
32154 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
32155 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
32156 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32157 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
32158 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32159 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32160 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
32161 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
32162 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
32163 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
32164 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
32165 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
32166 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
32167 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
32168 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
32169 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
32170 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
32171 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
32172 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32173 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
32174 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
32175 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
32176 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
32177 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
32178 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32179 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
32180 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32181 { (char *)"VListBox_RefreshSelected", (PyCFunction)_wrap_VListBox_RefreshSelected, METH_O, NULL},
32182 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
32183 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32184 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
32185 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
32186 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32187 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
32188 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32189 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32190 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
32191 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
32192 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
32193 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
32194 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
32195 { (char *)"new_SimpleHtmlListBox", (PyCFunction) _wrap_new_SimpleHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32196 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction)_wrap_new_PreSimpleHtmlListBox, METH_NOARGS, NULL},
32197 { (char *)"SimpleHtmlListBox_Create", (PyCFunction) _wrap_SimpleHtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32198 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister, METH_VARARGS, NULL},
32199 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit, METH_VARARGS, NULL},
32200 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
32201 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
32202 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32203 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
32204 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
32205 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
32206 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
32207 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
32208 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
32209 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
32210 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
32211 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32212 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
32213 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
32214 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
32215 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
32216 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
32217 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
32218 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32219 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
32220 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32221 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32222 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
32223 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
32224 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32225 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
32226 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
32227 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32228 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32229 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32230 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
32231 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
32232 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32233 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32234 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
32235 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
32236 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32237 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32238 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32239 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
32240 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32241 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
32242 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
32243 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
32244 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
32245 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
32246 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
32247 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
32248 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
32249 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
32250 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
32251 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
32252 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
32253 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32254 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
32255 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
32256 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
32257 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
32258 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32259 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
32260 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
32261 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32262 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
32263 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
32264 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32265 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
32266 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
32267 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
32268 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
32269 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32270 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
32271 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
32272 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32273 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
32274 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
32275 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
32276 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
32277 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
32278 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
32279 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
32280 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
32281 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
32282 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
32283 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
32284 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
32285 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
32286 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
32287 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32288 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
32289 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
32290 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32291 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
32292 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
32293 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32294 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
32295 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
32296 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32297 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32298 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32299 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
32300 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
32301 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32302 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
32303 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
32304 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
32305 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
32306 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
32307 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32308 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
32309 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
32310 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
32311 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
32312 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32313 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32314 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32315 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
32316 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
32317 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
32318 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
32319 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
32320 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
32321 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
32322 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32323 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32324 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32325 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
32326 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
32327 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32328 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
32329 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32330 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
32331 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32332 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
32333 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
32334 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32335 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
32336 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32337 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
32338 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
32339 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
32340 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
32341 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
32342 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
32343 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
32344 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
32345 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
32346 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
32347 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
32348 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32349 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
32350 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32351 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
32352 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
32353 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
32354 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32355 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
32356 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32357 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
32358 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
32359 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32360 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
32361 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32362 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32363 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32364 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32365 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32366 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32367 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
32368 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
32369 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
32370 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
32371 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
32372 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
32373 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
32374 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
32375 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
32376 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
32377 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
32378 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32379 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32380 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32381 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32382 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32383 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32384 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
32385 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
32386 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
32387 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
32388 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
32389 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
32390 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
32391 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
32392 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
32393 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32394 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
32395 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32396 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32397 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32398 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32399 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32400 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32401 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
32402 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
32403 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
32404 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
32405 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
32406 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
32407 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
32408 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
32409 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
32410 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
32411 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
32412 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
32413 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
32414 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
32415 { (char *)"PrintData_IsOrientationReversed", (PyCFunction)_wrap_PrintData_IsOrientationReversed, METH_O, NULL},
32416 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
32417 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
32418 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
32419 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
32420 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
32421 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
32422 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
32423 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
32424 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
32425 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
32426 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32427 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32428 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32429 { (char *)"PrintData_SetOrientationReversed", (PyCFunction) _wrap_PrintData_SetOrientationReversed, METH_VARARGS | METH_KEYWORDS, NULL},
32430 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
32431 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32432 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
32433 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32434 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32435 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
32436 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
32437 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
32438 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
32439 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
32440 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32441 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
32442 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
32443 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
32444 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
32445 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
32446 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
32447 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32448 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32449 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32450 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
32451 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32452 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
32453 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
32454 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
32455 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
32456 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
32457 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
32458 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
32459 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
32460 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
32461 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
32462 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
32463 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
32464 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
32465 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
32466 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
32467 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32468 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32469 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32470 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32471 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32472 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32473 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32474 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32475 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32476 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
32477 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
32478 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
32479 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
32480 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32481 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
32482 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
32483 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
32484 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
32485 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
32486 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
32487 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
32488 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
32489 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
32490 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32491 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32492 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32493 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32494 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32495 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32496 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32497 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
32498 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32499 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32500 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32501 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32502 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32503 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32504 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32505 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32506 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32507 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32508 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32509 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32510 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32511 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32512 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32513 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32514 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
32515 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
32516 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
32517 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32518 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
32519 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
32520 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32521 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
32522 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32523 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32524 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32525 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
32526 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
32527 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
32528 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
32529 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
32530 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32531 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32532 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32533 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32534 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32535 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32536 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32537 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
32538 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
32539 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
32540 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
32541 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
32542 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32543 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32544 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
32545 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
32546 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32547 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32548 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32549 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32550 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32551 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32552 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32553 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32554 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32555 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32556 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32557 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32558 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
32559 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
32560 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32561 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
32562 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
32563 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
32564 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32565 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
32566 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32567 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
32568 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
32569 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32570 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
32571 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32572 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32573 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32574 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
32575 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
32576 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
32577 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
32578 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
32579 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32580 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
32581 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
32582 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32583 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32584 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32585 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32586 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
32587 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
32588 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
32589 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32590 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
32591 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32592 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32593 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32594 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32595 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32596 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32597 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
32598 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
32599 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
32600 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
32601 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
32602 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
32603 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
32604 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
32605 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32606 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
32607 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32608 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32609 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32610 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
32611 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32612 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32613 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32614 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
32615 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
32616 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
32617 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32618 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32619 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
32620 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
32621 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32622 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32623 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
32624 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
32625 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
32626 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32627 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32628 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
32629 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
32630 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32631 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32632 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32633 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32634 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32635 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32636 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
32637 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
32638 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
32639 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32640 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32641 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32642 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
32643 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32644 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
32645 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
32646 { NULL, NULL, 0, NULL }
32647 };
32648
32649
32650 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32651
32652 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32653 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32654 }
32655 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32656 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32657 }
32658 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32659 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32660 }
32661 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32662 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32663 }
32664 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32665 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32666 }
32667 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32668 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32669 }
32670 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32671 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32672 }
32673 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32674 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32675 }
32676 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32677 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32678 }
32679 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32680 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32681 }
32682 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32683 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32684 }
32685 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32686 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32687 }
32688 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32689 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32690 }
32691 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32692 return (void *)((wxEvent *) ((wxPyEvent *) x));
32693 }
32694 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32695 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32696 }
32697 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32698 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32699 }
32700 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32701 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32702 }
32703 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32704 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32705 }
32706 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32707 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32708 }
32709 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32710 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32711 }
32712 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32713 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32714 }
32715 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32716 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32717 }
32718 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32719 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32720 }
32721 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32722 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32723 }
32724 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32725 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32726 }
32727 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32728 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32729 }
32730 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32731 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32732 }
32733 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32734 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32735 }
32736 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32737 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32738 }
32739 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32740 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32741 }
32742 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32743 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32744 }
32745 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32746 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32747 }
32748 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32749 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32750 }
32751 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32752 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32753 }
32754 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32755 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32756 }
32757 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32758 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32759 }
32760 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32761 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32762 }
32763 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32764 return (void *)((wxEvent *) ((wxShowEvent *) x));
32765 }
32766 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32767 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32768 }
32769 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32770 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32771 }
32772 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32773 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32774 }
32775 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32776 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32777 }
32778 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32779 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32780 }
32781 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32782 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32783 }
32784 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32785 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32786 }
32787 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32788 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32789 }
32790 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x) {
32791 return (void *)((wxItemContainer *) ((wxSimpleHtmlListBox *) x));
32792 }
32793 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32794 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32795 }
32796 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32797 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32798 }
32799 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32800 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32801 }
32802 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32803 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32804 }
32805 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
32806 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
32807 }
32808 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32809 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32810 }
32811 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32812 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32813 }
32814 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32815 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32816 }
32817 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32818 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32819 }
32820 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32821 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32822 }
32823 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32824 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32825 }
32826 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32827 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32828 }
32829 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32830 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32831 }
32832 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32833 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32834 }
32835 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32836 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32837 }
32838 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32839 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32840 }
32841 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32842 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32843 }
32844 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32845 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32846 }
32847 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32848 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32849 }
32850 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32851 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32852 }
32853 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32854 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32855 }
32856 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32857 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32858 }
32859 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32860 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32861 }
32862 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32863 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32864 }
32865 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32866 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32867 }
32868 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32869 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32870 }
32871 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32872 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32873 }
32874 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32875 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32876 }
32877 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32878 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32879 }
32880 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32881 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32882 }
32883 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32884 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32885 }
32886 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32887 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32888 }
32889 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32890 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32891 }
32892 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32893 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32894 }
32895 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32896 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32897 }
32898 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32899 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32900 }
32901 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32902 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32903 }
32904 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32905 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32906 }
32907 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32908 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32909 }
32910 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32911 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32912 }
32913 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32914 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32915 }
32916 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32917 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32918 }
32919 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
32920 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32921 }
32922 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32923 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32924 }
32925 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32926 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32927 }
32928 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32929 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32930 }
32931 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32932 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32933 }
32934 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32935 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32936 }
32937 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32938 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32939 }
32940 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32941 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32942 }
32943 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32944 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32945 }
32946 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32947 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32948 }
32949 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32950 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32951 }
32952 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32953 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32954 }
32955 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32956 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32957 }
32958 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) {
32959 return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32960 }
32961 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) {
32962 return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32963 }
32964 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32965 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32966 }
32967 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32968 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32969 }
32970 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32971 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32972 }
32973 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32974 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32975 }
32976 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32977 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32978 }
32979 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32980 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32981 }
32982 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32983 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32984 }
32985 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32986 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32987 }
32988 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32989 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32990 }
32991 static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
32992 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
32993 }
32994 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32996 }
32997 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32999 }
33000 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33001 return (void *)((wxObject *) ((wxSizerItem *) x));
33002 }
33003 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33004 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33005 }
33006 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33007 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33008 }
33009 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33010 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33011 }
33012 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33013 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33014 }
33015 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33016 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33017 }
33018 static void *_p_wxSizerTo_p_wxObject(void *x) {
33019 return (void *)((wxObject *) ((wxSizer *) x));
33020 }
33021 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33022 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33023 }
33024 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33025 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33026 }
33027 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
33028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
33029 }
33030 static void *_p_wxEventTo_p_wxObject(void *x) {
33031 return (void *)((wxObject *) ((wxEvent *) x));
33032 }
33033 static void *_p_wxFontDataTo_p_wxObject(void *x) {
33034 return (void *)((wxObject *) ((wxFontData *) x));
33035 }
33036 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
33037 return (void *)((wxObject *) ((wxPrintData *) x));
33038 }
33039 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33040 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33041 }
33042 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33043 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33044 }
33045 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33046 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33047 }
33048 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
33049 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
33050 }
33051 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
33052 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
33053 }
33054 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
33055 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
33056 }
33057 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
33058 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
33059 }
33060 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33061 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33062 }
33063 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33064 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33065 }
33066 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33067 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33068 }
33069 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33070 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33071 }
33072 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33073 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33074 }
33075 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33076 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33077 }
33078 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
33079 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33080 }
33081 static void *_p_wxControlTo_p_wxObject(void *x) {
33082 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33083 }
33084 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33085 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33086 }
33087 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
33088 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
33089 }
33090 static void *_p_wxFSFileTo_p_wxObject(void *x) {
33091 return (void *)((wxObject *) ((wxFSFile *) x));
33092 }
33093 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
33094 return (void *)((wxObject *) ((wxFindReplaceData *) x));
33095 }
33096 static void *_p_wxPySizerTo_p_wxObject(void *x) {
33097 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33098 }
33099 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
33100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33101 }
33102 static void *_p_wxColourDataTo_p_wxObject(void *x) {
33103 return (void *)((wxObject *) ((wxColourData *) x));
33104 }
33105 static void *_p_wxPyEventTo_p_wxObject(void *x) {
33106 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33107 }
33108 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33109 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33110 }
33111 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
33112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
33113 }
33114 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
33115 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33116 }
33117 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
33118 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33119 }
33120 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
33121 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33122 }
33123 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
33124 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33125 }
33126 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
33127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33128 }
33129 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
33130 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33131 }
33132 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
33133 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33134 }
33135 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
33136 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33137 }
33138 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
33139 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33140 }
33141 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
33142 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33143 }
33144 static void *_p_wxShowEventTo_p_wxObject(void *x) {
33145 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33146 }
33147 static void *_p_wxPrinterTo_p_wxObject(void *x) {
33148 return (void *)((wxObject *) ((wxPrinter *) x));
33149 }
33150 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33151 return (void *)((wxObject *) ((wxMenuItem *) x));
33152 }
33153 static void *_p_wxDateEventTo_p_wxObject(void *x) {
33154 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
33155 }
33156 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33157 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33158 }
33159 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33160 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33161 }
33162 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33163 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33164 }
33165 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33166 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33167 }
33168 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33169 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33170 }
33171 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33172 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33173 }
33174 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33175 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33176 }
33177 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33178 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33179 }
33180 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33181 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33182 }
33183 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33184 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33185 }
33186 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33187 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33188 }
33189 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33190 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33191 }
33192 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33193 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33194 }
33195 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33196 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33197 }
33198 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33199 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33200 }
33201 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33202 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33203 }
33204 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33205 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33206 }
33207 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
33208 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
33209 }
33210 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33211 return (void *)((wxObject *) ((wxImageHandler *) x));
33212 }
33213 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33214 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33215 }
33216 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33217 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33218 }
33219 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
33220 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
33221 }
33222 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33223 return (void *)((wxObject *) ((wxEvtHandler *) x));
33224 }
33225 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
33226 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
33227 }
33228 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33229 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33230 }
33231 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33233 }
33234 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33236 }
33237 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
33238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33239 }
33240 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33241 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33242 }
33243 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
33244 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
33245 }
33246 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33248 }
33249 static void *_p_wxImageTo_p_wxObject(void *x) {
33250 return (void *)((wxObject *) ((wxImage *) x));
33251 }
33252 static void *_p_wxFrameTo_p_wxObject(void *x) {
33253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33254 }
33255 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33256 return (void *)((wxObject *) ((wxPyPrintout *) x));
33257 }
33258 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33259 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33260 }
33261 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33262 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33263 }
33264 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33266 }
33267 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33268 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33269 }
33270 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33271 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33272 }
33273 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33274 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33275 }
33276 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33277 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33278 }
33279 static void *_p_wxWindowTo_p_wxObject(void *x) {
33280 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33281 }
33282 static void *_p_wxMenuTo_p_wxObject(void *x) {
33283 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33284 }
33285 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33287 }
33288 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33290 }
33291 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33292 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33293 }
33294 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33295 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33296 }
33297 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33298 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33299 }
33300 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33302 }
33303 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33305 }
33306 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33308 }
33309 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33311 }
33312 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33314 }
33315 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33317 }
33318 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33320 }
33321 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
33322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33323 }
33324 static void *_p_wxSashEventTo_p_wxObject(void *x) {
33325 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33326 }
33327 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33328 return (void *)((wxObject *) ((wxPrintPreview *) x));
33329 }
33330 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33331 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33332 }
33333 static void *_p_wxPanelTo_p_wxObject(void *x) {
33334 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33335 }
33336 static void *_p_wxDialogTo_p_wxObject(void *x) {
33337 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33338 }
33339 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33340 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33341 }
33342 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33343 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33344 }
33345 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33346 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33347 }
33348 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
33349 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
33350 }
33351 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
33352 return (void *)((wxObject *) ((wxPrintDialog *) x));
33353 }
33354 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33355 return (void *)((wxObject *) ((wxFileSystem *) x));
33356 }
33357 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33358 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33359 }
33360 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33361 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33362 }
33363 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33364 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33365 }
33366 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33367 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33368 }
33369 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33370 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33371 }
33372 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33373 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33374 }
33375 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33376 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33377 }
33378 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33379 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33380 }
33381 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33382 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33383 }
33384 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33385 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33386 }
33387 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33388 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33389 }
33390 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33391 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33392 }
33393 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33394 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33395 }
33396 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33398 }
33399 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33400 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33401 }
33402 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33403 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33404 }
33405 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33406 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33407 }
33408 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33409 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33410 }
33411 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
33412 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33413 }
33414 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33415 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
33416 }
33417 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33418 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33419 }
33420 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
33421 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33422 }
33423 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
33424 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33425 }
33426 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
33427 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33428 }
33429 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
33430 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
33431 }
33432 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
33433 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
33434 }
33435 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
33436 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
33437 }
33438 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
33439 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
33440 }
33441 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
33442 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
33443 }
33444 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
33445 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
33446 }
33447 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
33448 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
33449 }
33450 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
33451 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
33452 }
33453 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
33454 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
33455 }
33456 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
33457 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
33458 }
33459 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
33460 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
33461 }
33462 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
33463 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
33464 }
33465 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
33466 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33467 }
33468 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
33469 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
33470 }
33471 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33472 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
33473 }
33474 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33475 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
33476 }
33477 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
33478 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
33479 }
33480 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
33481 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
33482 }
33483 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
33484 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
33485 }
33486 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33487 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
33488 }
33489 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33490 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33491 }
33492 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33493 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33494 }
33495 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33496 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33497 }
33498 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33499 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33500 }
33501 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33502 return (void *)((wxWindow *) ((wxMenuBar *) x));
33503 }
33504 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33505 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33506 }
33507 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33508 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33509 }
33510 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33511 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33512 }
33513 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
33514 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33515 }
33516 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33517 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33518 }
33519 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33520 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33521 }
33522 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33523 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33524 }
33525 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33526 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33527 }
33528 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33529 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33530 }
33531 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33532 return (void *)((wxWindow *) ((wxPanel *) x));
33533 }
33534 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33535 return (void *)((wxWindow *) ((wxStatusBar *) x));
33536 }
33537 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33538 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33539 }
33540 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33541 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33542 }
33543 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33544 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33545 }
33546 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33547 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33548 }
33549 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33550 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33551 }
33552 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33553 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33554 }
33555 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33556 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33557 }
33558 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33559 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33560 }
33561 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33562 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33563 }
33564 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33565 return (void *)((wxWindow *) ((wxSashWindow *) x));
33566 }
33567 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33568 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33569 }
33570 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33571 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33572 }
33573 static void *_p_wxControlTo_p_wxWindow(void *x) {
33574 return (void *)((wxWindow *) ((wxControl *) x));
33575 }
33576 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33577 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33578 }
33579 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33580 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33581 }
33582 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33583 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33584 }
33585 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33586 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33587 }
33588 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33589 return (void *)((wxWindow *) ((wxPyWindow *) x));
33590 }
33591 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33592 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33593 }
33594 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
33595 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33596 }
33597 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33598 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33599 }
33600 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33601 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33602 }
33603 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33604 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33605 }
33606 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33607 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33608 }
33609 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33610 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33611 }
33612 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33613 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33614 }
33615 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33616 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33617 }
33618 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33619 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33620 }
33621 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33622 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33623 }
33624 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33625 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33626 }
33627 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33628 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33629 }
33630 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33631 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33632 }
33633 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33634 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33635 }
33636 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33637 return (void *)((wxDialog *) ((wxColourDialog *) x));
33638 }
33639 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33640 return (void *)((wxDialog *) ((wxDirDialog *) x));
33641 }
33642 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33643 return (void *)((wxDialog *) ((wxFontDialog *) x));
33644 }
33645 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33646 return (void *)((wxDialog *) ((wxFileDialog *) x));
33647 }
33648 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33649 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33650 }
33651 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33652 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33653 }
33654 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33655 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33656 }
33657 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33658 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33659 }
33660 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33661 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33662 }
33663 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33664 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33665 }
33666 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33667 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33668 }
33669 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33670 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33671 }
33672 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33673 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33674 }
33675 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33676 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33677 }
33678 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33679 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33680 }
33681 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33682 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33683 }
33684 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
33685 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33686 }
33687 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33688 return (void *)((wxPanel *) ((wxPyPanel *) x));
33689 }
33690 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33691 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33692 }
33693 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33694 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33695 }
33696 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33697 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33698 }
33699 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33700 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33701 }
33702 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33703 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33704 }
33705 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33706 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33707 }
33708 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33709 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33710 }
33711 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33712 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33713 }
33714 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33715 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33716 }
33717 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33718 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33719 }
33720 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33721 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33722 }
33723 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33724 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33725 }
33726 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33727 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33728 }
33729 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33730 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33731 }
33732 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33733 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33734 }
33735 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33736 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33737 }
33738 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33739 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33740 }
33741 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33742 return (void *)((wxValidator *) ((wxPyValidator *) x));
33743 }
33744 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33745 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33746 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};
33747 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33748 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33749 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33750 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33751 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33752 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33753 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33754 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33755 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33756 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33757 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33758 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33759 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33760 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33761 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33762 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33763 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33764 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33765 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33766 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33767 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33768 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33769 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33770 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33771 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33772 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33773 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33774 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33775 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33776 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33777 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33778 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33779 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33780 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33781 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33782 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33783 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33784 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33785 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33786 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33787 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33788 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33789 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33790 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33791 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33792 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33793 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33794 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33795 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33796 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33797 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33798 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33799 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33800 static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
33801 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33802 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33803 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33804 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33805 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33806 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33807 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33808 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33809 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33810 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33811 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33812 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33813 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33814 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33815 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33816 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33817 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33818 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33819 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33820 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33821 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33822 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33823 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33824 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33825 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33826 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33827 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33828 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33829 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33830 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33831 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33832 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33833 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33834 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33835 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33836 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33837 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33838 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33839 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33840 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33841 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33842 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33843 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33844 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33845 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33846 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33847 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33848 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33849 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33850 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33851 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33852 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33853 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33854 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33855 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33856 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33857 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33858 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33859 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33860 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33861 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33862 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33863 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33864 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33865 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33866 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33867 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33868 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33869 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33870 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33871 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33872 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33873 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33874 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33875 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33876 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33877 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33878 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33879 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33880 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33881 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33882 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33883 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33884 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33885 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33886 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33887 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33888 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33889 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33890 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33891 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33892 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33893 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33894 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33895 static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33896 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33897 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33898 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33899 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33900 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33901 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33902 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33903 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33904 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33905 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33906 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33907 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33908 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33909 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33910 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33911 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33912 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33913 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33914
33915 static swig_type_info *swig_type_initial[] = {
33916 &_swigt__p_bool,
33917 &_swigt__p_char,
33918 &_swigt__p_form_ops_t,
33919 &_swigt__p_int,
33920 &_swigt__p_unsigned_char,
33921 &_swigt__p_unsigned_int,
33922 &_swigt__p_unsigned_long,
33923 &_swigt__p_wxANIHandler,
33924 &_swigt__p_wxAcceleratorTable,
33925 &_swigt__p_wxActivateEvent,
33926 &_swigt__p_wxArrayInt,
33927 &_swigt__p_wxArrayString,
33928 &_swigt__p_wxBMPHandler,
33929 &_swigt__p_wxBitmap,
33930 &_swigt__p_wxBoxSizer,
33931 &_swigt__p_wxCURHandler,
33932 &_swigt__p_wxCalculateLayoutEvent,
33933 &_swigt__p_wxChildFocusEvent,
33934 &_swigt__p_wxClipboardTextEvent,
33935 &_swigt__p_wxCloseEvent,
33936 &_swigt__p_wxColour,
33937 &_swigt__p_wxColourData,
33938 &_swigt__p_wxColourDialog,
33939 &_swigt__p_wxCommandEvent,
33940 &_swigt__p_wxContextMenuEvent,
33941 &_swigt__p_wxControl,
33942 &_swigt__p_wxControlWithItems,
33943 &_swigt__p_wxDC,
33944 &_swigt__p_wxDateEvent,
33945 &_swigt__p_wxDialog,
33946 &_swigt__p_wxDirDialog,
33947 &_swigt__p_wxDisplayChangedEvent,
33948 &_swigt__p_wxDropFilesEvent,
33949 &_swigt__p_wxDuplexMode,
33950 &_swigt__p_wxEraseEvent,
33951 &_swigt__p_wxEvent,
33952 &_swigt__p_wxEventBlocker,
33953 &_swigt__p_wxEvtHandler,
33954 &_swigt__p_wxFSFile,
33955 &_swigt__p_wxFileDialog,
33956 &_swigt__p_wxFileSystem,
33957 &_swigt__p_wxFindDialogEvent,
33958 &_swigt__p_wxFindReplaceData,
33959 &_swigt__p_wxFindReplaceDialog,
33960 &_swigt__p_wxFlexGridSizer,
33961 &_swigt__p_wxFocusEvent,
33962 &_swigt__p_wxFont,
33963 &_swigt__p_wxFontData,
33964 &_swigt__p_wxFontDialog,
33965 &_swigt__p_wxFrame,
33966 &_swigt__p_wxGBSizerItem,
33967 &_swigt__p_wxGIFHandler,
33968 &_swigt__p_wxGridBagSizer,
33969 &_swigt__p_wxGridSizer,
33970 &_swigt__p_wxHtmlLinkInfo,
33971 &_swigt__p_wxICOHandler,
33972 &_swigt__p_wxIcon,
33973 &_swigt__p_wxIconBundle,
33974 &_swigt__p_wxIconizeEvent,
33975 &_swigt__p_wxIdleEvent,
33976 &_swigt__p_wxImage,
33977 &_swigt__p_wxImageHandler,
33978 &_swigt__p_wxIndividualLayoutConstraint,
33979 &_swigt__p_wxInitDialogEvent,
33980 &_swigt__p_wxItemContainer,
33981 &_swigt__p_wxJPEGHandler,
33982 &_swigt__p_wxKeyEvent,
33983 &_swigt__p_wxLayoutAlgorithm,
33984 &_swigt__p_wxLayoutConstraints,
33985 &_swigt__p_wxMDIChildFrame,
33986 &_swigt__p_wxMDIClientWindow,
33987 &_swigt__p_wxMDIParentFrame,
33988 &_swigt__p_wxMaximizeEvent,
33989 &_swigt__p_wxMenu,
33990 &_swigt__p_wxMenuBar,
33991 &_swigt__p_wxMenuEvent,
33992 &_swigt__p_wxMenuItem,
33993 &_swigt__p_wxMessageDialog,
33994 &_swigt__p_wxMiniFrame,
33995 &_swigt__p_wxMouseCaptureChangedEvent,
33996 &_swigt__p_wxMouseCaptureLostEvent,
33997 &_swigt__p_wxMouseEvent,
33998 &_swigt__p_wxMoveEvent,
33999 &_swigt__p_wxMultiChoiceDialog,
34000 &_swigt__p_wxNavigationKeyEvent,
34001 &_swigt__p_wxNcPaintEvent,
34002 &_swigt__p_wxNotifyEvent,
34003 &_swigt__p_wxNumberEntryDialog,
34004 &_swigt__p_wxObject,
34005 &_swigt__p_wxPCXHandler,
34006 &_swigt__p_wxPNGHandler,
34007 &_swigt__p_wxPNMHandler,
34008 &_swigt__p_wxPageSetupDialog,
34009 &_swigt__p_wxPageSetupDialogData,
34010 &_swigt__p_wxPaintEvent,
34011 &_swigt__p_wxPaletteChangedEvent,
34012 &_swigt__p_wxPanel,
34013 &_swigt__p_wxPaperSize,
34014 &_swigt__p_wxPasswordEntryDialog,
34015 &_swigt__p_wxPoint,
34016 &_swigt__p_wxPopupWindow,
34017 &_swigt__p_wxPreviewCanvas,
34018 &_swigt__p_wxPreviewControlBar,
34019 &_swigt__p_wxPreviewFrame,
34020 &_swigt__p_wxPrintData,
34021 &_swigt__p_wxPrintDialog,
34022 &_swigt__p_wxPrintDialogData,
34023 &_swigt__p_wxPrintPreview,
34024 &_swigt__p_wxPrinter,
34025 &_swigt__p_wxProgressDialog,
34026 &_swigt__p_wxPyApp,
34027 &_swigt__p_wxPyCommandEvent,
34028 &_swigt__p_wxPyEvent,
34029 &_swigt__p_wxPyHtmlListBox,
34030 &_swigt__p_wxPyImageHandler,
34031 &_swigt__p_wxPyPanel,
34032 &_swigt__p_wxPyPopupTransientWindow,
34033 &_swigt__p_wxPyPreviewControlBar,
34034 &_swigt__p_wxPyPreviewFrame,
34035 &_swigt__p_wxPyPrintPreview,
34036 &_swigt__p_wxPyPrintout,
34037 &_swigt__p_wxPyScrolledWindow,
34038 &_swigt__p_wxPySizer,
34039 &_swigt__p_wxPyTaskBarIcon,
34040 &_swigt__p_wxPyVListBox,
34041 &_swigt__p_wxPyVScrolledWindow,
34042 &_swigt__p_wxPyValidator,
34043 &_swigt__p_wxPyWindow,
34044 &_swigt__p_wxQueryLayoutInfoEvent,
34045 &_swigt__p_wxQueryNewPaletteEvent,
34046 &_swigt__p_wxRect,
34047 &_swigt__p_wxRegion,
34048 &_swigt__p_wxSashEvent,
34049 &_swigt__p_wxSashLayoutWindow,
34050 &_swigt__p_wxSashWindow,
34051 &_swigt__p_wxScrollEvent,
34052 &_swigt__p_wxScrollWinEvent,
34053 &_swigt__p_wxScrolledWindow,
34054 &_swigt__p_wxSetCursorEvent,
34055 &_swigt__p_wxShowEvent,
34056 &_swigt__p_wxSimpleHtmlListBox,
34057 &_swigt__p_wxSingleChoiceDialog,
34058 &_swigt__p_wxSize,
34059 &_swigt__p_wxSizeEvent,
34060 &_swigt__p_wxSizer,
34061 &_swigt__p_wxSizerItem,
34062 &_swigt__p_wxSplashScreen,
34063 &_swigt__p_wxSplashScreenWindow,
34064 &_swigt__p_wxSplitterEvent,
34065 &_swigt__p_wxSplitterWindow,
34066 &_swigt__p_wxStaticBoxSizer,
34067 &_swigt__p_wxStatusBar,
34068 &_swigt__p_wxStdDialogButtonSizer,
34069 &_swigt__p_wxString,
34070 &_swigt__p_wxSysColourChangedEvent,
34071 &_swigt__p_wxTGAHandler,
34072 &_swigt__p_wxTIFFHandler,
34073 &_swigt__p_wxTaskBarIcon,
34074 &_swigt__p_wxTaskBarIconEvent,
34075 &_swigt__p_wxTextEntryDialog,
34076 &_swigt__p_wxTipWindow,
34077 &_swigt__p_wxToolBar,
34078 &_swigt__p_wxTopLevelWindow,
34079 &_swigt__p_wxUpdateUIEvent,
34080 &_swigt__p_wxValidator,
34081 &_swigt__p_wxVisualAttributes,
34082 &_swigt__p_wxWindow,
34083 &_swigt__p_wxWindowCreateEvent,
34084 &_swigt__p_wxWindowDestroyEvent,
34085 &_swigt__p_wxXPMHandler,
34086 };
34087
34088 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
34089 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
34090 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
34091 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
34092 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
34093 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
34094 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
34095 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
34096 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
34097 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
34098 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
34099 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
34100 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
34101 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
34102 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
34103 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
34104 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
34105 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
34106 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34107 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34108 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
34109 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
34110 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
34111 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
34112 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
34113 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
34114 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
34115 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
34116 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34117 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
34118 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
34119 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
34120 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
34121 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
34122 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34123 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
34124 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
34125 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
34126 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34127 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34128 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
34129 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34130 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
34131 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34132 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34133 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34134 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34135 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34136 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34137 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
34138 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34139 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
34140 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34141 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34142 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
34143 static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
34144 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
34145 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
34146 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
34147 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
34148 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_wxEventBlocker, _p_wxEventBlockerTo_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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
34149 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
34150 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
34151 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
34152 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
34153 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
34154 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
34155 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
34156 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
34157 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}};
34158 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
34159 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
34160 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
34161 static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
34162 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
34163 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
34164 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
34165 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
34166 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
34167 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
34168 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
34169 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
34170 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
34171 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}};
34172 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
34173 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
34174 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34175 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34176 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
34177 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34178 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34179 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
34180 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
34181 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34182 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34183 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
34184 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
34185 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
34186 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
34187 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
34188 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
34189 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
34190 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
34191 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
34192 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
34193 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
34194 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
34195 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34196 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34197 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
34198 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
34199 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
34200 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
34201 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
34202 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_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_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_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
34203 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
34204 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
34205 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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
34206 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
34207 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
34208 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
34209 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}};
34210 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
34211 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}};
34212 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}};
34213 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
34214 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
34215 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
34216 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}};
34217 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
34218 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
34219 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox, 0, 0},{0, 0, 0, 0}};
34220 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
34221 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}};
34222 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
34223 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
34224 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
34225 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
34226 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
34227 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
34228 static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
34229 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}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
34230 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
34231 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
34232 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
34233 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
34234 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
34235 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
34236 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}};
34237 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
34238 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}};
34239 static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = { {&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
34240 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
34241 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
34242 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
34243 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
34244 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
34245 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
34246 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
34247 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
34248 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
34249 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
34250 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
34251 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}};
34252 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
34253 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
34254 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
34255 static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
34256 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
34257 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
34258
34259 static swig_cast_info *swig_cast_initial[] = {
34260 _swigc__p_bool,
34261 _swigc__p_char,
34262 _swigc__p_form_ops_t,
34263 _swigc__p_int,
34264 _swigc__p_unsigned_char,
34265 _swigc__p_unsigned_int,
34266 _swigc__p_unsigned_long,
34267 _swigc__p_wxANIHandler,
34268 _swigc__p_wxAcceleratorTable,
34269 _swigc__p_wxActivateEvent,
34270 _swigc__p_wxArrayInt,
34271 _swigc__p_wxArrayString,
34272 _swigc__p_wxBMPHandler,
34273 _swigc__p_wxBitmap,
34274 _swigc__p_wxBoxSizer,
34275 _swigc__p_wxCURHandler,
34276 _swigc__p_wxCalculateLayoutEvent,
34277 _swigc__p_wxChildFocusEvent,
34278 _swigc__p_wxClipboardTextEvent,
34279 _swigc__p_wxCloseEvent,
34280 _swigc__p_wxColour,
34281 _swigc__p_wxColourData,
34282 _swigc__p_wxColourDialog,
34283 _swigc__p_wxCommandEvent,
34284 _swigc__p_wxContextMenuEvent,
34285 _swigc__p_wxControl,
34286 _swigc__p_wxControlWithItems,
34287 _swigc__p_wxDC,
34288 _swigc__p_wxDateEvent,
34289 _swigc__p_wxDialog,
34290 _swigc__p_wxDirDialog,
34291 _swigc__p_wxDisplayChangedEvent,
34292 _swigc__p_wxDropFilesEvent,
34293 _swigc__p_wxDuplexMode,
34294 _swigc__p_wxEraseEvent,
34295 _swigc__p_wxEvent,
34296 _swigc__p_wxEventBlocker,
34297 _swigc__p_wxEvtHandler,
34298 _swigc__p_wxFSFile,
34299 _swigc__p_wxFileDialog,
34300 _swigc__p_wxFileSystem,
34301 _swigc__p_wxFindDialogEvent,
34302 _swigc__p_wxFindReplaceData,
34303 _swigc__p_wxFindReplaceDialog,
34304 _swigc__p_wxFlexGridSizer,
34305 _swigc__p_wxFocusEvent,
34306 _swigc__p_wxFont,
34307 _swigc__p_wxFontData,
34308 _swigc__p_wxFontDialog,
34309 _swigc__p_wxFrame,
34310 _swigc__p_wxGBSizerItem,
34311 _swigc__p_wxGIFHandler,
34312 _swigc__p_wxGridBagSizer,
34313 _swigc__p_wxGridSizer,
34314 _swigc__p_wxHtmlLinkInfo,
34315 _swigc__p_wxICOHandler,
34316 _swigc__p_wxIcon,
34317 _swigc__p_wxIconBundle,
34318 _swigc__p_wxIconizeEvent,
34319 _swigc__p_wxIdleEvent,
34320 _swigc__p_wxImage,
34321 _swigc__p_wxImageHandler,
34322 _swigc__p_wxIndividualLayoutConstraint,
34323 _swigc__p_wxInitDialogEvent,
34324 _swigc__p_wxItemContainer,
34325 _swigc__p_wxJPEGHandler,
34326 _swigc__p_wxKeyEvent,
34327 _swigc__p_wxLayoutAlgorithm,
34328 _swigc__p_wxLayoutConstraints,
34329 _swigc__p_wxMDIChildFrame,
34330 _swigc__p_wxMDIClientWindow,
34331 _swigc__p_wxMDIParentFrame,
34332 _swigc__p_wxMaximizeEvent,
34333 _swigc__p_wxMenu,
34334 _swigc__p_wxMenuBar,
34335 _swigc__p_wxMenuEvent,
34336 _swigc__p_wxMenuItem,
34337 _swigc__p_wxMessageDialog,
34338 _swigc__p_wxMiniFrame,
34339 _swigc__p_wxMouseCaptureChangedEvent,
34340 _swigc__p_wxMouseCaptureLostEvent,
34341 _swigc__p_wxMouseEvent,
34342 _swigc__p_wxMoveEvent,
34343 _swigc__p_wxMultiChoiceDialog,
34344 _swigc__p_wxNavigationKeyEvent,
34345 _swigc__p_wxNcPaintEvent,
34346 _swigc__p_wxNotifyEvent,
34347 _swigc__p_wxNumberEntryDialog,
34348 _swigc__p_wxObject,
34349 _swigc__p_wxPCXHandler,
34350 _swigc__p_wxPNGHandler,
34351 _swigc__p_wxPNMHandler,
34352 _swigc__p_wxPageSetupDialog,
34353 _swigc__p_wxPageSetupDialogData,
34354 _swigc__p_wxPaintEvent,
34355 _swigc__p_wxPaletteChangedEvent,
34356 _swigc__p_wxPanel,
34357 _swigc__p_wxPaperSize,
34358 _swigc__p_wxPasswordEntryDialog,
34359 _swigc__p_wxPoint,
34360 _swigc__p_wxPopupWindow,
34361 _swigc__p_wxPreviewCanvas,
34362 _swigc__p_wxPreviewControlBar,
34363 _swigc__p_wxPreviewFrame,
34364 _swigc__p_wxPrintData,
34365 _swigc__p_wxPrintDialog,
34366 _swigc__p_wxPrintDialogData,
34367 _swigc__p_wxPrintPreview,
34368 _swigc__p_wxPrinter,
34369 _swigc__p_wxProgressDialog,
34370 _swigc__p_wxPyApp,
34371 _swigc__p_wxPyCommandEvent,
34372 _swigc__p_wxPyEvent,
34373 _swigc__p_wxPyHtmlListBox,
34374 _swigc__p_wxPyImageHandler,
34375 _swigc__p_wxPyPanel,
34376 _swigc__p_wxPyPopupTransientWindow,
34377 _swigc__p_wxPyPreviewControlBar,
34378 _swigc__p_wxPyPreviewFrame,
34379 _swigc__p_wxPyPrintPreview,
34380 _swigc__p_wxPyPrintout,
34381 _swigc__p_wxPyScrolledWindow,
34382 _swigc__p_wxPySizer,
34383 _swigc__p_wxPyTaskBarIcon,
34384 _swigc__p_wxPyVListBox,
34385 _swigc__p_wxPyVScrolledWindow,
34386 _swigc__p_wxPyValidator,
34387 _swigc__p_wxPyWindow,
34388 _swigc__p_wxQueryLayoutInfoEvent,
34389 _swigc__p_wxQueryNewPaletteEvent,
34390 _swigc__p_wxRect,
34391 _swigc__p_wxRegion,
34392 _swigc__p_wxSashEvent,
34393 _swigc__p_wxSashLayoutWindow,
34394 _swigc__p_wxSashWindow,
34395 _swigc__p_wxScrollEvent,
34396 _swigc__p_wxScrollWinEvent,
34397 _swigc__p_wxScrolledWindow,
34398 _swigc__p_wxSetCursorEvent,
34399 _swigc__p_wxShowEvent,
34400 _swigc__p_wxSimpleHtmlListBox,
34401 _swigc__p_wxSingleChoiceDialog,
34402 _swigc__p_wxSize,
34403 _swigc__p_wxSizeEvent,
34404 _swigc__p_wxSizer,
34405 _swigc__p_wxSizerItem,
34406 _swigc__p_wxSplashScreen,
34407 _swigc__p_wxSplashScreenWindow,
34408 _swigc__p_wxSplitterEvent,
34409 _swigc__p_wxSplitterWindow,
34410 _swigc__p_wxStaticBoxSizer,
34411 _swigc__p_wxStatusBar,
34412 _swigc__p_wxStdDialogButtonSizer,
34413 _swigc__p_wxString,
34414 _swigc__p_wxSysColourChangedEvent,
34415 _swigc__p_wxTGAHandler,
34416 _swigc__p_wxTIFFHandler,
34417 _swigc__p_wxTaskBarIcon,
34418 _swigc__p_wxTaskBarIconEvent,
34419 _swigc__p_wxTextEntryDialog,
34420 _swigc__p_wxTipWindow,
34421 _swigc__p_wxToolBar,
34422 _swigc__p_wxTopLevelWindow,
34423 _swigc__p_wxUpdateUIEvent,
34424 _swigc__p_wxValidator,
34425 _swigc__p_wxVisualAttributes,
34426 _swigc__p_wxWindow,
34427 _swigc__p_wxWindowCreateEvent,
34428 _swigc__p_wxWindowDestroyEvent,
34429 _swigc__p_wxXPMHandler,
34430 };
34431
34432
34433 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34434
34435 static swig_const_info swig_const_table[] = {
34436 {0, 0, 0, 0.0, 0, 0}};
34437
34438 #ifdef __cplusplus
34439 }
34440 #endif
34441 /* -----------------------------------------------------------------------------
34442 * Type initialization:
34443 * This problem is tough by the requirement that no dynamic
34444 * memory is used. Also, since swig_type_info structures store pointers to
34445 * swig_cast_info structures and swig_cast_info structures store pointers back
34446 * to swig_type_info structures, we need some lookup code at initialization.
34447 * The idea is that swig generates all the structures that are needed.
34448 * The runtime then collects these partially filled structures.
34449 * The SWIG_InitializeModule function takes these initial arrays out of
34450 * swig_module, and does all the lookup, filling in the swig_module.types
34451 * array with the correct data and linking the correct swig_cast_info
34452 * structures together.
34453 *
34454 * The generated swig_type_info structures are assigned staticly to an initial
34455 * array. We just loop though that array, and handle each type individually.
34456 * First we lookup if this type has been already loaded, and if so, use the
34457 * loaded structure instead of the generated one. Then we have to fill in the
34458 * cast linked list. The cast data is initially stored in something like a
34459 * two-dimensional array. Each row corresponds to a type (there are the same
34460 * number of rows as there are in the swig_type_initial array). Each entry in
34461 * a column is one of the swig_cast_info structures for that type.
34462 * The cast_initial array is actually an array of arrays, because each row has
34463 * a variable number of columns. So to actually build the cast linked list,
34464 * we find the array of casts associated with the type, and loop through it
34465 * adding the casts to the list. The one last trick we need to do is making
34466 * sure the type pointer in the swig_cast_info struct is correct.
34467 *
34468 * First off, we lookup the cast->type name to see if it is already loaded.
34469 * There are three cases to handle:
34470 * 1) If the cast->type has already been loaded AND the type we are adding
34471 * casting info to has not been loaded (it is in this module), THEN we
34472 * replace the cast->type pointer with the type pointer that has already
34473 * been loaded.
34474 * 2) If BOTH types (the one we are adding casting info to, and the
34475 * cast->type) are loaded, THEN the cast info has already been loaded by
34476 * the previous module so we just ignore it.
34477 * 3) Finally, if cast->type has not already been loaded, then we add that
34478 * swig_cast_info to the linked list (because the cast->type) pointer will
34479 * be correct.
34480 * ----------------------------------------------------------------------------- */
34481
34482 #ifdef __cplusplus
34483 extern "C" {
34484 #if 0
34485 } /* c-mode */
34486 #endif
34487 #endif
34488
34489 #if 0
34490 #define SWIGRUNTIME_DEBUG
34491 #endif
34492
34493 SWIGRUNTIME void
34494 SWIG_InitializeModule(void *clientdata) {
34495 size_t i;
34496 swig_module_info *module_head;
34497 static int init_run = 0;
34498
34499 clientdata = clientdata;
34500
34501 if (init_run) return;
34502 init_run = 1;
34503
34504 /* Initialize the swig_module */
34505 swig_module.type_initial = swig_type_initial;
34506 swig_module.cast_initial = swig_cast_initial;
34507
34508 /* Try and load any already created modules */
34509 module_head = SWIG_GetModule(clientdata);
34510 if (module_head) {
34511 swig_module.next = module_head->next;
34512 module_head->next = &swig_module;
34513 } else {
34514 /* This is the first module loaded */
34515 swig_module.next = &swig_module;
34516 SWIG_SetModule(clientdata, &swig_module);
34517 }
34518
34519 /* Now work on filling in swig_module.types */
34520 #ifdef SWIGRUNTIME_DEBUG
34521 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
34522 #endif
34523 for (i = 0; i < swig_module.size; ++i) {
34524 swig_type_info *type = 0;
34525 swig_type_info *ret;
34526 swig_cast_info *cast;
34527
34528 #ifdef SWIGRUNTIME_DEBUG
34529 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34530 #endif
34531
34532 /* if there is another module already loaded */
34533 if (swig_module.next != &swig_module) {
34534 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
34535 }
34536 if (type) {
34537 /* Overwrite clientdata field */
34538 #ifdef SWIGRUNTIME_DEBUG
34539 printf("SWIG_InitializeModule: found type %s\n", type->name);
34540 #endif
34541 if (swig_module.type_initial[i]->clientdata) {
34542 type->clientdata = swig_module.type_initial[i]->clientdata;
34543 #ifdef SWIGRUNTIME_DEBUG
34544 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34545 #endif
34546 }
34547 } else {
34548 type = swig_module.type_initial[i];
34549 }
34550
34551 /* Insert casting types */
34552 cast = swig_module.cast_initial[i];
34553 while (cast->type) {
34554 /* Don't need to add information already in the list */
34555 ret = 0;
34556 #ifdef SWIGRUNTIME_DEBUG
34557 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34558 #endif
34559 if (swig_module.next != &swig_module) {
34560 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34561 #ifdef SWIGRUNTIME_DEBUG
34562 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34563 #endif
34564 }
34565 if (ret) {
34566 if (type == swig_module.type_initial[i]) {
34567 #ifdef SWIGRUNTIME_DEBUG
34568 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34569 #endif
34570 cast->type = ret;
34571 ret = 0;
34572 } else {
34573 /* Check for casting already in the list */
34574 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34575 #ifdef SWIGRUNTIME_DEBUG
34576 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34577 #endif
34578 if (!ocast) ret = 0;
34579 }
34580 }
34581
34582 if (!ret) {
34583 #ifdef SWIGRUNTIME_DEBUG
34584 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34585 #endif
34586 if (type->cast) {
34587 type->cast->prev = cast;
34588 cast->next = type->cast;
34589 }
34590 type->cast = cast;
34591 }
34592 cast++;
34593 }
34594 /* Set entry in modules->types array equal to the type */
34595 swig_module.types[i] = type;
34596 }
34597 swig_module.types[i] = 0;
34598
34599 #ifdef SWIGRUNTIME_DEBUG
34600 printf("**** SWIG_InitializeModule: Cast List ******\n");
34601 for (i = 0; i < swig_module.size; ++i) {
34602 int j = 0;
34603 swig_cast_info *cast = swig_module.cast_initial[i];
34604 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34605 while (cast->type) {
34606 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34607 cast++;
34608 ++j;
34609 }
34610 printf("---- Total casts: %d\n",j);
34611 }
34612 printf("**** SWIG_InitializeModule: Cast List ******\n");
34613 #endif
34614 }
34615
34616 /* This function will propagate the clientdata field of type to
34617 * any new swig_type_info structures that have been added into the list
34618 * of equivalent types. It is like calling
34619 * SWIG_TypeClientData(type, clientdata) a second time.
34620 */
34621 SWIGRUNTIME void
34622 SWIG_PropagateClientData(void) {
34623 size_t i;
34624 swig_cast_info *equiv;
34625 static int init_run = 0;
34626
34627 if (init_run) return;
34628 init_run = 1;
34629
34630 for (i = 0; i < swig_module.size; i++) {
34631 if (swig_module.types[i]->clientdata) {
34632 equiv = swig_module.types[i]->cast;
34633 while (equiv) {
34634 if (!equiv->converter) {
34635 if (equiv->type && !equiv->type->clientdata)
34636 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34637 }
34638 equiv = equiv->next;
34639 }
34640 }
34641 }
34642 }
34643
34644 #ifdef __cplusplus
34645 #if 0
34646 {
34647 /* c-mode */
34648 #endif
34649 }
34650 #endif
34651
34652
34653
34654 #ifdef __cplusplus
34655 extern "C" {
34656 #endif
34657
34658 /* Python-specific SWIG API */
34659 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34660 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34661 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34662
34663 /* -----------------------------------------------------------------------------
34664 * global variable support code.
34665 * ----------------------------------------------------------------------------- */
34666
34667 typedef struct swig_globalvar {
34668 char *name; /* Name of global variable */
34669 PyObject *(*get_attr)(void); /* Return the current value */
34670 int (*set_attr)(PyObject *); /* Set the value */
34671 struct swig_globalvar *next;
34672 } swig_globalvar;
34673
34674 typedef struct swig_varlinkobject {
34675 PyObject_HEAD
34676 swig_globalvar *vars;
34677 } swig_varlinkobject;
34678
34679 SWIGINTERN PyObject *
34680 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34681 return PyString_FromString("<Swig global variables>");
34682 }
34683
34684 SWIGINTERN PyObject *
34685 swig_varlink_str(swig_varlinkobject *v) {
34686 PyObject *str = PyString_FromString("(");
34687 swig_globalvar *var;
34688 for (var = v->vars; var; var=var->next) {
34689 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34690 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34691 }
34692 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34693 return str;
34694 }
34695
34696 SWIGINTERN int
34697 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34698 PyObject *str = swig_varlink_str(v);
34699 fprintf(fp,"Swig global variables ");
34700 fprintf(fp,"%s\n", PyString_AsString(str));
34701 Py_DECREF(str);
34702 return 0;
34703 }
34704
34705 SWIGINTERN void
34706 swig_varlink_dealloc(swig_varlinkobject *v) {
34707 swig_globalvar *var = v->vars;
34708 while (var) {
34709 swig_globalvar *n = var->next;
34710 free(var->name);
34711 free(var);
34712 var = n;
34713 }
34714 }
34715
34716 SWIGINTERN PyObject *
34717 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34718 PyObject *res = NULL;
34719 swig_globalvar *var = v->vars;
34720 while (var) {
34721 if (strcmp(var->name,n) == 0) {
34722 res = (*var->get_attr)();
34723 break;
34724 }
34725 var = var->next;
34726 }
34727 if (res == NULL && !PyErr_Occurred()) {
34728 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34729 }
34730 return res;
34731 }
34732
34733 SWIGINTERN int
34734 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34735 int res = 1;
34736 swig_globalvar *var = v->vars;
34737 while (var) {
34738 if (strcmp(var->name,n) == 0) {
34739 res = (*var->set_attr)(p);
34740 break;
34741 }
34742 var = var->next;
34743 }
34744 if (res == 1 && !PyErr_Occurred()) {
34745 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34746 }
34747 return res;
34748 }
34749
34750 SWIGINTERN PyTypeObject*
34751 swig_varlink_type(void) {
34752 static char varlink__doc__[] = "Swig var link object";
34753 static PyTypeObject varlink_type;
34754 static int type_init = 0;
34755 if (!type_init) {
34756 const PyTypeObject tmp
34757 = {
34758 PyObject_HEAD_INIT(NULL)
34759 0, /* Number of items in variable part (ob_size) */
34760 (char *)"swigvarlink", /* Type name (tp_name) */
34761 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34762 0, /* Itemsize (tp_itemsize) */
34763 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34764 (printfunc) swig_varlink_print, /* Print (tp_print) */
34765 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34766 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34767 0, /* tp_compare */
34768 (reprfunc) swig_varlink_repr, /* tp_repr */
34769 0, /* tp_as_number */
34770 0, /* tp_as_sequence */
34771 0, /* tp_as_mapping */
34772 0, /* tp_hash */
34773 0, /* tp_call */
34774 (reprfunc)swig_varlink_str, /* tp_str */
34775 0, /* tp_getattro */
34776 0, /* tp_setattro */
34777 0, /* tp_as_buffer */
34778 0, /* tp_flags */
34779 varlink__doc__, /* tp_doc */
34780 0, /* tp_traverse */
34781 0, /* tp_clear */
34782 0, /* tp_richcompare */
34783 0, /* tp_weaklistoffset */
34784 #if PY_VERSION_HEX >= 0x02020000
34785 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34786 #endif
34787 #if PY_VERSION_HEX >= 0x02030000
34788 0, /* tp_del */
34789 #endif
34790 #ifdef COUNT_ALLOCS
34791 0,0,0,0 /* tp_alloc -> tp_next */
34792 #endif
34793 };
34794 varlink_type = tmp;
34795 varlink_type.ob_type = &PyType_Type;
34796 type_init = 1;
34797 }
34798 return &varlink_type;
34799 }
34800
34801 /* Create a variable linking object for use later */
34802 SWIGINTERN PyObject *
34803 SWIG_Python_newvarlink(void) {
34804 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34805 if (result) {
34806 result->vars = 0;
34807 }
34808 return ((PyObject*) result);
34809 }
34810
34811 SWIGINTERN void
34812 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34813 swig_varlinkobject *v = (swig_varlinkobject *) p;
34814 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34815 if (gv) {
34816 size_t size = strlen(name)+1;
34817 gv->name = (char *)malloc(size);
34818 if (gv->name) {
34819 strncpy(gv->name,name,size);
34820 gv->get_attr = get_attr;
34821 gv->set_attr = set_attr;
34822 gv->next = v->vars;
34823 }
34824 }
34825 v->vars = gv;
34826 }
34827
34828 SWIGINTERN PyObject *
34829 SWIG_globals() {
34830 static PyObject *_SWIG_globals = 0;
34831 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34832 return _SWIG_globals;
34833 }
34834
34835 /* -----------------------------------------------------------------------------
34836 * constants/methods manipulation
34837 * ----------------------------------------------------------------------------- */
34838
34839 /* Install Constants */
34840 SWIGINTERN void
34841 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34842 PyObject *obj = 0;
34843 size_t i;
34844 for (i = 0; constants[i].type; ++i) {
34845 switch(constants[i].type) {
34846 case SWIG_PY_POINTER:
34847 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34848 break;
34849 case SWIG_PY_BINARY:
34850 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34851 break;
34852 default:
34853 obj = 0;
34854 break;
34855 }
34856 if (obj) {
34857 PyDict_SetItemString(d, constants[i].name, obj);
34858 Py_DECREF(obj);
34859 }
34860 }
34861 }
34862
34863 /* -----------------------------------------------------------------------------*/
34864 /* Fix SwigMethods to carry the callback ptrs when needed */
34865 /* -----------------------------------------------------------------------------*/
34866
34867 SWIGINTERN void
34868 SWIG_Python_FixMethods(PyMethodDef *methods,
34869 swig_const_info *const_table,
34870 swig_type_info **types,
34871 swig_type_info **types_initial) {
34872 size_t i;
34873 for (i = 0; methods[i].ml_name; ++i) {
34874 const char *c = methods[i].ml_doc;
34875 if (c && (c = strstr(c, "swig_ptr: "))) {
34876 int j;
34877 swig_const_info *ci = 0;
34878 const char *name = c + 10;
34879 for (j = 0; const_table[j].type; ++j) {
34880 if (strncmp(const_table[j].name, name,
34881 strlen(const_table[j].name)) == 0) {
34882 ci = &(const_table[j]);
34883 break;
34884 }
34885 }
34886 if (ci) {
34887 size_t shift = (ci->ptype) - types;
34888 swig_type_info *ty = types_initial[shift];
34889 size_t ldoc = (c - methods[i].ml_doc);
34890 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34891 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34892 if (ndoc) {
34893 char *buff = ndoc;
34894 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34895 if (ptr) {
34896 strncpy(buff, methods[i].ml_doc, ldoc);
34897 buff += ldoc;
34898 strncpy(buff, "swig_ptr: ", 10);
34899 buff += 10;
34900 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34901 methods[i].ml_doc = ndoc;
34902 }
34903 }
34904 }
34905 }
34906 }
34907 }
34908
34909 #ifdef __cplusplus
34910 }
34911 #endif
34912
34913 /* -----------------------------------------------------------------------------*
34914 * Partial Init method
34915 * -----------------------------------------------------------------------------*/
34916
34917 #ifdef __cplusplus
34918 extern "C"
34919 #endif
34920 SWIGEXPORT void SWIG_init(void) {
34921 PyObject *m, *d;
34922
34923 /* Fix SwigMethods to carry the callback ptrs when needed */
34924 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34925
34926 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34927 d = PyModule_GetDict(m);
34928
34929 SWIG_InitializeModule(0);
34930 SWIG_InstallConstants(d,swig_const_table);
34931
34932
34933 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34934 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34935 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34936 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34937 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34938 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34939 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34940 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34941 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34942 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34943 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34944 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34945 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34946 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34947 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34948 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34949 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34950 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34951 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34952 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34953 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34954 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34955 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34956 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34957 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34958 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34959 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34960 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
34961 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34962 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
34963 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34964 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34965 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34966 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34967 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34968 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34969 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34970 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34971 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34972 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34973 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
34974 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34975 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34976 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34977 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34978 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34979 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34980 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34981 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34982 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34983 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34984 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34985 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34986 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34987 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34988 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34989 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34990 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34991 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34992 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34993 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34994 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34995 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34996 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34997 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34998 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34999 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
35000 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
35001 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
35002 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
35003 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
35004 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
35005 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
35006 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
35007 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
35008 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
35009 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
35010 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
35011 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
35012 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
35013 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
35014 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
35015 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
35016 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
35017 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
35018 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
35019 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
35020 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
35021 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
35022 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
35023 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
35024 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
35025 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
35026 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
35027 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
35028 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
35029 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
35030 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
35031 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
35032 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
35033 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get, SimpleHtmlListBoxNameStr_set);
35034 SWIG_Python_SetConstant(d, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE)));
35035 SWIG_Python_SetConstant(d, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE)));
35036
35037 // Map renamed classes back to their common name for OOR
35038 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
35039 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
35040 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
35041
35042 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
35043 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
35044 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
35045 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
35046 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
35047 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
35048 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
35049 PyDict_SetItemString(d, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK));
35050 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
35051 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
35052 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
35053 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
35054 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
35055 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
35056 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
35057 SWIG_Python_SetConstant(d, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST)));
35058 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
35059 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
35060 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
35061 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
35062 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
35063 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
35064 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
35065 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
35066 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
35067 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
35068 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
35069 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
35070 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
35071 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
35072 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
35073 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
35074 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
35075 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
35076 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
35077 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
35078 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
35079 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
35080 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
35081 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
35082 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
35083 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
35084 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
35085 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
35086 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
35087 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
35088 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
35089 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
35090 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
35091 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
35092 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
35093 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
35094 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
35095 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
35096 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
35097 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
35098 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
35099 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
35100 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
35101 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
35102 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
35103 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
35104 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
35105 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
35106 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
35107 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
35108 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
35109 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
35110 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
35111 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
35112 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
35113 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
35114 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
35115 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
35116 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
35117 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
35118 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
35119 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
35120 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
35121 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
35122 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
35123 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
35124 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
35125 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
35126 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
35127 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
35128 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
35129 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
35130 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
35131 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
35132 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
35133 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
35134 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
35135 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
35136 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
35137 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
35138 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
35139 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
35140 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
35141
35142 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
35143
35144 }
35145